Against the backdrop of large-scale wind power generation solar energy networking, the problem of peak regulation of power systems is becoming more prominent day by day. Under the premise of considering sufficient absorption of wind power generation and photovoltaic power, the text uses stored energy to assist the depth control peak of the thermal power generation unit, constructs a two-layer optimization model of the fire storage association regulation peak, and optimizes the storage energy charging and discharging plan with the goal of minimizing the valley difference between the load peaks. The lower layer aims to minimize the peak adjustment cost and carbon emission of thermal power generation unit, and optimizes the combined adjustment of thermal power generation unit by considering the difference in peak adjustment depth and cost of different units. The simulation revealed that the addition of an energy storage system reduces the peak adjustment cost of thermal power generation unit.