Comprehensive energy scheduling method and system based on energy flow response superposition

Through the energy flow response superposition method, the problem of dynamic optimization of energy flow calculation complexity in the comprehensive energy system is solved, and an efficient and accurate energy flow model construction and scheduling solution is realized, which improves the overall performance of the system.

CN118657357BActive Publication Date: 2024-11-19SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411140828.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-19
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

The prior art is difficult to effectively simulate complex natural gas and heat transfer dynamics in dynamically optimized energy flow calculations in integrated energy systems, resulting in low computational efficiency and insufficient accuracy.

Method used

Using the method based on energy flow response superposition, the discrete variables are converted into continuous time domain functions through discrete time domain mapping function, an optimized energy flow model is constructed, and the unit step response matrix is ​​used to simplify the mapping relationship of state variables and reduce the computational complexity.

Benefits of technology

It improves the accuracy and efficiency of energy flow calculation, simplifies the complexity of the model, and significantly improves the dynamic scheduling performance of the integrated energy system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657357B_ABST
    Figure CN118657357B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of modeling and simulation, and specifically provides a comprehensive energy scheduling method and system based on energy flow response superposition, including: constructing an energy flow model for comprehensive energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables to continuous time domain functions based on the superposition principle; using known variables acquired in advance, deriving parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model; inputting known data into the optimized energy flow model to obtain the values ​​of corresponding decision variables, and generating energy flow constraints based on the values ​​of decision variables; solving the pre-constructed objective function based on the energy flow constraints to obtain a scheduling plan. The present invention has excellent performance in terms of accuracy, efficiency and model complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of model simulation, and in particular relates to a comprehensive energy scheduling method and system based on energy flow response superposition. Background Art

[0002] In today's multi-energy interconnected systems, the demand for flexible scheduling of integrated energy systems has increased significantly. To meet this demand, dynamic optimization energy flow technology must improve its accuracy, efficiency and convergence. The main difficulty in calculating the dynamic optimization energy flow of integrated energy systems lies in simulating the complex natural gas and heat transfer dynamics.

[0003] The current dynamic model contains a large number of complex characteristic variances and cannot support efficient calculations. Conventional solution methods use finite difference methods, such as time-space differentiation of the model, converting long pipelines into several elements, and then recursively solving them. Finite difference methods are used after approximating the second-order terms in the partial differential equations of the natural gas network with the average gas velocity.

[0004] However, for the finite difference method, the smaller the differential step in time and space, the smaller the truncation error and the higher the accuracy. This also means that the constraints and variables in the optimization problem increase, resulting in lower solution efficiency. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides a comprehensive energy scheduling method and system based on energy flow response superposition to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides a comprehensive energy scheduling method based on energy flow response superposition, comprising:

[0007] Constructing an energy flow model for integrated energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables into a continuous time domain function based on the superposition principle;

[0008] Using the known variables obtained in advance, deriving the parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain the optimized energy flow model;

[0009] Input known data into the optimized energy flow model to obtain the values ​​of corresponding decision variables, and generate energy flow constraints based on the values ​​of the decision variables;

[0010] The pre-constructed objective function is solved based on the energy flow constraint conditions to obtain a scheduling solution.

[0011] In an optional implementation, the discrete time domain mapping function includes:

[0012] ;

[0013] in, express time; Indicates Sub-decomposed time domain continuous mapping function;

[0014] The discrete time domain mapping function transforms the known discrete variables is expressed as a continuous function, and then the continuous function is decomposed into and the phase shift is ( ), using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into the time domain discrete mapping can be obtained.

[0015] In an optional embodiment, an energy flow model is constructed for comprehensive energy based on a discrete time domain mapping function, including:

[0016] Gas network in L -Energy flow models in the domain include:

[0017] ;

[0018] ;

[0019] in, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and A vector of

[0020] The energy flow model of the heating network includes:

[0021] ;

[0022] ;

[0023] ;

[0024] in, and is the step pulse vector of the source node temperature and load temperature change, which is a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively; and is the simplified unit step response matrix of the heating and return network, which is used to express the temperature of non-source nodes as the superposition of the responses of source nodes to temperature changes;

[0025] The energy flow model of the power grid includes:

[0026] Injection offset factor matrix The expression is:

[0027] ;

[0028] The power flow vector expression through the branch is:

[0029] ;

[0030] in, is the diagonal branch inductive reactance matrix; is the incident matrix between electrical nodes and branches; Power injection or withdrawal vectors for nodes in the grid;

[0031] The unified dynamic energy flow model of the integrated energy system includes:

[0032] Starting from the initial state, the response model of the state variables of the natural gas network to the pulse change is:

[0033] ;

[0034] Starting from the initial state, the response model of the state variables of the heating network to the pulse change is:

[0035] ;

[0036] Starting from the initial state, the power flow model of the power grid is:

[0037] ;

[0038] in, Represents the numerical difference between the state variable and its initial value;

[0039] The unified dynamic energy flow of the integrated energy system can be expressed as

[0040] ;

[0041] in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables.

[0042] In an optional implementation, using known variables acquired in advance to derive parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model, includes:

[0043] The known variable is represented as a continuous step function, and the amplitude and phase shift are extracted by decomposition and Laplace transformation; for the length of No. Elements , the calculation methods include:

[0044] ;

[0045] in, and yes The number of exponent and step size changes; and yes No. The amplitude and start time of the sub-pulse, which refers to The Secondary elements; express The initial value of

[0046] Assumptions is a size of ( ) matrix, vector The length is ;exist -Domain, The Secondary element pair No. The response of the secondary pulse can be derived as:

[0047] ;

[0048] The decomposed continuous mapping function in the time domain is expressed as:

[0049] ;

[0050] in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation;

[0051] In the time domain right The continuous response of is described as the decomposed continuous mapping function and its initial value Overlays include:

[0052] ;

[0053] Pair Vector The response is expressed as:

[0054] ;

[0055] in, yes The initial value of

[0056] Substitute the sampling time of the unknown variable into The discrete mapping function of t in the expression is obtained. The value at is:

