Skip to main content
. 2018 Jun 17;18(6):1962. doi: 10.3390/s18061962
Algorithm 1: The Charging Time Scheduling Strategy
Input: the initial energy E0, the residual energy ei,t, the estimated energy consumption rate c^i,t, the charging duration Tc of WCD, the charging rate Λcη, the location of each node.
Output: each node’s charging time ti and the travel path of mobile charger.
ti(E0ei,t)/Λcη     /*the maximum charging time for each node*/
ti(ti/i=1Nti)Tc    /*the original charging time of each node*/
li,tei,t/c^i,t         /*the estimated remaining lifetime of each node*/
Calculate the charging schedule cycle T according to Tc and the maximum travel time.
Sort the remaining lifetime from small to large to obtain the element set M={(Ni,ti)}i=1n.
k1,mn
Inline graphic
Calculate the shortest travel path for visiting nodes selected to be charged.
return ti and the shortest travel path.