The rapid development of new energy sources has had an enormous impact on the existing power grid structure to support the “dual carbon” goal and the construction of a new type of power system, make thermal power units better cope with the impact on the original grid structure under the background of the rapid development of new energy sources, promote the consumption of new energy sources such as solar and wind energy, and further expand the channels for upgrading and flexibility transformation of thermal power energy storage, improve the stability, safety and economy of thermal power unit operation. Therefore, based on the research status at home and abroad, a hybrid energy storage system is added to solve the above problems. The lithium battery-flywheel control strategy and the regional dynamic primary frequency modulation model of thermal power units are proposed, and study the capacity configuration scheme of flywheel‑lithium battery hybrid energy storage system under a certain energy storage capacity, the frequency modulation performance is evaluated by the system frequency fluctuation degree, fluctuation peak range and other indicators. Study under a certain energy storage capacity thermal power unit coupling hybrid energy storage system to participate in a frequency modulation of the optimal capacity configuration scheme, and perform simulation verification using MATLAB/Simulink. When the thermal power unit is coupled with a 10.8612 MW/2.7151 MWh flywheel energy storage system and a 4.1378 MW/16.5491 MWh lithium battery energy storage system, while adaptive variable coefficient droop control is adopted, the system frequency range is 0.00328 p.u.Hz, and the fluctuation degree of the output power of the thermal power units is 0.00498 p.u.MW, compared to the individual frequency regulation of thermal power units, it reduces 52.07 % and. The results show that when the thermal power unit is disturbed by external load, hybrid energy storage assisted thermal power unit frequency modulation reduces the mechanical loss of thermal power unit to a certain extent and extends the service life of the unit, effectively improve the operation stability and economy of thermal power units, further reduce the phenomenon of abandoning wind and light, and better promote the utilization of new energy.