[0057] ;

[0058] In the known and In the case of Expressed as a constant ;

[0059] The state variables are represented as the superposition of known variables multiplied by a constant. No multi-layer nested calculations and time-frequency domain conversion are introduced in the mapping. When the system parameters remain unchanged, is a fixed constant.

[0060] In an optional implementation, known data is input into the optimized energy flow model to obtain values ​​of corresponding decision variables, and energy flow constraints are generated based on the values ​​of the decision variables, including:

[0061] Inputting known data into the optimized energy flow model, the known data including predicted data and system initial state, wherein the predicted data includes gas source pressure, gas load, heat load and power load;

[0062] The known data are converted into decision variables by using an optimized energy flow model, wherein the decision variables include node injection power in the power grid, node injection gas flow in the natural gas network, and a temperature set by a heat source;

[0063] Take the decision variable vector represents the gas mass rate injected into node w, where is The gas mass rate injected into node w at time Expressed as A continuous step function in the -domain with varying amplitude and start time is expressed as , the energy flow constraint is:

[0064] ;

[0065] in, is the time index of the change; yes The initial value of

[0066] Based on the energy flow constraint calculation , , , and , based on the calculation results, low-dimensional energy flow constraints are generated, including:

[0067] ;

[0068] ;

[0069] ;

[0070] ;

[0071] in, and They represent the gas flow injected into the gas source node w and the gas pressure of the net load node w at time t, respectively. and are the initial values ​​respectively; represents the unit response of the state variable w to each change of each node in the gas network at time t; and is a row vector consisting of all changes in pressure and absorption gas flow amplitude at all nodes; and is the electric power transmitted on branch b at time t and its initial value; yes The b-th row vector of ; is the row vector of the change in the amplitude of the injected electric power at all nodes; and Indicates The temperature rise of a heat source at time t and its initial value; and It is The unit response of the temperature rise of each heat source to the temperature change of each heat source and load in the heating network at time t; and is a row vector consisting of all the temperature amplitude changes for each heat source and load.

[0072] In an optional implementation, solving a pre-constructed objective function based on the energy flow constraint to obtain a scheduling solution includes:

[0073] Construct the cost function for coal-fired power generation:

[0074] ;

[0075] Construct the production cost function of a gas well:

[0076] ;

[0077] in, and Respectively Coal-fired power plants and fuel and natural gas prices at each well; and They are Coal-fired power generation fuel consumption and power output; Indicates Gas wells in The gas flow rate generated when , and It is The cost coefficient of coal-fired power generation; is the scheduling interval;

[0078] Customize energy conservation constraints for each node in gas, heat and power grids, including:

[0079] ;

[0080] ;

[0081] ;

[0082] ;

[0083] ;

[0084] in, and Indicated in Slave Node The mass flow rate of gas injected and absorbed by the load; , and Respectively expressed in When the node No. A gas source is generated and Gas flow rate absorbed by each gas source and gas-fired power generation; and Indicated in Time Node The power injected and absorbed by the load; , , and It is The power generated by coal-fired power generation, wind power generation, gas-fired power generation, and the Heat pumps in The power absorbed when and Respectively represent Heat sources in Supply water temperature and return water temperature at , and It is Combined heat and power, heat pumps and gas boilers in The heat power generated when

[0085] Construct constraints for the power generation and conversion process, including:

[0086] ;

[0087] ;

[0088] ;

[0089] ;

[0090] ;

[0091] ;

[0092] ;

[0093] ;

[0094] in, and They are Generator sets in and the electric power generated at $t-1$; It is Wind power generation in The electrical power generated when and It is Heat pumps and gas boilers in The heat power generated when and Indicates Combined heat and power units in The electrical and thermal energy output when Indicates The boost power limit of each generator set; , and It is Parameters of feasible areas for combined heat and power generation;

[0095] Limitations and constraints in building energy networks:

[0096] ;

[0097] ;

[0098] ;

[0099] ;

[0100] ;

[0101] in, Indicated in Time Node Gas pressure; Indicated in Time Well The gas mass flow rate has an upper limit of ; and yes Time heat source Supply and return water temperatures; express Passing the branch road The transmission capacity limit is ;

[0102] The superposition form variables are divided into decomposed known variables and superposition state variables. The decomposed known variables are used The superposition state variables are represented by The matrix form of the optimized energy flow model is expressed as:

[0103] ; ; ; ;

[0104] ;

[0105] in, It is the matrix form of the constraints of the power generation and conversion processes and the limitations of the energy network; is the matrix form of the node energy conservation constraint; It represents the constraints of extracting the magnitude and time of changes by decomposing the input data; Matrix form representing low-dimensional energy flow constraints in superposition form;

[0106] The objective function is simplified by piecewise linearization to obtain a mixed integer linear programming problem, which is directly solved using the commercial solver Gurobi.

[0107] In a second aspect, the present invention provides an integrated energy dispatching system based on energy flow response superposition, comprising:

[0108] A model building module, for building an energy flow model for comprehensive energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables to continuous time domain functions based on a superposition principle;

[0109] A mapping derivation module, used to derive parameter values ​​of the discrete time domain mapping function using known variables acquired in advance, and substitute the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model;

[0110] A constraint generation module, used for inputting known data into the optimized energy flow model, obtaining values ​​of corresponding decision variables, and generating energy flow constraint conditions based on the values ​​of decision variables;

[0111] The scheduling solution module is used to solve the pre-constructed objective function based on the energy flow constraint conditions to obtain a scheduling solution.

[0112] In an optional implementation, the discrete time domain mapping function includes:

[0113] ;

[0114] in, express time; Indicates Sub-decomposed time domain continuous mapping function;

[0115] The discrete time domain mapping function transforms the known discrete variables is expressed as a continuous function, and then the continuous function is decomposed into and the phase shift is ( ), using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into the time domain discrete mapping can be obtained.

[0116] In an optional embodiment, an energy flow model is constructed for comprehensive energy based on a discrete time domain mapping function, including:

[0117] Gas network in L -Energy flow models in the domain include:

[0118] ;

[0119] ;

[0120] in, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and A vector of

