Electrical-natural gas system coupling mode optimization method and system

By combining the network topology structure and node characteristic parameters of the electrical-natural gas system, the optimal coupling method is determined, and the problem of optimization of the electrical-gas system in the existing technology is solved, the reliability and efficiency of the system are improved, and the electrical-gas coupling system is realized. optimization goals.

CN118940539APending Publication Date: 2024-11-12BEIHUA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099806.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The lack of effective connection rules in the existing optimization research of electrical-gas coupling systems has resulted in a huge amount of data during the calculation process and it is difficult to find the optimal coupling mode of electrical-gas systems, which affects the reliability and efficiency of the system.

Method used

From the perspective of network topology, the optimal coupling method of electrical-natural gas system is determined through the two sorting indicators of node voltage growth and network management current concentration, and the system reliability is analyzed by the Monte Carlo method and optimized The model aims to optimize the coupling system with the goal of natural gas source consumption costs, power grid non-gas unit consumption costs and load cutting costs.

Benefits of technology

Connecting through the optimal coupling method avoids the waste of manpower and material resources during the subsequent optimization process, improves the reliability and operating efficiency of the electrical-gas coupling system, and reduces the risk of system failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940539A_ABST
    Figure CN118940539A_ABST
Patent Text Reader

Abstract

The invention discloses an electrical-natural gas system coupling mode optimization method and system, and belongs to the technical field of multi-energy systems. The method comprises the following steps: S1, constructing a coupling system optimization model, and obtaining actual operation parameters of a coupling system based on the optimization model; s2, calculating node sorting indexes based on the actual operation parameters; and S3, determining an optimal coupling mode of the coupling system based on the node sorting index. On the basis of traditional scheduling research, the network topology structure of the coupling system is further considered, the network topology structure and network operation characteristic parameters are combined, and corresponding node sorting indexes are established. And the optimal coupling mode of the electricity-gas coupling system is obtained through an example. Connection is carried out in an optimal coupling mode, and waste of manpower and material resources when coupling nodes are changed in the subsequent optimization process is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of multi-energy systems, and in particular relates to a method and system for optimizing an electrical-natural gas system coupling mode. Background Art

[0002] Renewable energy generation has become the mainstream development direction. However, when the power grid and the new energy network are deeply coupled, the failure of a single network will lead to a chain failure of another network or even the entire system. In the existing optimization research of the electric-gas coupling system, most of them focus on calculating the power flow of the system, integrating economic dispatch and power flow calculation, and performing multi-constrained linear programming based on the power flow equation. However, there is no definite connection rule in the existing research methods, which leads to a huge amount of data in the calculation process. In addition, there is little research on the coupling mode and connection rule of the energy system and the power system. It is of great significance to find the optimal coupling mode of the electric-gas system. Summary of the invention

[0003] The present invention aims to solve the deficiencies of the prior art and proposes a method and system for optimizing the coupling mode of an electric-natural gas system, which is regarded as a dependent network from the perspective of network topology. By combining the network characteristic parameters and the degree of the node, two node ranking indicators, the node voltage growth degree and the network management flow concentration degree, are obtained. According to the connection mode of the three coupling modes of homogeneous, heterogeneous and random in the dependent network theory, different coupling systems are obtained, and the reliability of the system is analyzed based on the Monte Carlo method.

[0004] To achieve the above object, the present invention provides the following solution: a method for optimizing the coupling mode of an electric-natural gas system, comprising the following steps:

[0005] S1. constructing a coupling system optimization model, and obtaining actual operating parameters of the coupling system based on the optimization model;

[0006] S2. Calculate the node ranking index based on the actual operation parameters;

[0007] S3. Determine the optimal coupling mode of the coupling system based on the node ranking index.

[0008] Further preferably, the optimization model takes the minimization of the sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization target;

[0009] The optimization objectives include:

[0010]

[0011] In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n cIndicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes of natural gas; C w,j represents the gas source supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j represents the active load removal amount of natural gas node j;

