Research Article

Outage Analysis and Power Allocation Optimization for Multiple Energy-Harvesting Relay System Using SWIPT

Algorithm 3

The optimal power splitting factor design under the system’s power constraint.
(1)Initialization: Let and select a feasible . Choose the step size and the error tolerance , and let
(2)while (1)
(3) Using in to solve the power splitting factor for each relay.
(4) Using and in to obtain and , respectively.
(5)if
(6)  
(7)  ;
(8)  break;
(9)else
(10)  Using in formula (50) to update power
(11)  ;
(12)  end
(13)  if
(14)  break;
(15)end
(16)end
(17)Using to achieve the final outage probability.