A method and system for coordinated control of an integrated energy system
By acquiring and optimizing the operation information of the integrated energy system, determining the optimal Lagrangian multiplier and bidding volume, the coordinated control between the energy systems is achieved, the information asymmetry problem is solved, and the convergence speed and cost of system equilibrium are improved. benefit.
Patent Information
- Application Number
- CN202111574392.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-12-21
AI Technical Summary
Due to information asymmetry, the existing integrated energy system has a low convergence speed of system balance, making it difficult to achieve effective coordination and optimization between various energy systems.
By obtaining the operating information of each energy subsystem, the optimal Lagrangian multiplier is determined, and the optimal bid value is calculated based on this, the integrated energy system is coordinated to ensure information symmetry and system equilibrium.
The information symmetry between heterogeneous energy sources is achieved, the convergence speed of system equilibrium is improved, the system cost is reduced, and the disruptive system reform is avoided.
Smart Images

Figure CN114282798B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coordinated control of systems, and in particular to a coordinated control method and system for an integrated energy system. Background Art
[0002] With the gradual development and opening of the energy system, a perfect system mechanism can give full play to the potential of optimizing the allocation of comprehensive energy resources and realize resource sharing and utilization on a larger scale. Therefore, while promoting the development of comprehensive energy technology, it is urgent to accelerate the construction of comprehensive energy systems. Most existing studies focus on the construction of centralized comprehensive energy systems, but the centralized system model will bring huge costs. The comprehensive energy system based on multi-system balance can avoid disruptive system reforms and reduce system costs. Each energy system makes its own decisions and optimizes itself. The dispatching agency is only responsible for the coordination between the energy systems, and finally achieves equilibrium and optimization through iteration.
[0003] However, currently, energy systems in various countries cannot obtain key information, which makes it difficult for system members to make decisions on how to arbitrage between energy systems. In addition, due to the natural industry barriers between different energy industries, there are serious information asymmetry problems between energy systems, and the efficiency of system equilibrium cannot be guaranteed. In order to reduce information asymmetry and improve the convergence speed of system equilibrium, it is necessary to optimize the coordinated control technology and devices of the integrated energy system. Summary of the invention
[0004] The present application provides a method and system for coordinated control of an integrated energy system, so as to at least solve the technical problem of information asymmetry between energy systems and low convergence speed of system equilibrium in related technologies.
[0005] The first embodiment of the present application provides a method for coordinated control of an integrated energy system, including:
[0006] Obtain the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled;
[0007] Determine the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system;
[0008] Determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier;
[0009] Based on the optimal bid amount of each energy subsystem, each subsystem in the comprehensive energy system on the date to be controlled is collaboratively controlled.
[0010] A second aspect of the present application provides a comprehensive energy system collaborative control system, the system comprising:
[0011] An acquisition module is used to acquire the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled;
[0012] An optimization module, used for determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system;
[0013] A determination module, used to determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier;
[0014] A control module is used to coordinately control each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem.
[0015] The third aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the prediction method of the first aspect of the present application is implemented.
[0016] The fourth aspect of the present application provides a non-temporary computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the prediction method of the first aspect of the present application is implemented.
[0017] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0018] The present invention provides a method and system for coordinated control of an integrated energy system, the method comprising: obtaining the operation information of each energy subsystem in the integrated energy system before the date to be controlled, determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the integrated energy system, determining the optimal bid amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier, and coordinating and controlling each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem. The method realizes the conversion between heterogeneous energy sources, ensures the information symmetry between each energy subsystem, and improves the convergence speed of system equilibrium.
[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0021] Figure 1 is a flow chart of a method for coordinated control of an integrated energy system provided according to an embodiment of the present application;
[0022] Figure 2 It is a specific flow chart of a method for coordinated control of an integrated energy system provided according to an embodiment of the present application;
[0023] Figure 3 It is a structural diagram of an integrated energy system collaborative control system provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0025] The present application proposes a method and system for coordinated control of an integrated energy system, the method comprising: obtaining the operation information of each energy subsystem in the integrated energy system before the date to be controlled, determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the integrated energy system, determining the optimal bid amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier, and coordinating and controlling each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem. The conversion between heterogeneous energy sources is realized, the information symmetry between each energy subsystem is ensured, and the convergence speed of system equilibrium is improved.
[0026] Example 1
[0027] Figure 1 A flowchart of a method for coordinated control of an integrated energy system provided in an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the method includes:
[0028] Step 1: Obtain the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled;
[0029] It should be noted that the operation information is reported to the comprehensive energy dispatching organization;
[0030] In an embodiment of the present disclosure, the energy subsystem includes: an electric power subsystem, a natural gas subsystem, and a thermal subsystem;
[0031] Among them, each subsystem can make its own decisions, self-optimize and coordinate with the dispatching agency.
[0032] The operation information includes: the energy conversion amount of each energy subsystem in the integrated energy system and the operation cost of the integrated energy system, specifically including the day-ahead system electricity price generation curve and the load curve.
[0033] Step 2: Determine the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system;
[0034] In the embodiment of the present disclosure, the determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system includes:
[0035] Inputting the operation information of each energy subsystem in the integrated energy system into a pre-established two-level optimization model of the integrated energy system based on Lagrange multiplier optimization, solving the model, and obtaining the optimal Lagrange multiplier corresponding to each energy subsystem;
[0036] Among them, constraint conditions are constructed for the objective function of the two-level optimization model, and the coupling constraints between the energy systems and the internal constraints of the energy subsystems are integrated to establish a two-level optimization model of the comprehensive energy system based on Lagrange multiplier optimization, which is composed of the objective function and constraint conditions.
[0037] It should be noted that the establishment of the two-level optimization model of the integrated energy system based on Lagrange multiplier optimization includes:
[0038] Based on the energy conversion amount of each energy subsystem in the integrated energy system and the operating cost of the integrated energy system, the upper objective function and the lower objective function of the two-layer optimization model are constructed, wherein the upper objective function includes: establishing the minimum operating cost objective function of the integrated energy system with the minimum operating cost of the integrated energy system as the goal, and the lower objective function includes: establishing the minimum energy purchase cost objective function of each energy subsystem with the minimum energy purchase cost of each energy subsystem as the goal;
[0039] Constraints are constructed for the objective function of the double-layer optimization model of the model: coupling constraints of the integrated energy system, node power balance constraints of the power subsystem, generator capacity constraints of the power subsystem, line flow constraints of the power subsystem, phase angle constraints of the power subsystem, natural gas well production constraints of the natural gas subsystem, natural gas pipeline network constraints of the natural gas subsystem, pressure constraints of the natural gas subsystem, node gas flow balance constraints of the natural gas subsystem, boiler heat production constraints of the thermal subsystem, node thermal power balance constraints of the thermal subsystem, pipeline temperature drop constraints of the thermal subsystem and mixed temperature constraints of the thermal subsystem.
[0040] It should be noted that the upper objective function calculation formula of the integrated energy system in the upper optimization model is as follows:
[0041]
[0042] c(k)=c E (k)+cF (k)+c H (k)
[0043]
[0044] In the formula, c is the cost function, c E (k) is the cost of the electrical system, c F (k) is the cost of the thermal system, c H (k) is the cost of the natural gas system, k is the number of iterations, λ is the Lagrange multiplier, Indicates how to update the Lagrange multiplier to minimize the cost of the next iteration under the current cost;
[0045] In summary, the calculation formula of the minimum operating cost objective function of the integrated energy system is as follows:
[0046]
[0047] In the formula, f 上 Minimize operating costs for integrated energy systems;
[0048] It should be noted that the calculation formula of the minimum energy purchase cost objective function of each energy subsystem in the lower optimization model is as follows:
[0049]
[0050] In the formula, c E is the cost of the power subsystem, c F is the cost of the thermal subsystem, c H is the cost of the natural gas subsystem, x1, x2, x3 are the optimization variables of electricity, gas and heat in the comprehensive energy system, and Y E (x1, x2, x3) are the coupling constraints of electric energy, Y F (x1, x2, x3) are the coupling constraints of natural gas energy, Y H (x1,x2,x3) are the coupling constraints of thermal energy, f E (x1) is the cost of the power subsystem under the optimization variable x1, f F (x2) is the cost of the thermal subsystem under the optimization variable x2, f H (x3) is the cost of the natural gas subsystem under the optimization variable x3;
[0051] It should be noted that the calculation formula of the coupling constraint of the integrated energy system is as follows:
[0052] k[x1(k+1),x2(k+1),x3(k+1)]=0
[0053] In the formula, x1(k+1) is the value of electric energy in the k+1th iteration integrated energy system, x2(k+1) is the value of natural gas energy in the k+1th iteration integrated energy system, and x3(k+1) is the value of thermal energy in the k+1th iteration integrated energy system, where x(k+1)=x(k)+dx(k+1), x=(x1,x2,x3) T To optimize variables;
[0054] It should be noted that the node power balance constraint of the power subsystem, the generator capacity constraint of the power subsystem, the line flow constraint of the power subsystem, the phase angle constraint of the power subsystem, the natural gas well production constraint of the natural gas subsystem, the natural gas pipeline network constraint of the natural gas subsystem, the pressure constraint of the natural gas subsystem, the node gas flow balance constraint of the natural gas subsystem, the boiler heat production constraint of the thermal subsystem, the node thermal power balance constraint of the thermal subsystem, the pipeline temperature drop constraint of the thermal subsystem and the mixed temperature constraint of the thermal subsystem are the internal constraints of each corresponding energy subsystem, and then the internal constraints of each sub-energy system can be constructed, and the expressions are as follows:
[0055] The constraint condition for constructing the power subsystem is expressed as:
[0056] In the formula, g,h are internal constraints, g E represents the node power balance, h E Indicates generator capacity constraints, line flow constraints, and phase angle constraints;
[0057] The natural gas subsystem expression is:
[0058] In the formula, g F is the node gas flow balance constraint, h F It is the gas production constraint of natural gas well, the gas pipeline network constraint and the pressure constraint;
[0059] The thermal subsystem expression is:
[0060] In the formula, g H is the node thermal power balance constraint, pipeline temperature drop constraint, and mixed temperature constraint, h H The boiler heat generation constraint
[0061] Further detailed modeling of the power subsystem, natural gas subsystem, and thermal subsystem is as follows:
[0062] The internal constraints of the power subsystem include: node power balance constraints of the power subsystem, generator capacity constraints of the power subsystem, line flow constraints of the power subsystem and phase angle constraints of the power subsystem;
[0063] The calculation formula of the power balance constraint of the power subsystem node is as follows:
[0064]
[0065] In the formula, is the power generation of the i-th generator connected to node m at time t, is the power generation of the gas turbine connected to node m at time t, is the power-to-gas consumption connected to node m at time t, is the power consumption of the heat pump connected to node m at time t, is the flow of line mn at time t, is the load at node m at time t, Φ 1m is the set of generators or lines connected to node m;
[0066] The calculation formula of the generator capacity constraint of the power subsystem is as follows:
[0067]
[0068] In the formula, is the lower limit of the power generation of the ith generator, is the upper limit of power generation of the ith generator;
[0069] The calculation formula of the line flow constraint of the power subsystem is as follows:
[0070]
[0071]
[0072] In the formula, is the power flow of line mn at time t, B mn is the circuit mn conductance, θ m,t is the phase angle of node m at time t, is the upper limit of the line mn power flow, is the lower limit of the line mn power flow;
[0073] The calculation formula of the phase angle constraint of the power subsystem is as follows:
[0074]
[0075] In the formula, θ is the lower limit of the phase angle, is the upper limit of the phase angle;
[0076] The internal constraints of the natural gas subsystem include: natural gas well production constraints of the natural gas subsystem, natural gas pipeline network constraints of the natural gas subsystem, pressure constraints of the natural gas subsystem and node gas flow balance constraints of the natural gas subsystem;
[0077] The calculation formula of the natural gas well production constraint of the natural gas subsystem is as follows:
[0078]
[0079] In the formula, is the lower limit of the gas production of the rth natural gas well, is the gas production of the rth natural gas well at time t, is the upper limit of the gas production of the rth natural gas well;
[0080] The calculation formula of the natural gas pipeline network constraint of the natural gas subsystem is as follows:
[0081]
[0082]
[0083]
[0084] In the formula, f mn,t is the natural gas pipeline flow of line mn at time t, p m,t is the natural gas pressure at node m at time t, p n,t is the pressure of natural gas node n at time t, f mn,max is the upper limit of the natural gas pipeline flow rate of line mn, C mn is a constant, Φ 2m is the set of natural gas wells or lines connected to node m;
[0085] The calculation formula of the pressure constraint of the natural gas subsystem is as follows:
[0086]
[0087] In the formula, p m,min is the minimum value of the pressure at the natural gas node m, p m,max is the maximum value of the pressure at the natural gas node m;
[0088] The calculation formula of the node gas flow balance constraint of the natural gas subsystem is as follows:
[0089]
[0090] In the formula, is the gas production of the rth natural gas well at time t, is the natural gas load connected to node m at time t, is the power-to-gas production at node m at time t, is the gas consumption of the gas turbine at node m at time t, f mn,t is the natural gas pipeline flow of line mn at time t;
[0091] The internal constraints of the thermal subsystem include: boiler heat generation constraints of the thermal subsystem, node thermal power balance constraints of the thermal subsystem, pipeline temperature drop constraints of the thermal subsystem and mixed temperature constraints of the thermal subsystem;
[0092] The calculation formula of the boiler heat generation constraint of the thermal subsystem is as follows:
[0093]
[0094] In the formula, is the heat generation of the vth heat source at time t, is the minimum heat generation of the vth heat source, is the maximum heat output of the vth heat source;
[0095] The calculation formula of the node thermal power balance constraint of the thermal subsystem is as follows:
[0096]
[0097]
[0098] In the formula, h m,t is the heat injected into node m at time t, C p Specific heat capacity of water, M m,t is the water flow at node m at time t, is the heating temperature of node m at time t, is the regenerative temperature of node m at time t, is the heat generation of the vth heat source at time t, is the heat load of node m at time t, is the heat output of the heat pump at node m at time t, is the heat output of the gas turbine connected to node m at time t, Φ 3m is the set of heat sources or lines connected to node m;
[0099] The calculation formula for the pipe temperature drop constraint of the thermal subsystem is as follows:
[0100]
[0101] In the formula, is the terminal temperature of the pipeline corresponding to line l at time t, is the outside temperature at time t, is the temperature of the first section of the pipeline corresponding to line l at time t, M l.t is the water flow rate of the corresponding pipeline of line l at time t, C p Specific heat of water, ρ h is the attenuation coefficient, L is the pipe length, Φ L is a collection of pipelines;
[0102] The calculation formula of the mixed temperature constraint of the thermal subsystem is as follows:
[0103]
[0104] In the formula, is the outflow flow of the corresponding pipeline of line l at time t, is the outflow temperature of the pipeline corresponding to line l, is the inflow temperature of the pipeline corresponding to line l, is the pipe inflow flow rate of the corresponding pipe of line l at time t.
[0105] In the embodiment of the present disclosure, the two-level optimization model of the comprehensive energy system based on Lagrange multiplier optimization is solved to obtain the optimal Lagrange multiplier corresponding to each energy subsystem, including:
[0106] Step A1: The operation information of each energy subsystem before the day to be controlled is integrated and reported to the integrated energy dispatching organization. The integrated energy dispatching organization initializes the Lagrange multiplier signal according to the operation information of each energy subsystem before the day to be controlled, and transmits the Lagrange multiplier signal to each energy system;
[0107] Step A2: Each energy subsystem in the lower model decides the optimal bidding amount in the multi-energy system according to the Lagrange multiplier signal issued by the comprehensive energy dispatching agency, optimizes the energy conversion behavior of each energy subsystem, and obtains the energy conversion information of each energy subsystem;
[0108] Step A3: The upper model performs coordinated control of the subsystems in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem according to the energy conversion information obtained from each energy subsystem. Under the premise of satisfying the coupling constraints between the energy systems, the problem is transformed into an optimization problem with the Lagrangian multiplier as a variable by using the response degree of each energy subsystem to the Lagrangian multiplier. The Lagrangian multiplier is updated according to the response degree of each energy subsystem to the Lagrangian multiplier, and it is judged whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range. If the convergence condition is met, the final Lagrangian multiplier signal is obtained. If the convergence condition is not met, the Lagrangian multiplier is re-solved according to the energy conversion information of each energy subsystem optimized in step A2, and then the re-solved Lagrangian multiplier is uploaded to the dispatching agency, and the process returns to step A2.
[0109] Step 3: Determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier;
[0110] Specifically, the two-level optimization model of the integrated energy system based on Lagrange multiplier optimization is solved to obtain the optimal Lagrange multiplier corresponding to each energy subsystem. Based on the operation information uploaded by each energy subsystem to the integrated energy dispatching agency and according to the solution results, the integrated energy dispatching agency obtains the response degree of each energy subsystem to the Lagrange multiplier, and can predict the response of the system and the supply and demand relationship after the Lagrange multiplier is updated. Each energy subsystem can also adjust the bid amount of each subsystem according to the Lagrange multiplier signal issued by the integrated energy dispatching agency, and upload the energy conversion information to the integrated energy dispatching agency, and determine the optimal bid amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier.
[0111] Step 4: Coordinately control each subsystem in the integrated energy system on the control date based on the optimal bid amount of each energy subsystem;
[0112] Specifically, each subsystem in the integrated energy system on the date to be controlled is collaboratively controlled based on the optimal bid amount of each energy subsystem. The upper-level model collaboratively controls each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem according to the energy conversion information obtained from each energy subsystem. Under the premise of satisfying the coupling constraints between the energy systems, with the goal of minimizing the energy purchase cost of the integrated energy system, the problem is transformed into an optimization problem with the Lagrange multiplier as a variable by utilizing the response degree of each energy subsystem to the Lagrange multiplier, and the Lagrange multiplier is updated according to the response degree of each energy subsystem to the Lagrange multiplier, and equilibrium optimization is finally achieved through iteration.
[0113] Combined with the above-mentioned integrated energy system collaborative control method, an example is given to illustrate:
[0114] like Figure 2 A specific flow chart of a method for coordinated control of an integrated energy system is provided, and the method comprises:
[0115] Obtaining the operation information of each energy subsystem in the integrated energy system before the date to be controlled and reporting the information to the integrated energy dispatching agency, the integrated energy dispatching agency updates the Lagrange multiplier signal according to the operation information of each energy subsystem before the date to be controlled;
[0116] According to the two-level optimization model of the integrated energy system, the Lagrange multiplier obtained by k iterations is solved, and each energy subsystem makes a decision based on the Lagrange multiplier issued by the integrated energy dispatching agency, and decides on the optimal bidding amount in the multi-energy system, optimizes the energy conversion behavior of each energy subsystem, and obtains the energy conversion information of each energy subsystem;
[0117] According to the response degree of each energy subsystem to the Lagrangian multiplier, calculate and judge whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range. If the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range, the final Lagrangian multiplier signal issued by the comprehensive energy dispatching agency is obtained. If the response degree of the energy subsystem to the Lagrangian multiplier is not within the allowable range, the Lagrangian multiplier is re-solved according to the energy conversion information of each energy subsystem obtained above, and then the re-solved Lagrangian multiplier is uploaded to the dispatching agency. According to the two-layer optimization model of the comprehensive energy system, the Lagrangian multiplier obtained in the k+1th iteration is solved. Each energy subsystem makes a decision based on the Lagrangian multiplier obtained by the comprehensive energy dispatching agency. Calculate and judge again whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range, and finally achieve equilibrium optimization through iteration.
[0118] To sum up, the embodiment of the present invention provides a method for collaborative control of an integrated energy system, which ultimately achieves the balanced convergence of the integrated energy system through iterative interactions between the integrated energy system dispatching organization and each energy subsystem, and realizes the balanced optimization of the integrated energy system based on Lagrange multiplier optimization, thereby ensuring information symmetry between the energy systems and improving the convergence speed of system equilibrium.
[0119] Example 2
[0120] Figure 3 A structural diagram of a comprehensive energy system collaborative control system provided by an embodiment of the present disclosure, such as Figure 3 As shown, the system comprises:
[0121] The acquisition module 100 is used to acquire the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled;
[0122] An optimization module 200, configured to determine the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the integrated energy system;
[0123] A determination module 300, configured to determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier;
[0124] The control module 400 is used to coordinately control the subsystems in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem.
[0125] In the embodiment of the present disclosure, the optimization module 200 is specifically used for:
[0126] Inputting the operation information of each energy subsystem in the integrated energy system into a pre-established two-level optimization model of the integrated energy system based on Lagrange multiplier optimization, solving the model, and obtaining the optimal Lagrange multiplier corresponding to each energy subsystem;
[0127] The operation information includes: the energy conversion amount of each energy subsystem in the comprehensive energy system and the operation cost of the comprehensive energy system;
[0128] The energy subsystem includes: an electric power subsystem, a natural gas subsystem and a thermal subsystem.
[0129] It should be noted that the establishment of the two-level optimization model of the integrated energy system based on Lagrange multiplier optimization includes:
[0130] Based on the energy conversion amount of each energy subsystem in the integrated energy system and the operating cost of the integrated energy system, the upper objective function and the lower objective function of the two-layer optimization model are constructed, wherein the upper objective function includes: establishing the minimum operating cost objective function of the integrated energy system with the minimum operating cost of the integrated energy system as the goal, and the lower objective function includes: establishing the minimum energy purchase cost objective function of each energy subsystem with the minimum energy purchase cost of each energy subsystem as the goal;
[0131] Constraints are constructed for the objective function of the double-layer optimization model of the model: coupling constraints of the integrated energy system, node power balance constraints of the power subsystem, generator capacity constraints of the power subsystem, line flow constraints of the power subsystem, phase angle constraints of the power subsystem, natural gas well production constraints of the natural gas subsystem, natural gas pipeline network constraints of the natural gas subsystem, pressure constraints of the natural gas subsystem, node gas flow balance constraints of the natural gas subsystem, boiler heat production constraints of the thermal subsystem, node thermal power balance constraints of the thermal subsystem, pipeline temperature drop constraints of the thermal subsystem and mixed temperature constraints of the thermal subsystem.
[0132] Furthermore, the calculation formula of the minimum operating cost objective function of the integrated energy system is as follows:
[0133]
[0134] In the formula, f 上 is the minimum operating cost of the integrated energy system, c E (k) is the cost of the power subsystem at the kth iteration, c F (k) is the cost of the thermal subsystem at the kth iteration, c H (k) is the cost of the natural gas subsystem at the kth iteration, λ is the Lagrange multiplier;
[0135] The calculation formula of the minimum energy purchase cost objective function of each energy subsystem is as follows:
[0136]
[0137] In the formula, c E is the cost of the power subsystem, c F is the cost of the thermal subsystem, c H is the cost of the natural gas subsystem, x1, x2, x3 are the optimization variables of electricity, gas and heat in the comprehensive energy system, and Y E (x1, x2, x3) are the coupling constraints of electric energy, Y F (x1, x2, x3) are the coupling constraints of natural gas energy, Y H (x1,x2,x3) are the coupling constraints of thermal energy, f E (x1) is the cost of the power subsystem under the optimization variable x1, f F (x2) is the cost of the thermal subsystem under the optimization variable x2, f H (x3) is the cost of the natural gas subsystem under the optimization variable x3.
[0138] The calculation formula of the coupling constraint of the integrated energy system is as follows:
[0139] k[x1(k+1),x2(k+1),x3(k+1)]=0
[0140] In the formula, x1(k+1) is the value of electric energy in the k+1th iteration integrated energy system, x2(k+1) is the value of natural gas energy in the k+1th iteration integrated energy system, and x3(k+1) is the value of thermal energy in the k+1th iteration integrated energy system, where x(k+1)=x(k)+dx(k+1), x=(x1,x2,x3) T To optimize variables;
[0141] The calculation formula of the node power balance constraint of the power subsystem is as follows:
[0142]
[0143] In the formula, is the power generation of the i-th generator connected to node m at time t, is the power generation of the gas turbine connected to node m at time t, is the power-to-gas consumption connected to node m at time t, is the power consumption of the heat pump connected to node m at time t, is the flow of line mn at time t, is the load at node m at time t, Φ 1m is the set of generators or lines connected to node m;
[0144] The calculation formula of the generator capacity constraint of the power subsystem is as follows:
[0145]
[0146] In the formula, is the lower limit of the power generation of the ith generator, is the upper limit of power generation of the ith generator;
[0147] The calculation formula of the line flow constraint of the power subsystem is as follows:
[0148]
[0149]
[0150] In the formula, is the power flow of line mn at time t, B mn is the circuit mn conductance, θ m,t is the phase angle of node m at time t, is the upper limit of the line mn power flow, is the lower limit of the line mn power flow;
[0151] The calculation formula of the phase angle constraint of the power subsystem is as follows:
[0152]
[0153] In the formula, θ is the lower limit of the phase angle, is the upper limit of the phase angle;
[0154] The calculation formula for the natural gas well production constraint of the natural gas subsystem is as follows:
[0155]
[0156] In the formula, is the lower limit of the gas production of the rth natural gas well, is the gas production of the rth natural gas well at time t, is the upper limit of the gas production of the rth natural gas well;
[0157] The calculation formula of the natural gas pipeline network constraint of the natural gas subsystem is as follows:
[0158]
[0159]
[0160]
[0161] In the formula, f mn,t is the natural gas pipeline flow of line mn at time t, p m,t is the natural gas pressure at node m at time t, p n,t is the pressure of natural gas node n at time t, f mn,max is the upper limit of the natural gas pipeline flow rate of line mn, C mn is a constant, Φ 2m is the set of natural gas wells or lines connected to node m;
[0162] The calculation formula of the pressure constraint of the natural gas subsystem is as follows:
[0163]
[0164] In the formula, p m,min is the minimum value of the pressure at the natural gas node m, p m,max is the maximum value of the pressure at the natural gas node m;
[0165] The calculation formula of the node gas flow balance constraint of the natural gas subsystem is as follows:
[0166]
[0167] In the formula, is the gas production of the rth natural gas well at time t, is the natural gas load connected to node m at time t, is the power-to-gas production at node m at time t, is the gas consumption of the gas turbine at node m at time t, f mn,t is the natural gas pipeline flow of line mn at time t;
[0168] The calculation formula of the boiler heat generation constraint of the thermal subsystem is as follows:
[0169]
[0170] In the formula, is the heat generation of the vth heat source at time t, is the minimum heat generation of the vth heat source, is the maximum heat output of the vth heat source;
[0171] The calculation formula of the node thermal power balance constraint of the thermal subsystem is as follows:
[0172]
[0173]
[0174] In the formula, h m,t is the heat injected into node m at time t, C p Specific heat capacity of water, M m,t is the water flow at node m at time t, is the heating temperature of node m at time t, is the regenerative temperature of node m at time t, is the heat generation of the vth heat source at time t, is the heat load of node m at time t, is the heat output of the heat pump at node m at time t, is the heat output of the gas turbine connected to node m at time t, Φ 3m is the set of heat sources or lines connected to node m;
[0175] The calculation formula for the pipe temperature drop constraint of the thermal subsystem is as follows:
[0176]
[0177] In the formula, is the terminal temperature of the pipeline corresponding to line l at time t, is the outside temperature at time t, is the temperature of the first section of the pipeline corresponding to line l at time t, M l.tis the water flow rate of the corresponding pipeline of line l at time t, C p Specific heat of water, ρ h is the attenuation coefficient, L is the pipe length, Φ L is a collection of pipelines;
[0178] The calculation formula of the mixed temperature constraint of the thermal subsystem is as follows:
[0179]
[0180] In the formula, is the outflow flow of the corresponding pipeline of line l at time t, is the outflow temperature of the pipeline corresponding to line l, is the inflow temperature of the pipeline corresponding to line l, is the pipe inflow flow rate of the corresponding pipe of line l at time t.
[0181] It should be noted that the model is solved to obtain the optimal Lagrange multipliers corresponding to each energy subsystem, including:
[0182] Step H1: The comprehensive energy dispatching organization initializes the Lagrange multiplier signal according to the operation information of each energy subsystem on the day to be controlled;
[0183] Step H2: Each energy subsystem in the lower model decides the optimal bidding amount in the multi-energy system according to the Lagrange multiplier signal issued by the comprehensive energy dispatching agency, optimizes the energy conversion behavior of each energy subsystem, and obtains the energy conversion information of each energy subsystem;
[0184] Step H3: The upper model, based on the energy conversion information of each energy subsystem, and on the premise of satisfying the coupling constraints between the energy systems, takes the minimum energy purchase cost of the comprehensive energy system as the goal, and uses the response degree of each energy subsystem to the Lagrangian multiplier. This problem is converted into an optimization problem with the Lagrangian multiplier as a variable, and updates the Lagrangian multiplier according to the response degree of each energy subsystem to the Lagrangian multiplier, and determines whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range. If the convergence condition is met, the final Lagrangian multiplier signal is obtained, and the Lagrangian multiplier is re-solved according to the energy conversion information of each energy subsystem optimized in step H2, and then the re-solved Lagrangian multiplier is uploaded to the dispatching agency, and the process returns to step H2.
[0185] In summary, according to a comprehensive energy system collaborative control system proposed in the present application, the system includes an acquisition module 100, an optimization module 200, a determination module 300, and a control module 400. The present invention takes into account the problem of energy system cost and information asymmetry between systems. The modules included in the control system described in the present application are used to obtain the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled, and the optimal Lagrangian multiplier corresponding to each energy subsystem is determined based on the operation information of each energy subsystem in the comprehensive energy system, and then the optimal bid amount of each energy subsystem corresponding to the date to be controlled is determined based on the optimal Lagrangian multiplier. Finally, based on the optimal bid amount of each energy subsystem, the subsystems in the comprehensive energy system on the date to be controlled are collaboratively controlled, so that the system converges in the direction that is most conducive to achieving equilibrium, thereby accelerating the equilibrium of the comprehensive energy system.
[0186] Example 3
[0187] In order to implement the above embodiments, the present disclosure also provides a computer device.
[0188] The computer device provided in this embodiment includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method in Embodiment 1 is implemented.
[0189] Example 4
[0190] In order to implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium.
[0191] The computer device provided in this embodiment stores a computer program, and when the computer program is executed by a processor, the method in Embodiment 1 is implemented.
[0192] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0193] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0194] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for coordinated control of an integrated energy system, characterized in that: The method comprises: Obtain the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled; Determine the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system; Determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier; Coordinated control of each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem; The determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system includes: Inputting the operation information of each energy subsystem in the integrated energy system into a pre-established two-level optimization model of the integrated energy system based on Lagrange multiplier optimization, solving the model, and obtaining the optimal Lagrange multiplier corresponding to each energy subsystem; The operation information includes: the energy conversion amount of each energy subsystem in the comprehensive energy system and the operation cost of the comprehensive energy system; The energy subsystem includes: an electric power subsystem, a natural gas subsystem and a thermal subsystem; The establishment of the two-level optimization model of the comprehensive energy system based on Lagrange multiplier optimization includes: Based on the energy conversion amount of each energy subsystem in the integrated energy system and the operating cost of the integrated energy system, the upper objective function and the lower objective function of the two-layer optimization model are constructed, wherein the upper objective function includes: establishing the minimum operating cost objective function of the integrated energy system with the minimum operating cost of the integrated energy system as the goal, and the lower objective function includes: establishing the minimum energy purchase cost objective function of each energy subsystem with the minimum energy purchase cost of each energy subsystem as the goal; Constructing constraints for the objective function of the double-layer optimization model of the model: coupling constraints of the integrated energy system, node power balance constraints of the power subsystem, generator capacity constraints of the power subsystem, line flow constraints of the power subsystem, phase angle constraints of the power subsystem, natural gas well production constraints of the natural gas subsystem, natural gas pipeline network constraints of the natural gas subsystem, pressure constraints of the natural gas subsystem, node gas flow balance constraints of the natural gas subsystem, boiler heat production constraints of the thermal subsystem, node thermal power balance constraints of the thermal subsystem, pipeline temperature drop constraints of the thermal subsystem and mixed temperature constraints of the thermal subsystem; The upper objective function calculation formula of the integrated energy system in the upper optimization model is as follows: In the formula, is the cost function, is the cost of the electrical system, is the cost of the thermal system, For the cost of the natural gas system, is the number of iterations, is the Lagrange multiplier, Indicates how to update the Lagrange multiplier to minimize the cost of the next iteration under the current cost; The calculation formula of the minimum operating cost objective function of the comprehensive energy system is as follows: In the formula, Minimum operating cost for integrated energy system, For the The cost of the power subsystem at the iteration, For the The cost of the thermal subsystem at the iteration, For the The cost of the gas subsystem at iteration , is the Lagrange multiplier; The calculation formula of the minimum energy purchase cost objective function of each energy subsystem is as follows: In the formula, is the cost of the power subsystem, is the cost of the thermal subsystem, is the cost of the natural gas subsystem, It is the optimization variable of electricity, gas and heat in the integrated energy system. is the coupling constraint of electric energy, is the coupling constraint of natural gas energy, is the coupling constraint of thermal energy, To optimize variables The cost of the power subsystem is To optimize variables The cost of the thermal subsystem is To optimize variables the cost of the natural gas subsystem; Solving the model to obtain the optimal Lagrange multiplier corresponding to each energy subsystem includes: Step A1: The integrated energy dispatching organization initializes the Lagrange multiplier signal according to the operation information of each energy subsystem on the day to be controlled Step A2: Each energy subsystem in the lower model optimizes the energy conversion behavior of each energy subsystem based on the Lagrange multiplier signal issued by the dispatching agency to obtain the energy conversion information of each energy subsystem; Step A3: Based on the obtained energy conversion information of each energy subsystem and under the premise of satisfying the coupling constraints between the energy systems, the upper model takes the minimum energy purchase cost of the comprehensive energy system as the goal, and uses the response degree of each energy subsystem to the Lagrangian multiplier to convert it into an optimization problem with the Lagrangian multiplier as a variable, and updates the Lagrangian multiplier according to the response degree of each energy subsystem to the Lagrangian multiplier, and judges whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range. If the convergence condition is met, the final Lagrangian multiplier signal is obtained. If the convergence condition is not met, the Lagrangian multiplier is re-solved according to the energy conversion information of each energy subsystem optimized in step A2, and then the re-solved Lagrangian multiplier is uploaded to the dispatching agency, and the process returns to step A2.
2. The method according to claim 1, characterized in that The calculation formula of the coupling constraint of the integrated energy system is as follows: In the formula, For the The value of electric energy in the iterative integrated energy system, For the The value of natural gas energy in the iterative integrated energy system, For the The value of thermal energy in the iterative integrated energy system, where , , To optimize variables; The calculation formula of the node power balance constraint of the power subsystem is as follows: In the formula, is the power generation of the i-th generator connected to node m at time t, is the power generation of the gas turbine connected to node m at time t, is the power-to-gas consumption connected to node m at time t, is the power consumption of the heat pump connected to node m at time t, is the flow of line mn at time t, is the load at node m at time t, is the set of generators or lines connected to node m; The calculation formula of the generator capacity constraint of the power subsystem is as follows: In the formula, is the lower limit of the power generation of the ith generator, is the upper limit of power generation of the ith generator; The calculation formula of the line flow constraint of the power subsystem is as follows: In the formula, is the flow of line mn at time t, is the line mn conductance, is the phase angle of node m at time t, is the upper limit of the line mn power flow, is the lower limit of the line mn power flow; The calculation formula of the phase angle constraint of the power subsystem is as follows: In the formula, is the lower limit of the phase angle, is the upper limit of the phase angle; The calculation formula for the natural gas well production constraint of the natural gas subsystem is as follows: In the formula, is the lower limit of the gas production of the rth natural gas well, is the gas production of the rth natural gas well at time t, is the upper limit of the gas production of the rth natural gas well; The calculation formula of the natural gas pipeline network constraint of the natural gas subsystem is as follows: In the formula, is the natural gas pipeline flow of line mn at time t, is the natural gas node m pressure at time t, is the pressure of natural gas node n at time t, is the upper limit of the natural gas pipeline flow rate of line mn, is a constant, is the set of natural gas wells or lines connected to node m; The calculation formula of the pressure constraint of the natural gas subsystem is as follows: In the formula, is the minimum value of the pressure at the natural gas node m, is the maximum value of the pressure at the natural gas node m; The calculation formula of the node gas flow balance constraint of the natural gas subsystem is as follows: In the formula, is the gas production of the rth natural gas well at time t, is the natural gas load connected to node m at time t, is the power-to-gas production at node m at time t, is the gas consumption of the gas turbine at node m at time t, is the natural gas pipeline flow of line mn at time t; The calculation formula of the boiler heat generation constraint of the thermal subsystem is as follows: In the formula, is the heat generation of the vth heat source at time t, is the minimum heat generation of the vth heat source, is the maximum heat output of the vth heat source; The calculation formula of the node thermal power balance constraint of the thermal subsystem is as follows: In the formula, is the heat injected into node m at time t, is the specific heat capacity of water, is the water flow at node m at time t, is the heating temperature of node m at time t, is the regenerative temperature of node m at time t, is the heat generation of the vth heat source at time t, is the heat load of node m at time t, is the heat output of the heat pump at node m at time t, is the heat generated by the gas turbine connected to node m at time t, is the set of heat sources or lines connected to node m; The calculation formula for the pipe temperature drop constraint of the thermal subsystem is as follows: In the formula, The line at time t Corresponding to the end temperature of the pipe, is the outside temperature at time t, The line at time t Corresponding to the first section temperature of the pipeline, The line at time t Corresponding to the water flow in the pipeline, The specific heat capacity of water, is the attenuation coefficient, L is the pipe length, is a collection of pipelines; The calculation formula of the mixed temperature constraint of the thermal subsystem is as follows: In the formula, The line at time t The outflow rate of the corresponding pipeline is For line Corresponding to the outflow temperature of the pipe, For line Corresponding to the inflow temperature of the pipe, The line at time t The pipe inflow flow rate of the corresponding pipe.
3. A comprehensive energy system collaborative control system, characterized in that: The system comprises: An acquisition module is used to acquire the operation information of each energy subsystem in the comprehensive energy system before the date to be controlled; An optimization module, used for determining the optimal Lagrange multiplier corresponding to each energy subsystem based on the operation information of each energy subsystem in the comprehensive energy system; A determination module, used to determine the optimal bidding amount of each energy subsystem corresponding to the date to be controlled according to the optimal Lagrange multiplier; A control module, used for collaboratively controlling each subsystem in the integrated energy system on the date to be controlled based on the optimal bid amount of each energy subsystem; The optimization module is specifically used for: Inputting the operation information of each energy subsystem in the integrated energy system into a pre-established two-level optimization model of the integrated energy system based on Lagrange multiplier optimization, solving the model, and obtaining the optimal Lagrange multiplier corresponding to each energy subsystem; The operation information includes: the energy conversion amount of each energy subsystem in the comprehensive energy system and the operation cost of the comprehensive energy system; The energy subsystem includes: an electric power subsystem, a natural gas subsystem and a thermal subsystem; The establishment of the two-level optimization model of the comprehensive energy system based on Lagrange multiplier optimization includes: Based on the energy conversion amount of each energy subsystem in the integrated energy system and the operating cost of the integrated energy system, the upper objective function and the lower objective function of the two-layer optimization model are constructed, wherein the upper objective function includes: establishing the minimum operating cost objective function of the integrated energy system with the minimum operating cost of the integrated energy system as the goal, and the lower objective function includes: establishing the minimum energy purchase cost objective function of each energy subsystem with the minimum energy purchase cost of each energy subsystem as the goal; Constructing constraints for the objective function of the double-layer optimization model of the model: coupling constraints of the integrated energy system, node power balance constraints of the power subsystem, generator capacity constraints of the power subsystem, line flow constraints of the power subsystem, phase angle constraints of the power subsystem, natural gas well production constraints of the natural gas subsystem, natural gas pipeline network constraints of the natural gas subsystem, pressure constraints of the natural gas subsystem, node gas flow balance constraints of the natural gas subsystem, boiler heat production constraints of the thermal subsystem, node thermal power balance constraints of the thermal subsystem, pipeline temperature drop constraints of the thermal subsystem and mixed temperature constraints of the thermal subsystem; The upper objective function calculation formula of the integrated energy system in the upper optimization model is as follows: In the formula, is the cost function, is the cost of the electrical system, is the cost of the thermal system, For the cost of the natural gas system, is the number of iterations, is the Lagrange multiplier, Indicates how to update the Lagrange multiplier to minimize the cost of the next iteration under the current cost; The calculation formula of the minimum operating cost objective function of the comprehensive energy system is as follows: In the formula, Minimum operating cost for integrated energy system, For the The cost of the power subsystem at the iteration, For the The cost of the thermal subsystem at the iteration, For the The cost of the gas subsystem at iteration , is the Lagrange multiplier; The calculation formula of the minimum energy purchase cost objective function of each energy subsystem is as follows: In the formula, is the cost of the power subsystem, is the cost of the thermal subsystem, is the cost of the natural gas subsystem, It is the optimization variable of electricity, gas and heat in the integrated energy system. is the coupling constraint of electric energy, is the coupling constraint of natural gas energy, is the coupling constraint of thermal energy, To optimize variables The cost of the power subsystem is To optimize variables The cost of the thermal subsystem is To optimize variables the cost of the natural gas subsystem; Solving the model to obtain the optimal Lagrange multiplier corresponding to each energy subsystem includes: Step A1: The integrated energy dispatching organization initializes the Lagrange multiplier signal according to the operation information of each energy subsystem on the day to be controlled Step A2: Each energy subsystem in the lower model optimizes the energy conversion behavior of each energy subsystem based on the Lagrange multiplier signal issued by the dispatching agency to obtain the energy conversion information of each energy subsystem; Step A3: Based on the obtained energy conversion information of each energy subsystem and under the premise of satisfying the coupling constraints between the energy systems, the upper model takes the minimum energy purchase cost of the comprehensive energy system as the goal, and uses the response degree of each energy subsystem to the Lagrangian multiplier to convert it into an optimization problem with the Lagrangian multiplier as a variable, and updates the Lagrangian multiplier according to the response degree of each energy subsystem to the Lagrangian multiplier, and judges whether the response degree of the energy subsystem to the Lagrangian multiplier is within the allowable range. If the convergence condition is met, the final Lagrangian multiplier signal is obtained. If the convergence condition is not met, the Lagrangian multiplier is re-solved according to the energy conversion information of each energy subsystem optimized in step A2, and then the re-solved Lagrangian multiplier is uploaded to the dispatching agency, and the process returns to step A2.
4. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 2 is implemented.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
Citation Information
Patent Citations
Distributed optimization scheduling method and device for electricity-gas-heat integrated energy system
CN109711601A
Integrated energy system equipment capacity planning method and device
CN111292202A
Cited By
Multi-time sequence integrated energy system control optimization method considering autonomy and collaboration
CN121724336A