[0012] The constraints of the optimization model include: power system constraints and natural gas network constraints;

[0013] The power system constraints include:

[0014] P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N),

[0015] Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N),

[0016] in,

[0017]

[0018] Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; P in,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V i Represents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ io represents the phase angle difference between grid node i and grid node o; G io and B iodenote the real and imaginary parts of the elements in the ith row and oth column of the node admittance matrix respectively;

[0019] The gas network constraints include:

[0020] F G,j -F GAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ),

[0021]

[0022] P GAS,i =η g2p F GAS,j G HV (i,j∈N we ),

[0023]

[0024] In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

[0025] Further preferably, the node ranking index includes: node voltage growth and network management power flow concentration;

[0026] The node voltage increase includes:

[0027]

[0028] Where V i 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid is stable after the unit load is increased at node k; Ki represents the degree of node i; n represents the number of all points with voltage changes; N1 represents the number of nodes in the network;

[0029] The network management power flow concentration includes:

[0030]

[0031] Where μ is a constant; T 0 and π 0 Respectively represent standard temperature and standard pressure; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

[0032] Further preferably, the coupling modes include: random coupling, homogamous coupling and heterogamous coupling;

[0033] The random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes to be converted into electricity in the natural gas grid one by one;

[0034] The same matching coupling includes: arranging the voltage growth degree of the power grid nodes and the network management power flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one;

[0035] The heterogeneous coupling includes: arranging the voltage growth degrees of the power grid nodes in descending order, arranging the network management power flow concentration degrees of the natural gas network in ascending order, and then coupling and connecting them one by one.

[0036] The present invention also provides an electrical-natural gas system coupling mode optimization system, comprising: a system model unit, a calculation unit and an optimization unit;

[0037] The system model unit is used to construct a coupling system optimization model, and obtain actual operating parameters of the coupling system based on the optimization model;

[0038] The calculation unit is used to calculate the node ranking index based on the actual operation parameter;

[0039] The optimization unit is used to determine the optimal coupling mode of the coupling system based on the node sorting index.

[0040] Further preferably, the optimization model constructed by the system model unit takes the minimization of the sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization target;

[0041] The optimization objectives include:

[0042]

[0043] In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n c Indicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes of natural gas; C w,j represents the gas source supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j represents the active load removal amount of natural gas node j;

[0044] The constraints of the optimization model include: power system constraints and natural gas network constraints;

[0045] The power system constraints include:

[0046] P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N),

[0047] Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N),

[0048] in,

[0049]

[0050] Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; P in,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V iRepresents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ ik represents the phase angle difference between grid node i and grid node k; G ik and B ik denote the real and imaginary parts of the elements in the i-th row and k-th column of the node admittance matrix respectively;

[0051] The gas network constraints include:

[0052] F G,j -F GAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ),

[0053]

[0054] P GAS,i =η g2p F GAS,j G HV (i,j∈N we ),

[0055]

[0056] In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

[0057] Further preferably, the node ranking index includes: node voltage growth and network management power flow concentration;

[0058] The node voltage increase includes:

[0059]

[0060] Where Vi 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid is stable after the unit load is increased at node k; K i represents the degree of node i; n represents the number of all points with voltage changes; N1 represents the number of nodes in the network;

[0061] The network management power flow concentration includes:

[0062]

[0063] Where μ is a constant; T 0 and π 0 Respectively represent standard temperature and standard pressure; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

[0064] Further preferably, the coupling modes include: random coupling, homogamous coupling and heterogamous coupling;

[0065] The random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes to be converted into electricity in the natural gas grid one by one;

[0066] The same matching coupling includes: arranging the voltage growth degree of the power grid nodes and the network management power flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one;

[0067] The heterogeneous coupling includes: arranging the voltage growth degrees of the power grid nodes in descending order, arranging the network management power flow concentration degrees of the natural gas network in ascending order, and then coupling and connecting them one by one.

[0068] Compared with the prior art, the present invention has the following beneficial effects:

