Research Article

Energy-Efficient Time-Domain Equilibrium Scheduling and Optimization Scheme for Energy Harvesting-Powered D2D Communication

Algorithm 3

Time-division scheduling scheme (TDSS).
Input: Set t, ,, and ;
Output: ;
Initialize: and
 step 1: pick out the current EH-DP candidates: if , then ;
 step 2: pick out the next EH-DP candidates: based on the energy arrival prediction value , calculate the next available energy according to equation . Similarly, let when for all EH-DP in .
 step 3: load balance procedure: consider the feature that energy cannot be used in advance. So, only when , the transmission load between two adjacent time slots can be balanced, and the current allowed transmission load ct equals to . After that, pick out EH-DPs in the current candidate list to multiplex the current channel resource of ck-th CU.