+

CN112287286A - Electricity-gas comprehensive energy system forward-pushing back-substitution algorithm based on compensation airflow method - Google Patents

Electricity-gas comprehensive energy system forward-pushing back-substitution algorithm based on compensation airflow method Download PDF

Info

Publication number
CN112287286A
CN112287286A CN202011202420.XA CN202011202420A CN112287286A CN 112287286 A CN112287286 A CN 112287286A CN 202011202420 A CN202011202420 A CN 202011202420A CN 112287286 A CN112287286 A CN 112287286A
Authority
CN
China
Prior art keywords
node
natural gas
power
nodes
ring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011202420.XA
Other languages
Chinese (zh)
Other versions
CN112287286B (en
Inventor
李卫东
马俊
胡幸集
申家锴
任岷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian University of Technology
Original Assignee
Dalian University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian University of Technology filed Critical Dalian University of Technology
Priority to CN202011202420.XA priority Critical patent/CN112287286B/en
Publication of CN112287286A publication Critical patent/CN112287286A/en
Application granted granted Critical
Publication of CN112287286B publication Critical patent/CN112287286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

一种基于补偿气流法的电‑气综合能源系统前推回代算法,属于综合能源系统及多能潮流计算领域。首先,采用影响因子矩阵法改进传统前推回代算法,进而实现算法对配网中大量的PV节点的处理。其次,搭建天然气系统的管道模型,运用气电比拟的思想,将常用于电力系统的前推回代算法应用于天然气系统的潮流计算中。再次,对天然气系统中环网部分解环;采用补偿气流法进行求解,实现含环天然气系统的前推回代法潮流计算。最后,对电气综合能源系统间耦合部分进行求解计算。本发明实现了电‑气综合能源系统的整体潮流解析,具有收敛性好、运算速度快、对初值要求不高等优点,同时对于非线性的天然气系统含环问题,也提出一种收敛性很好的处理方法。

Figure 202011202420

A forward-backward generation algorithm for an electric-gas integrated energy system based on a compensation airflow method belongs to the field of integrated energy system and multi-energy power flow calculation. First, the impact factor matrix method is used to improve the traditional forward-backward algorithm, and then the algorithm can process a large number of PV nodes in the distribution network. Secondly, the pipeline model of the natural gas system is built, and the forward-backward algorithm, which is commonly used in the power system, is applied to the power flow calculation of the natural gas system by using the idea of gas-electricity comparison. Thirdly, the ring network part of the natural gas system is de-looped; the compensation flow method is used to solve the problem, and the forward-backward generation method of the power flow calculation of the natural gas system containing the ring is realized. Finally, the calculation of the coupling part between the electrical integrated energy systems is carried out. The invention realizes the overall power flow analysis of the electric-gas integrated energy system, and has the advantages of good convergence, fast calculation speed, and low requirements for initial values. good way to deal with it.

Figure 202011202420

Description

Electricity-gas comprehensive energy system forward-pushing back-substitution algorithm based on compensation airflow method
Technical Field
The invention belongs to the field of comprehensive energy systems and multi-energy load flow calculation, and relates to an electric-gas comprehensive energy system forward-backward substitution algorithm based on a compensation airflow method.
Background
The comprehensive energy system becomes one of the research hotspots of the current energy system, but because the energy sources are various and the power flow calculation is complex, finding a unified algorithm for power flow analysis is particularly important. Based on the core position of the power system in the comprehensive energy system, the comprehensive energy system is solved by adopting a resolving mode commonly adopted by the power system, so that the unification of the algorithm is realized.
The urban power grid has the characteristic of single-source radiation, load flow calculation is usually carried out by adopting a forward-backward substitution method, and the method has the obvious advantages of high calculation precision, less iteration times, lower requirement on initial values and the like. For an electric-gas integrated energy system, the radial topology of the gas distribution network offers the possibility of adaptation of the algorithm. However, because the gas network itself contains a ring, and the natural gas system is a nonlinear system, it cannot be handled by the superposition principle often used by the power system. Therefore, the traditional forward-backward substitution method suitable for power grid load flow calculation is popularized to natural gas network calculation, and a compensation airflow method is introduced, so that the algorithm can well process the ring-containing problem possibly existing in the electricity-gas integrated energy system.
The invention provides a forward-backward substitution algorithm of an electricity-gas comprehensive energy system based on a compensation airflow method. The method realizes the unification of the load flow calculation method of the electricity-gas integrated energy system, and simultaneously has good processing capability for the ring network structure with poor applicability of the traditional forward-backward substitution method.
Disclosure of Invention
Aiming at the problems, the invention provides a forward-backward substitution algorithm of an electricity-gas integrated energy system based on a compensation airflow method, which takes the problems that the load flow calculation of the integrated energy system is complex and the algorithm is not uniform into consideration. According to the core position of the power system in the comprehensive energy system, the method applies the forward-backward substitution algorithm commonly adopted by the power distribution network to the load flow calculation of the electricity-gas comprehensive energy system, and simultaneously introduces the compensating airflow method to process the ring network structure in the natural gas network, thereby realizing the unified solution of the forward-backward substitution algorithm of the electricity comprehensive energy system.
In order to achieve the purpose, the invention adopts the technical scheme that:
an electric-gas comprehensive energy system forward-pushing back-substitution algorithm based on a compensation airflow method comprises the following steps:
step 1: learning a forward-backward substitution algorithm of the power distribution network; the influence factor matrix method is adopted to improve the traditional forward-backward substitution algorithm, and further the algorithm can process a large number of PV nodes in the distribution network.
Step 2: building a pipeline model of a natural gas system; based on the improved forward-backward substitution algorithm in the step 1, the forward-backward substitution algorithm commonly used for the power system is applied to the load flow calculation of the natural gas system by using the gas-electricity comparison idea.
And step 3: the ring of the ring network part in the natural gas system is separated; and solving by adopting a compensation airflow method to realize the forward-backward substitution method load flow calculation of the natural gas system with the ring.
And 4, step 4: solving and calculating the coupling part between the electric comprehensive energy systems; the comprehensive steps 1-3 realize the forward-pushing back-substitution algorithm of the electricity-gas comprehensive energy system based on the compensation airflow method;
further, the step 1 specifically includes the following steps:
step 101: the power system advances back to the generation algorithm. The forward-backward substitution method is divided into two parts of power forward-forward substitution and voltage backward substitution. And starting power forward from the last node, calculating the power of the branch of the previous node at the sending end by the injection power of the receiving end node and the branch impedance data for each branch, and stopping power forward until the calculation of the power of the first node is finished. The power variation is as follows:
Figure BDA0002755795510000021
p, Q are the injected active and reactive power of the node respectively; u is the node voltage; r + jX is the branch impedance.
And calculating the node voltage of the receiving end node by the node voltage of the sending end node and the branch power for each branch from the first node, and stopping voltage back-generation until the calculation of all the tail end node voltages is completed. The real part and imaginary part of the voltage variation are as follows:
Figure BDA0002755795510000022
step 102: the impact factor matrix method. The traditional push-forward substitution method cannot well deal with the problem of multiple PV nodes in modern power systems. The impact factor matrix method is often used for processing. In brief, in the process of load flow calculation, a PV node can be treated as a common PQ node, after calculation convergence, the difference between a given value of a PV node voltage amplitude and a calculated value is used as a voltage unbalance amount, and then the reactive power compensation amount of the PV node is calculated by combining an influence factor matrix to correct the node voltage. Namely:
ΔU=IΔQ (3)
wherein, the delta U is a PV node voltage unbalance vector; delta Q is a PV node reactive compensation vector; and I represents an influence factor matrix, and the order of the influence factor matrix is the number of PV nodes in the network.
Step 103: and performing power flow analysis on the power distribution network model by adopting an improved forward-backward substitution method, judging whether all voltages meet a convergence judgment condition, and if not, correcting the injected reactive power. The convergence determination conditions of the PV nodes are:
Figure BDA0002755795510000023
in the formula
Figure BDA0002755795510000024
The node voltage at the ith PV node obtained by the calculation is obtained; u shapeschiA given node voltage magnitude at the ith PV node; epsilonpvIs the convergence accuracy.
When iteration is carried out until each node meets the precision requirement, the calculation is finished; otherwise, the iteration is continued until convergence.
The step 1 realizes the improvement of the traditional forward-backward substitution algorithm, so that the method is more suitable for load flow calculation of the actual power distribution network.
Further, the model building and power flow calculation method of the natural gas system is as described in step 2. The method specifically comprises the following steps:
step 201: and modeling a natural gas system. Natural gas pipeline models are often described by natural gas steady-state flow equations. Natural gas steady state gas flow can be expressed in terms of a one-dimensional compressible flow equation that describes the relationship between pressure, temperature, and flow through a pipeline. It should be noted that, considering that the actual operating pressure of the urban gas distribution network is high, the Weymouth formula applicable to the high-pressure pipe network is selected for description:
Figure BDA0002755795510000031
the parameter analysis of the above formula is shown in table 1.
TABLE 1 list of formula parameters
Figure BDA0002755795510000032
Transforming equation (5) to concentrate the natural gas pipeline intrinsic parameters as pipeline constants, equation (5) can be written as:
Figure BDA0002755795510000033
wherein p isiAnd pjAir pressure at nodes i and j; f. ofijIs the amount of airflow between nodes i and j; k is the constant of the pipeline, and the variables describing the constant are related to the diameter, the length and the like of the pipeline and are also given in the table 1. It can also be seen from equation (6) that, unlike power systems, natural gas systems are nonlinear systems.
Step 202: a forward-backward substitution algorithm of the natural gas system is given by adopting a comparative idea. Power system nodes are typically divided into balanced nodes of known voltage magnitude and phase angle, PQ nodes of known active and reactive power, and PV nodes of known active and voltage magnitude. The natural gas system nodes are therefore divided according to the known quantities as follows, as shown in table 2.
TABLE 2 analogy for power and gas system node classes
Figure BDA0002755795510000034
Step 203: combining the comparison between the natural gas system and the electric power system in step 202 and the electric power system forward-backward substitution algorithm in step 1, applying the forward-backward substitution method to the load flow calculation of the natural gas system by using the pipeline gas flow to simulate current, the node gas pressure to simulate voltage and the node gas load to simulate node power, wherein the forward-forward process is a gas flow convergence and superposition process, and the backward substitution process is calculated in formula (6).
And step 2, applying a forward-backward substitution algorithm suitable for power system load flow calculation to the natural gas system through a gas-electricity comparison idea, so as to realize load flow calculation of the natural gas system. The advantages of simple programming, high calculation precision and the like of the original algorithm are also reserved.
Further, the processing for the ring network structure of the natural gas system is as described in step 3, specifically as follows:
step 301: and (5) ring opening of the natural gas ring network. The ring network structure in the natural gas network is unlooped at nodes far away from the balance node so that the topology structure becomes a pure radiation mesh. The number of network branches is unchanged after the ring is disconnected, the number of the nodes is increased to be the number of the disconnected ring networks, and new nodes after the ring is disconnected are numbered again, so that the pure radial natural gas network after the ring is disconnected is obtained. The radial structure can be well solved by adopting the natural gas system forward-backward substitution algorithm given in the step 2, and the difference correction method of the solution result at the solution loop point is given in the step 302.
Step 302: and solving the natural gas network by a compensation gas flow method. For the radial natural gas network after ring-opening, the pressure of each node can be calculated by formula (6), and the pressure squared difference between the original node and the new node at the ring-opening position mentioned in step 301 can be described by the following formula:
ΔΠ=AI2+BI+C (7)
wherein Δ Π is the squared difference of the pressures at the solution ring nodes; i is the gas flow compensation between the ring-opening nodes; A. b, C are all constants, the magnitude of which is related to the pipe coefficient and the amount of load at the node. The specific calculation formula will be given in the detailed description.
As the quadratic term coefficient A is very small, neglecting the quadratic term coefficient to obtain a linear relation formula between the open loop point air pressure square difference and the compensating air flow. Since the actual air pressure is the same at the open loop point, the corresponding amount of airflow to compensate this air pressure difference to 0 is the amount of airflow in the actual operating circuit. One of the fitted curves from the following examples was selected here as shown in fig. 4. It can be seen that the fitting precision is very high after the quadratic term is ignored, so the algorithm has good convergence. For a natural gas system comprising a plurality of looped networks, the compensation airflow can influence the air pressure of each loop-breaking point. Given n ring-out nodes in the network, n can be made2The slope of each line is taken as an element of the correction matrix X, so that the correction matrix of the natural gas system compensated gas flow method under the multi-ring condition can be obtained.
Figure BDA0002755795510000041
Equation (8) can be written in simplified form:
ΔΠ=XΔI (9)
wherein: Δ Π is the squared difference of the air pressure at the solution ring; delta I is an airflow compensation quantity vector; x represents a correction matrix, and the order of the correction matrix is the number of rings in the network.
And 3, introducing a compensation airflow method, solving the problem of applicability of a forward-backward substitution method in the load flow calculation of the natural gas system with the ring, and obtaining a complete load flow calculation method of the natural gas system.
Further, for the electric-gas integrated energy system, the coupling part between systems and the overall calculation are as described in step 4, specifically as follows:
step 401: and modeling and solving the coupling part between the systems. Cogeneration units are one of the most common coupling elements in an electricity-heat-gas integrated energy system. Generally, the chemical energy of natural gas is converted into electrical energy and thermal energy by a gas turbine. The micro gas turbine is used for realizing the coupling of the electricity-gas integrated energy system.
The operating characteristics of a gas turbine plant are described by the following formula:
Figure BDA0002755795510000051
wherein L is the natural gas flow (m)3Q is natural gas heat value (KJ/m)3) And η is the conversion efficiency.
Step 402: the electric-gas comprehensive energy system is pushed forward to replace a power flow calculation method. Firstly, calculating the load flow of the urban power distribution network by adopting the method in the step 1, then converting the electric power required by the balance node of the power system into the consumed natural gas flow through a coupling element, finally determining the load of the natural gas load node, adopting the algorithm in the step 3, carrying out ring-opening on the natural gas network, and solving through a compensation gas flow method, thereby realizing the solution of the forward-backward substitution method of the electricity-gas integrated energy system based on the compensation gas flow method.
The invention has the beneficial effects that: the invention provides a forward-backward substitution algorithm of an electricity-gas comprehensive energy system based on a compensation airflow method. The method realizes the whole trend analysis of the electricity-gas comprehensive energy system, has the advantages of good convergence, high operation speed, low requirement on initial values and the like, and also provides a processing method with good convergence for the problem of the non-linear natural gas system containing rings. The method has important significance for analysis and calculation of the comprehensive energy system.
Drawings
FIG. 1 is a schematic illustration of a 5-node dual ring natural gas system;
FIG. 2 is a schematic diagram of a 7-node radial natural gas system;
FIG. 3 is a schematic diagram of a simple ring-containing gas network;
FIG. 4 is a schematic view of a curve fitted to the compensated air flow and air pressure;
FIG. 5 is a schematic diagram of an electric-gas integrated energy system.
Detailed Description
The invention is further described below in connection with specific embodiments.
The comprehensive energy system model is complex and inconvenient to analyze, and the electric power system is in a core position in the comprehensive energy system, and a related calculation and analysis method of the electric power system is very mature. Therefore, the trend calculation of the electricity-gas integrated energy system is analyzed by adopting a common forward-backward substitution method of the power distribution network in a gas-electricity analogy mode. Meanwhile, for the problem that the nonlinear gas network contains rings, a compensation gas flow method is introduced for processing. Finally, a forward-backward substitution calculation method of the electricity-gas comprehensive energy system based on the compensation airflow method is provided. The method has the advantages of good convergence, high operation speed, low requirement on initial values and the like. The method has important significance for analysis and calculation of the comprehensive energy system.
Step 1: learning a forward-backward substitution algorithm of the power distribution network; the influence factor matrix method is adopted to improve the traditional forward-backward substitution algorithm to realize the processing of a large number of PV nodes in the distribution network by the algorithm.
Step 2: building a pipeline model of a natural gas system; based on the algorithm of the step 1, a gas-electricity analogy idea is applied, and a forward-backward substitution algorithm commonly used for a power system is applied to load flow calculation of a natural gas system.
And step 3: the ring of the ring network part in the natural gas system is separated; and solving by adopting a compensation airflow method to realize the forward-backward substitution method load flow calculation of the natural gas system with the ring.
And 4, step 4: solving and calculating the coupling part between the electric comprehensive energy systems; the comprehensive steps 1-3 realize the forward-pushing back-substitution algorithm of the electricity-gas comprehensive energy system based on the compensation airflow method;
further, the step 1 specifically includes the following steps:
step 101: the power system advances back to the generation algorithm. The forward-backward substitution method is divided into two parts of power forward-forward substitution and voltage backward substitution. And starting power forward from the last node, calculating the power of the branch of the previous node at the sending end by the injection power of the receiving end node and the branch impedance data for each branch, and stopping power forward until the calculation of the power of the first node is finished. The power variation is as follows:
Figure BDA0002755795510000061
p, Q are the injected active and reactive power of the node respectively; u is the node voltage; r + jX is the branch impedance.
And calculating the node voltage of the receiving end node by the node voltage of the sending end node and the branch power for each branch from the first node, and stopping voltage back-generation until the calculation of all the tail end node voltages is completed. The real part and imaginary part of the voltage variation are as follows:
Figure BDA0002755795510000062
step 102: the impact factor matrix method. The traditional push-forward substitution method cannot well deal with the problem of multiple PV nodes in modern power systems. The impact factor matrix method is often used for processing. In brief, in the process of load flow calculation, a PV node can be treated as a common PQ node, after calculation convergence, the difference between a given value of a PV node voltage amplitude and a calculated value is used as a voltage unbalance amount, and then the reactive power compensation amount of the PV node is calculated by combining an influence factor matrix to correct the node voltage. Namely:
ΔU=IΔQ (3)
wherein, the delta U is a PV node voltage unbalance vector; delta Q is a PV node reactive compensation vector; and I represents an influence factor matrix, and the order of the influence factor matrix is the number of PV nodes in the network.
Step 103: and performing power flow analysis on the power distribution network model by adopting an improved forward-backward substitution method, judging whether all voltages meet a convergence judgment condition, and if not, correcting the injected reactive power. The convergence determination conditions of the PV nodes are:
Figure BDA0002755795510000071
in the formula
Figure BDA0002755795510000072
The node voltage at the ith PV node obtained by the calculation is obtained; u shapeschiA given node voltage magnitude at the ith PV node; epsilonpvIs the convergence accuracy.
When iteration is carried out until each node meets the precision requirement, the calculation is finished; otherwise, the iteration is continued until convergence.
The step 1 realizes the improvement of the traditional forward-backward substitution algorithm, so that the method is more suitable for load flow calculation of the actual power distribution network. Further, the model building and power flow calculation method of the natural gas system is as described in step 2. The method specifically comprises the following steps:
step 201: and modeling a natural gas system. Natural gas pipeline models are often described by natural gas steady-state flow equations. Natural gas steady state gas flow can be expressed in terms of a one-dimensional compressible flow equation that describes the relationship between pressure, temperature, and flow through a pipeline. It should be noted that, considering that the actual operating pressure of the urban gas distribution network is high, the Weymouth formula applicable to the high-pressure pipe network is selected for description:
Figure BDA0002755795510000073
the parameter analysis of the above formula is shown in table 1.
Transforming equation (5) to concentrate the natural gas pipeline intrinsic parameters as pipeline constants, equation (5) can be written as:
Figure BDA0002755795510000074
wherein p isiAnd pjAir pressure at nodes i and j; f. ofijIs the amount of airflow between nodes i and j; k is the pipe constant, andthe variables relating to pipe diameter, length, etc. are also given in table 1. It can also be seen from equation (6) that, unlike power systems, natural gas systems are nonlinear systems.
Step 202: a forward-backward substitution algorithm of the natural gas system is given by adopting a comparative idea. Power system nodes are typically divided into balanced nodes of known voltage magnitude and phase angle, PQ nodes of known active and reactive power, and PV nodes of known active and voltage magnitude. The natural gas system nodes are therefore divided according to the known quantities as follows, as shown in table 2.
Step 203: combining the comparison between the natural gas system and the electric power system in step 202 and the electric power system forward-backward substitution algorithm in step 1, applying the forward-backward substitution method to the load flow calculation of the natural gas system by using the pipeline gas flow to simulate current, the node gas pressure to simulate voltage and the node gas load to simulate node power, wherein the forward-forward process is a gas flow convergence and superposition process, and the backward substitution process is calculated in formula (6).
And step 2, applying a forward-backward substitution algorithm suitable for power system load flow calculation to the natural gas system through a gas-electricity comparison idea, so as to realize load flow calculation of the natural gas system. The advantages of simple programming, high calculation precision and the like of the original algorithm are also reserved. Further, the processing for the ring network structure of the natural gas system is as described in step 3, specifically as follows:
step 301: and (5) ring opening of the natural gas ring network. A natural gas network, such as the ring network of fig. 1, is looped at a node such that its topology becomes a purely radiative mesh. As shown in fig. 2, is a new system structure after the ring is released. Since the ring is broken at the nodes 3 and 4, more new nodes are set as the nodes 6 and 7 after the ring is broken. The radial structure after the ring is solved by adopting the natural gas system forward-backward substitution algorithm given in the step 2, and the difference correction method of the solving result at the ring-opening point is given in the step 302.
Step 302: and solving the natural gas network by a compensation gas flow method. The modification method is given by taking a simple ring-containing gas network as an example, as shown in fig. 3. This is a simple 3-node ring network and is broken into nodes 3 and 3' at node 3. The air pressure square difference between each adjacent node can be calculated by combining the formula (6), and further the air pressure square difference at the ring-opening node can be obtained, namely:
Figure BDA0002755795510000081
wherein I is the gas flow compensation between the ring-opening nodes; i is2,I3Injecting a flow of gas into the node; k12,K23,K13Is the corresponding pipe constant.
As the quadratic term coefficient A is very small, neglecting the quadratic term coefficient to obtain a linear relation formula between the open loop point air pressure square difference and the compensating air flow. Since the actual air pressure is the same at the open loop point, the corresponding amount of airflow to compensate this air pressure difference to 0 is the amount of airflow in the actual operating circuit. One of the fitted curves from the following examples was selected here as shown in fig. 4. It can be seen that the fitting precision is very high after the quadratic term is ignored, so the algorithm has good convergence. For a natural gas system comprising a plurality of looped networks, the compensation airflow can influence the air pressure of each loop-breaking point. Given n ring-out nodes in the network, n can be made2The slope of each line is taken as an element of the correction matrix X, so that the correction matrix of the natural gas system compensated gas flow method under the multi-ring condition can be obtained.
Figure BDA0002755795510000082
Equation (8) can be written in simplified form:
ΔΠ=XΔI (9)
wherein: Δ Π is the squared difference of the air pressure at the solution ring; delta I is an airflow compensation quantity vector; x represents a correction matrix, and the order of the correction matrix is the number of rings in the network.
And 3, introducing a compensation airflow method, solving the problem of applicability of a forward-backward substitution method in the load flow calculation of the natural gas system with the ring, and obtaining a complete load flow calculation method of the natural gas system. For the electricity-gas integrated energy system, the coupling part and the overall calculation between the systems are as described in step 4, which specifically includes the following steps:
step 401: and modeling and solving the coupling part between the systems. Cogeneration units are one of the most common coupling elements in an electricity-heat-gas integrated energy system. Generally, the chemical energy of natural gas is converted into electrical energy and thermal energy by a gas turbine. The micro gas turbine is used for realizing the coupling of the electricity-gas integrated energy system.
The operating characteristics of a gas turbine plant are described by the following formula:
Figure BDA0002755795510000091
wherein L is the natural gas flow (m)3Q is natural gas heat value (KJ/m)3) And η is the conversion efficiency.
Step 402: the electric-gas comprehensive energy system is pushed forward to replace a power flow calculation method. Firstly, calculating the load flow of the urban power distribution network by adopting the method in the step 1, then converting the electric power required by the PV node of the electric power system into the consumed natural gas flow through a coupling element, finally determining the load of the natural gas load node, adopting the algorithm in the step 3, carrying out ring-opening on the natural gas network, and solving through a compensation gas flow method, thereby realizing the solution of the forward-backward substitution method of the electricity-gas integrated energy system based on the compensation gas flow method.
First, the natural gas system shown in fig. 1 is taken as an example to verify the correctness of the compensated gas flow method. In the embodiment, the air pressure of a balance node, namely the node 1, is 60 Bar; an average compressibility factor of 0.95; the temperature of the natural gas is 288K; the specific gravity of the natural gas is 0.589; taking 1.175 as the polytropic exponent; the heat value of the natural gas is 39MJ/m3. Data on the length and diameter of the pipe are not given here. The topology of the network after the ring is broken is shown in fig. 2. The calculation results are shown in table 3 using the linearized correction matrix compensation method and the gradient descent method, respectively. The iteration precision is selected to be 0.05 (the magnitude order of the pressure square initial value is 10)3)。
TABLE 3 comparison of gas network energy flow calculation results
Figure BDA0002755795510000092
Comparing the results of the two algorithms in table 3, the maximum error of the air pressure is 0.000336%, and the maximum error of the air flow is 0.0015%. The applicability of the algorithm was verified. Meanwhile, when the calculation precision of the algorithm is similar to that of a gradient descent method, the algorithm can be converged only by iterating for 6 times, and meanwhile, the algorithm also has many advantages of load flow calculation of a forward-backward substitution method.
Taking the schematic diagram of the electric-gas integrated energy system shown in fig. 5 as an example, the electric power subsystem and the natural gas subsystem are coupled through the CHP, and EBi and GBi represent the electric power node and the natural gas node, respectively. Here, the power system works in a grid-connected mode, the node 1 is connected with a large power grid to serve as a balance node, the nodes 12 and 13 are PV nodes, and the conversion efficiency of the gas turbine set is 0.57. The calculation results are shown in tables 4 and 5.
TABLE 4 distribution network node voltage data comparison
Figure BDA0002755795510000101
TABLE 5 Natural gas System energy flow calculation results
Figure BDA0002755795510000102
The above-mentioned embodiments only express the embodiments of the present invention, but not should be understood as the limitation of the scope of the invention patent, it should be noted that, for those skilled in the art, many variations and modifications can be made without departing from the concept of the present invention, and these all fall into the protection scope of the present invention.

