Electricity-heat-gas multi-energy system optimization scheduling method and system considering flexibility

By constructing multihedral node flexibility indicators and multi-objective scheduling optimization model, combining Pareto cutting-edge optimization algorithm and fuzzy decision-making method, the problem of heterogeneous energy coupling in multi-energy systems is solved, and the system's ability to cope with uncertainty and energy is improved. Utilization efficiency.

CN119005608APending Publication Date: 2024-11-22STATE GRID ECONOMIC TECH RES INST CO LTD

Patent Information

Application Number
CN202411075324.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The role of heterogeneous energy coupling in multi-energy systems in solving uncertain renewable energy absorption and random load supply has not been fully studied. The existing research ignores the dynamic characteristics and connection relationships between regional heating networks and natural gas networks, and lacks the right A balanced study of improving flexibility and reducing operating costs.

Method used

By constructing node flexibility indicators of multi-energy system based on multihedral, combining generalized phasor modeling methods, analyzing the dynamic characteristics of multi-energy flows of heterogeneous energy networks, building a multi-objective scheduling optimization model, and using Pareto's cutting-edge global optimization algorithm and fuzzy decision-making methods to achieve optimal multi-energy system scheduling.

Benefits of technology

It improves the system's ability to respond to uncertain power fluctuations, achieves optimal energy configuration, reduces unnecessary energy consumption and equipment operation, and enhances the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119005608A_ABST
    Figure CN119005608A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of energy optimization scheduling, in particular to an electricity-heat-gas multi-energy system optimization scheduling method and system considering flexibility, and the method comprises the steps: constructing a multi-energy system node flexibility index based on a polyhedron according to the operation dynamic characteristics and interconnection relation of a multi-energy system network; establishing a power grid power balance constraint considering the flexibility of the multi-energy system; according to the multi-energy system cooperative scheduling constraint and the power grid power balance constraint, a multi-energy system multi-target scheduling optimization model considering node flexibility is constructed; and converting the multi-target scheduling optimization model of the multi-energy system into a single-target optimization problem based on an agent model, and obtaining an optimal multi-energy system scheduling scheme in combination with a fuzzy decision method. According to the method, the optimal multi-energy system scheduling scheme is obtained by considering the dynamic characteristics and the interconnection relation of the multi-energy system network, different forms of energy such as electric heating gas can be distributed and used more reasonably, and the overall energy utilization efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy optimization scheduling, and in particular to an optimization scheduling method and system for an electricity-heat-gas multi-energy system taking flexibility into consideration. Background Art

[0002] At present, renewable energy technologies such as wind power and photovoltaics have been widely used in power systems, and the proportion of power generation has steadily increased. However, renewable energy power generation is easily affected by weather conditions, and the volatility and intermittency of its output have brought significant uncertainty to the balance of energy supply and demand, thus posing potential challenges and threats to the safety of system operation. The multi-energy system integrates multiple subsystems such as power networks, district heating networks and natural gas networks. With its collaborative management, interactive response and complementary capabilities, the multi-energy system can effectively improve energy utilization efficiency while meeting diversified energy needs, and provide support for large-scale consumption of new energy and low-carbon development. However, the interactive response between multi-energy subsystems is complex, and there are challenges in improving the overall flexibility of the system. Therefore, it is urgent to explore the interconnection and regulation potential of multiple heterogeneous energy subsystems and establish a method to improve the dispatching and operation flexibility of multi-energy systems that can adapt to a high proportion of new energy access.

[0003] The scheduling and operation methods that consider the inherent characteristics and interactive features of flexible resources can effectively improve the system's ability to cope with uncertain power fluctuations and ensure the system supply and demand balance under the influence of uncertainty. At present, the research mainly focuses on the two aspects of flexibility quantitative modeling and scheduling optimization of equipment such as generators, energy storage systems and controllable loads. In order to solve the volatility problems on the load side and the power generation side, some studies have combined flexibility considerations with power generation scheduling and proposed modeling methods for day-ahead energy trajectories and real-time flexibility reserve deployment trajectories. Some studies have also considered the maximum deviation from the operating point in uncertain scenarios and proposed constrained unit combination problems to solve the uncertainty of net load. In addition, the interconnection and mutual assistance across heterogeneous energy systems has also become a way to enhance the flexibility of multi-energy systems. Research hotspots, especially the integrated energy system of natural gas network and district heating network, have great potential in renewable energy regulation and resistance to external interference through flexible energy conversion. However, existing studies are mostly based on steady-state models to represent the energy storage characteristics of district heating network and natural gas network, describing thermal and natural gas networks as virtual power plants or virtual energy storage connected to specific nodes in the power system, ignoring the dynamic characteristics within the district heating network and natural gas network and the connection relationship between heterogeneous energy networks. There is a lack of research on the balance between improving flexibility and reducing operating costs. The role of heterogeneous energy coupling in multi-energy systems in solving uncertain renewable energy consumption and random load supply has not been fully studied. Summary of the invention

[0004] The purpose of the present invention is to provide an optimization scheduling method and system for an electricity-heat-gas multi-energy system taking flexibility into consideration, and to realize an optimal multi-energy system scheduling scheme taking flexibility into consideration by considering the dynamic characteristics of the multi-energy system network and the interconnected operation constraints, thereby ensuring the flexible operation scheduling of the multi-energy system.

[0005] In order to solve the above technical problems, the present invention provides an optimization scheduling method and system for an electricity-heat-gas multi-energy system taking flexibility into consideration.

[0006] In a first aspect, the present invention provides a method for optimizing the scheduling of an electricity-heat-gas multi-energy system taking into account flexibility, the method comprising the following steps:

[0007] According to the dynamic operation characteristics and interconnection relationship of the multi-energy system network, a multi-energy system node flexibility index based on polyhedron is constructed;

[0008] According to the polyhedron-based multi-energy system node flexibility index, the power balance constraint of the power grid considering the flexibility of the multi-energy system is established;

[0009] According to the coordinated dispatching constraints of multi-energy systems and the power balance constraints of the power grid considering the flexibility of multi-energy systems, a multi-objective dispatching optimization model of multi-energy systems considering node flexibility is constructed;

[0010] The multi-objective scheduling optimization model of the multi-energy system is transformed into a single-objective optimization problem based on the agent model using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling scheme is obtained by combining the fuzzy decision-making method.

[0011] In a further embodiment, the step of constructing a polyhedron-based multi-energy system node flexibility index according to the operation dynamic characteristics and interconnection mode of the multi-energy system includes:

[0012] According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method.

[0013] According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system.

[0014] According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed;

[0015] The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

[0016] In a further embodiment, the mathematical expression of the aggregate flexibility of the multi-energy system is:

[0017]

[0018] in,

[0019]

[0020] In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i (t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity quantity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

[0021] In a further embodiment, the mathematical expression of the power balance condition of the power grid in the multi-energy system is:

[0022]

[0023]

[0024] In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q;

[0025] The mathematical expression of branch power limitation considering the power transfer distribution factor is:

[0026]

[0027] In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; It is a collection of power grid branches;

[0028] The mathematical expression of the node flexibility index of the multi-energy system based on polyhedron is:

[0029] R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr}

[0030] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

[0031] In a further embodiment, the objective function of the multi-energy system multi-objective scheduling optimization model is specifically:

[0032] maxF(x)={-F1(x),F2(x)}

[0033] in,

[0034]

[0035]

[0036] Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nthGW The injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0037] In a further embodiment, the mathematical expression of the power balance constraint of the power grid considering the flexibility of the multi-energy system is:

[0038]

[0039] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0040] In a further implementation scheme, the multi-energy system coordinated dispatching constraints include hydrogen-blended compressed natural gas network operation constraints, district heating network operation constraints, cogeneration unit capacity and ramp constraints, and power-to-hydrogen heat system equipment capacity and ramp constraints, wherein the hydrogen-blended compressed natural gas network operation constraints include hydrogen-blended compressed natural gas network branch constraints, hydrogen-blended compressed natural gas network node constraints, and hydrogen-blended compressed natural gas network node flow mix constraints; the district heating network operation constraints include district heating network node temperature constraints, district heating network branch constraints, and district heating network node heat flow mix constraints;

