CN-121980721-A - Method, device, equipment and medium for recovering and scheduling after building group disaster
Abstract
The invention relates to the technical field of power systems and discloses a method, a device, equipment and a medium for recovering and scheduling after building group disaster. The method comprises the steps of constructing a power flow constraint of a power distribution network and carrying out island division on the power distribution network, enabling virtual power inside each island obtained through division to keep balanced virtual power flow constraint, so as to establish a post-disaster recovery strategy model of a building group power distribution network, constructing energy balance constraint of nodes in a heat supply pipe network, establishing the post-disaster recovery strategy model of a building group heat supply pipe network by combining a heat transfer equation and a heat storage equation of a pipeline, combining the post-disaster recovery strategy models of the building group power distribution network and the heat supply pipe network, obtaining a post-disaster electrothermal coupling recovery strategy model of the building group, solving the post-disaster electrothermal coupling recovery strategy model of the building group according to basic parameters of the current power distribution network, the heat supply pipe network, new energy output and electrothermal load, and obtaining a post-disaster recovery scheduling strategy of the building group, thereby realizing post-disaster recovery of the building group electrothermal coupling energy system.
Inventors
- WU XIONG
- HAO YINAN
- HUANG SHENGJIN
- ZHU ZUOFU
- YU ZUWANG
- ZHANG YU
Assignees
- 西安交通大学
Dates
- Publication Date
- 20260505
- Application Date
- 20260129
Claims (10)
- 1. A method for post-disaster recovery scheduling of a building group, the method comprising: Constructing a power flow equation of the power distribution network based on DistFlow equation, describing the line break condition of a network topology structure of the power distribution network by 0-1 variable, and then merging the line break condition into the power flow equation by adopting a large M method to obtain the power flow constraint of the power distribution network; carrying out island division on the power distribution network, and constructing a virtual power flow constraint for keeping balance of the virtual power in each island according to the virtual output of the virtual power supply in each island, the virtual transmission power of the line on the line in the island and the virtual load in the island; Establishing a post-disaster recovery strategy model of the building group distribution network according to the power flow constraint and the virtual power flow constraint; Constructing flow balance constraint and temperature balance constraint of all nodes in a heat supply pipe network, and rewriting the flow balance constraint and the temperature balance constraint based on an energy flow model to construct energy balance constraint of all nodes in the heat supply pipe network; Constructing a dynamic equation of heat transfer and heat storage of all the pipelines according to the virtual heat energy storage characteristics of each pipeline in the heat supply pipeline network; Establishing a post-disaster recovery strategy model of the building group heating pipe network according to energy balance constraint and a dynamic equation of heat transfer and heat storage; Combining post-disaster recovery strategy models of the building group distribution network and the heat supply pipe network to obtain a post-disaster electrothermal coupling recovery strategy model of the building group; The topology structure and physical parameters of the current power distribution network and the heat supply network, new energy output conditions of the power distribution network and electric heating load characteristics in the power distribution network and the heat supply network are input into a post-building-disaster electric heating coupling recovery strategy model, so that a post-building-disaster recovery scheduling strategy is obtained through solving.
- 2. The post-disaster recovery scheduling method of building group according to claim 1, wherein the tide equation is: ; ; In the formula, 、 、 And Respectively obtaining total active power flowing in, total active power flowing out, total reactive power flowing in and total reactive power flowing out of j nodes in the power distribution network at the moment T, wherein T is a scheduling period; 、 、 And The method comprises the steps of respectively predicting active load, predicting reactive load, actually discarding active load and actually discarding reactive load of j nodes at t moment; 、 And The method comprises the steps of respectively connecting active power output and reactive power output of all distributed power supplies connected with j nodes at the moment t and HVAC output in a connected building, wherein DG is CCHP, a fan, photovoltaic and energy storage; And The total active network loss and the total reactive network loss of the line flowing into the j node at the moment t in the power distribution network are respectively shown, wherein, A branch current square term which indicates that the current flows from the i node to the j node at the time t; The large M method is adopted, and the line break condition is fused into a tide equation through the following formula: ; ; ; In the formula, The constraint variable is a constraint variable of a large M method, and M is a constant larger than a preset numerical value; And Square terms representing i node and j node at time t; And The resistances and the reactances of the i-node to j-node lines respectively, when the lines are disconnected When the current is equal to 1, the line communication from the i node to the j node is shown, the current and the voltage between the two nodes meet the tide equation, when When the current equation is equal to 0, the line from the i node to the j node is opened, and the current equation is relaxed; When (when) When equal to 0, the power, current and capacity of the fault line satisfy the following relationship: ; ; ; ; In the formula, And The active power and the reactive power flowing through the i node to j node lines in the power distribution network at the moment t are respectively, Is the maximum capacity of the line; the voltage offset of the distribution network is kept within the following ranges: ; In the formula, Is a preset voltage; representing a preset voltage offset coefficient.
- 3. The post-disaster recovery scheduling method of building group according to claim 2, wherein the power distribution network is islanding by the following formula: ; ; ; ; ; ; wherein NG is the number of distributed power supply sets, N is the number of nodes, C is the 0-1 variable matrix of all distributed power supply sets in the system, For the binary variable of whether the distributed power source q forms an island at time t, Indicating that the distributed power supply q forms an island at the time t, A is a 0-1 variable matrix of all node sets in the system, Indicating that the node i is divided into islands formed by the distributed power supplies q at the time t; A virtual power flow constraint that balances the virtual power inside each island is constructed by the following formula, wherein the virtual load of all non-virtual power supplies inside the island is set to 1: ; ; ; In the formula, Virtual power output for virtual power supply inside island q, The maximum virtual output force of the virtual power supply; For the line virtual transmission power between the lines ij within island q, Virtual transmission power is the maximum line; for the sum of the virtual outputs transmitted by each virtual power source at node i to node j, The sum of the virtual outputs transmitted by each virtual power source at node j to node k, Power consumption for virtual loads within island q.
- 4. The post-construction group disaster recovery scheduling method of claim 3, wherein the flow balance constraint is established based on kirchhoff current law of current as follows: ; ; ; ; In the formula, Is a 0-1 variable of the open and closed state of the pipeline b, Indicating that the pipe is closed; And Respectively pipeline sets of an inflow node i and an outflow node i according to a reference flow direction in a topological relation; the flow rate of the working medium is the flow rate of the water return pipeline; And Respectively a heat source set and a heat load set which are connected with the node i, And The flow rates of working media at the heat source side and the load side are respectively; for the flow rate of the working medium in the water supply pipeline, Indicating that the flow direction of the working medium is the same as the reference flow direction, the opposite is true; And Maximum flow of working medium in the water supply pipeline and the water return pipeline respectively; The temperature balance constraint is: ; ; ; ; In the formula, And The temperature of working medium at the inlet and the outlet of the water supply pipeline at the moment t respectively; And The inlet temperature and the outlet temperature of the working medium of the water return pipeline at the moment t are respectively; And The water supply temperature and the water return temperature of the load are respectively; The energy flow model is as follows: ; In the formula, C is the specific heat capacity of the working medium; Is the flow of working medium; And The water supply temperature and the backwater temperature are respectively; The energy balance constraint obtained by overwriting is as follows: ; ; ; In the formula, Is that Medium-flow pipeline internal working medium heat of node i; For node i flow direction Is used for heating the working medium in the pipeline; Heat provided to a heat source; Heat required for the load; an upper limit of the heat quantity is conveyed for the pipeline, Aggregate for all pipes.
- 5. The post-disaster recovery scheduling method for building groups according to claim 4, wherein a dynamic equation of heat transfer and heat storage by said pipeline is obtained by: To be used for The flow rate flowing into the pipeline at a time interval is The length of the pipeline is Cross-sectional area of The flow velocity of the water flow when the pipeline is fully loaded is The density of the working medium is , The mass of all working media existing in the pipeline in the period is as follows: ; the energy Q carried by the working medium in the period is as follows: ; In the formula, The heat is carried by the unit working medium at the moment t, The temperature of the unit working medium at the time t; is the average temperature of the working medium in the pipeline, The working medium carrying energy in the time period pipeline is as follows: ; To be used for Flow of working medium in time period The working medium of all injection pipelines is unchanged After the mixing is completed at the moment, the average temperature of the pipeline at the last moment is obtained to be The internal heat storage is And Obtaining the output temperature of the pipeline without considering heat loss on the basis of the injection temperature of the pipeline at the moment And heat of working medium The method comprises the following steps of: ; In the formula, Is internally stored with heat The average temperature of the pipeline at the last moment; the flow of the working medium at the previous moment; the injection temperature at the time t of the pipeline; Carrying energy for working medium in the pipeline at the previous moment; the heat is injected into the unit working medium at the time t; is the maximum flow rate to replace the full load flow; In the process of obtaining After the heat of the working medium flowing out of the pipeline at any time, taking the average temperature of the working medium in the pipeline as the average value of the temperatures at the inlet and the outlet of the pipeline to obtain Internal heat storage of time pipeline : ; The heat loss of the pipeline is as follows: ; In the formula, Is ambient temperature; is the heat conductivity coefficient of the pipeline; the dynamic equation for heat transfer and heat storage of the pipeline at the time t is obtained as follows: ; In the formula, Carrying energy for working medium in the pipeline at the period of t; 、 And Respectively are alternatives to 、 And Is set in the set-up coefficient of (a), Is the ambient temperature of the pipe b at time t.
- 6. The method for post-disaster recovery scheduling of building group according to claim 1, wherein the combining the post-disaster recovery policy model of the building group power distribution network and the heat supply network to obtain the post-disaster electrothermal coupling recovery policy model of the building group comprises: And combining post-disaster recovery strategy models of the building group distribution network and the heat supply network, and establishing a post-disaster electrothermal coupling recovery strategy model of the building group by taking the aims of minimizing recovery cost of electrothermal load and maximizing guaranteed load supply.
- 7. The post-building-group disaster recovery scheduling method of claim 1, wherein the post-building-group disaster electrothermal coupling recovery strategy model is solved by a two-stage stochastic programming method.
- 8. A post-disaster recovery scheduling device for a building group, the system comprising: The system comprises a first constraint construction module, a second constraint construction module, a third constraint construction module and a third constraint construction module, wherein the first constraint construction module is used for constructing a power flow equation of a power distribution network based on DistFlow equation, describing a line break condition of a network topology structure of the power distribution network by a 0-1 variable, and then adopting a large M method to integrate the line break condition into the power flow equation to obtain a power flow constraint of the power distribution network; The first model building module is used for building a post-disaster recovery strategy model of the building group distribution network according to the power flow constraint and the virtual power flow constraint; The second constraint construction module is used for constructing flow balance constraint and temperature balance constraint of all nodes in the heat supply pipe network, and rewriting the flow balance constraint and the temperature balance constraint based on an energy flow model to construct energy balance constraint of all nodes in the heat supply pipe network; The second model building module is used for building a post-disaster recovery strategy model of the building group heating pipe network according to the energy balance constraint and the dynamic equation of heat transfer and heat storage; the model combination module is used for combining post-disaster recovery strategy models of the building group power distribution network and the heat supply pipe network to obtain a post-disaster electrothermal coupling recovery strategy model of the building group; the model solving module is used for inputting the topological structure and physical parameters of the current power distribution network and the heat supply pipe network, the new energy output condition of the power distribution network and the electric heating load characteristics in the power distribution network and the heat supply pipe network into the electric heating coupling recovery strategy model after the building group disaster so as to solve and obtain the recovery scheduling strategy after the building group disaster.
- 9. A computer device comprising at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the post-building group disaster recovery scheduling method of any one of claims 1-7.
- 10. A computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the post-disaster recovery scheduling method for building groups according to any one of claims 1 to 7.
Description
Method, device, equipment and medium for recovering and scheduling after building group disaster Technical Field The invention relates to the technical field of power systems, in particular to a method, a device, equipment and a medium for recovering and scheduling after building group disaster. Background The rapid development of new energy sources provides great assistance, but also presents a series of problems and challenges. Firstly, the large-scale wind power plant and the photovoltaic power plant occupy too large area, have strict requirements on natural resource conditions, are difficult to remotely send out and be difficult to be consumed in situ in general, secondly, the randomness and intermittence of new energy sources such as wind power, photovoltaic and the like can not ensure the electric energy quality, and the situation that frequency, power fluctuation and the like caused by direct grid connection force the wind abandoning and light abandoning of the new energy sources to be temporarily difficult to improve. Therefore, a micro-grid integrating a distributed power supply and capable of locally absorbing new energy is generated. The micro-grid can be divided into a household micro-grid, a building micro-grid and an area micro-grid according to the volume, and generally consists of new energy sources such as wind and light and energy storage, and a micro gas turbine or a diesel generator is added to ensure the stability of the system, so that the system can meet the load demands of electricity, heat, cold and the like of a user terminal, and can operate in an island mode or a grid-connected mode under the dispatching of an energy management system. In the actual operation process, a power distribution network and a heat supply pipe network in a building group electric heating coupling energy system formed by a plurality of building groups inevitably encounter disaster faults, and the building group electric heating coupling energy system needs to be recovered through a fault recovery strategy. The conventional post-disaster fault recovery strategy only considers the reconstruction of the distribution network, and a Combined Cooling HEATING AND Power (CCHP) unit on the Power generation side and heating, ventilation and Air Conditioning (Heating, ventilation, air Conditioning (HVAC) unit on the load side in the building group electrothermal coupling energy system enable the building group to be highly electrothermal coupled, so that the conventional fault recovery strategy cannot cope with post-disaster recovery of the building group electrothermal coupling energy system. Disclosure of Invention The invention aims to provide a method, a device, equipment and a medium for post-disaster recovery scheduling of a building group, which can solve the problem that the existing fault recovery strategy cannot cope with post-disaster recovery of an electric heating coupling energy system of the building group. In order to solve the technical problems, the embodiment of the invention provides a method for recovering and scheduling after building group disaster, which comprises the following steps: Constructing a power flow equation of the power distribution network based on DistFlow equation, describing the line break condition of a network topology structure of the power distribution network by 0-1 variable, and then merging the line break condition into the power flow equation by adopting a large M method to obtain the power flow constraint of the power distribution network; carrying out island division on the power distribution network, and constructing a virtual power flow constraint for keeping balance of the virtual power in each island according to the virtual output of the virtual power supply in each island, the virtual transmission power of the line on the line in the island and the virtual load in the island; Establishing a post-disaster recovery strategy model of the building group distribution network according to the power flow constraint and the virtual power flow constraint; Constructing flow balance constraint and temperature balance constraint of all nodes in a heat supply pipe network, and rewriting the flow balance constraint and the temperature balance constraint based on an energy flow model to construct energy balance constraint of all nodes in the heat supply pipe network; Constructing a dynamic equation of heat transfer and heat storage of all the pipelines according to the virtual heat energy storage characteristics of each pipeline in the heat supply pipeline network; Establishing a post-disaster recovery strategy model of the building group heating pipe network according to energy balance constraint and a dynamic equation of heat transfer and heat storage; Combining post-disaster recovery strategy models of the building group distribution network and the heat supply pipe network to obtain a post-disaster electrothermal coupling recovery strategy model of the building group; The