Claims (3)

1.一种基于补偿气流法的电-气综合能源系统前推回代算法,其特征在于,包括以下步骤:1. an electric-pneumatic integrated energy system forward-backward generation algorithm based on compensating airflow method, is characterized in that, comprises the following steps: 步骤1:了解配电网的前推回代算法;采用影响因子矩阵法改进传统前推回代算法,进而实现算法对配网中大量的PV节点的处理;Step 1: Understand the forward-backward generation algorithm of the distribution network; use the impact factor matrix method to improve the traditional forward-backward generation algorithm, and then realize the algorithm to process a large number of PV nodes in the distribution network; 步骤2:搭建天然气系统的管道模型;基于步骤1改进的前推回代算法,运用气电比拟的思想,将常用于电力系统的前推回代算法应用于天然气系统的潮流计算中;Step 2: Build the pipeline model of the natural gas system; based on the improved forward-backward generation algorithm in step 1, apply the forward-backward generation algorithm commonly used in the power system to the power flow calculation of the natural gas system by using the idea of gas-electricity comparison; 步骤3:对天然气系统中环网部分解环;采用补偿气流法进行求解,实现含环天然气系统的前推回代法潮流计算;Step 3: De-ring part of the ring network in the natural gas system; use the compensation gas flow method to solve the problem, and realize the power flow calculation of the natural gas system containing the ring by the forward push-back substitution method; 步骤301:天然气环网解环;将天然气网络中的环网结构在其中远离平衡节点的节点处解环使得其拓扑结构变为纯辐射网状;解环后网络支路数不变,节点增加的个数为解开的环网个数,对解环后的新节点进行重新编号,即获得了解环后的纯辐射状天然气网络;辐射状结构可以很好的采用步骤2给出的天然气系统前推回代算法求解;Step 301: De-ring the natural gas ring network; de-ring the ring network structure in the natural gas network at the nodes far away from the balance node so that its topology becomes a pure radial network; after de-ring, the number of network branches remains unchanged, and the nodes increase The number is the number of disassembled ring networks, and the new nodes after disassembly are renumbered, that is, the pure radial natural gas network after disassembly is obtained; the radial structure can well use the natural gas system given in step 2. The forward and backward algorithm is solved; 步骤302:补偿气流法求解天然气网络;对于解环后的辐射状天然气网络,通过公式(6)计算出各节点的气压大小;Step 302: Solve the natural gas network by the compensation gas flow method; for the radial natural gas network after de-ring, calculate the air pressure of each node by formula (6);
Figure FDA0002755795500000011
Figure FDA0002755795500000011
其中,pi和pj为节点i和j处的气压;fij为节点i和j间的气流量;K为管道常数;Among them, p i and p j are the air pressures at nodes i and j; f ij is the air flow between nodes i and j; K is the pipe constant; 在步骤301中所提到的解环处原节点与新节点的气压平方差可由下式描述:The squared difference of air pressure between the original node and the new node at the de-ring mentioned in step 301 can be described by the following formula: ΔΠ=AI2+BI+C (7)ΔΠ=AI 2 +BI+C (7) 其中,ΔΠ为解环节点处的气压平方差;I为解环节点间的气流量补偿;A、B、C均为常数,大小与管道系数以及节点处负荷量有关;Among them, ΔΠ is the square difference of air pressure at the solution ring node; I is the air flow compensation between the solution ring nodes; A, B, C are all constants, and the magnitude is related to the pipeline coefficient and the load at the node; 对于含有多个环网的天然气系统来说,补偿气流会对各解环点气压均产生影响;假定在网络中有n个解环节点,就可以做出n2条曲线,将这些线的斜率分别作为修正矩阵X的元素,即可获得多环情况下天然气系统补偿气流法的修正矩阵;For a natural gas system with multiple ring networks, the compensation airflow will affect the pressure of each ring-resolving point; assuming that there are n ring-resolving points in the network, n 2 curves can be drawn, and the slopes of these lines can be calculated Respectively as the elements of the correction matrix X, the correction matrix of the natural gas system compensation gas flow method under the multi-ring case can be obtained;
Figure FDA0002755795500000012
Figure FDA0002755795500000012
公式(8)可以简化的写成:Equation (8) can be simplified as: ΔΠ=XΔI (9)ΔΠ=XΔI (9) 其中:ΔΠ为解环处气压的平方差;ΔI为气流量补偿量向量;X表示修正矩阵,其阶数即为网络中环的个数;Among them: ΔΠ is the squared difference of the air pressure at the decoupling place; ΔI is the air flow compensation vector; X represents the correction matrix, and its order is the number of rings in the network; 步骤4:对电气综合能源系统间耦合部分进行求解计算;综合步骤1-3实现基于补偿气流法的电-气综合能源系统前推回代算法;Step 4: Solve and calculate the coupling part between the electrical integrated energy systems; comprehensively implement steps 1-3 to realize the forward-backward substitution algorithm of the electrical-gas integrated energy system based on the compensated airflow method; 步骤401:系统间耦合部分建模求解;Step 401: Modeling and solving of the coupling part between systems; 采用微型燃气轮机实现电-气综合能源系统的耦合;燃气轮机组的工作特性由下式描述:The coupling of the electric-gas integrated energy system is realized by using a micro gas turbine; the working characteristics of the gas turbine unit are described by the following formula:
Figure FDA0002755795500000021
Figure FDA0002755795500000021
其中,L为天然气流量(m3/s),q为天然气热值(KJ/m3),η为转换效率;Wherein, L is the flow rate of natural gas (m 3 /s), q is the calorific value of natural gas (KJ/m 3 ), and η is the conversion efficiency; 步骤402:电-气综合能源系统前推回代潮流计算方法;Step 402: the forward-backward generation power flow calculation method of the electric-gas integrated energy system; 首先采用步骤1所述方法计算城市配电网潮流,接着将电力系统平衡节点所需电功率通过耦合元件折算消耗的天然气流量,最后确定天然气负荷节点负荷,采用步骤3的算法,对天然气网络进行解环,并通过补偿气流法加以求解,实现了基于补偿气流法的电-气综合能源系统前推回代法的求解。Firstly, the method described in step 1 is used to calculate the flow of the urban distribution network, then the electric power required by the balance node of the power system is converted into the natural gas flow consumed by the coupling element, and finally the load of the natural gas load node is determined, and the algorithm of step 3 is used to solve the natural gas network. The loop is solved by the compensated airflow method, and the solution of the forward-backward substitution method of the electric-pneumatic integrated energy system based on the compensated airflow method is realized.
2.根据权利要求1所述的一种基于补偿气流法的电-气综合能源系统前推回代算法,其特征在于,所述步骤1具体包括以下步骤:2. a kind of electric-pneumatic integrated energy system forward push-back generation algorithm based on compensation airflow method according to claim 1, is characterized in that, described step 1 specifically comprises the following steps: 步骤101:电力系统前推回代算法;前推回代法分为功率前推和电压回代两个部分;从末节点开始功率前推,对每条支路,由受端节点的注入功率和支路阻抗数据计算送端前一节点支路的功率,直到完成首节点功率的计算时停止为功率前推;功率变化量如下:Step 101: The forward push-back generation algorithm of the power system; the forward push-back method is divided into two parts: power forward push and voltage backward generation; the power forward push starts from the end node, and for each branch, the power injected by the receiving end node is used. and branch impedance data to calculate the power of the branch of the node before the sending end, until the calculation of the power of the first node is completed, it stops being the power forward; the power change is as follows:
Figure FDA0002755795500000022
Figure FDA0002755795500000022
其中,P、Q分别为节点的注入有功、无功功率;U为节点电压;R+jX为支路阻抗;Among them, P and Q are the injected active and reactive power of the node respectively; U is the node voltage; R+jX is the branch impedance; 从首节点开始,对每条支路,由送端节点的节点电压和支路功率计算受端节点的节点电压,直到完成所有末端节点电压的计算时停止为电压回代;电压变化量实部虚部如下:Starting from the head node, for each branch, the node voltage of the receiving node is calculated from the node voltage of the sending node and the power of the branch, until the calculation of the voltages of all the end nodes is completed, and the voltage return is stopped; the real part of the voltage change The imaginary part is as follows:
Figure FDA0002755795500000023
Figure FDA0002755795500000023
步骤102:影响因子矩阵法;在潮流计算的过程中,先将PV节点当作普通的PQ节点来处理,待计算收敛后,将PV节点电压幅值的给定值与计算值之差作为电压不平衡量,再结合影响因子矩阵计算出PV节点的无功功率补偿量对节点电压进行修正;即:Step 102: Influence factor matrix method; in the process of power flow calculation, the PV node is first treated as an ordinary PQ node, and after the calculation is converged, the difference between the given value of the PV node voltage amplitude and the calculated value is used as the voltage Unbalance amount, and then combined with the influence factor matrix to calculate the reactive power compensation amount of the PV node to correct the node voltage; namely: ΔU=IΔQ (3)ΔU=IΔQ (3) 其中,ΔU为PV节点电压不平衡向量;ΔQ为PV节点无功补偿量向量;I表示影响因子矩阵,其阶数即为网络中PV节点个数;Among them, ΔU is the PV node voltage unbalance vector; ΔQ is the PV node reactive power compensation vector; I represents the influence factor matrix, and its order is the number of PV nodes in the network; 步骤103:采用改进后的前推回代法对配电网模型进行潮流解析,判断所有的电压是否满足收敛判定条件,若不满足则对注入无功功率进行修正;PV节点的收敛判定条件为:Step 103: Use the improved forward-backward substitution method to analyze the power flow of the distribution network model, determine whether all the voltages meet the convergence judgment conditions, and if not, correct the injected reactive power; the PV node convergence judgment conditions are: :
Figure FDA0002755795500000031
Figure FDA0002755795500000031
其中,
Figure FDA0002755795500000032
为本次计算得到的第i个PV节点处的节点电压;Uschi为第i个PV节点处的给定节点电压幅值;εpv为收敛精度;
in,
Figure FDA0002755795500000032
is the node voltage at the i-th PV node obtained by this calculation; U schi is the given node voltage amplitude at the i-th PV node; ε pv is the convergence accuracy;
迭代至各节点满足精度要求时,计算结束;否则继续迭代直至收敛。When iteratively reaches the accuracy requirements of each node, the calculation ends; otherwise, continue to iterate until convergence.
3.根据权利要求1所述的一种基于补偿气流法的电-气综合能源系统前推回代算法,其特征在于,所述步骤2给出天然气系统的模型搭建以及潮流计算方法,具体包括以下步骤:3. a kind of electric-gas integrated energy system forward-backward generation algorithm based on compensation gas flow method according to claim 1, is characterized in that, described step 2 provides the model building of natural gas system and power flow calculation method, specifically comprises The following steps: 步骤201:天然气系统建模;天然气管道模型常用天然气稳态气流方程描述,选取适用于高压管网的Weymouth公式加以描述:Step 201: natural gas system modeling; the natural gas pipeline model is usually described by the natural gas steady-state gas flow equation, and the Weymouth formula suitable for the high-pressure pipeline network is selected to describe:
Figure FDA0002755795500000033
Figure FDA0002755795500000033
上述公式的参数解析如表1所示;The parameter analysis of the above formula is shown in Table 1; 表1 公式参数列表Table 1 Formula parameter list
Figure FDA0002755795500000034
Figure FDA0002755795500000034
对公式(5)进行变换,将天然气管道固有的参数集中为管道常数,公式(5)可写成:Transforming formula (5), and concentrating the inherent parameters of natural gas pipelines into pipeline constants, formula (5) can be written as:
Figure FDA0002755795500000035
Figure FDA0002755795500000035
其中,pi和pj为节点i和j处的气压;fij为节点i和j间的气流量;K为管道常数,与管道直径,长度等变量有关描述其的变量也均已在表1中给出;Among them, p i and p j are the air pressures at nodes i and j; f ij is the air flow between nodes i and j; K is the pipe constant, and the variables related to the pipe diameter, length and other variables have also been described in the table. given in 1; 步骤202:采用比拟的思想给出天然气系统的前推回代算法;电力系统节点通常分为已知电压幅值与相角的平衡节点、已知有功功率与无功功率的PQ节点和已知有功功率与电压幅值的PV节点;因此根据已知量的不同将天然气系统节点作如下划分,如表2所示;Step 202: The forward-backward generation algorithm of the natural gas system is given by using the analogy idea; the power system nodes are usually divided into balance nodes with known voltage amplitude and phase angle, PQ nodes with known active power and reactive power, and known power system nodes. PV nodes of active power and voltage amplitude; therefore, the natural gas system nodes are divided as follows according to different known quantities, as shown in Table 2; 表2 电力系统和天然气系统节点类别的类比Table 2 Analogy of power system and natural gas system node categories
Figure FDA0002755795500000041
Figure FDA0002755795500000041
步骤203:结合步骤202天然气系统与电力系统比拟以及步骤1的电力系统前推回代算法,以管道气流量类比电流,节点气压类比电压,节点气负荷类比节点功率,将前推回代法应用至天然气系统的潮流计算,其中前推过程即为气流量的汇聚叠加过程,回代过程则由公式(6)中计算。Step 203: Combining the comparison between the natural gas system and the power system in step 202 and the forward push-back substitution algorithm of the power system in step 1, the forward push-back substitution method is applied by using the pipeline gas flow analogy to the current, the node gas pressure analogy to the voltage, and the node gas load analogy to the node power. In the calculation of the power flow to the natural gas system, the forward process is the convergence and superposition process of the gas flow, and the back substitution process is calculated in formula (6).
CN202011202420.XA 2020-11-02 2020-11-02 Electric-gas comprehensive energy system forward push back algorithm based on compensation airflow method Active CN112287286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011202420.XA CN112287286B (en) 2020-11-02 2020-11-02 Electric-gas comprehensive energy system forward push back algorithm based on compensation airflow method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011202420.XA CN112287286B (en) 2020-11-02 2020-11-02 Electric-gas comprehensive energy system forward push back algorithm based on compensation airflow method

