The energy storage system can rapidly adjust its power output according to the microgrid operating status, curb the system voltage and frequency fluctuation, reduce the main harmonic components of the system, realize balanced operation of the three phases, and improve energy. The energy storage system can rapidly adjust its power output according to the microgrid operating status, curb the system voltage and frequency fluctuation, reduce the main harmonic components of the system, realize balanced operation of the three phases, and improve energy. Among these, energy storage plays a crucial role in ensuring the stability and efficiency of the microgrid. Energy storage is a fundamental element in modern microgrids. It allows for the storage of excess energy generated from renewable sources like solar panels or wind turbines. Unlike fossil fuels, wind and solar energy cannot be guaranteed. As an important form of efficient access to distributed. Central to the functionality of a microgrid is the energy storage system. This technology plays a crucial role in ensuring that energy is available when needed, balancing supply and demand, and improving the overall reliability of the grid.