[0041] The mathematical expression of the hydrogen-blended compressed natural gas network branch constraint is:

[0042] G b =Y G (p b +E G -k b p0)

[0043] In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-blended compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the head end of the branch;

[0044] The mathematical expression of the node constraint of the hydrogen-blended compressed natural gas network is:

[0045]

[0046] In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set;

[0047] The mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is:

[0048] M1=M2

[0049]

[0050] Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a node set of cogeneration units in the hydrogen-blended compressed natural gas network;

[0051] The mathematical expression of the temperature constraint of the district heating network node is:

[0052]

[0053] In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower temperature limit of each district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of nodes for a district heating network;

[0054] The mathematical expression of the district heating network branch constraint is:

[0055]

[0056] Where Y b is the admittance matrix of the district heating network branches; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch starting temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix;

[0057] The mathematical expression of the heat flow mixing constraint of the district heating network node is:

[0058]

[0059] In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by the power-to-hydrogen heat system equipment at time t; c h is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

[0060] In a further embodiment, the mathematical expressions of the capacity and ramp constraints of the cogeneration unit and the capacity and ramp constraints of the power-to-hydrogen heat system equipment are:

[0061]

[0062]

[0063] In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHP The power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HHThe power generation of each power-to-hydrogen heat system device at the time (t-Δt); It is the upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

[0064] In a further implementation scheme, the steps of converting the multi-objective scheduling optimization model of the multi-energy system into a single-objective optimization problem based on an agent model by using a global optimization algorithm based on the Pareto frontier, and solving the optimal multi-energy system scheduling scheme in combination with a fuzzy decision-making method include:

[0065] The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization.

[0066] The fuzzy decision-making method is used to calculate the comprehensive satisfaction of each non-dominated solution according to the normalized weighted fitness. The current optimal solution is selected from the non-dominated solution set for scheduling based on the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence conditions are reached to obtain the optimal multi-energy system scheduling plan.

[0067] In a second aspect, the present invention provides an optimization scheduling system for an electricity-heat-gas multi-energy system taking flexibility into consideration, the system comprising:

[0068] A flexible index building module is used to build a polyhedron-based multi-energy system node flexibility index according to the operation dynamic characteristics and interconnection relationship of the multi-energy system network;

[0069] A balance constraint determination module, used for establishing a power balance constraint of a power grid considering the flexibility of a multi-energy system according to a polyhedron-based multi-energy system node flexibility index;

[0070] An optimization model building module is used to build a multi-objective scheduling optimization model for a multi-energy system considering node flexibility based on the coordinated scheduling constraints of the multi-energy system and the power balance constraints of the power grid considering the flexibility of the multi-energy system;

[0071] The optimal scheduling solution module is used to transform the multi-objective scheduling optimization model of the multi-energy system into a single-objective optimization problem based on the agent model using a global optimization algorithm based on the Pareto frontier, and combine it with the fuzzy decision-making method to solve the optimal multi-energy system scheduling plan.

[0072] In a further implementation scheme, the multi-energy system node flexibility index based on a polyhedron is constructed according to the dynamic operation characteristics and interconnection relationship of the multi-energy system, specifically:

[0073] According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method.

[0074] According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system.

[0075] According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed;

[0076] The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

[0077] In a further embodiment, the mathematical expression of the aggregate flexibility of the multi-energy system is:

[0078]

[0079] in,

[0080]

[0081] In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i (t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity quantity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

[0082] In a further embodiment, the mathematical expression of the power balance condition of the power grid in the multi-energy system is:

[0083]

[0084] In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q;

[0085] The mathematical expression of branch power limitation considering the power transfer distribution factor is:

[0086]

[0087] In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; It is a collection of power grid branches;

[0088] The mathematical expression of the node flexibility index of the multi-energy system based on polyhedron is:

[0089] R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr}

[0090] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

[0091] In a further embodiment, the objective function of the multi-energy system multi-objective scheduling optimization model is specifically:

[0092] maxF(x)={-F1(x),F2(x)}

[0093] in,

[0094]

[0095] Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nth GW The injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0096] In a further embodiment, the mathematical expression of the power balance constraint of the power grid considering the flexibility of the multi-energy system is:

[0097]

[0098] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0099] In a further implementation scheme, the multi-energy system coordinated dispatching constraints include hydrogen-blended compressed natural gas network operation constraints, district heating network operation constraints, cogeneration unit capacity and ramp constraints, and power-to-hydrogen heat system equipment capacity and ramp constraints, wherein the hydrogen-blended compressed natural gas network operation constraints include hydrogen-blended compressed natural gas network branch constraints, hydrogen-blended compressed natural gas network node constraints, and hydrogen-blended compressed natural gas network node flow mix constraints; the district heating network operation constraints include district heating network node temperature constraints, district heating network branch constraints, and district heating network node heat flow mix constraints;

[0100] The mathematical expression of the hydrogen-blended compressed natural gas network branch constraint is:

[0101] G b =Y G (p b +EG -k b p0)

[0102] In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-blended compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the head end of the branch;

[0103] The mathematical expression of the node constraint of the hydrogen-blended compressed natural gas network is:

[0104]

[0105] In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set;

[0106] The mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is:

[0107] M1=M2

[0108]

[0109] Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a node set of cogeneration units in the hydrogen-blended compressed natural gas network;

[0110] The mathematical expression of the temperature constraint of the district heating network node is:

[0111]

[0112] In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower temperature limit of each district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of nodes for a district heating network;

[0113] The mathematical expression of the district heating network branch constraint is:

[0114]

[0115] Where Y b is the admittance matrix of the district heating network branches; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch starting temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix;

[0116] The mathematical expression of the heat flow mixing constraint of the district heating network node is:

[0117]

[0118] In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by a power-to-hydrogen heat system device at time t; ch is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

[0119] In a further embodiment, the mathematical expressions of the capacity and ramp constraints of the cogeneration unit and the capacity and ramp constraints of the power-to-hydrogen heat system equipment are:

[0120]

[0121] In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHP The power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HH The power generation of each power-to-hydrogen heat system device at the time (t-Δt); It is the upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

[0122] In a further implementation scheme, the multi-energy system multi-objective scheduling optimization model is transformed into a single-objective optimization problem based on an agent model by using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling scheme is obtained by combining the fuzzy decision-making method, specifically:

[0123] The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization.

[0124] Using the fuzzy decision method, the comprehensive satisfaction of each non-dominated solution is calculated according to the normalized weighted fitness, and the current optimal solution is selected from the non-dominated solution set for scheduling according to the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence condition is reached to obtain the optimal multi-energy system scheduling plan. In a third aspect, the present invention also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0125] The present invention provides an optimization scheduling method and system for an electric-heat-gas multi-energy system considering flexibility. The method constructs a polyhedron-based multi-energy system node flexibility index according to the operating dynamic characteristics and interconnection relationship of the multi-energy system network; establishes a power grid power balance constraint considering the flexibility of the multi-energy system according to the polyhedron-based multi-energy system node flexibility index; constructs a multi-objective scheduling optimization model for the multi-energy system considering node flexibility according to the multi-energy system collaborative scheduling constraints and the power grid power balance constraints considering the flexibility of the multi-energy system; utilizes a global optimization algorithm based on the Pareto frontier to transform the multi-objective scheduling optimization model for the multi-energy system into a single-objective optimization problem based on an agent model, and solves the problem in combination with a fuzzy decision-making method to obtain the optimal multi-energy system scheduling solution. Compared with the existing technology, this method proposes a two-stage scheduling model for multi-energy systems considering flexibility by considering the dynamic characteristics of heterogeneous energy networks of multi-energy systems and the impact of interconnected operation on the scheduling of multi-energy systems. It also uses a multi-energy system optimization scheduling problem solving method based on a global optimization algorithm based on the Pareto frontier to obtain the optimal multi-energy system scheduling plan. While reducing unnecessary energy consumption and equipment operation, it can more reasonably allocate and use different forms of energy such as electricity, heat, and gas, achieve optimal energy configuration, improve overall energy utilization efficiency, and at the same time improve the system's adaptability to fluctuations in energy demand and enhance the system's stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0126] Figure 1 It is a schematic flow chart of a method for optimizing and scheduling an electricity-heat-gas multi-energy system taking into account flexibility provided by an embodiment of the present invention;