Publications (2)

Publication Number Publication Date
CN112287286A true CN112287286A (en) 2021-01-29
CN112287286B CN112287286B (en) 2024-03-26

Family

ID=74353439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011202420.XA Active CN112287286B (en) 2020-11-02 2020-11-02 Electric-gas comprehensive energy system forward push back algorithm based on compensation airflow method

Country Status (1)

Country Link
CN (1) CN112287286B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080300802A1 (en) * 2007-05-30 2008-12-04 Iqbal Lakhani Method of measuring gas flow
CN105807633A (en) * 2016-05-10 2016-07-27 大连理工大学 Scheduling method of combined heat and power system based on central heating pipe network and building energy storage to absorb wind power
CN111030120A (en) * 2019-12-05 2020-04-17 国网辽宁省电力有限公司大连供电公司 Calculation method of power flow on unified platform of urban integrated energy network
CN111428351A (en) * 2020-03-11 2020-07-17 国网辽宁省电力有限公司大连供电公司 Power flow calculation method for electric-thermal integrated energy system based on forward-backward substitution method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080300802A1 (en) * 2007-05-30 2008-12-04 Iqbal Lakhani Method of measuring gas flow
CN105807633A (en) * 2016-05-10 2016-07-27 大连理工大学 Scheduling method of combined heat and power system based on central heating pipe network and building energy storage to absorb wind power
CN111030120A (en) * 2019-12-05 2020-04-17 国网辽宁省电力有限公司大连供电公司 Calculation method of power flow on unified platform of urban integrated energy network
CN111428351A (en) * 2020-03-11 2020-07-17 国网辽宁省电力有限公司大连供电公司 Power flow calculation method for electric-thermal integrated energy system based on forward-backward substitution method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
瞿小斌 等: "基于串行和并行ADMM算法的电―气能量流分布式协同优化", 电力系统自动化, 25 February 2017 (2017-02-25), pages 12 - 18 *