[0121] The energy flow model of the heating network includes:

[0122] ;

[0123] ;

[0124] ;

[0125] in, and is the step pulse vector of the source node temperature and load temperature change, which is a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively; and is the simplified unit step response matrix of the heating and return network, which is used to express the temperature of non-source nodes as the superposition of the responses of source nodes to temperature changes;

[0126] The energy flow model of the power grid includes:

[0127] Injection offset factor matrix The expression is:

[0128] ;

[0129] The power flow vector expression through the branch is:

[0130] ;

[0131] in, is the diagonal branch inductive reactance matrix; is the incident matrix between electrical nodes and branches; Power injection or withdrawal vectors for nodes in the grid;

[0132] The unified dynamic energy flow model of the integrated energy system includes:

[0133] Starting from the initial state, the response model of the state variables of the natural gas network to the pulse change is:

[0134] ;

[0135] Starting from the initial state, the response model of the state variables of the heating network to the pulse change is:

[0136] ;

[0137] Starting from the initial state, the power flow model of the power grid is:

[0138] ;

[0139] in, Represents the numerical difference between the state variable and its initial value;

[0140] The unified dynamic energy flow of the integrated energy system can be expressed as

[0141] ;

[0142] in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables.

[0143] In an optional implementation, using known variables acquired in advance to derive parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model, includes:

[0144] The known variable is represented as a continuous step function, and the amplitude and phase shift are extracted by decomposition and Laplace transformation; for the length of No. Elements , the calculation methods include:

[0145] ;

[0146] in, and yes The number of exponent and step size changes; and yes No. The amplitude and start time of the sub-pulse, which refers to The Secondary elements; express The initial value of

[0147] Assumptions is a size of ( ) matrix, vector The length is ;exist -Domain, The Secondary element pair No. The response of the secondary pulse can be derived as:

[0148] ;

[0149] The decomposed continuous mapping function in the time domain is expressed as:

[0150] ;

[0151] in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation;

[0152] In the time domain right The continuous response of is described as the decomposed continuous mapping function and its initial value Overlays include:

[0153] ;

[0154] Pair Vector The response is expressed as:

[0155] ;

[0156] in, yes The initial value of

[0157] Substitute the sampling time of the unknown variable into The discrete mapping function of t in the expression is obtained. The value at is:

[0158] ;

[0159] In the known and In the case of Expressed as a constant ;

[0160] The state variables are represented as the superposition of known variables multiplied by a constant. No multi-layer nested calculations and time-frequency domain conversion are introduced in the mapping. When the system parameters remain unchanged, is a fixed constant.

[0161] The beneficial effect of the present invention is that the comprehensive energy scheduling method and system based on energy flow response superposition provided by the present invention establishes an energy flow model of the natural gas network and the heat network based on the superposition principle, and converts the energy flow calculation into the superposition of the response. By establishing a unit response matrix of unknown variables in the L-domain, all inertia constants of gas transmission can be considered, and the outlet temperature of the heat pipe can be analyzed and calculated in the optimization of energy flow. The present invention has excellent performance in terms of accuracy, efficiency and model complexity.

[0162] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0163] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0164] Figure 1 It is a schematic diagram of the framework of the best dynamic optimization energy flow model of a comprehensive energy scheduling method based on energy flow response superposition in one embodiment of the present invention. DETAILED DESCRIPTION

[0165] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0166] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0167] In today's multi-energy interconnected systems, the demand for flexible scheduling of integrated energy systems has increased significantly. To meet this demand, dynamic optimization of energy flow technology must improve its accuracy, efficiency and convergence. The method proposed in this paper marks the first systematic application of Laplace domain energy flow model to optimize energy flow. First, a simplified mapping function is established between known and unknown state variables using the unit step response matrix of the unknown variables of natural gas and heat network, which is a direct time-domain discrete mapping that avoids the computational burden caused by element iteration and time-frequency domain conversion. Subsequently, the mapping is converted into low-dimensional energy flow constraints, and the optimized energy flow model is constructed in a superimposed form, where the accurate energy flow model ensures the accuracy of the model, while the fixed constants in the energy flow constraints further improve the efficiency. Finally, a large number of case studies have demonstrated that the proposed method has superior performance in terms of accuracy, efficiency and model complexity compared with existing methods.

[0168] To facilitate the understanding of the present invention, the principle of the comprehensive energy scheduling method based on energy flow response superposition of the present invention is combined with the process of scheduling comprehensive energy in the embodiment to further describe the comprehensive energy scheduling method based on energy flow response superposition provided by the present invention.

[0169] The main difficulty in calculating the energy flow for dynamic optimization of integrated energy systems lies in simulating the complex natural gas and heat transfer dynamics. In the spatial dimension x and the time dimension t, the mass flow dynamics of natural gas along the pipeline are described by the conservation of mass (1a) and the conservation of momentum (1b). In the mass regulation mode, the temperature distribution along the heat pipe is given by (2):

[0170] , (1a);

[0171] , (1b);

[0172] , (2);

[0173] in, , , and are the density, velocity, pressure and mass flow rate of natural gas respectively; , , and are the diameter, cross-sectional area, friction factor and altitude of the pipe respectively; is the speed of sound; is the acceleration due to gravity. , and are the specific heat capacity, density and thermal diffusivity of water respectively; , and They are the cross-sectional area, mass flow rate and thermal conductivity of the pipe; Indicates the ambient temperature of water.

[0174] In the problem of optimizing energy flow, the energy flow model usually acts as a constraint to define the mapping relationship between known and unknown state variables in the network. These known variables usually include the gas mass rate injected into the node, the gas pressure at the gas source, the heat source temperature and the temperature drop at the load, while the unknown variables are usually the gas mass rate produced by the gas well, the gas pressure at the non-gas source node and the heat source temperature rise. However, it is challenging to efficiently solve the optimization problem under the above partial differential equation constraints. Therefore, it is necessary to transform the delay and inertia relations between the state variables into algebraic relations.

