# Research on Renewable Energy Planning Considering the Flexible Region of the Microgrid
## 1 Introduction
However, the power balance ensures the optimal operation of a single microgrid, which does not mean the overall optimal operation for microgrids. Such a fixed boundary microgrid division method does not consider the impact of different microgrid divisions' schemes on the distribution network. Compared with the fixed boundary division method of the microgrid, the dynamic boundary division method of the microgrid can dynamically adjust the boundary of the microgrid according to the real-time operation mode of the load and renewable generation. By optimizing the boundary of each microgrid, the power balance between the output power and load power in each microgrid can be realized. The boundary of each microgrid in the distribution network can also be adjusted accordingly after greatly adjusting the operation mode of the system. Therefore, how to determine the dynamic boundary of microgrids to realize the optimal operation of microgrids is an urgent problem. At present, there is little research on the dynamic boundary of microgrids. A flexible virtual microgrid boundary model is proposed in [10] to meet the self-sufficiency of the microgrid adaptively, which effectively solves the self-sufficiency problem of microgrids. The authors of [11] proposed a flexible microgrid demarcation method to improve the reliability model of the distribution network, which meets the interests of power companies and users. In [12], a dynamic microgrid boundary and a distributed synchronous generator are used to realize fault isolation and load recovery. In [13], a bi-level programming model is proposed, which uses the feature decomposition in the distribution network spectrum to determine the boundary of the microgrid. In the above research, the dynamic boundary method of the microgrid is used in the reliability evaluation of the distribution network with multiple microgrids. However, the allocation of renewable energy in the microgrid considering the dynamic boundary has not been reported, and the demand side response in the microgrid is not considered in the boundary division of the microgrid. Such configuration methods will lead to a high cost of the energy storage configuration in the microgrid and will affect the overall feasibility of the configuration scheme. This paper studies the coordinated allocation of renewable energy considering the flexible region of the microgrid. The construction and operation cost of the microgrid can be reduced and the operation efficiency of the microgrid can be improved by the coordinated configuration of renewable energy considering the flexible region of the microgrid and the demand side response. The definition and division method of the flexible region of the microgrid are introduced in the second chapter. The third chapter introduces the models of wind power generation, photovoltaic, energy storage and demand side response in the microgrid. Based on these models, the optimal allocation model of wind turbine, photovoltaic power generation and energy storage considering the flexible region of the microgrid and demand side response is proposed and solved. Finally, the model and calculation method proposed in this paper are verified by a test system.