Also Published As

Publication number Publication date
CN112287286B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN105046369B (en) An energy center-based electrical hybrid system modeling and optimal scheduling method
CN112016033B (en) Electric-thermal-gas comprehensive energy system tide calculation method based on forward-push back substitution method
CN108241782B (en) A hybrid transient analysis method and hybrid transient analysis system
CN111428351B (en) Power flow calculation method for electric-thermal integrated energy system based on forward push-back method
CN108363306A (en) Micro-capacitance sensor distributed director parameter determination method based on Linear-Quadratic Problem optimization
CN107947245B (en) Equivalent optimal power flow model construction method considering natural gas system constraint
Eltamaly et al. Load flow analysis by gauss-seidel method; a survey
CN103971026A (en) General method for calculating tide of positive power distribution networks
CN113849946B (en) A modeling and power flow calculation method for an electric-thermal interconnected integrated energy system
CN109347141A (en) A design method of sliding mode controller for grid-side terminal of doubly-fed wind power generation system
CN110866213A (en) Multi-network steady-state energy flow analysis method and device for electricity-gas integrated energy system
CN113517697A (en) Gas-electricity combined network steady-state load flow calculation method based on all-pure embedding method
CN115062555B (en) A direct calculation method of exergy flow in integrated energy system based on non-equilibrium node exergy
Tian et al. Modeling and simulation for multi energy flow coupled network computing
CN110323751A (en) A kind of weak looped distribution network tidal current computing method containing distributed generation resource
CN112287286A (en) Electricity-gas comprehensive energy system forward-pushing back-substitution algorithm based on compensation airflow method
CN107171329A (en) A kind of distribution power system load flow calculation method containing new-energy grid-connected
WO2024131301A1 (en) Improved global gradient method for steady flow simulation of complex hydropower station pipe network
Yuan et al. A multi-energy flow calculation method considering multiple energy coupling operation modes
CN104598728B (en) A kind of meter and the power system state estimation method containing wind-power electricity generation of frequency change
CN114549232B (en) Calculation method of hybrid energy flow in electric-thermal integrated energy system
CN110112781A (en) A kind of comprehensive energy electric system distribution interconnection modeling and analysis methods
Chang et al. Research on analytical method of Thevenin equivalent parameters for power system considering wind power
CN113363990B (en) HELM power flow calculation method considering PI node
CN114421516A (en) Output optimization method for offshore wind farms under static conditions based on second-order cone-convex relaxation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载