[0069] Based on the traditional scheduling research, the present invention further considers the network topology of the coupling system, combines the network topology with the network operation characteristic parameters, and establishes the corresponding node sorting index. The optimal coupling mode of the electric-gas coupling system is obtained through calculation examples. Connecting in the optimal coupling mode avoids the waste of manpower and material resources when changing the coupling nodes in the subsequent optimization process. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0071] Figure 1 A schematic diagram of a flow chart of a method for optimizing an electrical-natural gas system coupling mode according to an embodiment of the present invention;

[0072] Figure 2 A schematic diagram of the network topology of an IEEE 39-node power system and a Belgian 20-node natural gas system according to an embodiment of the present invention;

[0073] Figure 3 It is a schematic diagram of numerical results of node voltage growth of the power system and network management power flow concentration of the natural gas network according to an embodiment of the present invention;

[0074] Figure 4 This is a schematic diagram of pressure changes over time at 20 nodes of a natural gas network according to an embodiment of the present invention;

[0075] Figure 5 This is a 24-hour branch circuit power diagram of an embodiment of the present invention;

[0076] Figure 6 A schematic diagram of a pressure variation curve of a gas network node over time according to an embodiment of the present invention;

[0077] Figure 7 The figure is a schematic diagram of a power variation curve of a power grid line over time according to an embodiment of the present invention. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0080] Embodiment 1:

[0081] like Figure 1 As shown, this embodiment provides a method for optimizing the coupling mode of an electric-natural gas system, comprising the following steps:

[0082] S1. Construct an optimization model of the coupling system and obtain the actual operating parameters of the coupling system based on the optimization model.

[0083] In this embodiment, the optimization model takes the sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization goal. Constraints include: power system constraints and natural gas network constraints.

[0084] Optimization goals include:

[0085]

[0086] In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n c Indicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes of natural gas; C w,j represents the gas source supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j Represents the active load removal amount of natural gas node j.

[0087] Power system constraints include:

[0088] Among them, formula (2) and formula (3) are the power balance equations of the power system nodes; formula (4) and formula (5) are the net injection equations of the power grid nodes.

[0089] P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N), (2)

[0090] Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N), (3)

[0091]

[0092] Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; Pin,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V i Represents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ io represents the phase angle difference between grid node i and grid node o; G io and B io denote the real and imaginary parts of the elements in the ith row and oth column of the node admittance matrix, respectively.

[0093] In the following formula, formula (6) is the active output constraint of the gas unit; formula (7) is the reactive output constraint of the gas unit; formula (8) and formula (9) are the active and reactive output constraints of conventional units. Formula (10) and formula (11) are the grid node voltage constraint and line capacity constraint respectively. Formula (12) is the allowable removal constraint of grid node load.

[0094]

[0095] V i min ≤V i ≤V i max (i∈N e ), (10)

[0096]

[0097] 0≤ΔP D,i ≤P D,i (i∈N e ), (12)

[0098] In the above formula, the superscripts max and min represent the upper limit and lower limit of the parameter respectively.

[0099] Gas network constraints include:

[0100] Among them, formula (13) is the node airflow balance equation of the natural gas system; formula (14) is the net input equation of the natural gas system; formula (15) is the conversion equation between the gas consumption and active output of the gas unit; equation (16) is the relationship equation between the pipeline flow and the node air pressure; equations (17) and (18) are the relationship equations between the compressor gas consumption and the node air pressure.

[0101] F G,j -FGAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ), (13)

[0102]

[0103] P GAS,i =η g2p F GAS,j G HV (i,j∈N we ), (15)

[0104]

[0105] In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

[0106] In the following formulas, formula (19) is the gas supply constraint of the natural gas network source; formula (20) is the gas pressure constraint of the natural gas network node; formula (21) is the gas pipeline capacity constraint of the natural gas network; formula (22) is the compressor boost ratio constraint; and formula (23) is the allowable removal constraint of the natural gas node load.

[0107]

[0108] 0≤ΔF D,j ≤F D,j (j∈N w ). (twenty three)

