Energy storage systems (ESSs), as a flexible resource, show great promise in DPV integration and optimal dispatching. Thus, an optimal configuration method for ESSs is proposed. . In the context of increasing renewable energy penetration, energy storage configuration plays a critical role in mitigating output volatility, enhancing absorption rates, and ensuring the stable operation of power systems. This paper proposes a benefit evaluation method for self-built, leased, and. . The integration of renewable energy units into power systems brings a huge challenge to the flexible regulation ability. The inner layer contains two stages of. . Energy storage systems are essential for optimizing energy management. Energy storage configuration directly affects efficiency, stability, and scalability, 2. A proper setup facilitates renewable energy integration and load balancing, 3. Choosing suitable technologies based on end-user. . Battery capacity determines how much energy can be stored and how long the system can supply power. Nominal Capacity – The total energy a battery can deliver under standard test conditions (e., 25°C, 0. 5C discharge rate). Usable Capacity – The actual available energy, often lower than the nominal. . To address this issue, this paper builds upon conventional distribution network resilience assessment methods by supplementing and modifying indices in the dimensions of resistance and recovery to account for power quality issues.