[0127] Figure 2 is a schematic diagram of the structure of a test system provided by an embodiment of the present invention;

[0128] Figure 3 is a Pareto front diagram of a system scheduling solution provided by an embodiment of the present invention;

[0129] Figure 4 is a schematic diagram of a pressure response curve of a HCNG network provided in an embodiment of the present invention;

[0130] Figure 5 is a schematic diagram of a temperature response curve of a DHN provided in an embodiment of the present invention;

[0131] Figure 6 is a schematic diagram of the actual value and upper and lower limit curves of wind energy injection power provided by an embodiment of the present invention;

[0132] Figure 7 is a schematic diagram of actual value and upper and lower bound curves of node load power provided by an embodiment of the present invention;

[0133] Figure 8is a schematic diagram of CHP output power provided by an embodiment of the present invention;

[0134] Fig. 9 Schematic diagram of the output power of the power-to-hydrogen-heat system provided in an embodiment of the present invention;

[0135] Fig.10 is a schematic diagram of a CHP charging strategy provided by an embodiment of the present invention;

[0136] Fig.11 is a schematic diagram of gas injection into a natural gas well provided by an embodiment of the present invention;

[0137] Fig.12 It is a block diagram of an optimized scheduling system for an electricity-heat-gas multi-energy system taking flexibility into consideration provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0138] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0139] refer to Figure 1 , the embodiment of the present invention provides a method and system for optimizing and scheduling an electricity-heat-gas multi-energy system taking into account flexibility, such as Figure 1 As shown, the method comprises the following steps:

[0140] S1. According to the dynamic operation characteristics and interconnection relationship of the multi-energy system network, a multi-energy system node flexibility index based on polyhedron is constructed.

[0141] In this embodiment, the step of constructing a polyhedron-based multi-energy system node flexibility index according to the operation dynamic characteristics and interconnection mode of the multi-energy system includes:

[0142] According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method.

[0143] According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system.

[0144] According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed;

[0145] The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

[0146] This embodiment considers the operation and interconnection mode of typical multi-energy systems, constructs a multi-energy system flexibility index based on a polyhedron, thereby revealing the mapping relationship between key physical quantities and flexibility of the multi-energy system, and providing decision makers with an accurate range of node injection uncertainty that the system can handle. For ease of understanding, this embodiment mainly describes the three key components of the heterogeneous energy network, including the power network, the district heating network (DHN) and the hydrogen-enriched compressed natural gas (HCNG) network. This embodiment combines the operating dynamic characteristics of the power network, the district heating network and the hydrogen-enriched compressed natural gas network in the multi-energy system. At the same time, in order to fully describe the interaction and multi-energy flow dynamics between these networks, this embodiment extends the transmission lines in the power grid to the pipeline system in the DHN and HCNG networks through the circuit modeling principle, and adopts the generalized phasor modeling method to describe the multi-energy flow dynamic characteristics of the DHN and HCNG networks:

[0147]

[0148] Where ψ is the intensity; ζ is the extension; α1, α2, β1, and β2 are all parameters related to branch characteristics; t is time; and l is the length of the DHN and HCNG network pipelines.

[0149] In order to quantify the adaptability of each network component in response to system changes, this embodiment defines individual flexibility for each branch (i=1, ..., N) in the DHN and HCNG networks. The individual flexibility is defined as the set of all allowed power distributions of the branch within the time range T=1, ..., m:

[0150]

[0151] In the formula, is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i(t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

[0152] In this embodiment, the aggregate flexibility of the multi-energy system is defined as the Minkowski sum of all individual network components (i.e., each polyhedron) in the system, which comprehensively reflects the overall response capability and flexibility level of the entire system in the face of different operating scenarios and demand changes. The aggregate flexibility of the multi-energy system is:

[0153]

[0154] In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network.

[0155] For a given multi-energy system dispatch strategy, the flexibility of the DHN and HCNG networks can be transferred to the power grid through the energy conversion equipment. The flexibility of the power grid is affected by the interconnection mode and the operating characteristics of the energy conversion device. Therefore, the power balance condition of the power grid in the multi-energy system is expressed as:

[0156]

[0157] In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q.

[0158] At the same time, the mathematical expression of the branch power limit considering the power transfer distribution factor is:

[0159]

[0160] In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; A collection of power grid branches.

[0161] In this embodiment, the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are expressed in the following compact form:

[0162] Ax+BΔf+C(r+Δr)≤b

[0163] Since x and Δf are both bounded variables, the projection operation is a linear mapping, and the above compact form Ax+BΔf+(Cr+Δ)r≤b can be transformed into a bounded polyhedron form as shown below:

[0164] R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr}

[0165] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

[0166] In this embodiment, the node flexibility index R(x,Δf) used to measure the support of heterogeneous energy networks in multi-energy systems describes the maximum area of ​​uncertain power fluctuations that can be absorbed by the system. This index provides decision makers with the precise range of node injection uncertainty that the system can handle, that is, the limit of the system's ability to accurately handle injected uncertainty at different nodes, thereby enhancing the decision-making basis for system planning and operation.

[0167] S2. According to the polyhedron-based multi-energy system node flexibility index, the power balance constraint of the power grid considering the flexibility of the multi-energy system is established.

[0168] In this embodiment, affected by the interconnection mode of the electricity-heat-gas network and the operating characteristics of the energy conversion device in the multi-energy system, the node injection uncertainty range that the system can handle is described by a polyhedron-based node flexibility index. The power balance constraint of the power grid considering the flexibility of the multi-energy system is:

[0169]

[0170] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0171] S3. Based on the coordinated dispatching constraints of multi-energy systems and the power balance constraints of the power grid considering the flexibility of multi-energy systems, a multi-objective dispatching optimization model of multi-energy systems considering node flexibility is constructed.

[0172] In order to improve the economy and flexibility of the multi-energy system, especially in the context of large-scale access to renewable energy, this embodiment comprehensively considers the operating restrictions of network components such as electricity, heat, and natural gas to ensure that the system's scheduling optimization can both reduce the expected total operating cost and maintain sufficient dispatchable space to cope with the inherent uncertainty of renewable energy output. A multi-objective scheduling optimization model for a multi-energy system is constructed, and the specific operating constraints of each network component are incorporated to reduce the expected total operating cost and ensure that there is enough allowable scheduling area to deal with the uncertainty of renewable energy output. This embodiment considers the multi-objective planning problem of the flexible multi-energy system optimization scheduling with continuous decision variables. The objective function of the multi-objective scheduling optimization model for the multi-energy system is specifically:

[0173] maxF(x)={-F1(x),F2(x)}

[0174] in,

[0175]

