Distributed scheduling method and system for dynamic integrated energy system with fine time granularity
Through the non-iterative distributed robust real-time economic dispatch method, combined with the coupled boundary dynamic adjustment domain and the robust uncertainty model, the complexity of power system and natural gas system dispatch under fine time granularity is solved, and efficient real-time economic dispatch is achieved. Decision-making meets the dynamic interaction needs of the main force of the gas unit AGC.
Patent Information
- Application Number
- CN202410335948.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-03-22
AI Technical Summary
The existing technology is difficult to effectively schedule the power system and natural gas system at fine time granularity, especially when gas units serve as the main force of AGC, resulting in complex dynamic interactions, high model complexity, low computational efficiency of traditional methods, and inability to meet the time requirements of real-time dispatching. Require.
A non-iterative distributed robust real-time economic dispatch method is proposed. By introducing the coupling boundary dynamic adjustment domain, using a robust uncertainty model based on sample paths and a multi-stage dynamic boundary shrinkage algorithm, the decoupled centralized dispatch model is used for the power system. Independent scheduling on the gas side and the natural gas system side reduces information iteration and calculation burden.
It achieves accurate capture of the AGC behavior of the gas unit and the dynamic interaction between the power system and the natural gas system at fine time granularity, improves the economy and safety of dispatching decisions, significantly reduces the computational burden, and meets the rapid solution needs of real-time dispatching. .
Smart Images

