As renewable energy grid-connected power generation has gradually become the mainstream, the peak-shaving resources of the power system based on photovoltaic and wind power generation are tight, and the system has the phenomenon of abandoning wind and abandoning light, resulting in reduced energy utilization efficiency and large energy loss, which essentially reflects the low consumption capacity of renewable new energy. In this paper, the output characteristics of wind power and photovoltaic are analyzed by data, and the energy storage technology is used to realize the peak-shaving combined power generation of wind power and photovoltaic. The output power of wind power and photovoltaic power generation is tested by simulation examples to reduce the volatility of the two and verify the effectiveness of the joint optimization strategy of wind, photovoltaic and storage proposed. The economy of the practical application system in the park is improved, and the optimization design of the wind–photovoltaic-storage and consumption system is completed.