[0176] Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nth GWThe injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0177] This embodiment considers that the scheduling and operation of the multi-energy system is subject to the interconnection mode of each component of the electricity-heat-gas network and the operation restrictions of the energy conversion device. The setting constraints may include branch constraints, node constraints and flow mixing constraints of the DHN / HCNG network, as well as power balance, capacity constraints and ramp constraints of the power grid. In this embodiment, the constraints of the multi-objective scheduling optimization model of the multi-energy system include the coordinated scheduling constraints of the multi-energy system and the power balance constraints of the power grid considering the flexibility of the multi-energy system. The coordinated scheduling constraints of the multi-energy system include the operation constraints of the hydrogen-blended compressed natural gas network, the operation constraints of the district heating network, the capacity and ramp constraints of the cogeneration unit, and the capacity and ramp constraints of the power-to-hydrogen heat system (P2HH) equipment. Among them, the operation constraints of the hydrogen-blended compressed natural gas network include the branch constraints of the hydrogen-blended compressed natural gas network, the node constraints of the hydrogen-blended compressed natural gas network and the flow mixing constraints of the hydrogen-blended compressed natural gas network nodes; the operation constraints of the district heating network include the temperature constraints of the district heating network nodes, the branch constraints of the district heating network and the heat flow mixing constraints of the district heating network nodes. The following will specifically describe each constraint:

[0178] 1) HCNG network operation constraints:

[0179] This embodiment takes into account the influence of the controlled gas pressure source, the pressure regulator including the boost pump and the throttle valve, and the mathematical expression of the hydrogen-blended compressed natural gas (HCNG) network branch constraint is:

[0180] G b =Y G (p b +E G -k b p0)

[0181] In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-blended compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the beginning of the branch.

[0182] In order to ensure the safety of the HCNG pipeline, this embodiment needs to impose gas pressure restrictions on the nodes. Due to the limitation of natural gas transmission capacity, the mass flow rate flowing out of the gas well node should also be restricted. The hydrogen-blended compressed natural gas network node constraints are:

[0183]

[0184] In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set.

[0185] Taking into account the interactive characteristics of the HCNG grid structure and gas mass flow, the mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is:

[0186] M1=M2

[0187]

[0188] Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a collection of cogeneration unit nodes in the hydrogen-blended compressed natural gas network.

[0189] 2)DHN operation constraints:

[0190] In order to ensure the safety of the heating pipeline, this embodiment needs to limit the temperature of the node. The mathematical expression of the temperature constraint of the district heating network node is:

[0191]

[0192] In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower temperature limit of each district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of district heating network nodes.

[0193] This embodiment considers that the heat flow in the DHN branch is limited by the network structure and parameters, and the mathematical expression of the district heating network branch constraint is:

[0194]

[0195] Where Y b is the admittance matrix of the district heating network branches; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch start temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix.

[0196] In this embodiment, the interactive characteristics of the DHN grid structure and the medium mass flow are comprehensively considered, and the mathematical expression of the heat flow mixing constraint of the district heating network node is:

[0197]

[0198] In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by a power-to-hydrogen heat system device at time t; c h is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

[0199] In this embodiment, the mathematical expressions of the combined heat and power (CHP) unit capacity and ramp constraints and the power-to-hydrogen heat system equipment capacity and ramp constraints are:

[0200]

[0201] In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHPThe power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HH The power generation of each power-to-hydrogen heat system device at the time (t-Δt); It is the upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

[0202] S4. The multi-objective scheduling optimization model of the multi-energy system is transformed into a single-objective optimization problem based on the agent model using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling solution is obtained by combining the fuzzy decision-making method.

[0203] In this embodiment, the steps of converting the multi-objective scheduling optimization model of the multi-energy system into a single-objective optimization problem based on an agent model by using a global optimization algorithm based on the Pareto front, and solving the optimal multi-energy system scheduling solution by combining a fuzzy decision-making method include:

[0204] The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization.

[0205] The fuzzy decision-making method is used to calculate the comprehensive satisfaction of each non-dominated solution according to the normalized weighted fitness. The current optimal solution is selected from the non-dominated solution set for scheduling based on the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence conditions are reached to obtain the optimal multi-energy system scheduling plan.

[0206] Specifically, since the heterogeneous energy sources in the multi-energy system have complex dynamic interactive characteristics, the computational cost of multiple objectives in the optimization scheduling model may be quite large. Therefore, this embodiment uses a global optimization algorithm based on the Pareto frontier (pareto efficient global optimization, ParEGO) to propose a method for transforming the multi-objective scheduling optimization problem of the multi-energy system, introduces the Pareto advantage relationship into effective global optimization, aggregates multiple objectives in the multi-energy system scheduling optimization problem, and transforms the multi-objective optimization problem with high computational cost into a single-objective problem, thereby simplifying the calculation process. This embodiment uses a method for transforming the multi-objective scheduling optimization problem of the multi-energy system based on ParEGO to approximate the multi-objective problem through a proxy set, and adopts a fuzzy decision-making method to obtain a normalized weighted fitness-based solution to obtain the optimal system scheduling solution that takes into account both economy and flexibility. The specific implementation process includes:

[0207] Determine each sub-objective function of the multi-energy system optimization scheduling problem and its known (or estimated) limit values, and initialize the weight vector Λ, including weight values ​​such as λ1, λ2, and the length of the decision vector;

[0208] Each sub-objective function is normalized so that its value range is in the range of [0, 1] to eliminate the influence of the dimension and magnitude differences of different objective functions on the optimization process. In each iteration, the weight vector that obeys the uniform distribution is defined in this embodiment as:

[0209]

[0210] Where Λ is a weight vector that obeys uniform distribution; λ1 and λ2 are weight values ​​corresponding to the objective function; λ i is the i-th weight value; s is the length of the decision vector;

[0211] The augmented Tchebycheff function is used to aggregate the multi-objective optimization problem into a single-objective optimization problem, and the objective function of the multi-energy system optimization scheduling problem is transformed into the following form:

[0212]

[0213] In the formula, F λ (x) is a single-objective optimization problem; F i (x) is the i-th objective optimization problem; ρ λ is a small positive value, which is used to adjust the balance term in the Tchebycheff function;

[0214] The transformed single-objective optimization problem is constructed as a Gaussian surrogate model. In the solution process, the expected improvement (EI) function is used to evaluate and select the value of the next candidate solution. The expected improvement (EI) function for evaluating the next candidate solution is defined as:

[0215]

[0216] In the formula, F min is the lower limit of the objective function; is the predicted value; s EI is the standard deviation; ψ(·) is the standard normal density function; Ψ(·) is the distribution function;

[0217] In each iteration, this embodiment uses the Gaussian proxy model to generate candidate solutions, selects the next candidate solution for evaluation by maximizing the EI function, and updates the Gaussian proxy model to reflect the new evaluation results; in this embodiment, based on the above steps, a set of non-dominated vector Pareto solutions for the multi-energy system optimization scheduling problem is solved, and the non-dominated vector Pareto solutions constitute a set of feasible scheduling schemes, but these scheduling schemes show different performances on multiple objectives. The decision maker must select a scheme from them for scheduling. In the iterative process, this embodiment records all non-dominated solutions to form a non-dominated solution set;

[0218] For each solution in the non-dominated solution set, calculate its satisfaction on each sub-objective, and use the fuzzy decision method to calculate the comprehensive satisfaction of each solution according to the normalized weighted fitness. Then, from the non-dominated solution set, select the current optimal solution for scheduling according to the comprehensive satisfaction. The satisfaction and comprehensive satisfaction of the sub-objective function can be defined as follows:

[0219]

[0220] In the formula, x i is the ith non-dominated solution on the Pareto front; M is the total number of non-dominated solutions; μ i,j represents the non-dominated solution x on the Pareto front i The corresponding j-th sub-objective function satisfaction; μ i represents the Pareto front non-dominated solution x i The corresponding objective function comprehensive satisfaction; F j (x i ) is the Pareto frontier non-dominated solution x i The corresponding j-th sub-objective function value; and is the acceptable upper / lower limit of the j-th sub-objective function based on the Pareto frontier; w j is the weight factor of the j-th sub-objective function;

[0221] Repeat the above steps for iterative optimization until the convergence conditions are met (such as the optimal solution remains unchanged after multiple consecutive iterations, or the preset number of iterations is reached). When the iterative optimization is completed, the final optimal multi-energy system scheduling plan is output.