[0109] The interior point method is used to solve the above model to obtain actual operating parameters such as unit power, line flow, gas supply volume, and gas pipeline flow.

[0110] S2. Calculate node ranking indicators based on actual operating parameters.

[0111] In this embodiment, the node ranking index includes: node voltage growth and network management power flow concentration.

[0112] In the power system, when the unit load is increased at node k, the voltage amplitude change at node i after the system operation is stable is:

[0113] ΔV i k =|V i k -V i 0 |, (24)

[0114] Where V i 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid operation is stable after the unit load is increased at node k.

[0115] After the unit load of node k increases, the global voltage growth rate of node i is:

[0116]

[0117] Where n represents the number of points with voltage changes.

[0118] Then, the node voltage growth is:

[0119]

[0120] In the formula, K i represents the degree of node i; N1 represents the number of nodes in the network.

[0121] For the natural gas network, if there is a steady isothermal gas flow in a horizontal pipeline, the change in kinetic energy is negligible, and the friction coefficient and gas compressibility factor are constant throughout the length of the pipeline. For a complete turbulent flow in a high-pressure network, analogous to the branch power equation of the power network, according to the law of energy conservation, the flow rate under steady-state conditions of pipeline jk (j, k is a natural gas node) can be approximately expressed as:

[0122]

[0123] in,

[0124]

[0125] Therefore, the network management flow concentration includes:

[0126]

[0127] Wherein, μ is a constant, which is 6.4774 in this embodiment; T 0 and π 0 Denotes standard temperature and standard pressure, which are 288K and 101.03kpa respectively; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

[0128] S3. Determine the optimal coupling mode of the coupling system based on the node sorting index.

[0129] In this embodiment, the coupling modes include: random coupling, homogeneous coupling and heterogeneous coupling.

[0130] Random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes in the natural gas grid that need to be converted into electricity.

[0131] The same-matching coupling includes: arranging the voltage growth degree of the power grid nodes and the network management flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one.

[0132] The heterogeneous coupling includes: arranging the voltage growth of the power grid nodes in descending order, arranging the network management flow concentration of the natural gas network in ascending order, and then coupling and connecting them one by one.

[0133] The optimal coupling mode is determined through reliability indicators, where reliability evaluation indicators include: expected power shortage probability, power supply shortage expectation, expected gas shortage probability and gas supply shortage expectation.

[0134] The expected power shortage probability is the probability that the system fails to meet the user's power demand in the event of a failure, including:

[0135]

[0136] Where ξ represents the set of events of system load shedding; p ei represents the probability of load reduction in state i;

[0137] The power shortage expectation is the expected amount of power load reduction caused by system failures during the study period, including:

[0138]

[0139] In the formula, ΔP ei represents the amount of electric load reduction in the system under state i; T represents the research period;

[0140] The expected probability of out-of-gas includes:

[0141]

[0142] Where ψ represents the set of events of system gas load shedding; p gk represents the probability of gas load reduction under state k;

[0143] Inadequate gas supply expectations include:

[0144]

[0145] In the formula, Δq v,gk It represents the gas load reduction of the system in state k.

[0146] In order to facilitate observation and analysis of the results, the above four index values ​​are added together to obtain an overall index Re,p:

[0147] R e,p =P LOL +e ENS +P LOGL +e GNS (36)

[0148] The smaller the expected power shortage probability and the expected power supply shortage value, the more reliable the power grid is; the smaller the expected gas shortage probability and the expected gas supply shortage value, the more reliable the natural gas grid is. Therefore, the smaller the value of the overall reliability index, the more reliable the reliability of the coupled system is. This embodiment uses a non-sequential Monte Carlo simulation method to evaluate the reliability of the coupled system.

[0149] Embodiment 2:

[0150] This embodiment provides a coupling mode verification method, which selects an IEEE 39-node power system and a Belgian 20-node natural gas system to form a complete electric-gas coupling system. The network topology diagram of the two subsystems is as follows: Figure 2 As shown in the figure, nodes 30-39 of the power system were originally generated by coal-fired units. When forming a coupled system of natural gas power generation, the nodes connected to the natural gas grid are selected from 30-39.