[0175] In order to compare with the proposed method intuitively, the energy flow constraints in the finite difference method and the generalized phasor model are condensed into mapping functions for analysis. express point ( ) is a set of known state variables; let express point ( ) is a set of unknown state variables. Get a mapping function , so that ,in yes The finite difference method performs element-by-element recursion on the unknown state variables after spatial and time differences, and its mapping function can be expressed as (3). For the generalized phasor model, the mapping relationship includes functions in the time domain and complex frequency domain, which can be expressed as (4a)-(4c).

[0176] , (3);

[0177] , (4a);

[0178] , (4b);

[0179] , (4c);

[0180] in, is the mapping function of elements on time steps; and are the time step and space step; and Indicates the known and unknown state variables in Values ​​at sub-fundamental frequencies; express A vector of , and It is the mapping function of the state variables from the time domain to the frequency domain, in the frequency domain, and from the frequency domain to the time domain.

[0181] The multi-layer relationship expressed by (3) shows that the finite difference method will introduce many constraints and variables when applied to optimize energy flow, among which and The increase of has a negative impact on computational efficiency. The generalized phasor model solves the distance difference and element iteration problems, but its model complexity is limited by The effect of the total number, i.e. the total frequency of the model in the frequency domain, is shown in (4a)-(4c).

[0182] Based on the above background, a simplified discrete time-domain mapping function based on the system superposition response is proposed, and this relationship is applied to optimize the energy flow model (this method based on the superposition principle is named SPM).

[0183] Specifically, the comprehensive energy scheduling method based on energy flow response superposition includes:

[0184] S1. First, the known discrete variables is expressed as a continuous function, and then decomposed into and the phase shift is ( ). Using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into the time domain, we can get the discrete mapping, which can be described by (5).

[0185] , (5);

[0186] in, express time; Indicates The time-domain continuous mapping function of the sub-decomposition.

[0187] This reduced mapping function helps reduce computational complexity for two reasons: 1) It is expressed as a compact matrix, avoiding the need for intermediate variables and their associated constraints, such as the inlet and outlet states of the pipeline. 2) When the network parameters are fixed, the response matrix remains unchanged and does not need to be repeatedly calculated, further reducing the computational burden. In addition, Figure 1 It can be seen that the mapping function can explicitly consider the initial state of the system and solve the problem of uncontrollable initial state encountered in the generalized phasor model.

[0188] S2. Construct a unified dynamic energy flow model in superposition form:

[0189] 1) Dynamic energy flow model of the network

[0190] Gas network in L The energy flow model in the -domain can be expressed as:

[0191] , (6a);

[0192] , (6b);

[0193] Among them, among them, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and Vector.

[0194] 2) Dynamic energy flow model of heating network:

[0195] and It is a simplified unit step response matrix of the heating and return network, which can express the temperature of non-source nodes as the superposition of the response of source nodes to temperature changes. Combined with the temperature relationship between the heat source and the load, the temperature rise provided by the heat source It can be calculated using (7a)-(7c) in simplified notation.

[0196] , (7a);

[0197] , (7b);

[0198] , (7c);

[0199] in, and is the step pulse vector of the source node temperature and load temperature change, which is usually a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively.

[0200] 3) Energy flow model of the power grid:

[0201] Compared with gas and heat networks, the transients of the power grid are usually not considered in energy flow analysis because of the short duration of the grid. This paper uses a DC current based on the power transfer distribution coefficient. The injection offset factor matrix The calculation method of is (8). Then, the power flow vector through the branch can be expressed as (9).

[0202] , (8);

[0203] , (8);

[0204] in, is the diagonal branch inductive reactance matrix; is the incident matrix between electrical nodes and branches; A vector for injecting or withdrawing power from a node in the grid.

[0205] 4) Unified dynamic energy flow model of integrated energy system

[0206] To avoid the response of the state variables changing from zero, the initial state value of the simulation should be determined, usually the historical average value. Starting from the initial state, the response of the state variables of the gas network and the heat network to the pulse change can be rewritten as (10a) and (10b) respectively. Similarly, the power flow model of the power grid can also be reconstructed as (10c).

[0207] , (10a);

[0208] , (10b);

[0209] , (10b);

[0210] in, Represents the numerical distance between a state variable and its initial value.

[0211] Then, the unified dynamics of the integrated energy system can be expressed as:

[0212] , (11);

[0213] in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables.

[0214] S3. Derivation of mapping function:

[0215] -The mathematical relationship between known and unknown state variables in the domain cannot be directly used to optimize the energy flow model, it needs to be converted into a discrete numerical mapping relationship between known and unknown state variables.

[0216] according to Figure 1 The steps shown in the figure should first be expressed as a continuous step function. Then, the amplitude and phase shift can be extracted through decomposition and Laplace transform. of No. Elements For example, it can be calculated by the following method :

[0217] , (12);

[0218] in, and yes The number of exponent and step size changes; and yes No. The amplitude and start time of the sub-pulse, which refers to The Secondary elements; express The initial value of .

[0219] Assumptions is a size of ( ) matrix, vector The length is In the text -Domain, The Secondary element pair No. The response of the sub-pulse can be derived as (13a), and the decomposed continuous mapping function in the time domain is expressed as (13b).

[0220] , (13a);

[0221] , (13b);

[0222] in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation.

[0223] In the time domain right The continuous response of can be described as the decomposed continuous mapping function and its initial value The superposition of , as shown in (14), Pair Vector The response is expressed as (15).

[0224] , (14);

[0225] , (15);

[0226] in, yes The initial value of .

[0227] Substitute the sampling time of the unknown variable into (15) , we can get its discrete mapping function, The value at is shown in (16). and In the case of Can be expressed as a constant .

[0228] , (16);

[0229] Equation (16) is a detailed expression of Equation (5), which expresses the state variable as a superposition of known variables multiplied by a constant, without introducing multi-layer nested calculations and time-frequency domain conversion in the mapping. In addition, when the system parameters remain unchanged, is a fixed constant and does not need to be repeatedly calculated. The discrete time-domain relationship between variables established by the simplified mapping function will serve as the unified energy flow constraint of the integrated energy system in the optimization problem.

