In response to the impact of the increasing proportion of new energy generation in the current microgrid, the application of hybrid energy storage devices to optimize and adjust such microgrids has become a trend. Based on this, the article conducts research on microgrid systems containing a high proportion of wind and photovoltaic power generation, introduces energy storage systems to optimize the microgrid on the existing basis, and determines peak shaving and valley filling, reducing operation and maintenance costs, and reducing electricity costs as the main optimization objectives. Using multi-objective analysis methods for modeling and analysis, targeted optimization of demand response strategies is carried out. From the simulation analysis results, it can be seen that the optimization strategy has basically achieved the expected goals, indicating that this study has potential application value.It is expected to be gradually promoted and applied in the subsequent construction of microgrids.