In order to improve the absorption capacity of renewable energy in virtual power plants, a double-layer optimal scheduling method for virtual power plants considering source-load multiple types of standby is proposed. Firstly, the uncertainty of wind power, demand response, participation in energy and standby scheduling, and shared energy storage operation mode are modeled. Secondly, a double -layer scheduling model is established, the upper layer is a day-ahead energy and standby plan scheduling model considering the uncertainty of wind power, and the lower layer is an intraday correction model considering the volatility of wind power. Finally, the impact of shared energy storage and demand response on the energy and standby scheduling of virtual power plants is discussed through examples, and the correctness and economy of the model are verified.