[0230] It should be noted that the discrete numerical relationship provided by Equation (16) takes into account that all transient responses are due to the superposition characteristics of the model.

[0231] S4. Energy flow model for integrated energy system optimization based on superposition principle:

[0232] The present invention establishes a dynamic optimization energy flow model of the integrated energy system in a superimposed form, and applies the reduction mapping function of the state variables to the energy flow constraints. Figure 1 The figure details the three elements of the optimization problem, namely, decision variables, constraints, and objective function.

[0233] (1) Processing of known data and decision variables

[0234] The input data of the optimized energy flow model include the prediction data and the initial state of the system, such as Figure 1 As shown, the predicted data include gas source pressure, gas load, heat load and power load. Some of the known data required for the energy flow model are still known, such as gas pressure and heat load at the gas source, while the rest of the data are converted into decision variables in the optimized energy flow, such as node injection power in the power grid, node injection gas flow in the natural gas network, and the temperature set by the heat source.

[0235] Regardless of the known data or these decision variables, the amplitude and start time of the change should be extracted to establish the energy flow constraints converted by the mapping function. Indicates the injection node The gas mass rate, as an example, where is When injecting a node The gas mass rate, we will Expressed as -domain, then the amplitude and start time of the change can be clearly expressed as :

[0236] , (17);

[0237] in, is the time index of the change; yes The initial value of .

[0238] (2) Objective function

[0239] The objective function aims to minimize the total operating cost of the integrated energy system, as shown in (18a) and (18b), which includes the cost of coal-fired power generation (18a) and the production cost of gas wells (18b).

[0240] , (18a);

[0241] , (18b);

[0242] in, and Respectively Coal-fired power plants and fuel and natural gas prices at each well; and They are Coal-fired power generation fuel consumption and power output; Indicates Gas wells in The gas flow rate generated when , and It is The cost coefficient of coal-fired power generation; is the scheduling interval.

[0243] (2) Setting constraints

[0244] The constraints of the optimization problem in this paper include the constraints of dynamic energy flow, the constraints of power generation and conversion process, and the constraints of energy network.

[0245] 1) Energy flow constraints

[0246] These constraints can be divided into two categories: one is the dynamic energy flow transmission constraints in the network, which are low-dimensional constraints transformed from the reduction mapping function (16a) of the state variables, as shown in (19a)-(19d); the other is the constraints based on the energy conservation of each node in the natural gas network, heat network and power grid, as shown in (20a)-(22b).

[0247] , (19a);

[0248] , (19b);

[0249] , (19c);

[0250] , (19d);

[0251] , (20a);

[0252] , (20b);

[0253] ,(twenty one);

[0254] , (22a);

[0255] , (22b);

[0256] in, and Respectively expressed in Injection gas source node Gas flow and net load nodes The gas pressure, and are the initial values ​​respectively; express The state variables are The unit response to each change at each node in the gas network; and is a row vector consisting of all changes in pressure and absorption gas flow amplitude at all nodes; and yes At the branch road The electric power transmitted and its initial value; yes No. row vector; is the row vector of the change in the amplitude of the injected electric power at all nodes; and Indicates Heat sources in The temperature rise and its initial value when and It is The temperature rise of each heat source has an impact on the heat sources and loads in the heating network. The unit response of the temperature change when and is a row vector consisting of all temperature amplitude changes for each heat source and load; and Indicated in Slave Node The mass flow rate of gas injected and absorbed by the load; , and Respectively expressed in When the node No. A gas source is generated and Gas flow rate absorbed by each gas source and gas-fired power generation; and Indicated in Time Node The power injected and absorbed by the load; , , and It is The power generated by coal-fired power generation, wind power generation, gas-fired power generation, and the Heat pumps in The power absorbed when and Respectively represent Heat sources in Supply water temperature and return water temperature at , and It is Combined heat and power, heat pumps and gas boilers in The heat power generated.

[0257] It should be noted that: , , , and It can be calculated by (17). , , and are constant row vectors for a specific system and only need to be calculated once at the beginning of modeling. In addition, (19a)-(19d) implement direct algebraic constraints on decision variables, avoiding the introduction of variables and constraints for elements and time-frequency domain transformations, greatly reducing the complexity of the optimization energy flow model.

[0258] 2) Constraints on power generation and conversion processes

[0259] The power generation units include generator sets, wind power generation, heat pumps and gas boilers. These constraints include their capacity constraints (23a)-(23d) and the feasible operating area constraints of cogeneration (23a)-(24c), as well as the boost constraint (25) of the generator sets.

[0260] , (23a);

[0261] , (23b);

[0262] , (23c);

[0263] , (23d);

[0264] , (24a);

[0265] , (24b);

[0266] , (24c);

[0267] , (25);

[0268] in, and They are Generator sets in and the electric power generated at $t-1$; It is Wind power generation in The electrical power generated when and It is Heat pumps and gas boilers in The heat power generated when and Indicates Combined heat and power units in The electrical and thermal energy output when Indicates The boost power limit of each generator set; , and It is Parameters of feasible areas for combined heat and power generation.

[0269] 3) Limitations of the energy network

[0270] These constraints refer to the constraints on state variables in the energy network, including node gas pressure, gas well gas production, supply and return water temperatures, and upper and lower limit constraints on power flow of power branches.

[0271] , (26a);

[0272] , (26b);

[0273] , (27a);

[0274] , (27b);

[0275] , (28);

[0276] in, Indicated in Time Node Gas pressure; Indicated in Time Well The gas mass flow rate has an upper limit of ; and yes Time heat source Supply and return water temperatures; express Passing the branch road The transmission capacity limit is .

[0277] (4) Optimizing the matrix form of the energy flow model

[0278] The superposition form variables of the optimized energy flow model proposed by our institute are divided into decomposed known variables and superposition state variables. The superposition state variables are represented by The matrix form of the optimized energy flow model is expressed as:

[0279] , (29);

[0280] , (30);

[0281] , (31);

[0282] , (32);

[0283] , (33);