[0222] In order to verify the accuracy and efficiency of the electricity-heat-gas multi-energy system optimization scheduling method proposed in this embodiment, this embodiment constructs a test environment for an integrated multi-energy system, such as Figure 2As shown in the figure, the test system integrates a power network with six nodes, a HCNG network with seven nodes, and a DHN network with ten nodes, wherein the seven nodes of the HCNG network are nodes GN1 to GN7, GL1 and GL2 are the first load node and the second load node respectively; HN1 to HN10 are the ten nodes of the DHN network respectively; the power network mainly includes external grid access, wind turbines and combined heat and power (CHP) units, and the surplus electric energy can be converted into hydrogen with an efficiency of 65% through the power to hydrogen (P2HH) conversion technology, while recovering the waste heat in the electrolysis process. In order to improve the overall energy utilization efficiency, the generated hydrogen is injected into the natural gas network at node GN4 and mixed with natural gas to form HCNG (80% methane and 20% hydrogen). This mixture not only meets the natural gas load demand, but also serves as a fuel source for the CHP unit. It operates at a pressure of 10MPa and a temperature of 20°C. In the multi-energy system, in order to balance the fluctuations in natural gas demand and power production, a hydrogen storage tank is configured in the system as a buffer. CHP and P2HH are the main heat sources of DHN, connected to the HN1 node and HN10 node respectively, to provide thermal support for five local heating areas.

[0223] This embodiment adopts the multi-energy system optimization scheduling strategy based on ParEGO to solve the optimal Pareto solution set that takes into account both economic benefits and flexibility, such as Figure 3 To comprehensively evaluate the performance of this method, this example compares it with the traditional NSGAII algorithm and the two-stage multi-objective biogeography-based optimization (BBO) algorithm. The results are shown in Figure 4 , Figure 5 , Figure 6 and Figure 7 As shown in the figure, it can be seen that the Pareto frontier generated by the ParEGO method performs better in most cases. Compared with NSGA-II and the two-stage multi-objective BBO algorithm, the Pareto optimal frontier obtained by the multi-energy system optimization scheduling method based on ParEGO shows stronger competitiveness.

[0224] Figure 4The pressure response curve of the HCNG network is shown. P1~P7 correspond to the seven nodes of the HCNG network of the test system. From 0:00 to 7:00, the energy management program reduces natural gas injection and increases the power generation of the CHP system. This action reduces the pressure in the HCNG network and retains sufficient upward flexibility for the regulation needs of renewable energy. In the low period of time of use (TOU) electricity prices, the increase in CHP output power leads to a decrease in economic benefits, but it can effectively avoid 1375MWh of wind power generation. The load fluctuation range is large during the day, and sufficient regulation margin is required. Therefore, HCNG is injected and stored in the pipeline to provide sufficient downward flexibility, which leads to an increase in pipeline pressure. Therefore, Figure 4 The results reveal that the energy management strategy balances the system flexibility demand by adjusting natural gas injection and CHP power generation, especially during the period of low electricity prices. Although increasing CHP output sacrifices some economic benefits, it effectively avoids the abandonment of wind energy, while utilizing the gas storage capacity of the HCNG network to provide the necessary downward adjustment flexibility during the day.

[0225] In this embodiment, Figure 5 The temperature response curve of DHN is shown. Considering that the temperature of nodes interconnected with the grid and loads will be affected by the injection or extraction of thermal energy, resulting in more obvious fluctuations, internal nodes (HN2, HN3, HN5, HN7, HN8) are selected to show the actual temperature changes within DHN, where T2, T3, T5, T7, and T8 correspond to internal nodes HN2, HN3, HN5, HN7, and HN8. Due to the lack of independent heat sources, DHN shows weaker flexibility regulation ability compared with HCNG network. HCNG network shows two flexibility regulation stages with a flexibility margin of 1007MWh. Therefore, Figure 5 It is revealed that the temperature changes of internal nodes reflect the impact of heat injection and extraction on the temperature stability of the system. Compared with the HCNG network, the DHN shows a relatively limited ability in flexibility adjustment. In addition, the synergy between the energy subgrids in the multi-energy network significantly enhances the system's adaptability to node power fluctuations. Figure 6 and Figure 7 The actual values ​​and upper / lower bounds of the net power injection of renewable energy nodes and the net power demand of load nodes are shown, respectively.

[0226] At the same time, if Figure 8 , Fig. 9 , Fig.10 and Fig.11As shown, this embodiment compares the scheduling results of three solutions (Solution A, Solution B, Solution C) in detail. Solution A focuses on maximizing flexibility, Solution B focuses on optimizing economic benefits, and Solution C achieves a balance between flexibility and economy through a fuzzy decision-making method. In the comparison of solutions, compared with Solution C, Solution A effectively alleviates the problem of excess renewable energy by injecting a large amount of natural gas into the HCNG network at night, and uses the P2HH unit to store hydrogen during the day for emergency use; while Solution B focuses on optimizing scheduling according to electricity price fluctuations, with cost reduction as the core goal. In addition, the adjustment of P2HH installed capacity and the introduction of HS as the interface between the power grid and the HCNG network have a significant impact on the flexibility and economy of the system.

[0227] The optimized scheduling of the electric-heat-gas multi-energy system proposed in this embodiment not only adopts a polyhedron-based multi-energy system flexibility quantitative evaluation method, but also reveals the dynamic characteristics of the DHN and HCNG networks, and can realize the quantitative evaluation of the power flexibility margin of the specified nodes of each subsystem under different operating conditions, thereby more accurately describing the role of heterogeneous energy subnetworks in improving the overall flexibility of the multi-energy system. At the same time, this embodiment takes the grid injection power, P2HH output power, CHP output power, hydrogen storage system injection / output hydrogen volume, natural gas well injection gas volume, P2HH heat production, and CHP heat production as adjustable objects, considering the grid / DHN / Based on the dynamic characteristics of the natural gas network and the constraints of interconnected operation, a two-stage scheduling model for multi-energy systems that takes into account both flexibility enhancement and economic benefits is proposed, which provides a strong basis and guidance for the formulation of the optimal scheduling strategy. In addition, in the solution process, this embodiment considers the impact of the complex dynamic interaction characteristics of heterogeneous energy in multi-energy systems on multi-objective optimal scheduling, and proposes a solution method for multi-energy system optimal scheduling based on ParEGO. The multi-objective problem is approximated by a set of agents, and a fuzzy decision-making method is used to obtain the normalized weighted fitness, providing decision makers with the optimal system scheduling plan that takes into account both economy and flexibility, thereby improving computational efficiency.

[0228] An embodiment of the present invention provides an optimization scheduling method for an electric-heat-gas multi-energy system taking flexibility into consideration, wherein the method constructs a polyhedron-based multi-energy system node flexibility index according to the operating dynamic characteristics and interconnection relationship of the multi-energy system network; establishes a power grid power balance constraint taking into consideration the flexibility of the multi-energy system according to the polyhedron-based multi-energy system node flexibility index; constructs a multi-objective scheduling optimization model for a multi-energy system taking into consideration node flexibility according to the multi-energy system collaborative scheduling constraints and the power grid power balance constraints taking into consideration the flexibility of the multi-energy system; utilizes a global optimization algorithm based on the Pareto frontier to transform the multi-objective scheduling optimization model for a multi-energy system into a single-objective optimization problem based on an agent model, and solves the problem in combination with a fuzzy decision-making method to obtain the optimal multi-energy system scheduling solution. Compared with the existing technology, this method proposes a two-stage scheduling model for multi-energy systems considering flexibility by considering the dynamic characteristics of heterogeneous energy networks of multi-energy systems and the impact of interconnected operation on the scheduling of multi-energy systems, and obtains the optimal multi-energy system scheduling plan based on the multi-energy system optimization scheduling problem solving method based on the global optimization algorithm based on the Pareto frontier. Through optimized scheduling, different forms of energy such as electricity, heat, and gas can be allocated and used more reasonably, energy waste can be reduced, the optimal configuration of energy can be achieved, and the overall energy utilization efficiency can be improved. At the same time, the optimized scheduling of multi-energy systems can provide more flexibility, improve the system's adaptability to fluctuations in energy demand, and enhance the system's stability and reliability.