[0151] Using the matpower package in matlab, the power flow calculations are performed on the IEEE 39-node power system and the Belgian 20-node natural gas system. The calculation method based on the node sorting index obtains the values ​​of the node voltage growth of the power system and the network management power flow concentration of the natural gas network, such as Figure 3 shown.

[0152] The coupling process is to replace the coal-fired units of the power system with the nodes of the natural gas system. Therefore, the coupling nodes of the power system only select the nodes originally connected to the coal-fired units: 30, 31, 32, 33, 34, 35, 36, 37, 38, 39. Figure 3 It can be seen that among the coal-fired unit nodes, node 39 has the smallest value and node 37 has the largest value. In addition, the values ​​of the other 8 nodes are the same. The natural gas system nodes are arranged in descending order according to the network management flow concentration index: 7, 6, 20, 19, 17, 18, 5, 1, 4, 2, 11, 10, 8, 9, 13, 12, 3, 16, 14, 15, among which the gas source nodes are 5, 1, 2, 8, 13, 14.

[0153] In view of the above-mentioned sorting conditions, this embodiment sets four conditions for the homogeneous and heterogeneous coupling modes:

[0154] Case 1: Only gas source nodes are connected on the natural gas grid side, and two nodes with the same index on the power grid side are connected. According to the node sorting index, the same coupling connects the three nodes 5, 1, and 2 with the largest index values ​​in the natural gas grid and the node 39 with the largest voltage increase on the power grid side, as well as nodes 30 and 31 in sequence; the opposite coupling connects nodes 5, 1, and 2 of the natural gas grid and node 37 with the smallest index value in the power grid, as well as nodes 38 and 36 in sequence; random coupling 1 uses SPSS to randomly sample the natural gas grid and the power grid, and connects nodes 1, 13, and 14 of the natural gas grid and nodes 31, 32, and 38 of the power grid in sequence; random coupling 2 uses SPSS software to group the nodes of the two networks, and then connects nodes 1, 2, and 8 of the natural gas grid and nodes 30, 31, and 39 of the power grid in sequence.

[0155] Case 2: Only gas source nodes are connected on the natural gas grid side, and nodes with the same indicators on the power grid side are connected to one. Homogeneous coupling connects nodes 5, 1, and 2 of the natural gas grid to nodes 39, 30, and 37 of the power grid in sequence; heterogeneous coupling connects nodes 5, 1, and 2 of the natural gas grid to nodes 37, 38, and 39 of the power grid in sequence; the connection method of random coupling 1 and random coupling 2 is the same as in case 1.

[0156] Case 3: On the gas grid side, regardless of whether the connected node is a gas source node, nodes with the same indicators on the grid side are connected to one. Homogeneous coupling connects nodes 7, 6, and 20 of the gas grid to nodes 39, 30, and 31 of the grid in sequence; heterogeneous coupling connects nodes 7, 6, and 20 of the gas grid to nodes 37, 38, and 36 of the grid in sequence; random coupling 1 connects nodes 5, 9, and 16 of the gas grid to nodes 34, 36, and 37 of the grid in sequence; random coupling 2 connects nodes 7, 14, and 17 of the gas grid to nodes 33, 36, and 37 of the grid in sequence.

[0157] Case 4: On the gas grid side, regardless of whether the connected node is a gas source node, two nodes with the same indicators on the grid side are connected. Homogeneous coupling connects nodes 7, 6, and 20 of the gas grid and nodes 39, 30, and 37 of the grid in sequence; heterogeneous coupling connects nodes 7, 6, and 20 of the gas grid and nodes 37, 38, and 39 of the grid in sequence; the connection method of random coupling 1 and random coupling 2 is the same as that in case 3.

[0158] Through the analysis of the results of the above four cases, the reliability index of the heterogeneous coupling system is significantly lower than that of other coupling systems, that is, the reliability of the heterogeneous coupling system is the highest. Among them, the heterogeneous coupling system in case 1 has the smallest reliability index, where nodes 5, 1, and 2 of the natural gas grid are connected to nodes 37, 38, and 36 of the power grid respectively.