[0284] In the above model, (30) is the matrix form of the power generation and conversion process constraints (23a)-(25) and the energy network constraints (26a)-(28). (31) is the node energy conservation constraint, i.e., the matrix form of (20a)-(22b). (32) represents the constraint of extracting the change amplitude and time by decomposing the input data, i.e., the matrix form of (17), and (33) represents the low-dimensional energy flow constraint in superposition form, i.e., as shown in (19a)-(19b).

[0285] The constraints of the proposed scheduling model are all linear, and the second-order objective function is simplified by piecewise linearization, resulting in a mixed integer linear programming problem that will be directly solved by the commercial solver Gurobi.

[0286] The invention verifies the accuracy and efficiency of the proposed SPM (M1) in the integrated dispatch of electricity-gas and heat by comparing with the generalized phasor model (M3) and the finite difference method (M4), respectively, thus clearly demonstrating the respective performances of the gas network and heat network models. Next, we test the SPM in the integrated dispatch of electricity-heat-gas and compare it with M3 and M4, and conduct a comprehensive discussion on its accuracy, efficiency, and complexity. All tests were performed on a desktop computer equipped with a 3.00GHz quad-core processor and 16GB of memory. The program was implemented using MATLAB R2018a, and the optimized energy flow model was solved using Gurobi 9.0.

[0287] In some embodiments, the integrated energy dispatching system based on energy flow response superposition may include multiple functional modules composed of computer program segments. The computer program of each program segment in the integrated energy dispatching system based on energy flow response superposition may be stored in the memory of a computer device and executed by at least one processor to perform the function of integrated energy dispatching based on energy flow response superposition.

[0288] In this embodiment, the integrated energy dispatching system based on energy flow response superposition can be divided into multiple functional modules according to the functions performed. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0289] A model building module, for building an energy flow model for comprehensive energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables to continuous time domain functions based on a superposition principle;

[0290] A mapping derivation module, used to derive parameter values ​​of the discrete time domain mapping function using known variables acquired in advance, and substitute the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model;

[0291] A constraint generation module, used for inputting known data into the optimized energy flow model, obtaining values ​​of corresponding decision variables, and generating energy flow constraint conditions based on the values ​​of decision variables;

[0292] The scheduling solution module is used to solve the pre-constructed objective function based on the energy flow constraint conditions to obtain a scheduling solution.

[0293] Optionally, as an embodiment of the present invention, the discrete time domain mapping function includes:

[0294] ;

[0295] in, express time; Indicates Sub-decomposed time domain continuous mapping function;

[0296] The discrete time domain mapping function transforms the known discrete variables is expressed as a continuous function, and then the continuous function is decomposed into and the phase shift is ( ), using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into the time domain discrete mapping can be obtained.

[0297] Optionally, as an embodiment of the present invention, an energy flow model is constructed for comprehensive energy based on a discrete time domain mapping function, including:

[0298] Gas network in L -Energy flow models in the domain include:

[0299] ;

[0300] ;

[0301] in, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and A vector of

[0302] The energy flow model of the heating network includes:

[0303] ;

[0304] ;

[0305] ;

[0306] in, and is the step pulse vector of the source node temperature and load temperature change, which is a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively; and is the simplified unit step response matrix of the heating and return network, which is used to express the temperature of non-source nodes as the superposition of the responses of source nodes to temperature changes;

[0307] The energy flow model of the power grid includes:

[0308] Injection offset factor matrix The expression is:

[0309] ;

[0310] The power flow vector expression through the branch is:

[0311] ;

[0312] in, is the diagonal branch inductive reactance matrix; is the incident matrix between electrical nodes and branches; Power injection or withdrawal vectors for nodes in the grid;

[0313] The unified dynamic energy flow model of the integrated energy system includes:

[0314] Starting from the initial state, the response model of the state variables of the natural gas network to the pulse change is:

[0315] ;

[0316] Starting from the initial state, the response model of the state variables of the heating network to the pulse change is:

[0317] ;

[0318] Starting from the initial state, the power flow model of the power grid is:

[0319] ;

[0320] in, Represents the numerical difference between the state variable and its initial value;

[0321] The unified dynamic energy flow of the integrated energy system can be expressed as

[0322] ;

[0323] in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables.

[0324] Optionally, as an embodiment of the present invention, using known variables acquired in advance, deriving parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model, including:

[0325] The known variable is represented as a continuous step function, and the amplitude and phase shift are extracted by decomposition and Laplace transformation; for the length of No. Elements , the calculation methods include:

[0326] ;

[0327] in, and yes The number of exponent and step size changes; and yes No. The amplitude and start time of the sub-pulse, which refers to The Secondary elements; express The initial value of

[0328] Assumptions is a size of ( ) matrix, vector The length is ;exist -Domain, The Secondary element pair No. The response of the secondary pulse can be derived as:

[0329] ;

[0330] The decomposed continuous mapping function in the time domain is expressed as:

[0331] ;

[0332] in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation;

[0333] In the time domain right The continuous response of is described as the decomposed continuous mapping function and its initial value Overlays include:

[0334] ;

[0335] Pair Vector The response is expressed as:

[0336] ;

[0337] in, yes The initial value of

[0338] Substitute the sampling time of the unknown variable into The discrete mapping function of t in the expression is obtained. The value at is:

[0339] ;

[0340] In the known and In the case of Expressed as a constant ;

[0341] The state variables are represented as the superposition of known variables multiplied by a constant. No multi-layer nested calculations and time-frequency domain conversion are introduced in the mapping. When the system parameters remain unchanged, is a fixed constant.

