For upper-level optimization, a depth search method is utilized to obtain the optimal installed location of energy storage. For the lower-level optimization, the optimal capacity of energy storage is solved to meet the system reliability requirements. The influence of the contribution of energy ...