Figure CN118199171B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of operation and control of an electric-gas integrated energy system, and in particular to a distributed scheduling method and system for a dynamic integrated energy system under fine time granularity. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Gas-fired units with flexible adjustment capabilities can be applied to the automatic generation control (AGC) process of the power system during real-time dispatching to balance the system power mismatch caused by uncertain renewable energy generation. In the face of the future electric-gas integrated energy system with a higher proportion of new energy access, gas-fired units are expected to become the main force of AGC in the power system. In this case, the interaction between the power system and the natural gas system in the real-time dispatching process will be more significant and the time scale of the action will be shorter. This is because when the gas-fired units participate in AGC to balance the uncertainty of renewable energy, their real-time output and corresponding gas consumption will change significantly and frequently, which will cause significant and frequent dynamic fluctuations in the pressure and flow of the gas pipeline network. In extreme cases, this significant electric-gas dynamic interaction may cause gas pipeline pressure violations, affect the safe gas transmission of the pipeline network, and then weaken the flexible adjustment ability of the gas-fired units, and even cause harm to the entire electric-gas integrated energy system. Therefore, considering the process of gas-fired units participating in AGC at a finer time granularity in real-time economic dispatch decisions, as well as the strong dynamic interaction between the power system and the natural gas system caused by this, is of great significance to the real-time safety, stability and economic operation of the power system with gas-fired units as the main power generation force and a high proportion of renewable energy.
[0004] However, the real-time economic dispatch of the electric-gas integrated energy system taking into account the AGC of the power system and the dynamic security of the gas network at a fine time granularity usually faces the following difficulties:
[0005] First, the use of more precise time resolution will obviously increase the scale of the real-time scheduling problem. Second, as a result of fine-grained modeling, in each real-time scheduling time window (e.g., 15 minutes), multi-stage time series data of renewable energy generation with fine time granularity (e.g., 1 minute) should be used instead of single forecast data, which will introduce a multi-stage stochastic optimization structure into the real-time scheduling problem, thereby increasing the complexity of the model.
[0006] In addition, partial differential equations should be used at fine time granularity to accurately capture the dynamic process in the natural gas system, which further complicates the model. When the gas unit balances the uncertainty of renewable energy on the power system side, there is also uncertainty in its own gas intake changes, which leads to the propagation of uncertainty between the power system and the natural gas system, making the model solution more difficult.
[0007] Finally, considering the privacy issues of the system, the centralized solution will have limited application in practice. However, after considering the dynamic security constraints of the power system AGC and the gas network at a fine time granularity, the traditional iterative distributed solution may encounter slow convergence or even divergence. Considering that real-time scheduling has strict computing time requirements on site, more efficient solutions must be developed.
[0008] At present, in terms of real-time dispatch models, traditional real-time dispatch models usually make decisions based on coarse time granularity, such as 15-minute resolution forecasts of power load and renewable energy generation data. A part of recent real-time dispatch studies have considered AGC constraints. However, most of these studies are limited to power systems and ignore the strong dynamic interaction between power systems and natural gas systems when gas turbines become the main force of AGC. In terms of gas network models, most studies use the steady-state Weymouth equation for approximate solution. Although this method is simple to calculate and suitable for research on system optimization, it has large calculation errors and cannot simulate the dynamic process of the system. In terms of the solution algorithm for multi-stage stochastic optimization problems, the traditional stochastic dual dynamic programming method has a relatively complex forward and backward iterative solution process. Embedding it into a distributed solution may complicate the solution process of the real-time dispatch model and fail to meet the time requirements of real-time dispatch. In terms of distributed solutions, traditional distributed solutions, such as the multiplier alternating direction method, may encounter problems such as too many iterative optimization repetitions, slow convergence, or even divergence. Summary of the invention
[0009] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a distributed scheduling method and system for a dynamic integrated energy system at a fine time granularity, which proposes a non-iterative distributed robust real-time economic scheduling solution for an electric-gas integrated energy system that takes into account automatic power generation control of the power system and dynamic safety of the gas network at a fine time granularity, and is applied to the real-time economic scheduling of an electric-gas integrated energy system in which gas units are the main power generation and AGC force and have a high proportion of renewable energy.
[0010] In order to achieve the above object, the present invention adopts the following technical solution:
[0011] A first aspect of the present invention provides a distributed scheduling method for a dynamic integrated energy system at a fine time granularity, comprising the following steps:
[0012] Based on the preset real-time dispatch time window and refined time resolution, a centralized dispatch model for the electricity-gas integrated energy system is established, taking into account the AGC constraints of the power system and the dynamic safety constraints of the gas network.
[0013] The coupled boundary dynamic regulation domain is introduced, and a non-iterative distributed solution framework of the centralized dispatching model is established based on the coupled boundary dynamic regulation domain. The centralized dispatching model is decoupled into a dispatching model that takes into account AGC and coupled boundary dynamic regulation domain on the power system side, and a coupled boundary dynamic regulation domain evaluation model on the natural gas system side.
[0014] A multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios is adopted to solve the evaluation model of the coupled boundary dynamic regulation domain on the natural gas system side, and a robust uncertainty model based on sample paths is established. The scheduling model of the power system side taking into account AGC and the coupled boundary dynamic regulation domain is reconstructed into a linear robust optimization model and then solved. According to the obtained optimal solutions, the scheduling schemes for the natural gas system side and the power system side are generated respectively.
[0015] A second aspect of the present invention provides a distributed dispatching system for a dynamic integrated energy system at a fine time granularity, comprising:
[0016] A fine-grained scheduling model building module is used to establish a centralized scheduling model for the electric-gas integrated energy system that takes into account the AGC constraints of the power system and the dynamic safety constraints of the gas network based on the preset real-time scheduling time window and refined time resolution;
[0017] A decoupling module is used to introduce a coupling boundary dynamic regulation domain, establish a non-iterative distributed solution framework for a centralized dispatching model based on the coupling boundary dynamic regulation domain, and decouple the centralized dispatching model into a dispatching model that takes into account AGC and the coupling boundary dynamic regulation domain on the power system side, and a coupling boundary dynamic regulation domain evaluation model on the natural gas system side;
[0018] The scheduling scheme generation module is used to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side by adopting a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios, establish a robust uncertainty model based on sample paths, reconstruct the scheduling model of the power system side taking into account AGC and the coupled boundary dynamic regulation domain into a linear robust optimization model and then solve it, and generate scheduling schemes on the natural gas system side and the power system side respectively according to the optimal solutions obtained.
[0019] A third aspect of the present invention provides a computer-readable storage medium.
[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described above.
[0021] A fourth aspect of the present invention provides a computer device.
[0022] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described above are implemented.
[0023] A fifth aspect of the present invention provides a program product.
[0024] A program product, which is a computer program product, includes a computer program, and is characterized in that when the computer program is executed by a processor, it implements the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described above.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] 1. The real-time economic dispatch model proposed in the present invention can capture the behavior of gas units in AGC regulation and the dynamic interaction between the power system and the natural gas system. Compared with traditional economic dispatch research, the model of the present invention can adopt a finer-grained time resolution to ensure that the economic dispatch model can accurately reflect the minute-level physical phenomena in the electric-gas integrated energy system, so that the final dispatch decision can economically and safely dispatch generators with sufficient regulation capabilities to balance the uncertain renewable energy output power fluctuations and other random power disturbances, while avoiding safety risks of the gas network.
[0027] 2. The present invention establishes a robust sample path-based uncertainty model (RSPU) to describe the minute-level multi-stage wind power generation sequence in which the uncertainty is related to time. RSPU can transform the multi-stage stochastic optimization problem into a linear robust optimization problem that is easy to solve. Compared with traditional algorithms for solving multi-stage stochastic programming such as random dual dynamic programming using scenario trees, the proposed RSPU-based data-driven robust optimization algorithm has a faster solution speed while ensuring the decision-making economy.
[0028] 3. The present invention proposes a new concept of coupling boundary dynamic regulation domain to characterize the multi-stage dynamic safe gas supply range for gas units at the coupling boundary of the natural gas system and the power system. Based on the coupling boundary dynamic regulation domain, the present invention proposes a non-iterative distributed solution method for solving the real-time economic dispatch problem of the proposed electric-gas integrated energy system. Compared with traditional distributed algorithms such as the alternating direction multiplier method, the proposed distributed solution method effectively avoids frequent information iteration between the power system and the natural gas system and repeated optimization between the sub-problems of the two systems, significantly reducing the computational burden.
[0029] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0031] Figure 1 It is a flow chart of a distributed scheduling method for a dynamic integrated energy system at a fine time granularity provided by an embodiment of the present invention;
[0032] Figure 2 It is a framework diagram of the non-iterative distributed solution method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0034] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0035] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0036] The present invention proposes a non-iterative distributed robust real-time economic dispatch solution for an electric-gas integrated energy system that takes into account automatic power generation control of the power system and dynamic safety of the gas network at a fine time granularity. The solution is applied to the real-time economic dispatch of an electric-gas integrated energy system in which gas units serve as the main power generation and AGC and have a high proportion of renewable energy.
[0037] The present invention is divided into three main contents:
[0038] In the first part, the present invention adopts a refined time resolution of 1 minute to establish a multi-stage stochastic optimization model for real-time economic dispatch of the electric-gas integrated energy system taking into account the automatic power generation control constraints of the power system and the dynamic safety constraints of the gas network.
[0039] In the second part, the present invention proposes the concept of a coupled boundary dynamic regulation domain, and establishes a non-iterative distributed solution framework for the proposed economic dispatch model based on the coupled boundary dynamic regulation domain, thereby decoupling the centralized economic dispatch model into an economic dispatch model taking into account AGC and the coupled boundary dynamic regulation domain on the power system side, and a coupled boundary dynamic regulation domain evaluation model on the natural gas system side.
[0040] In the third part, for the economic dispatch model of the power system side taking into account the AGC and coupled boundary dynamic regulation domain, a sample path-based robust uncertainty model RSPU is established and a data-driven robust optimization solution algorithm for the multi-stage stochastic dual programming model based on RSPU is designed. For the coupled boundary dynamic regulation domain evaluation model on the natural gas system side, a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios is established to achieve efficient solution of the model.
[0041] Embodiment 1
[0042] like Figure 1 As shown, this embodiment provides a distributed scheduling method for a dynamic integrated energy system at a fine time granularity, including the following steps:
[0043] Step 1: Based on the preset real-time dispatch time window and refined time resolution, a multi-stage stochastic real-time economic dispatch model considering the automatic generation control constraints of the power system is established on the power system side;
[0044] Step 2: Based on the preset real-time scheduling time window and refined time resolution, a dynamic safety model of the gas transmission network is established on the natural gas system side, which takes into account the dynamic safety constraints of the gas pipeline network;
[0045] Step 3: Taking the correlation function between the gas consumption and power output of the gas unit as the coupling constraint of the power system and the natural gas system, a complete centralized real-time economic dispatch model of the electric-gas integrated energy system is established, which takes into account the automatic power generation control of the power system and the dynamic safety of the gas network at a fine time granularity.
[0046] Step 4: Introduce the coupled boundary dynamic regulation domain, and establish a non-iterative distributed solution framework for the centralized real-time economic dispatch model of the electric-gas integrated energy system based on the coupled boundary dynamic regulation domain, which takes into account the automatic power generation control of the power system and the dynamic safety of the gas network at a fine time granularity. The centralized economic dispatch model is decoupled into an economic dispatch model on the power system side that takes into account AGC and the coupled boundary dynamic regulation domain, and an evaluation model of the coupled boundary dynamic regulation domain on the natural gas system side.
[0047] Step 5: Establish a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios, solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side, and obtain the coupled boundary dynamic regulation domain.
[0048] Step 6: Combined with the coupled boundary dynamic regulation domain, a sample path-based robust uncertainty model RSPU is established and a data-driven robust optimization solution algorithm based on the multi-stage stochastic dual programming model of RSPU is designed.
[0049] Through the above technical scheme, the present invention proposes a new concept of dynamic regulation domain of coupled boundary of natural gas system, and develops an effective non-iterative distributed solution on this basis, so that the centralized multi-stage random real-time economic dispatch model of electric-gas integrated energy system taking into account automatic power generation control of power system and dynamic safety of gas network at fine time granularity can be solved in a non-iterative mode, that is, there is no need to repeatedly solve the sub-problems of power system and natural gas system, and only one system boundary information exchange is required in each real-time dispatch time window.
[0050] Among them, in step 1, this embodiment uses 15 minutes as a time window for real-time scheduling, and establishes a real-time economic scheduling model with a 1-minute refined time resolution considering AGC constraints on the power system side, which specifically includes the following steps:
[0051] Step 101: Model wind power as a multi-stage random time series at a preset time resolution:
[0052]
[0053] In the formula, is the actual wind power of the ith wind farm within the refined time interval t, P0 w is the wind power forecast data within the time window of real-time scheduling, i,t is the forecast deviation of the i-th wind farm within the refined time interval t, N τ The number of refined time intervals within the real-time scheduling window.
[0054] In this embodiment, the time window of real-time scheduling is set to T=15 minutes, and the refined time resolution (refined time interval) is set to τ=1 minute.
[0055] Step 102: Establish a multi-stage system power mismatch model on the power system side:
[0056]
[0057] In the formula, ξ t is the power mismatch on the power system side within the refined time interval t, and is also a random variable with uncertainty on the power system side, Ω W A collection of wind farms for a power system.
[0058] Step 103: Once a power mismatch signal is detected, the AGC in the power system will adjust the output of the units participating in the AGC to balance the power mismatch. This AGC adjustment process may be complicated in actual mechanics, but from the perspective of the system operator, its input-output relationship can be reasonably expressed as follows:
[0059]
[0060]
[0061] In the formula, is the real-time power output of the i-th AGC unit within the refined time interval t, P i,0 is the basic output of the i-th AGC unit in the entire real-time scheduling time window T, Δp i,t is the AGC regulated output power of the i-th AGC unit within the refined time interval t, Ω AGC It is a collection of AGC units on the power system side.
[0062] Step 104: Due to the ramp capability limitation of each AGC unit, an additional set of time-related constraints should be imposed as follows:
[0063]
[0064] In the formula, r i up ,r i dw is the up / down ramp limit of the ith AGC unit.
[0065] Step 105: Set the basic decision variables and multi-stage decision variables for real-time dispatch of the power system as:
[0066]
[0067]
[0068] In the formula, x0 is the basic decision variable, including the basic output P of the unit i,0 , the upper spare capacity of the unit and lower spare capacity The basic decision variable x0 needs to be observed when the multi-stage random variable ξ t Determined before. x t is a multi-stage decision variable, including the regulated output power of the AGC unit in each refined time interval, and the multi-stage decision variable x t We need to follow the random variable ξ t The order of realization over time is determined in turn.
[0069] Step 106: Establish a multi-stage random real-time economic dispatch model with refined time resolution and AGC constraints on the power system side, referred to as aRTED (AGC-constrained real-time economic dispatch) model:
[0070]
[0071] st(4),(5)
[0072]
[0073]
[0074]
[0075]
[0076]
[0077] In the formula, are the basic output of the unit, upper reserve, lower reserve, and the cost coefficient of AGC adjusting output power, D l is the power system load, Ω L is the collection of power system loads, is the total up / down reserve capacity requirement of the power system, is the transmission power limit of transmission line m, is the power transfer allocation factor from bus s to transmission line m, Ω S is the set of power system buses, Ω U,s ,Ω W,s ,Ω L,s is the collection of thermal power / gas generating units, wind power and loads connected to bus s, P i max ,P imin is the maximum / minimum output of unit i.
[0078] The aRTED model includes transmission network constraints and generation unit constraints. Transmission network constraints include power balance constraints (9), system reserve requirements (10) and transmission line constraints (11). Unit constraints include generator capacity constraints (12) and constraints on regulating generation output (13).
[0079] Step 107: Convert the above detailed aRTED model into a compact matrix-vector form:
[0080]
[0081]
[0082] In the formula, For expectation, A t ~F t is the coefficient matrix, a t ,b t is the coefficient vector. Both the coefficient matrix and the coefficient vector are transformed from the aRTED model constraints.
[0083] In step 2, a partial differential equation model considering the dynamic safety of the gas network with a refined time resolution of 1 minute on the natural gas system side is established with a 15-minute time window for real-time scheduling. This is further explained as an example, including the following steps:
[0084] Step 201: Establish a partial differential equation model of the gas pipeline:
[0085]
[0086] Where π is the pressure, q is the mass flow rate, S is the cross-sectional area of the pipe, l is the axial distance of the pipe, c is the speed of sound, and d is the inner diameter of the pipe.
[0087] Step 202: Using the central difference method and the average velocity method, a discretized partial differential equation model of the gas pipeline is established:
[0088]
[0089] Where Δt is the discretized time interval corresponding to the refined time interval, Δz is the discretized spatial interval of the pipeline axial distance, is the gas pressure at the discretized virtual pipeline node z at the discretized time interval t, is the gas pressure at the discretized virtual pipeline node z+1 at the discretized time interval t, is the mass flow rate of the gas at the discretized virtual pipeline node z in the discretized time interval t, is the mass flow rate of the gas at the discretized virtual pipeline node z+1 at the discretized time interval t+1;
[0090] is the average flow rate of the gas in the discretized pipe segment z within the refined time interval t, which is calculated using the following formula:
[0091]
[0092] Step 203: Establish a topological constraint model of pipeline connection nodes in the actual gas pipeline network:
[0093]
[0094]
[0095] In the formula, Ω n is the set of both ends (head end or end) of the pipeline connected to node n, are the mass flow rates at both ends of the pipe flowing into and out of node n respectively, and Γ is the compression ratio of the compressor. is the mass flow rate from pipeline i to node n at the discretized time interval t, is the mass flow rate of pipeline j out of node n at the discretized time interval t, is the gas load of node n in the discretized time interval t;
[0096] Constraint (19) is a pressure continuity constraint, and constraint (20) is a mass flow conservation constraint.
[0097] Step 204: Establishing a dynamic energy flow model of the gas pipeline network, which includes the following steps:
[0098] To simplify the formula, the following parameters are defined:
[0099]
[0100] Establish a discretized partial differential equation matrix model for a single discretized pipe section of a single pipeline:
[0101]
[0102] (1) Establish a discretized partial differential equation matrix model of a single pipeline that includes all discretized sections of the pipeline:
[0103]
[0104]
[0105] Formula (24) is a simplified expression of formula (23), are the vectors of all pressure variables and mass flow variables of a single pipeline p within the refined time interval t.
[0106] (2) Establish a discretized partial differential equation matrix model of the gas transmission network including all pipelines:
[0107]
[0108]
[0109] Formula (26) is a simplified expression of formula (25), y t is the vector of discretized state variables of the gas transmission network within the refined time interval t, including the pressure and mass flow at all discrete nodes.
[0110] (3) Combined with the pressure continuity constraint (18) and mass flow conservation constraint (19) at the pipeline connection nodes, a discretized dynamic partial differential equation matrix model of the gas transmission network is established:
[0111]
[0112]
[0113] Formula (28) is obtained by matrix transformation of formula (27), where They are respectively the gas well pressure, compressor boost, traditional gas load, and gas consumption of the gas unit in the refined time interval t of the gas transmission network. S, s, I1~I4 are coefficient matrices.
[0114] Step 205: Establish a safety constraint matrix model for the gas transmission network:
[0115]
[0116] In the formula, H t and g t They represent the state variables y t The coefficient matrix and vector of safety constraints, is the upper / lower limit of gas well pressure, is the upper / lower limit of gas well flow rate, The upper / lower limit of the compressor boost pressure.
[0117] Among them, in step 3, the correlation function of the gas consumption and power output of the gas unit is used as the coupling constraint of the power system and the natural gas system to establish a complete centralized real-time economic dispatch model of the electric-gas integrated energy system taking into account the automatic power generation control of the power system and the dynamic safety of the gas network at a fine time granularity:
[0118] First, establish the electricity-gas conversion function of the gas generator set and its matrix form:
[0119]
[0120]
[0121] In the formula, is the electricity-gas conversion coefficient, Ω G is the collection of gas units in the power system, is the Hadamard product of the matrix, K, L are the selection coefficient matrices, used to select the basic decision variable x0 and the multi-stage decision variable x t Generates the real-time output power of the gas unit.
[0122] Combining the aRTED model (14)-(15) in step 1 and the dynamic security model of the gas transmission network (28)-(29) in step 2, as well as the power-gas coupling constraint (31), a centralized multi-stage stochastic real-time economic dispatch model of the power-gas integrated energy system is established, which takes into account the automatic generation control of the power system and the dynamic security of the gas network at a fine time granularity. This model is referred to as the apRTED (AGC-and-PDE-constrained stochastic RTED) model:
[0123]
[0124] Among them, in step 4, a coupled boundary dynamic regulation domain is introduced, and a non-iterative distributed solution framework of the apRTED model in step 3 is established based on the coupled boundary dynamic regulation domain, which specifically includes the following steps:
[0125] Step 401: Define the coupling boundary dynamic regulation domain as the multi-stage dynamic safe gas supply range that the natural gas system can provide to the gas unit at the power-gas coupling boundary, that is, mathematically, establish a feasible domain Φ consisting of a series of multi-stage gas consumption ranges of gas units. In this feasible domain, for any multi-period dynamic gas extraction scenario of a series of gas units in the power system, There is always a corresponding gas well pressure within the safe range and compressor boost The control instruction makes the state variable y of the natural gas system t It can satisfy the safety constraint (29) and establish its mathematical model:
[0126]
[0127] Step 402: Using the in-box approximation, transform the model (33) into:
[0128]
[0129] In the formula, and In order to refine the upper / lower limit of the safe gas supply range that the coupling boundary of the natural gas system can provide to the gas generator set within the time interval t, it is necessary to solve it through the customized algorithm proposed in step 5 of this embodiment.
[0130] Step 403: Using the electric-gas coupling constraint (31), the coupling boundary dynamic adjustment domain Ξ (34) is converted into a coupling power constraint for the gas unit:
[0131]
[0132] In the formula, P t GF is the upper / lower limit of the real-time output power of the gas unit within the refined time interval t. Θ is used for real-time economic dispatch optimization on the power system side.
[0133] Step 404: Use Θ(35) as a proxy for the natural gas system dynamic security constraints and the electricity-gas coupling constraints in the apRTED model (32), decouple the apRTED model into a real-time economic dispatch model on the power system side that takes into account the AGC constraints of the power system and the dynamic regulation domain of the coupling boundary of the natural gas system, and an evaluation model of the dynamic regulation domain of the coupling boundary on the natural gas system side, and establish the following: Figure 2 The distributed framework shown.
[0134] The process of distributed solution is as follows:
[0135] In each time window of real-time economic dispatch, the operator of the natural gas system first solves the coupled boundary dynamic regulation domain evaluation model to obtain the coupled boundary dynamic regulation domain Ξ(34), which is converted into the coupled boundary output power constraint Θ(35) of the gas unit through the electric-gas coupling constraint and sent to the operator of the power system. Then, the power system operator incorporates Θ(35) into the real-time economic dispatch model taking into account AGC to optimize the decision variables.
[0136] The distributed solution method proposed in the present invention is a non-iterative mode, which only requires one boundary information exchange from the natural gas system to the power system within each time window of real-time economic dispatch.
[0137] Among them, in step 5, the establishment of a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side specifically includes:
[0138] Step 501: Based on the definition of the coupled boundary dynamic regulation domain in equation (33) and the box approximation in equation (34), the objective function is set to maximize the feasible gas extraction range of all gas units within all refined time intervals, and then establish a coupled boundary dynamic regulation domain evaluation model for the natural gas system:
[0139]
[0140] Step 502: Introducing auxiliary uncertainty variables The constraints in model (36) Transformed into the following constraints:
[0141]
[0142] Where, the uncertainty variable u is located in the following uncertainty set:
[0143]
[0144] Step 503: Set the adaptive decision variable z:=(π GW ,π CP ,q GF ) Τ , which can determine the state variable y of the natural gas system t Gas well pressure π GW , compressor boost π CP , gas intake of gas unit q GF The causal relationship of the variables is to make an adaptive decision z after the uncertainty variable u is revealed. Based on this causal relationship, model (35) is transformed into the following two-stage adaptive robust optimization:
[0145]
[0146] In the formula, N is used to convert the gas intake of the gas unit q GF The coefficient matrix selected from the adaptive decision variable z. R and h are matrices and vectors compressed from the coefficients in the constraints in model (35), and the conversion method is as follows:
[0147] (1) The state variable y of the natural gas system is converted into t Eliminate, and reformulate the constraints (28) in all refined time intervals within a real-time economic dispatch time window into the following matrix form:
[0148]
[0149] Where E is the unit matrix.
[0150] (2) Solve the state variable y on the left side of formula (40) tThe inverse matrix of the coefficient matrix before is obtained, and the entire formula (40) is multiplied by the inverse matrix on the left to obtain:
[0151] y=C y +I5π GW +I6π CP +I7 GF (41)
[0152] In the formula, is the vector of state variables of the natural gas system in all refined time intervals, and I5~I7 correspond to the relevant variables π in formula (40) respectively. GW ,π CP ,q GF The coefficient matrix before, C y is the natural gas system steady-state variable y0 and the predictable traditional gas load variable q GL A vector of known quantities.
[0153] (3) Set I = [I5 I6 I7], and further transform formula (41) into:
[0154] y=C y +Iz (42)
[0155] (4) Substituting formula (42) into formula (29), eliminating the state variable y of the natural gas system, the formula Rz≤h is obtained.
[0156] Step 504: Establish a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scene implementation, as shown below:
[0157]
[0158] The algorithm consists of the following steps:
[0159] First, the coupled boundary dynamic regulation domain evaluation model (39) is decoupled into the main problem and the sub-problem, where the main problem is shown in formula (43) and the sub-problem is originally a minmax structure. The present invention transforms the sub-problem into a mixed integer linear programming model shown in formula (44) through strong duality and large M method linearization. In formula (44), r, s u ,s d ,v u ,v d is the dual auxiliary variable introduced by strong duality and large M linearization. Then, the algorithm is iterated to solve the coupled boundary dynamic regulation domain.
[0160] In step 6, first, a multi-stage stochastic real-time economic dispatch model is established that takes into account the dynamic regulation domain of the coupled boundary of the power system side and the natural gas system side. Then, a sample path-based robust uncertainty model RSPU is established to describe the multi-stage stochastic wind power sequence with time-dependent uncertainty. Finally, the acRTED model with a multi-stage stochastic programming structure on the power system side is reconstructed into a linear robust optimization model based on RSPU.
[0161] Step 601: Incorporate the coupling boundary dynamic adjustment region into the aRTED model (14)-(15), forming a multi-stage stochastic real-time economic dispatch model taking into account the AGC on the power system side and the coupling boundary dynamic adjustment region on the natural gas system side, referred to as acRTED (AGC-constrained RTED with coupling boundary dynamic adjustment region):
[0162]
[0163]
[0164] Step 602: Obtain historical data and forecast deviation data of wind farms, generate typical scenarios of wind power through K-means clustering method, and use them as sample path data of wind power multi-stage forecast deviation time series optimized by acRTED model, and set the set of all sample paths as
[0165] For the random process ξ of system power mismatch consisting of a series of wind power forecast deviation time series, its sample path is set as That is, a realization of the random process ξ.
[0166] In order to avoid the optimization model from over-relying on the sample path for optimization, which leads to poor out-of-sample performance, that is, the optimization decision overfits the historical data, in this embodiment, the sample path is made more robust. The surrounding construction includes The sub-uncertainty set
[0167]
[0168] In the formula, ε N To define the uncertainty set The robust parameters of are determined by a five-layer cross-validation method, where ||·|| is an arbitrary norm and l is the index of the sample path.
[0169] Based on formula (47), the sample path-based robust uncertainty model RSPU can be expressed as a combined uncertainty set:
[0170]
[0171] The RSPU model (47)-(48) proposed in the present invention does not require any parameter assumptions on the probability distribution of the random process. Secondly, based on RSPU, even if the random process is arbitrarily correlated in time, the RSPU-based linear robust optimization method formulated in the present invention can also be asymptotically optimal.
[0172] Step 603: Apply norm ||·|| ∞ , transform RSPU model (47)-(48) into:
[0173]
[0174] In the formula, The uncertainty set upper / lower limit.
[0175] Step 604: Introduce multi-stage linear decision rules:
[0176]
[0177] In the formula, χ s is the linear decision coefficient. Let χ ≤t-1 =0, the AGC process equations (3)-(4) are restated as:
[0178]
[0179] In the formula, χ i,t is the linear decision allocation coefficient of AGC.
[0180] Step 605: Applying the RSPU model (49) and the linear decision rule (51), the present invention minimizes each sub-uncertainty set The average cost of the worst scenario is used to obtain the The decision of real-time economic dispatch with good average performance is established based on this idea as follows:
[0181]
[0182] In the formula, all constraints are derived from constraints (46) and linear decision rules (51) through matrix derivation. N is the sample path The number of sample paths in the set.
[0183] Step 606: Introduce auxiliary variable γ l , transform the objective function of model (52) into the following form:
[0184]
[0185] Based on formula (53), the objective function of model (52) and the multi-stage random variable ξ t The related constraints have the same form as follows:
[0186]
[0187] Step 607: Applying strong duality, formula (54) can be transformed into:
[0188]
[0189] In the formula, μ t ,η t is the introduced dual auxiliary variable. Based on formulas (54)-(55), model (52) is finally transformed into the following linear optimization model:
[0190]
[0191] In the formula, μ t , η t ,ω t , t is the introduced dual auxiliary variable.
[0192] Embodiment 2
[0193] This embodiment provides a distributed scheduling system for a dynamic integrated energy system at a fine time granularity, including:
[0194] A fine-grained scheduling model building module is used to establish a centralized scheduling model for the electric-gas integrated energy system that takes into account the AGC constraints of the power system and the dynamic safety constraints of the gas network based on the preset real-time scheduling time window and refined time resolution;
[0195] A decoupling module is used to introduce a coupling boundary dynamic regulation domain, establish a non-iterative distributed solution framework for a centralized dispatching model based on the coupling boundary dynamic regulation domain, and decouple the centralized dispatching model into a dispatching model that takes into account AGC and the coupling boundary dynamic regulation domain on the power system side, and a coupling boundary dynamic regulation domain evaluation model on the natural gas system side;
[0196] The scheduling scheme generation module is used to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side by adopting a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios, establish a robust uncertainty model based on sample paths, reconstruct the scheduling model of the power system side taking into account AGC and the coupled boundary dynamic regulation domain into a linear robust optimization model and then solve it, and generate scheduling schemes on the natural gas system side and the power system side respectively according to the optimal solutions obtained.
[0197] Embodiment 3
[0198] This embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described above.
[0199] Embodiment 4
[0200] This embodiment 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 program, the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described above are implemented.
[0201] Embodiment 5
[0202] This embodiment provides a program product, which is a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements the steps in the distributed scheduling method of the dynamic integrated energy system at a fine time granularity as described above.
[0203] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0204] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0205] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0206] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0207] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0208] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. Distributed scheduling method for dynamic integrated energy system with fine time granularity, It is characterized in that The steps include: Based on the preset real-time dispatch time window and refined time resolution, a centralized dispatch model for the electricity-gas integrated energy system is established, taking into account the AGC constraints of the power system and the dynamic safety constraints of the gas network. The coupled boundary dynamic regulation domain is introduced, and a non-iterative distributed solution framework of the centralized dispatching model is established based on the coupled boundary dynamic regulation domain. The centralized dispatching model is decoupled into a dispatching model that takes into account AGC and coupled boundary dynamic regulation domain on the power system side, and a coupled boundary dynamic regulation domain evaluation model on the natural gas system side. A multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios is used to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side, and a robust uncertainty model based on sample paths is established. The dispatch model of the power system side taking into account AGC and the coupled boundary dynamic regulation domain is reconstructed into a linear robust optimization model and then solved. The dispatch schemes on the natural gas system side and the power system side are generated according to the optimal solutions obtained. The centralized dispatching model of the electric-gas integrated energy system considering the AGC constraints of the power system and the dynamic safety constraints of the gas network is established based on the preset real-time dispatching time window and the refined time resolution, including: Establish a real-time economic dispatch model taking into account AGC constraints on the power system side at a fine time granularity; Establish a partial differential equation model for the natural gas system side taking into account the dynamic safety of the gas pipeline network at a fine time granularity; Taking the correlation function of gas consumption and power output of gas units as the coupling constraint of power system and natural gas system, a centralized dispatch model of electric-gas integrated energy system is established with consideration of AGC constraint of power system and dynamic safety constraint of gas network at fine time granularity. The method of introducing a coupling boundary dynamic adjustment domain, establishing a non-iterative distributed solution framework of a centralized scheduling model based on the coupling boundary dynamic adjustment domain, and decoupling the centralized scheduling model includes: The coupling boundary dynamic regulation domain is defined as the multi-stage dynamic safe gas supply range that the natural gas system can provide to the gas generator set at the electricity-gas coupling boundary; By adopting the in-box approximation, the multi-stage dynamic safe gas supply range is transformed into: the coupled boundary dynamic adjustment domain including the upper and lower limits of the safe gas supply range that the coupled boundary of the natural gas system within the refined time interval t can provide to the gas unit; Using the electric-gas coupling constraint, the coupling boundary dynamic regulation domain is transformed into the coupling power constraint for the gas unit; The coupled power constraints on gas units are used as a proxy for the dynamic security constraints and electricity-gas coupling constraints of the natural gas system to decouple the centralized dispatch model. The non-iterative distributed solution framework of the centralized scheduling model includes: In each time window of real-time economic dispatch, the evaluation model of the coupling boundary dynamic regulation domain of the natural gas system is first solved to obtain the coupling boundary dynamic regulation domain; the coupling boundary output power constraint of the gas unit is converted into the coupling boundary output power constraint of the gas unit through the electric-gas coupling constraint, and then sent to the power system side; Then, the power system side incorporates the coupled boundary output power constraints of the gas units into the real-time economic dispatch model taking into account AGC to optimize the decision variables.
2. The distributed scheduling method of a dynamic integrated energy system at a fine time granularity as claimed in claim 1, It is characterized in that The multi-stage dynamic boundary shrinkage algorithm based on the discretized finite scenario is used to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side, including: Based on the definition of coupled boundary dynamic regulation domain, the objective function is set to maximize the feasible gas extraction range of all gas units in all refined time intervals, and the coupled boundary dynamic regulation domain evaluation model of the natural gas system is established; Auxiliary uncertainty variables are introduced to transform the constraints of multi-period dynamic gas extraction scenarios of any series of gas-fired units in the power system; Adaptive decision variables are set, and based on the causal relationship of the variables, the coupled boundary dynamic regulation domain assessment model of the natural gas system is transformed into a two-stage adaptive robust optimization model; The two-stage adaptive robust optimization model is decoupled into the main problem and sub-problems. In the sub-problem, the sub-problem is transformed into a mixed integer linear programming model through strong duality and big M method linearization. The sub-problem is solved to obtain new finite scenario realizations and new adaptive decision variables. The new finite scenario realizations and new adaptive decision variables are added to the main problem. The upper and lower limits of the optimal coupling boundary dynamic regulation domain are obtained by solving the main problem.
3. The distributed scheduling method of dynamic integrated energy system at fine time granularity as claimed in claim 1, It is characterized in that The robust uncertainty model based on the sample path is established, and the dispatch model of the power system side taking into account the AGC and the coupling boundary dynamic regulation domain is reconstructed into a linear robust optimization model, including: Based on the historical data and forecast deviation data of wind farms, typical scenarios of wind power are generated as the dispatch model of the power system side taking into account the AGC and coupled boundary dynamic regulation domain, and the sample path data of the wind power multi-stage forecast deviation time series are optimized; For the random process ξ of system power mismatch consisting of a series of wind power forecast deviation time series, its sample path is set as In each sample path The surrounding construction includes The sub-uncertainty set Based on sub-uncertainty sets The robust uncertainty model based on sample paths is expressed as a combined uncertainty set U; Applying norms, combining sub-uncertainty sets Combine the uncertainty set U and transform the robust uncertainty model of the sample path into the uncertainty set W; A multi-stage linear decision rule is introduced to minimize each sub-uncertainty set The average cost of the worst scenario is used to obtain the real-time economic dispatch decision with good average performance in the uncertainty set W, and a linear robust optimization model is established.
4. A system for implementing the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described in any one of claims 1 to 3, It is characterized in that include: A fine-grained scheduling model building module is used to establish a centralized scheduling model for the electric-gas integrated energy system that takes into account the AGC constraints of the power system and the dynamic safety constraints of the gas network based on the preset real-time scheduling time window and refined time resolution; A decoupling module is used to introduce a coupling boundary dynamic regulation domain, establish a non-iterative distributed solution framework for a centralized dispatching model based on the coupling boundary dynamic regulation domain, and decouple the centralized dispatching model into a dispatching model that takes into account AGC and the coupling boundary dynamic regulation domain on the power system side, and a coupling boundary dynamic regulation domain evaluation model on the natural gas system side; The scheduling scheme generation module is used to solve the coupled boundary dynamic regulation domain evaluation model on the natural gas system side by adopting a multi-stage dynamic boundary shrinkage algorithm based on discretized finite scenarios, establish a robust uncertainty model based on sample paths, reconstruct the scheduling model of the power system side taking into account AGC and the coupled boundary dynamic regulation domain into a linear robust optimization model and then solve it, and generate scheduling schemes on the natural gas system side and the power system side respectively according to the optimal solutions obtained.
5. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described in any one of claims 1-3 are implemented.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described in any one of claims 1-3 are implemented.
7. A program product, the program product being a computer program product, comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps in the distributed scheduling method of a dynamic integrated energy system at a fine time granularity as described in any one of claims 1-3 are implemented.
Citation Information
Patent Citations
Electricity-gas interconnection system multi-time scale joint optimization scheduling method and system
CN114781817A
Robust economic dispatching method for distribution network level electricity-gas integrated energy system
CN116526466A