[0342] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A comprehensive energy scheduling method based on energy flow response superposition, characterized in that: include: Constructing an energy flow model for integrated energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables into a continuous time domain function based on the superposition principle; Using the known variables obtained in advance, deriving the parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain the optimized energy flow model; Input known data into the optimized energy flow model to obtain the values ​​of corresponding decision variables, and generate energy flow constraints based on the values ​​of the decision variables; Solving a pre-constructed objective function based on the energy flow constraint to obtain a scheduling solution; The discrete time domain function includes: ; in, express time; Indicates Sub-decomposed time domain continuous mapping function; The discrete time domain function converts the known discrete variables is expressed as a continuous function, and then the continuous function is decomposed into and the phase shift is The step function of , where i = 1, ..., I; using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into , we can get the time domain discrete mapping; Construct an energy flow model for comprehensive energy based on discrete time domain mapping functions, including: Gas network in L -Energy flow models in the domain include: ; ; in, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and A vector of The energy flow model of the heating network includes: ; ; ; in, and is the step pulse vector of the source node temperature and load temperature change, which is a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively; and is the simplified unit step response matrix of the heating and return network, which is used to express the temperature of non-source nodes as the superposition of the responses of source nodes to temperature changes; The energy flow model of the power grid includes: Injection offset factor matrix The expression is: ; The power flow vector expression through the branch is: ; in, is the diagonal branch inductive reactance matrix; is the incident matrix between the electrical node and the branch; Power injection or withdrawal vectors for nodes in the grid; The unified dynamic energy flow model of the integrated energy system includes: Starting from the initial state, the response model of the state variables of the natural gas network to the pulse change is: ; Starting from the initial state, the response model of the state variables of the heating network to the pulse change is: ; Starting from the initial state, the power flow model of the power grid is: ; in, Represents the numerical difference between the state variable and its initial value; The unified dynamic energy flow of the integrated energy system can be expressed as: ; in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables; Using the known variables acquired in advance, deriving the parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain the optimized energy flow model, including: The known variable is represented as a continuous step function, and the amplitude and phase shift are extracted by decomposition and Laplace transformation; for the length of No. Elements , the calculation methods include: ; in, and yes The pulse sequence number and total number of pulses; and yes No. The amplitude and start time of the sub-pulse, which refers to The elements; express The initial value of Assumptions is a size of Matrix, vector The length is ;exist -Domain, The Element pairs No. The response of the secondary pulse is derived as: ; The decomposed continuous mapping function in the time domain is expressed as: ; in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation; In the time domain right The continuous response of is described as the decomposed continuous mapping function and its initial value Overlays include: ; Pair Vector The response is expressed as: ; in, yes The initial value of Substitute the sampling time of the unknown variable into In the expression , and obtain its discrete mapping function, The value at is: ; In the known and In the case of Expressed as a constant ; The state variables are represented as the superposition of known variables multiplied by a constant. No multi-layer nested calculations and time-frequency domain conversion are introduced in the mapping. When the system parameters remain unchanged, is a fixed constant; Input known data into the optimized energy flow model to obtain the values ​​of corresponding decision variables, and generate energy flow constraints based on the values ​​of decision variables, including: Inputting known data into the optimized energy flow model, the known data including predicted data and system initial state, wherein the predicted data includes gas source pressure, gas load, heat load and power load; The known data are converted into decision variables by using an optimized energy flow model, wherein the decision variables include node injection power in the power grid, node injection gas flow in the natural gas network, and a temperature set by a heat source; Take the decision variable vector Indicates the injection node The gas mass rate is is When injecting a node The gas mass rate will Expressed as A continuous step function in the -domain with varying amplitude and start time is expressed as , the energy flow constraint is: ; in, is the time index of the change; yes The initial value of Based on the energy flow constraint calculation , , , and , based on the calculation results, low-dimensional energy flow constraints are generated, including: ; ; ; ; in, and Respectively expressed in Injection gas source node Gas flow and net load nodes The gas pressure, and are the initial values ​​respectively; express The state variables are The unit response to each change at each node in the gas network; and is a row vector consisting of all changes in pressure and absorption gas flow amplitude at all nodes; and yes At the branch road The electric power transmitted and its initial value; yes No. row vector; is the row vector of the change in the amplitude of the injected electric power at all nodes; and Indicates Heat sources in The temperature rise and its initial value when and It is The temperature rise of each heat source has an impact on the heat sources and loads in the heating network. The unit response of the temperature change when and is a row vector consisting of all the temperature amplitude changes for each heat source and load.

2. The method according to claim 1, characterized in that Solving the pre-constructed objective function based on the energy flow constraint condition to obtain a scheduling solution, including: Construct the cost function for coal-fired power generation: ; Construct the production cost function of a gas well: ; in, and Respectively Coal-fired power plants and fuel and natural gas prices at each well; and They are Coal-fired power generation fuel consumption and power output; Indicates Gas wells in The gas flow rate generated when , and It is The cost coefficient of coal-fired power generation; is the scheduling interval; Customize energy conservation constraints for each node in gas, heat and power grids, including: ; ; ; ; ; in, and Indicated in Slave Node The mass flow rate of gas injected and absorbed by the load; , and Respectively expressed in When the node No. A gas source is generated and Gas flow rate absorbed by each gas source and gas-fired power generation; and Indicated in Time Node The power injected and absorbed by the load; , , and It is The power generated by coal-fired power generation, wind power generation, gas-fired power generation, and the Heat pumps in The power absorbed when and Respectively represent Heat sources in Supply water temperature and return water temperature at , and It is Combined heat and power, heat pumps and gas boilers in The heat power generated when Construct constraints for the power generation and conversion process, including: ; ; ; ; ; ; ; ; in, and They are Generator sets in and the electric power generated at t-1; It is Wind power generation in The electrical power generated when and It is Heat pumps and gas boilers in The heat power generated when and Indicates Combined heat and power units in The electrical and thermal energy output when Indicates The boost power limit of each generator set; , and It is Parameters of feasible areas for combined heat and power generation; Limitations and constraints in building energy networks: ; ; ; ; ; in, Indicated in Time Node Gas pressure; Indicated in Time Well The gas mass flow rate has an upper limit of ; and yes Time heat source Supply and return water temperatures; express Passing the branch road The transmission capacity limit is ; The superposition form variables are divided into decomposed known variables and superposition state variables. The decomposed known variables are used The superposition state variables are represented by The matrix form of the optimized energy flow model is expressed as: ; ; ; ; ; in, It is the matrix form of the constraints of the power generation and conversion processes and the limitations of the energy network; is the matrix form of the node energy conservation constraint; It represents the constraints of extracting the magnitude and time of changes by decomposing the input data; Matrix form representing low-dimensional energy flow constraints in superposition form; The objective function is simplified by piecewise linearization to obtain a mixed integer linear programming problem, which is directly solved using the commercial solver Gurobi.