[0229] It should be noted that the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0230] In one embodiment, Fig.12 As shown, an embodiment of the present invention provides an optimization scheduling system for an electricity-heat-gas multi-energy system taking flexibility into consideration, the system comprising:

[0231] A flexible index construction module 101 is used to construct a multi-energy system node flexibility index based on a polyhedron according to the operation dynamic characteristics and interconnection relationship of the multi-energy system network;

[0232] A balance constraint determination module 102, for establishing a power grid power balance constraint taking into account the flexibility of the multi-energy system according to the polyhedron-based multi-energy system node flexibility index;

[0233] The optimization model building module 103 is used to build a multi-energy system multi-objective scheduling optimization model considering node flexibility according to the multi-energy system coordinated scheduling constraints and the power grid power balance constraints considering the flexibility of the multi-energy system;

[0234] The optimal scheduling solution module 104 is used to transform the multi-objective scheduling optimization model of the multi-energy system into a single-objective optimization problem based on the agent model by using the ParEGO algorithm, and combine the fuzzy decision-making method to solve the optimal multi-energy system scheduling solution.

[0235] In this embodiment, according to the dynamic operation characteristics and interconnection relationship of the multi-energy system, a multi-energy system node flexibility index based on a polyhedron is constructed, specifically:

[0236] According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method.

[0237] According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system.

[0238] According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed;

[0239] The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

[0240] In this embodiment, the mathematical expression of the aggregate flexibility of the multi-energy system is:

[0241]

[0242] in,

[0243]

[0244] In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i (t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity quantity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

[0245] In this embodiment, the mathematical expression of the power balance condition of the power grid in the multi-energy system is:

[0246]

[0247] In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q;

[0248] The mathematical expression of branch power limitation considering the power transfer distribution factor is:

[0249]

[0250] In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; It is a collection of power grid branches;

[0251] The mathematical expression of the node flexibility index of the multi-energy system based on polyhedron is:

[0252] R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr}

[0253] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

[0254] In this embodiment, the objective function of the multi-energy system multi-objective scheduling optimization model is specifically:

[0255] maxF(x)={-F1(x),F2(x)}

[0256] in,

[0257]

[0258] Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nth GW The injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0259] In this embodiment, the mathematical expression of the power balance constraint of the power grid considering the flexibility of the multi-energy system is:

[0260]

[0261] Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

[0262] In this embodiment, the multi-energy system coordinated scheduling constraints include hydrogen-blended compressed natural gas network operation constraints, district heating network operation constraints, cogeneration unit capacity and ramp constraints, and power-to-hydrogen heat system equipment capacity and ramp constraints, wherein the hydrogen-blended compressed natural gas network operation constraints include hydrogen-blended compressed natural gas network branch constraints, hydrogen-blended compressed natural gas network node constraints, and hydrogen-blended compressed natural gas network node flow mix constraints; the district heating network operation constraints include district heating network node temperature constraints, district heating network branch constraints, and district heating network node heat flow mix constraints;

[0263] The mathematical expression of the hydrogen-blended compressed natural gas network branch constraint is:

[0264] G b =Y G (p b +E G -k b p0)

[0265] In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-blended compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the head end of the branch;

[0266] The mathematical expression of the node constraint of the hydrogen-blended compressed natural gas network is:

[0267]

[0268] In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set;

[0269] The mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is:

[0270] M1=M2

[0271]

[0272]

[0273] Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a node set of cogeneration units in the hydrogen-blended compressed natural gas network;

[0274] The mathematical expression of the temperature constraint of the district heating network node is:

[0275]

[0276] In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower temperature limit of each district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of nodes for a district heating network;

[0277] The mathematical expression of the district heating network branch constraint is:

[0278]

[0279] Where Yb is the admittance matrix of the district heating network branches; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch starting temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix;

[0280] The mathematical expression of the heat flow mixing constraint of the district heating network node is:

[0281]

[0282] In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by a power-to-hydrogen heat system device at time t; c h is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

[0283] In this embodiment, the mathematical expressions of the capacity and ramp constraints of the cogeneration unit and the capacity and ramp constraints of the power-to-hydrogen heat system equipment are as follows:

[0284]

[0285] In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHP The power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HH The power generation of each power-to-hydrogen heat system device at the time (t-Δt); It is the upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

[0286] In this embodiment, the multi-energy system multi-objective scheduling optimization model is transformed into a single-objective optimization problem based on an agent model by using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling scheme is obtained by combining the fuzzy decision-making method, specifically:

[0287] The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization.

[0288] The fuzzy decision-making method is used to calculate the comprehensive satisfaction of each non-dominated solution according to the normalized weighted fitness. The current optimal solution is selected from the non-dominated solution set for scheduling based on the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence conditions are reached to obtain the optimal multi-energy system scheduling plan.

[0289] For the specific definition of an optimization and scheduling system for an electric-heat-gas multi-energy system taking flexibility into account, please refer to the above-mentioned definition of an optimization and scheduling method for an electric-heat-gas multi-energy system taking flexibility into account, which will not be repeated here. A person of ordinary skill in the art will appreciate that the various modules and steps described in conjunction with the embodiments disclosed in this application can be implemented in hardware, software, or a combination of both. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0290] The embodiment of the present invention provides an optimization scheduling system for an electric-heat-gas multi-energy system considering flexibility. The system constructs a multi-energy system node flexibility index based on a polyhedron through a flexible index construction module; establishes a power grid power balance constraint considering the flexibility of the multi-energy system through a balance constraint determination module; constructs a multi-energy system multi-objective scheduling optimization model considering node flexibility through an optimization model construction module; and converts the multi-energy system multi-objective scheduling optimization model into a single-objective optimization problem based on an agent model through an optimal scheduling solution module using the ParEGO algorithm, and solves the optimal multi-energy system scheduling scheme in combination with a fuzzy decision-making method. Compared with the prior art, the system proposes a two-stage scheduling model for a multi-energy system considering flexibility by considering the dynamic characteristics of heterogeneous energy networks of multi-energy systems and the influence of interconnected operation on the scheduling of multi-energy systems, and obtains the optimal multi-energy system scheduling scheme based on the ParEGO multi-energy system optimization scheduling problem solving method. Through optimized scheduling, different forms of energy such as electricity, heat, and gas can be more reasonably allocated and used, energy waste can be reduced, the optimal configuration of energy can be achieved, and the overall energy utilization efficiency can be improved. At the same time, the optimized scheduling of the multi-energy system can provide more flexibility, improve the system's adaptability to energy demand fluctuations, and enhance the stability and reliability of the system.

[0291] In one embodiment, the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0292] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., an SSD), etc.

[0293] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0294] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. A method for optimizing the dispatching of an electricity-heat-gas multi-energy system considering flexibility, characterized in that: The following steps are involved: According to the dynamic operation characteristics and interconnection relationship of the multi-energy system network, a multi-energy system node flexibility index based on polyhedron is constructed; According to the polyhedron-based multi-energy system node flexibility index, the power balance constraint of the power grid considering the flexibility of the multi-energy system is established; According to the coordinated dispatching constraints of multi-energy systems and the power balance constraints of the power grid considering the flexibility of multi-energy systems, a multi-objective dispatching optimization model of multi-energy systems considering node flexibility is constructed; The multi-objective scheduling optimization model of the multi-energy system is transformed into a single-objective optimization problem based on the agent model using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling scheme is obtained by combining the fuzzy decision-making method.

