In the construction of the new power system,the grid connection and preferential consumption of large-scale photovoltaic power may lead to grid congestion and aggravate the peak shaving pressure of thermal power units,which will worsen their operating conditions and increase their costs.Aiming at this problem,the virtual power plant participation system in the day-to-day in-depth peak shaving auxiliary service strategy is proposed.First,the peak shaving characteristics and operating costs of the virtual power plant composed of electric vehicle groups are analyzed and calculated.According to the coal consumption and emission data of thermal power units, the coal consumption for power supply is calculated and the environmental protection indicators are established.Secondly,based on the operating costs and indicators,taking the peak shaving margin of thermal power units as the optimization goal, the simulated annealing improved Q-learning is used to solve the deep peak shaving capacity and cost allocation. The results show that the participation of virtual power plants in system peak shaving can improve the flexibility of peak shaving, reduce operating costs, and relieve the peak shaving pressure of thermal power units.