[0159] In order to further illustrate that the heterogeneous coupling method verified in this embodiment makes the reliability of the electric-gas system higher, the connection mode of the heterogeneous coupling in this embodiment is compared with the simulation results of different documents. The comparative documents are: Document 1: Zhang Z, Wang C, Lv H, et al. Day-ahead optimal dispatch for integrated energy system considering power-to-gas and dynamic pipeline networks [J]. IEEE Transactions on Industry Applications, 2021, 57 (4): 3317-3328. Document 2: Jiang Mingzhe, Cheng Guixue, Zhao Jinbin. Two-level planning model of integrated energy system considering dynamic load-storage strategy [J]. Journal of Electric Power Science and Technology, 2022, 37 (5): 44-57. DOI: 10.19781 / j.issn.1673-9140.2022.05.005.

[0160] By analyzing the results, the reliability index values ​​of the coupling system obtained by the connection methods of Reference 1 and Reference 2 are all greater than the values ​​of the four cases, especially the value of Reference 1 is about 3.23 times greater than that of Case 1. By simulating the operation of this coupling system, the pressure change curve of the natural gas network node over time and the power change curve of the power grid line over time are obtained.

[0161] Figure 4The pressure changes of 20 nodes in the natural gas network over time. Among the 20 nodes, only node 1 has a change in pressure value. Node 1 has a pressure drop in the second hour, which drops by 10.73% and then stabilizes. Then, in the eighth hour, the pressure value rises by 12.29%, and after one hour, it drops again by 10.81%, and then remains stable. Except for node 1, the pressure of other nodes remains stable within 24 hours. Figure 5 It can be seen that each node of the power grid remains stable within 24 hours of operation. This shows that in the case of heterogeneous coupling, the operation of both the power grid and the natural gas grid is relatively stable.

[0162] Since the reliability index of document 1 is the highest, the operation of document 1 is simulated to obtain the pressure change curve of the natural gas network node over time and the power change curve of the power grid line over time.

[0163] from Figure 6 It can be seen that the pressure of three nodes has increased and decreased significantly twice, namely nodes 20, 19 and 18. The pressure value of node 18 first changed, suddenly increasing by 5.5% in the 12th hour and then suddenly decreasing by 10.1%. The pressure value of node 19 first changed, suddenly increasing by 5.6% in the 12th hour and then suddenly decreasing by 6.7%. The pressure value of node 20 first changed, suddenly increasing by 5.6% in the 12th hour and then suddenly decreasing by 6.5%. The second changes of the three nodes all increased suddenly and then decreased suddenly in the 16th hour. From Figure 7 It can be seen that the power changes of branch 3 and branch 5 within 24 hours are relatively large. Multiple sudden changes in pressure at multiple nodes will have a certain impact on the stability of the natural gas network, and irregular changes in power of multiple branches of the power grid will have a certain impact on the stability of the power grid.

[0164] Embodiment three:

[0165] The present embodiment provides an electrical-natural gas system coupling mode optimization system, including: a system model unit, a calculation unit and an optimization unit; the system model unit is used to construct a coupling system optimization model, and obtain actual operating parameters of the coupling system based on the optimization model; the calculation unit is used to calculate a node ranking index based on the actual operating parameters; the optimization unit is used to determine the optimal coupling mode of the coupling system based on the node ranking index.

[0166] The optimization model constructed by the system model unit takes the minimization of the sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization objective.

[0167] Optimization goals include:

[0168]

[0169] In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n c Indicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes of natural gas; C w,j represents the gas source supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j Represents the active load removal amount of natural gas node j.

[0170] The constraints of the optimization model include: power system constraints and natural gas network constraints.

[0171] Power system constraints include:

[0172] P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N), (38)

[0173] Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N), (39)

[0174] in,

[0175]

