Optimal Sizing of Hybrid Renewable Energy System Using Two-Stage Stochastic Programming
Algorithm 1
Solving two-stage SP using ADMM.
Precondition: ,,,. All the initialization to the variables are obtained by first phase Linear Programming (LP) step, while are random variables following the standard normal distribution.
1:
2: 1
3: while True do
4: for to do
5:
6: end for
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20: If ,, and stop; otherwise
21: If equals , stop; the algorithm does not converge.