摘要:In this study, an algorithm to optimize the power allocation by minimizing the transmission completion time in energy harvesting wireless relay networks is proposed. The algorithm considers the energy harvesting relay which uses Decode-and-Forward (DF) mode and assumes that the data packets sizes and the harvested energy amounts have been got before the data transmission begins. According to the queue lengths of data and harvested energy, the algorithm optimizes the power policy of the source and relay by minimizing the time that all data is transmitted limited by the causality constraints of data and harvested energy. Finally, the power output capability of each node is considered. Simulation results verify that the proposed algorithm can minimize the transmission completion time of the data transmission.