[0176] Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; P in,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V iRepresents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ io represents the phase angle difference between grid node i and grid node o; G io and B io denote the real and imaginary parts of the elements in the ith row and oth column of the node admittance matrix, respectively.

[0177] Gas network constraints include:

[0178] F G,j -F GAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ), (42)

[0179]

[0180] P GAS,i =η g2p F GAS,j G HV (i,j∈N we ), (44)

[0181]

[0182] In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

[0183] Specifically, the node ranking indicators include: node voltage growth and network management power flow concentration.

[0184] The node voltage increase includes:

[0185]

[0186] Where Vi 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid is stable after the unit load is increased at node k; K i represents the degree of node i; n represents the number of all points with voltage changes; N1 represents the number of nodes in the network.

[0187] The network management flow concentration includes:

[0188]

[0189] Where μ is a constant; T 0 and π 0 Respectively represent standard temperature and standard pressure; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

[0190] Among them, the coupling modes include: random coupling, homogamous coupling and heterogamous coupling;

[0191] Random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes in the natural gas grid that need to be converted into electricity;

[0192] The same-matching coupling includes: arranging the voltage growth degree of the grid nodes and the network management power flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one;

[0193] The heterogeneous coupling includes: arranging the voltage growth of the power grid nodes in descending order, arranging the network management flow concentration of the natural gas network in ascending order, and then coupling and connecting them one by one.

[0194] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A method for optimizing the coupling mode of electric-natural gas system, It is characterized in that The following steps are involved: S1. constructing a coupling system optimization model, and obtaining actual operating parameters of the coupling system based on the optimization model; S2. Calculate the node ranking index based on the actual operation parameters; S3. Determine the optimal coupling mode of the coupling system based on the node ranking index.

2. According to the method for optimizing the coupling mode of an electric-natural gas system according to claim 1, It is characterized in that The optimization model takes the minimum sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization goal; The optimization objectives include: In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n c Indicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes for natural gas; C w,j represents the gas supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j represents the active load removal amount of natural gas node j; The constraints of the optimization model include: power system constraints and natural gas network constraints; The power system constraints include: P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N), Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N), in, Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; P in,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V i Represents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ io represents the phase angle difference between grid node i and grid node o; G io and B io denote the real and imaginary parts of the elements in the ith row and oth column of the node admittance matrix respectively; The gas network constraints include: F G,j -F GAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ), P GAS,i =the g2p F GAS,j G HV (i,j∈N we ), In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

3. According to the method for optimizing the coupling mode of an electric-natural gas system as claimed in claim 1, It is characterized in that The node ranking indexes include: node voltage growth and network management power flow concentration; The node voltage increase includes: Where V i 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid is stable after the unit load is increased at node k; K i represents the degree of node i; n represents the number of all points with voltage changes; N1 represents the number of nodes in the network; The network management power flow concentration includes: Where μ is a constant; T 0 and π 0 Respectively represent standard temperature and standard pressure; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

4. According to the method for optimizing the coupling mode of an electric-natural gas system as claimed in claim 3, It is characterized in that The coupling modes include random coupling, homogamous coupling and heterogamous coupling; The random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes to be converted into electricity in the natural gas grid one by one; The same matching coupling includes: arranging the voltage growth degree of the power grid nodes and the network management power flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one; The heterogeneous coupling includes: arranging the voltage growth degrees of the power grid nodes in descending order, arranging the network management power flow concentration degrees of the natural gas network in ascending order, and then coupling and connecting them one by one.

5. An electrical-natural gas system coupling mode optimization system, the system is used to implement the method according to any one of claims 1 to 4, It is characterized in that include: System model unit, calculation unit and optimization unit; The system model unit is used to construct a coupling system optimization model, and obtain actual operating parameters of the coupling system based on the optimization model; The calculation unit is used to calculate the node ranking index based on the actual operation parameter; The optimization unit is used to determine the optimal coupling mode of the coupling system based on the node sorting index.