2. The method for optimizing the dispatching of an electric-heat-gas multi-energy system considering flexibility according to claim 1, characterized in that: The step of constructing a polyhedron-based multi-energy system node flexibility index according to the operation dynamic characteristics and interconnection relationship of the multi-energy system includes: According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method. According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system. According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed; The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

3. The method for optimizing the dispatching of an electric-heat-gas multi-energy system taking into account flexibility as claimed in claim 2, characterized in that: The mathematical expression of the aggregate flexibility of the multi-energy system is: in, In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i (t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity quantity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

4. The method for optimizing the dispatching of an electric-heat-gas multi-energy system taking into account flexibility as claimed in claim 3, characterized in that: The mathematical expression of the power balance condition of the power grid in the multi-energy system is: In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q; The mathematical expression of branch power limitation considering power transfer distribution factor is: In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; It is a collection of power grid branches; The mathematical expression of the node flexibility index of the multi-energy system based on polyhedron is: R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr} Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

5. The method for optimizing and scheduling an electricity-heat-gas multi-energy system considering flexibility as claimed in claim 4, characterized in that: The objective function of the multi-energy system multi-objective scheduling optimization model is specifically: maxF(x)={-F1(x),F2(x)} in, Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nth GW The injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

6. The method for optimizing the dispatching of an electric-heat-gas multi-energy system taking into account flexibility as claimed in claim 5, characterized in that: The mathematical expression of the power balance constraint of the power grid considering the flexibility of the multi-energy system is: Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

7. The method for optimizing and scheduling an electricity-heat-gas multi-energy system considering flexibility as claimed in claim 6, characterized in that: The multi-energy system coordinated scheduling constraints include hydrogen-blended compressed natural gas network operation constraints, district heating network operation constraints, cogeneration unit capacity and ramp constraints, and power-to-hydrogen heat system equipment capacity and ramp constraints, wherein the hydrogen-blended compressed natural gas network operation constraints include hydrogen-blended compressed natural gas network branch constraints, hydrogen-blended compressed natural gas network node constraints, and hydrogen-blended compressed natural gas network node flow mix constraints; the district heating network operation constraints include district heating network node temperature constraints, district heating network branch constraints, and district heating network node heat flow mix constraints; The mathematical expression of the hydrogen-blended compressed natural gas network branch constraint is: G b =Y G (p b +E G -k b p0) In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-doped compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the head end of the branch; The mathematical expression of the node constraint of the hydrogen-blended compressed natural gas network is: In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of the gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set; The mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is: M1=M2 Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a node set of cogeneration units in the hydrogen-blended compressed natural gas network; The mathematical expression of the temperature constraint of the district heating network node is: In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower limit of temperature of the district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of nodes for a district heating network; The mathematical expression of the district heating network branch constraint is: Where Y b is the admittance matrix of the district heating network branch; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch start temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix; The mathematical expression of the heat flow mixing constraint of the district heating network node is: In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by a power-to-hydrogen heat system device at time t; c h is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

8. The method for optimizing and scheduling an electricity-heat-gas multi-energy system considering flexibility as claimed in claim 7, characterized in that: The mathematical expressions of the capacity and ramp constraints of the cogeneration unit and the capacity and ramp constraints of the power-to-hydrogen heat system equipment are as follows: In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHP The power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HH The power generation of each power-to-hydrogen heat system device at the time (t-Δt); The upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

9. The method for optimizing and scheduling an electricity-heat-gas multi-energy system considering flexibility as claimed in claim 1, characterized in that: The steps of using a global optimization algorithm based on the Pareto front to transform the multi-energy system multi-objective scheduling optimization model into a single-objective optimization problem based on an agent model, and combining the fuzzy decision-making method to solve the optimal multi-energy system scheduling solution include: The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization. The fuzzy decision-making method is used to calculate the comprehensive satisfaction of each non-dominated solution according to the normalized weighted fitness. The current optimal solution is selected from the non-dominated solution set for scheduling based on the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence conditions are reached to obtain the optimal multi-energy system scheduling plan.

10. An optimization scheduling system for an electricity-heat-gas multi-energy system taking into account flexibility, characterized in that: The system comprises: A flexible index building module is used to build a polyhedron-based multi-energy system node flexibility index according to the operation dynamic characteristics and interconnection relationship of the multi-energy system network; A balance constraint determination module, used for establishing a power balance constraint of a power grid considering the flexibility of a multi-energy system according to a polyhedron-based multi-energy system node flexibility index; An optimization model building module is used to build a multi-objective scheduling optimization model for a multi-energy system considering node flexibility based on the coordinated scheduling constraints of the multi-energy system and the power balance constraints of the power grid considering the flexibility of the multi-energy system; The optimal scheduling solution module is used to transform the multi-objective scheduling optimization model of the multi-energy system into a single-objective optimization problem based on the agent model using a global optimization algorithm based on the Pareto frontier, and combine it with the fuzzy decision-making method to solve the optimal multi-energy system scheduling plan.

11. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 10, characterized in that: According to the dynamic operation characteristics and interconnection relationship of the multi-energy system, a multi-energy system node flexibility index based on a polyhedron is constructed, which is specifically: According to the dynamic characteristics of multi-energy system operation, the dynamic characteristics of multi-energy flow in heterogeneous energy network of multi-energy system are obtained by using generalized phasor modeling method. According to the dynamic characteristics of multi-energy flows in heterogeneous energy networks of multi-energy systems, the individual flexibility of each branch in the heterogeneous energy network is analyzed to obtain the aggregate flexibility of the multi-energy system. According to the aggregated flexibility of multi-energy systems, the power balance conditions of the power grid in the multi-energy system are constructed; The branch power limit considering the power transfer distribution factor is determined, and the power balance condition of the power grid in the multi-energy system and the branch power limit considering the power transfer distribution factor are converted into a bounded polyhedron form, and the node flexibility index of the multi-energy system based on the polyhedron is obtained.

12. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 11, characterized in that: The mathematical expression of the aggregate flexibility of the multi-energy system is: in, In the formula, Aggregate flexibility for multi-energy systems; is the individual flexibility of the i-th branch in the heterogeneous energy network, i = 1, ..., N; ξ i (t) is the individual extension of the ith branch in the heterogeneous energy network at time t; R m is an m-dimensional space; N is the total number of branches in the heterogeneous energy network; ψ i (t) is the individual strength quantity of the i-th branch in the heterogeneous energy network at time t; ψ i (t-1) is the individual strength of the i-th branch in the heterogeneous energy network at time (t-1); a i is the pipeline energy dissipation of the i-th branch in the heterogeneous energy network; Y i is the energy storage capacity of the i-th branch in the heterogeneous energy network; ψ i is the lower limit of the intensity quantity; is the upper limit of the intensity; ξ i is the lower bound of the extensive quantity; is the upper bound of the extensive quantity.

13. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 12, characterized in that: The mathematical expression of the power balance condition of the power grid in the multi-energy system is: In the formula, is a collection of grid flexibility resource nodes; A collection of power generation nodes in the power grid; is the set of uncertain nodes in the power grid; is the grid load node set; Δf n The flexibility provided to the grid flexibility resource node n; P j is the power of power grid generation node j; r k is the power of the grid uncertainty node k; Δr k is the power fluctuation of the grid uncertainty node k; l q is the power of grid load node q; The mathematical expression of branch power limitation considering the power transfer distribution factor is: In the formula, is the upper limit of branch power; Φ n is the power transfer distribution factor of grid flexibility resource node n; Φ j is the power transfer distribution factor of power grid generation node j; Φ k is the power transfer distribution factor of the grid uncertainty node k; Φ q is the power transfer distribution factor of grid load node q; It is a collection of power grid branches; The mathematical expression of the node flexibility index of the multi-energy system based on polyhedron is: R(x,Δf)={Δr|CΔr≤b-Ax-BΔf-Cr} Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; Δr is the uncertainty node power fluctuation; x is the grid state variable; Δf is the flexibility of the multi-energy system; r is the uncertainty node power; b is the constant vector obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron; A, B, and C are all coefficient matrices obtained by converting the power balance condition of the grid in the multi-energy system and the branch power limit considering the power transfer distribution factor into the form of a bounded polyhedron.

14. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 13, characterized in that: The objective function of the multi-energy system multi-objective scheduling optimization model is specifically: maxF(x)={-F1(x),F2(x)} in, Where, F(t) is the objective function of the multi-objective scheduling optimization model of the multi-energy system; x is the scheduling decision variable of the multi-energy system; F1(x) is the operating cost of the multi-energy system; F2(x) is the flexibility of the multi-energy system; T is the time range; is the gas well node set; A collection of nodes accessing the external power grid; is the natural gas cost coefficient at time t; For nth GW The injected gas of a gas well node at time t; is the external grid electricity price at time t; The external power grid sends the nth Grid The power injected by the external grid access node; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

15. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 14, characterized in that: The mathematical expression of the power balance constraint of the power grid considering the flexibility of the multi-energy system is: Where R(x,Δf) is the node flexibility index of the multi-energy system based on polyhedron; is the set of uncertain nodes in the power grid; is the upward power fluctuation of the grid uncertainty node k at time t; is the downward power fluctuation of grid uncertainty node k at time t.

16. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 15, characterized in that: The multi-energy system coordinated scheduling constraints include hydrogen-blended compressed natural gas network operation constraints, district heating network operation constraints, cogeneration unit capacity and ramp constraints, and power-to-hydrogen heat system equipment capacity and ramp constraints, wherein the hydrogen-blended compressed natural gas network operation constraints include hydrogen-blended compressed natural gas network branch constraints, hydrogen-blended compressed natural gas network node constraints, and hydrogen-blended compressed natural gas network node flow mix constraints; the district heating network operation constraints include district heating network node temperature constraints, district heating network branch constraints, and district heating network node heat flow mix constraints; The mathematical expression of the hydrogen-blended compressed natural gas network branch constraint is: G b =Y G (p b +E G -k b p0) In the formula, G b is the branch mass flow rate; Y G is the admittance matrix of the hydrogen-doped compressed natural gas network branch; p b is the branch pressure difference; E G is the pressure of the controlled air pressure source; k b is the pressure change of the controlled air pressure source; p0 is the air pressure at the head end of the branch; The mathematical expression of the node constraint of the hydrogen-blended compressed natural gas network is: In the formula, For nth G The lower limit of the air pressure at each node; For nth G The air pressure of each node at time t; For nth G The upper limit of the gas pressure at each gas well node; It is a collection of HCNG network nodes; For nth GW The lower limit of gas injection at each gas well node; For nth GW Inject gas into each gas well node; For nth GW The upper limit of gas injection per gas well node; is the gas well node set; The mathematical expression of the flow mixing constraint of the hydrogen-blended compressed natural gas network node is: M1=M2 Wherein, M1 is the first flow value; M2 is the second flow value; For nth P2HH The mass flow rate of injected gas of each power-to-hydrogen heat system device at time t; For nth HS The mass flow rate of injected gas of each hydrogen storage device at time t; is the mass flow rate of gas injected through pipeline d at time t; For nth GL The gas mass flow rate consumed by a load at time t; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; is the gas mass flow rate output through pipeline d at time t; It is a node set of the power-to-hydrogen heat system in the hydrogen-blended compressed natural gas network; It is a collection of hydrogen storage nodes in the hydrogen-blended compressed natural gas network; It is a branch collection of hydrogen-blended compressed natural gas network; is a set of load nodes in the hydrogen-blended compressed natural gas network; It is a node set of cogeneration units in the hydrogen-blended compressed natural gas network; The mathematical expression of the temperature constraint of the district heating network node is: In the formula, For nth DHN The node temperature of the district heating network node at time t; For nth DHN The lower limit of temperature of the district heating network node; For nth DHN Upper temperature limit for each district heating network node; A collection of nodes for a district heating network; The mathematical expression of the district heating network branch constraint is: Where Y b is the admittance matrix of the district heating network branch; K H is the heat transfer coefficient matrix; A H+ A is the node-outflow branch association matrix; H- is the node-inflow branch association matrix; the superscript T represents the transposition symbol; T S is the branch start temperature; T E is the branch end temperature; E H is the temperature difference of the medium through the heat exchanger; I is the unit matrix; The mathematical expression of the heat flow mixing constraint of the district heating network node is: In the formula, For nth CHP The heat flux generated by a CHP unit at time t is For nth P2HH The heat flow generated by a power-to-hydrogen heat system device at time t; c h is the heat capacity of the medium; is the flow rate of the medium through branch e at time t; For nth HL The heat flow consumed by each load node; is the temperature at the beginning of branch e at time t; is the terminal temperature of branch e at time t; It is a collection of nodes of combined heat and power units in the district heating network; A collection of nodes for power-to-hydrogen heat systems in a district heating network; It is a collection of branches in the district heating network; It is a collection of load nodes in the district heating network.

17. The electric-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 16, characterized in that: The mathematical expressions of the capacity and ramp constraints of the cogeneration unit and the capacity and ramp constraints of the power-to-hydrogen heat system equipment are as follows: In the formula, For nth P2HH The power generation of each power-to-hydrogen heat system at time t; The upper limit of the power generation capacity of the 2HH equipment; It is a collection of nodes of the power-to-hydrogen-heat system in the power grid; The external power grid sends the nth Grid The power injected by the external grid access node; Injecting an upper bound on power into the grid; A collection of nodes accessing the external power grid; For nth CHP The mass flow rate of gas consumed by each cogeneration unit at time t; For nth CHP The power generation capacity of the cogeneration unit at time t; All are gas consumption coefficients of cogeneration units; For nth CHP The heat flow generated by a CHP unit at time t; It is a collection of nodes of combined heat and power units in the district heating network; for; All are the power consumption coefficients of the power-to-hydrogen heat system equipment; is the heat flow generated by the nth power-to-hydrogen heat system equipment at time t; A collection of nodes for power-to-hydrogen heat systems in a district heating network; For nth CHP The power generation capacity of the cogeneration unit at time t; For nth CHP The power generation of a cogeneration unit at time (t-Δt); It is the upper limit of the ramp power of the cogeneration unit; It is a collection of nodes of combined heat and power units in the district heating network; For nth P2HH The power generation of each power-to-hydrogen heat system device at the time (t-Δt); The upper limit of the ramping power of the power-to-hydrogen heat system; A collection of nodes for power-to-hydrogen heat systems in a district heating network.

18. The electricity-heat-gas multi-energy system optimization scheduling system considering flexibility as claimed in claim 10, characterized in that: The multi-energy system multi-objective scheduling optimization model is transformed into a single-objective optimization problem based on an agent model by using a global optimization algorithm based on the Pareto frontier, and the optimal multi-energy system scheduling scheme is obtained by combining the fuzzy decision-making method, which is specifically: The multi-objective scheduling optimization model of multi-energy system is transformed into a single-objective optimization problem based on the agent model by using the global optimization algorithm based on the Pareto frontier, and the non-dominated solution set is obtained by iterative optimization. The fuzzy decision-making method is used to calculate the comprehensive satisfaction of each non-dominated solution according to the normalized weighted fitness. The current optimal solution is selected from the non-dominated solution set for scheduling based on the comprehensive satisfaction. The iterative optimization is repeated until the preset convergence conditions are reached to obtain the optimal multi-energy system scheduling plan.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Optimized scheduling method for electricity-heat-gas-hydrogen comprehensive energy system

    CN117649083A

Cited By

  • Flexible pricing method for power grid connection energy hub and related device

    CN119671179A

  • Multi-energy system flexibility improvement method considering flexibility cost

    CN120893799A

  • A method for improving flexibility of a multi-energy system considering flexibility cost

    CN120893799B