3. A comprehensive energy dispatching system based on energy flow response superposition, characterized in that: include: A model building module, for building an energy flow model for comprehensive energy based on a discrete time domain mapping function, wherein the discrete time domain mapping function maps discrete variables to continuous time domain functions based on a superposition principle; A mapping derivation module, used to derive parameter values ​​of the discrete time domain mapping function using known variables acquired in advance, and substitute the parameter values ​​into the discrete time domain mapping function to obtain an optimized energy flow model; A constraint generation module, used for inputting known data into the optimized energy flow model, obtaining values ​​of corresponding decision variables, and generating energy flow constraint conditions based on the values ​​of decision variables; A scheduling solution module, used to solve a pre-built objective function based on the energy flow constraint conditions to obtain a scheduling solution; The discrete time domain function includes: ; in, express time; Indicates Sub-decomposed time domain continuous mapping function; The discrete time domain function converts the known discrete variables is expressed as a continuous function, and then the continuous function is decomposed into and the phase shift is The step function of , where i = 1, ..., I; using the unit step response matrix Complete the continuous mapping after decomposition , and the results are superimposed to form a total continuous time domain function , substituting the discrete time value into , we can get the time domain discrete mapping; Construct an energy flow model for comprehensive energy based on discrete time domain mapping functions, including: Gas network in L -Energy flow models in the domain include: ; ; in, express L - the number of dimensions in the domain; and is the unknown variable vector of the node injected gas mass flow rate and node pressure; is the simplified unit step response matrix of the natural gas network; and is the step pulse amplitude multiplied by the Second and The sum of the phase shifts of the sub-known variables; and yes and A vector of The energy flow model of the heating network includes: ; ; ; in, and is the step pulse vector of the source node temperature and load temperature change, which is a known variable in the heating network; and are the unit step response matrices of the temperature changes of the source and load in the heating network respectively; and is the simplified unit step response matrix of the heating and return network, which is used to express the temperature of non-source nodes as the superposition of the responses of source nodes to temperature changes; The energy flow model of the power grid includes: Injection offset factor matrix The expression is: ; The power flow vector expression through the branch is: ; in, is the diagonal branch inductive reactance matrix; is the incident matrix between the electrical node and the branch; Power injection or withdrawal vectors for nodes in the grid; The unified dynamic energy flow model of the integrated energy system includes: Starting from the initial state, the response model of the state variables of the natural gas network to the pulse change is: ; Starting from the initial state, the response model of the state variables of the heating network to the pulse change is: ; Starting from the initial state, the power flow model of the power grid is: ; in, Represents the numerical difference between the state variable and its initial value; The unified dynamic energy flow of the integrated energy system can be expressed as ; in, Represents unknown state variables in integrated energy systems; The unit step response matrix representing the gas network and the heat network, and the injection offset factor constant matrix of the power grid; and yes The index and number of which in the gas network and the electricity grid , in the heat network ; It is the first in the natural gas network and heat network The pulse vector of the change of the second known state variable is also the power change vector injected into the node in the power grid; A constant vector representing the initial state values ​​of the unknown variables; Using the known variables acquired in advance, deriving the parameter values ​​of the discrete time domain mapping function, substituting the parameter values ​​into the discrete time domain mapping function to obtain the optimized energy flow model, including: The known variable is represented as a continuous step function, and the amplitude and phase shift are extracted by decomposition and Laplace transformation; for the length of No. Elements , the calculation methods include: ; in, and yes The number of exponent and step size changes; and yes No. The amplitude and start time of the sub-pulse, which refers to The Secondary elements; express The initial value of Assumptions is a size of ( ) matrix, vector The length is ;exist -Domain, The Secondary element pair No. The response of the secondary pulse can be derived as: ; The decomposed continuous mapping function in the time domain is expressed as: ; in, yes No. Row and Elements of a column; Represents the time domain ; is a unit step function; is the convolution operation; In the time domain right The continuous response of is described as the decomposed continuous mapping function and its initial value Overlays include: ; Pair Vector The response is expressed as: ; in, yes The initial value of Substitute the sampling time of the unknown variable into In the expression , and obtain its discrete mapping function, The value at is: ; In the known and In the case of Expressed as a constant ; The state variables are represented as the superposition of known variables multiplied by a constant. No multi-layer nested calculations and time-frequency domain conversion are introduced in the mapping. When the system parameters remain unchanged, is a fixed constant; Input known data into the optimized energy flow model to obtain the values ​​of corresponding decision variables, and generate energy flow constraints based on the values ​​of decision variables, including: Inputting known data into the optimized energy flow model, the known data including predicted data and system initial state, wherein the predicted data includes gas source pressure, gas load, heat load and power load; The known data are converted into decision variables by using an optimized energy flow model, wherein the decision variables include node injection power in the power grid, node injection gas flow in the natural gas network, and a temperature set by a heat source; Take the decision variable vector Indicates the injection node The gas mass rate is is When injecting a node The gas mass rate will Expressed as A continuous step function in the -domain with varying amplitude and start time is expressed as , the energy flow constraint is: ; in, is the time index of the change; yes The initial value of Based on the energy flow constraint calculation , , , and , based on the calculation results, low-dimensional energy flow constraints are generated, including: ; ; ; ; in, and Respectively expressed in Injection gas source node Gas flow and net load nodes The gas pressure, and are the initial values ​​respectively; express The state variables in The unit response to each change at each node in the gas network; and is a row vector consisting of all changes in pressure and absorption gas flow amplitude at all nodes; and yes At the branch road The electric power transmitted and its initial value; yes No. row vector; is the row vector of the change in the amplitude of the injected electric power at all nodes; and Indicates Heat sources in The temperature rise and its initial value when and It is The temperature rise of each heat source has an impact on the heat sources and loads in the heating network. The unit response of the temperature change when and is a row vector consisting of all the temperature amplitude changes for each heat source and load.