This paper aims to meet the challenges of large-scale access to renewable energy and increasingly complex power grid structure, and deeply discusses the application value of energy storage configuration optimization scheme in power grid frequency modulation. Based on the equivalent full cycle model. . To help keep the grid running stable, a primary frequency modulation control model involving multiple types of power electronic power sources is constructed. The energy storage station has a total rated power of 20-100 MW and a rated capacity of 10MWh-400MWh, meaning 2 y through an electrochemical reaction.