Renewable Energy, Electricity, Electricity Market, Energy Storage, Energy Economics.
the continuous intervals. Starting from p_2 and the previous corresponding value in {n_j} (n_c), update p_2 <- max(p_1 — n_c*eta, 0) + p_2, and continue this procedure for the rest of the series. Once all {p_i} updated, the maximum of the series will be the minimum required discharge time to