6. According to claim 5, an electrical-natural gas system coupling mode optimization system, It is characterized in that The optimization model constructed by the system model unit takes the minimum sum of the natural gas source consumption cost, the consumption cost of all non-gas conventional units in the power grid and the load shedding cost as the optimization target; The optimization objectives include: In the formula, C e,i represents the unit consumption cost of the conventional unit at the grid node i; n c Indicates the number of nodes in the power grid; P G,i represents the active output of conventional units at grid node i; R e,i represents the load shedding cost of grid node i; ΔP D,i represents the load shedding amount of grid node i; n w Indicates the number of nodes for natural gas; C w,j represents the gas supply cost of natural gas node j; F G,j represents the gas supply of natural gas node j; R w,j represents the active load removal cost of natural gas node j; ΔF D,j represents the active load removal amount of natural gas node j; The constraints of the optimization model include: power system constraints and natural gas network constraints; The power system constraints include: P G,i +P GAS,i -P D,i +ΔP D,i -P in,i =0(i∈N), Q G,i +Q GAS,i -Q D,i +ΔQ D,i -Q in,i =0(i∈N), in, Where P GAS,i represents the active output of the gas generator set at grid node i; P D,i represents the active load of grid node i; P in,i represents the net injected active power of grid node i; N represents a natural number set; Q G,i represents the reactive power output of conventional units at grid node i; Q GAS,i represents the reactive power output of conventional units at grid node i; Q D,i represents the reactive load of grid node i; Q in,i represents the net injected reactive power of grid node i; V i Represents the voltage amplitude of grid node i; N e represents the set of power grid nodes; θ io represents the phase angle difference between grid node i and grid node o; G io and B io denote the real and imaginary parts of the elements in the ith row and oth column of the node admittance matrix respectively; The gas network constraints include: F G,j -F GAS,j -F D,j +ΔF D,j -F in,j =0(j∈N w ), P GAS,i =the g2p F GAS,j G HV (i,j∈N we ), In the formula, F GAS,j 、F D,j and F in,j They represent the gas consumption, gas load and net gas injection volume of the gas group of natural gas node j respectively; N w represents the natural gas grid collection; f jk and τ jk They represent the gas volume flowing through the gas pipeline jk and the gas consumption of the compressor branch jk respectively; η g2p Indicates the power generation efficiency of the gas unit; N we Represents the set of coupling nodes between the natural gas grid and the power grid; π j represents the gas pressure of natural gas node j; M jk represents the air flow propagation parameter of pipeline jk; h jk represents the power consumption of the compressor branch jk; b jk represents the compressor constant; a, b, c are the consumption coefficients of the compressor.

7. According to claim 5, an electrical-natural gas system coupling mode optimization system, It is characterized in that The node ranking indexes include: node voltage growth and network management power flow concentration; The node voltage increase includes: Where V i 0 represents the voltage amplitude of node i in the initial steady state of the power network; V i k It indicates the voltage amplitude of node i when the grid is stable after the unit load is increased at node k; K i represents the degree of node i; n represents the number of all points with voltage changes; N1 represents the number of nodes in the network; The network management power flow concentration includes: Where μ is a constant; T 0 and π 0 Respectively represent standard temperature and standard pressure; D jk represents the inner diameter of the pipe between nodes j and k; Z g represents the average gas compressibility coefficient; λ represents the Lagrange multiplier; G represents the gas specific gravity; L jk represents the length of the pipeline between nodes j and k; T ga Indicates the average gas temperature.

8. According to claim 7, an electrical-natural gas system coupling mode optimization system, It is characterized in that The coupling modes include random coupling, homogamous coupling and heterogamous coupling; The random coupling includes: randomly connecting the coal-fired units in the power grid and the nodes to be converted into electricity in the natural gas grid one by one; The same matching coupling includes: arranging the voltage growth degree of the power grid nodes and the network management power flow concentration degree of the natural gas network in descending order, and then coupling and connecting them one by one; The heterogeneous coupling includes: arranging the voltage growth degrees of the power grid nodes in descending order, arranging the network management power flow concentration degrees of the natural gas network in ascending order, and then coupling and connecting them one by one.