OPTIMIZATION METHOD FOR NATURAL GAS PIPELINE OPERATION UNDER THE CARBON NEUTRALITY TARGET
20230071756 · 2023-03-09
Assignee
Inventors
- Enbin LIU (Chengdu, CN)
- Yong Peng (Chengdu, CN)
- Shanbi PENG (Chengdu, CN)
- Bin YU (Chengdu, CN)
- Hongbing ZHANG (Chengdu, CN)
Cpc classification
Y02P80/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06Q10/04
PHYSICS
International classification
Abstract
The present invention discloses an optimization method for natural gas pipeline operation under the carbon neutrality target. From the perspective of energy structure adjustment, the present invention proposes a complete low-carbon and low-consumption optimization model of long-distance natural gas transmission network, which is used for fine calculation of multi-energy carbon emissions and energy consumption in the transportation process of natural gas pipeline network; according to different energy structure backgrounds, the corresponding objective function for minimum carbon emissions is established, the optimization algorithm is adopted to solve the objective function for minimum carbon emissions and work out the optimal scheduling scheme. The present invention can realize energy conservation and emission reduction in the process of pipeline transportation and provide technical support for achieving the target of “peak carbon dioxide emissions and carbon neutrality” in the entire natural gas industry of China as early as possible.
Claims
1. An optimization method for natural gas pipeline operation under the carbon neutrality target, comprising the following steps: Step 1: Determine type of decision variable, and obtain initial inlet parameters of a compressor station; the decision variable is as follows:
X=(Q,N,R,S) (1) Where, X is the decision variable; Q is the natural gas pipeline transmission capacity, in m.sup.3/s; N is the number of compressors started in each compressor station; R is a rotating speed of compressor, in l/min; S is a connection status between two pipelines; Step 2: Judge the connection status between two pipes, determine a gas flow of each pipe according to the connection status, and then calculate outlet pressure and outlet temperature of a compressor station; Step 3: Configure the compressor station to make the outlet pressure of the compressor station equal to the inlet pressure of a next pipe section and the outlet temperature of the compressor station equal to the inlet temperature of the next pipe section, and then calculate a terminal temperature and terminal pressure of the next pipe section; Step 4: Configure a previous pipe section to make the terminal pressure of the previous pipe section equal to the inlet pressure of compressor station at the next section and the terminal temperature of the previous pipe section equal to the inlet temperature of the compressor station at the next section; repeat the Steps 2 to 4 until the pressure and temperature changes of each compressor station in the system are calculated; Step 5: Set a constraint conditions and calculate the gas consumption of gas driven compressor and a power consumption of the electric driven compressor in the natural gas pipeline system; Step 6: Identify a carbon emission coefficient, calculate carbon emissions of compressors driven by different energy sources, and establish an objective function for minimum carbon emissions; when the objective function for minimum carbon emissions is established, the following conditions are assumed: the gas flow in the natural gas pipeline is steady and the gas flow is equally distributed between compressors in each compressor station; and the objective function for minimum carbon emissions is shown as follows:
2. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein in the Step 1, when S=0, it indicates that the communication valve between two pipes is closed and there is no flow distribution in the pipe; and when S=1, it indicates that the communication valve between two pipes is opened and there is flow distribution between the pipes.
3. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein in the Step 2, the outlet pressure and outlet temperature of the compressor station are respectively calculated according to the following equations:
4. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein in the Step 3, the terminal temperature and terminal pressure of the next pipe section are respectively calculated according to the following equations:
5. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 4, wherein in the Equation (8), the hydraulic friction coefficient is calculated through the following equation:
6. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein in the Step 5, the constraint conditions comprise: (1) Constraint on compressor speed
R.sub.min≤R.sub.n≤R.sub.max (10) Where, R.sub.min is the minimum rotating speed of compressor, in l/min; R.sub.n is the rotating speed of compressor in the Compressor Station n; R.sub.max is the maximum rotating speed of compressor, in l/min; (2) Constraint on pipeline pressure
P.sub.m min≤P.sub.m≤P.sub.m max (m=1,2, . . . ,N.sub.m) (11) Where, P.sub.m min is the minimum allowable pressure of the node m, in MPa; P.sub.m is the pressure of the node m, in MPa; P.sub.m max is the maximum allowable pressure of the node m, in MPa; N.sub.m is the total number of pipe nodes; (3) Constraint on flow balance
N.sub.w-min≤N.sub.w≤N.sub.w-max (13) Where, N.sub.w-min is the minimum allowable power of compressor, in MW; N.sub.w is the allowable power of compressor, in MW; N.sub.w-max is the maximum allowable power of compressor, in MW; Or constraint on carbon emissions of compressor
C.sub.min≤C≤C.sub.max (14) Where, C.sub.min is the minimum carbon emission of compressor, in kg CO.sub.2; C is the carbon emissions of compressor, in kg CO.sub.2; C.sub.max is the maximum carbon emissions of compressor, in kg CO.sub.2; (5) Constraint on outlet temperature of compressor
T.sub.out<T.sub.out max (15) Where, T.sub.out is the outlet temperature of compressor, in K; and T.sub.out max is the maximum outlet temperature of compressor, in K.
7. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 6, wherein in the Step 5, the gas consumption of gas driven compressor in the pipeline system is calculated through the following equation:
8. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein the objective function min C.sub.2 for minimum carbon emissions is as follows:
9. The optimization method for natural gas pipeline operation under the carbon neutrality target according to claim 1, wherein the carbon emission coefficient of natural gas equals the carbon emission factor of natural gas, the carbon emission coefficient of power grid equals the average emission factor of regional power grid, and the carbon emission coefficient of new energy equals the carbon footprint-based power grid emission factor of new energy.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will make a brief introduction to the drawings needed in the description of the embodiments or the prior art. Obviously, the drawings in the following description are merely some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without any creative effort.
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0075] The present invention is further described with reference to the drawings and embodiments. It should be noted that the embodiments in this application and the technical features in the embodiments can be combined with each other without conflict. It is to be noted that, unless otherwise specified, all technical and scientific terms herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs. “Include” or “comprise” and other similar words used in the present disclosure mean that the components or objects before the word cover the components or objects listed after the word and its equivalents, but do not exclude other components or objects.
[0076] As shown in
[0077] Step 1: Determine the type of decision variable, and obtain the initial inlet parameters of compressor station; the decision variable is as follows:
X=(Q,N,R,S) (1)
[0078] Where. X is the decision variable; Q is the pipeline transmission capacity, in m.sup.3/s; N is the number of compressors started in each compressor station; R is the rotating speed of compressor, in l/min; S is the connection status between two pipelines.
[0079] In a specific embodiment, when S=0, it indicates that the communication valve between two pipes is closed and there is no flow distribution in the pipe; and when S=1, it indicates that the communication valve between two pipes is opened and there is flow distribution between the pipes. It should be noted that other numbers can also be used for expressing the status of communication valve in the other embodiments.
[0080] Step 2: Judge the connection status between two pipes, determine the flow of each pipe according to the connection status, and then calculate the outlet pressure and outlet temperature of the compressor station.
[0081] In a specific embodiment, the outlet pressure and outlet temperature of the compressor station are respectively calculated according to the following equations:
[0082] Where, P.sub.out is the outlet pressure of compressor, in MPa; P.sub.in is the inlet pressure of compressor, in MPa; H is the polytropic head of compressor; M.sub.w is the molecular weight of gas, in kg mol.sup.−1; k is the polytropic index of gas; Z is the compressibility factor of natural gas; R is the gas constant, in J mol.sup.−1K.sup.−1; T.sub.in is the inlet temperature of compressor, in K; T.sub.out is the outlet temperature of compressor, in K; k.sub.t is the temperature rise coefficient.
[0083] In a specific embodiment, the polytropic index k of gas is taken as 1.28, and the temperature rise coefficient k.sub.t is taken as 0.8.
[0084] Step 3: Make the outlet pressure of compressor station equal to the inlet pressure of the next pipe section and the outlet temperature of compressor station equal to the inlet temperature of the next pipe section, and then calculate the terminal temperature and terminal pressure of the next pipe section.
[0085] In a specific embodiment, the terminal temperature (thermodynamic calculation of pipe in
[0086] Where, T.sub.Z is the terminal temperature of gas pipeline, in K; T.sub.0 is the ground temperature at the buried depth of pipeline, in K; T.sub.Q is the inlet temperature of gas pipeline, in K; α is the intermediate parameter; L is the length of calculated section of the gas pipeline, in m; K is the total heat transfer coefficient of pipeline, in W/(m.sup.2.Math.K); D is the outer diameter of pipeline, in m; M is the mass flow of gas, in kg/s; c.sub.p is the specific heat capacity of mass-constant pressure of gas, in J/(kg.Math.K); P.sub.Z is the terminal pressure of gas pipeline, in Pa; P.sub.Q is the inlet pressure of gas pipeline, in Pa; a and b are intermediate parameters; ΔS is the difference of elevation between end point and starting point, in m; g is the gravitational acceleration, in m/s.sup.2; Z is the compressibility factor of natural gas; R is the gas constant, in J mol.sup.−1K.sup.−1; T.sub.cp is the average temperature of gas pipeline, in K; λ is the hydraulic friction coefficient.
[0087] It should be noted that in the actual long transmission pipeline, the pipeline is long and the elevation difference between many stations exceeds 200 m. However, in the above embodiment, Equation (6) is adopted to calculate the terminal pressure of the next pipe section, which takes into account the influence of elevation difference and topography, making the calculation result more accurate and in line with the reality.
[0088] In a specific embodiment, in the Equation (8), the hydraulic friction coefficient is calculated through the following equation:
[0089] Where, lg is the log function; k′ is the absolute equivalent roughness of pipe wall, in mm; d is the inner diameter of pipeline, in m; Re is the Reynolds number.
[0090] It should be noted that, for the main gas transmission pipeline, the flow state in the pipe is basically in the square region of resistance. The calculation accuracy of hydraulic friction coefficient can be improved by using the Equation (9) in the above embodiment.
[0091] Step 4: Make the terminal pressure of the previous pipe section equal to the inlet pressure of compressor station at the next section and the terminal temperature of the previous pipe section equal to the inlet temperature of compressor station at the next section. Repeat the Steps 2 to 4 until the pressure and temperature changes of each compressor station in the system are calculated.
[0092] Step 5: Set the constraint conditions and calculate the gas consumption of gas driven compressor and the power consumption of electric driven compressor in the pipeline system.
[0093] In a specific embodiment, the constraint conditions include:
[0094] (1) Constraint on compressor speed
R.sub.min≤R.sub.nR.sub.max (10)
[0095] Where, R.sub.min is the minimum rotating speed of compressor, in l/min; R.sub.n is the rotating speed of compressor in the Compressor Station n; R.sub.max is the maximum rotating speed of compressor, in l/min;
[0096] (2) Constraint on pipeline pressure
P.sub.m min≤P.sub.m≤P.sub.m max (m=1,2, . . . ,N.sub.m) (11)
[0097] Where, P.sub.m min is the minimum allowable pressure of the node n, in MPa; P.sub.m is the pressure of the node m, in MPa; P.sub.m max is the maximum allowable pressure of the node in, in MPa; N.sub.m is the total number of pipe nodes;
[0098] (3) Constraint on flow balance
[0099] Where, C.sub.m is the set of components connected to the node m; α.sub.mk is the coefficient, which is +1 when the component k flows into the node m, and −1 when the component k flows out of the node m; M.sub.1mk is the absolute value of flow when the component k connected to the node m flows into/out of the node m, in m.sup.3; M.sub.2m is the flow when the node m exchanges with the outside, which is positive in case of inflow and negative in case of outflow, in m.sup.3; C.sub.gj is the natural gas mass of gas consumption of the compressor station j, in m.sup.3;
[0100] (4) Constraint on compressor power
N.sub.w-min≤N.sub.w≤N.sub.w-max (13)
[0101] Where, N.sub.w-min is the minimum allowable power of compressor, in MW; N.sub.w is the allowable power of compressor, in MW; N.sub.w-max is the maximum allowable power of compressor, in MW;
[0102] Or constraint on carbon emissions of compressor
C.sub.min≤C≤C.sub.max (14)
[0103] Where, C.sub.min is the minimum carbon emission of compressor, in kg CO.sub.2; C is the carbon emissions of compressor, in kg CO.sub.2; C.sub.max is the maximum carbon emissions of compressor, in kg CO.sub.2;
[0104] (5) Constraint on outlet temperature of compressor
T.sub.out<T.sub.out max (15)
[0105] Where, T.sub.out is the outlet temperature of compressor, in K; and T.sub.out max is the maximum outlet temperature of compressor, in K.
[0106] In a specific embodiment, the gas consumption of gas driven compressor in the pipeline system is calculated through the following equation:
[0107] Where, C.sub.g is the gas consumption of fuel driven compressor in the pipeline system, in Nm.sup.3; N.sub.g is the power of gas driven compressor unit in the compressor station, in kW; t.sub.g is the running time of gas driven compressor unit, in h; η.sub.g is the efficiency of compressor driven gas turbine in the compressor station; g.sub.e is the gas consumption rate of gas turbine, in Nm.sup.3/(kWh);
[0108] The power consumption of electric driven compressor is calculated through the following equation:
[0109] Where, C.sub.e is the power consumption of electric driven compressor, in kWh; N.sub.e is the power of electric driven compressor in the compressor station, in kW; t.sub.e is the running time of electric driven compressor unit, in h; η.sub.e is the efficiency of compressor driven motor in the compressor station.
[0110] Step 6: Introduce the carbon emission coefficient, calculate the carbon emissions of compressors driven by different energy sources, and establish the objective function for minimum carbon emissions.
[0111] In a specific embodiment, when the objective function for minimum carbon emissions is established, the following conditions are assumed: the gas flow in the pipeline is steady and the flow is equally distributed between compressors in each compressor station; and the objective function for minimum carbon emissions is shown as follows:
[0112] Where, min C.sub.1 is the objective function for minimum carbon emissions for the pipeline containing the gas driven compressor and the electric driven compressor; min C.sub.2 is the objective function for minimum carbon emissions for the pipeline containing the gas driven compressor and the new energy driven compressor; N.sub.i is the total number of pipes; N.sub.j is the total number of gas driven compressors; N.sub.k is the total number of electric driven compressors; N.sub.u is the total number of new energy driven compressors; ε.sub.g is the carbon emission coefficient of natural gas, in kg CO.sub.2/m.sup.3; ε.sub.e is the carbon emission coefficient of power grid, in kg CO.sub.2/kWh; ε.sub.ne is the carbon emission coefficient of new energy; C.sub.i,g.sup.j is the gas consumption of the gas driven compressor j on the pipe i; C.sub.i,g.sup.j is the power consumption of the electric driven compressor k on the pipe i; C.sub.i,ne.sup.u is the energy consumption of the new energy driven compressor u on the pipe i;
[0113] Optionally, the new energy driven compressor includes the wind power driven compressor and/or photoelectricity driven compressor; and the objective function min C.sub.2 for minimum carbon emissions is as follows:
[0114] Where, N.sub.w is the total number of wind power driven compressors; N.sub.l is the total number of photoelectricity driven compressors; ε.sub.e1 is the carbon emission coefficient of wind energy, in kg CO.sub.2/kWh; ε.sub.e2 is the carbon emission coefficient of photoelectricity, in kg CO.sub.2/kWh; C.sub.i,e.sup.w is the power consumption of the wind power driven compressor w on the pipe i; C.sub.i,e.sup.l is the power consumption of the photoelectricity driven compressor l on the pipe i;
[0115] It should be noted that the present invention reduces the carbon emissions in the transportation process of natural gas pipeline by introducing new energy with lower carbon emissions. Wind power and photoelectricity in the above embodiment are only the two preferred new energy sources with lower carbon emissions than the existing power grid. In addition, the present invention can also select other locally applicable new energy sources with lower carbon emissions according to the location and environment of the natural gas pipeline.
[0116] Optionally, the carbon emission coefficient of natural gas adopts the carbon emission factor of natural gas, the carbon emission coefficient of power grid adopts the average emission factor of regional power grid, and the carbon emission coefficient of new energy adopts the carbon footprint-based power grid emission factor of new energy. It should be noted that there are many carbon emission factors at present, including carbon footprint-based power grid emission factor, average emission factor of regional power grid, regional power grid baseline emission factor, regional power grid baseline emission factor for grid-connected power generation of fossil fuels with low-carbon technology in China, and provincial power grid emission factor, etc. Different carbon emission factors have their own characteristics, and the calculation result of objective function for minimum carbon emissions also varies from different carbon emission factors. In this embodiment, the corresponding carbon emission factors selected for different energy sources can make the calculation result of objective function for minimum carbon emissions more accurate.
[0117] Step 7: Use the optimization algorithm to solve the objective function for minimum carbon emissions and determine the natural gas pipeline operation plan based on the minimum carbon emission target according to the result.
[0118] In a specific embodiment, particle swarm optimization algorithm is used, which is simple and easy to realize and doesn't have many parameters to be adjusted and can solve the result more efficiently.
[0119] Optionally, NHPSO-JTVAC algorithm is used, which refers to a new self-organizing hierarchical particle swarm optimization algorithm with jump time-varying acceleration coefficient. This algorithm is upgraded from another improved particle swarm optimization algorithm (HPSO-TVAC). Relative to the traditional particle swarm optimization algorithm, PSO mainly has two different aspects.
[0120] (1) Different Calculation Methods for Learning Factor
[0121] In the traditional particle swarm optimization algorithm, the learning factor is usually a fixed value. However, the fixed value will make the local and global search ability of particle swarm optimization algorithm insufficient. The determination method in NHPSO-JTVAC algorithm is as follows:
[0122] Where, w is a standard normal random number; c.sup.her will change from c.sup.l=c.sub.i=0.5 to c.sup.her max=c.sub.f=0.0. The Equations (21) to (23) show that the two learning factors are of exponential type, making the algorithm easier to jump out of the local optimum in the calculation process, and increasing the search area of the algorithm.
[0123] (2) Different Equations for Update Rate
[0124] The velocity calculation formula for the traditional particle swarm optimization algorithm is easy to make the algorithm fall into local optimum. Therefore, Ghasemi, et al introduced the optimal individual value of random particles in NHPSO-JTVAC algorithm and replaced the original one, so that the velocity formula was deformed as follows:
[0125] Ghasemi verified that the improved velocity updating formula can avoid premature convergence of optimization algorithm to the local optimal value and improve the quality of the final solution.
[0126] It should be noted that the optimization algorithm of the invention is mainly for solving the objective function of the minimum carbon emission. In addition to the NHPSO-JTVAC algorithm of the above embodiment, other particle swarm optimization algorithms or other optimization algorithms in other existing technologies can be also adopted.
[0127] In a specific embodiment, by taking the western pipe section of the lines 2 and 3 of China's West-East Natural Gas Transmission Project as an example, the optimization method for natural gas pipeline operation under the carbon neutrality target described in the present invention is adopted to optimize the operation of natural gas pipeline.
[0128] As shown in
TABLE-US-00001 TABLE 1 Comparison table of fixed energy consumption and carbon emissions of wind power and photoelectricity Datum 1 Natural gas Gas emissions Electric energy Electric emissions (m.sup.3) (kg CO.sub.2) (kWh) (kg CO.sub.2) Itce 751.88 1625.71 8136.70 5427.99 Datum 2 Natural gas Natural gas converted Electric energy Electric energy converted to (m.sup.3) to standard coal (tce) (kWh) standard coal (tce) HCO.sub.2 426.49 0.615 1499.03 0.184 Datum 1 Wind-electric Carbon emissions from Photoelectricity- Carbon emissions from energy (kWh) wind power- electric electric energy photoelectricity- electric energy (kg CO.sub.2) (kWh) energy (kg CO.sub.2) Itce 8136.70 91.13 8136.70 572.82 Datum 2 Wind power- Wind power-electric Photoelectricity- Photoelectricity-electric electric energy energy converted to electric energy energy converted to (kWh) standard coal (tce) (kWh) standard coal (tce) HCO.sub.2 89285.71 10.97 14204.55 1.75
[0129] Seen from Table 1, the carbon emissions of electricity are higher when generating the same energy (Datum 1). Therefore, to reduce carbon emissions, the use of electric energy should be reduced. For the same CO.sub.2 emission (Datum 2), natural gas produces more energy. Therefore, when the energy required by the system is constant, the consumption of natural gas needs to be increased. It can be seen that there is a need to increase the consumption of natural gas and reduce the consumption of electric energy in view of carbon emissions or energy consumption. When wind power and photoelectricity produce the same energy consumption (Datum 1), the CO.sub.2 emission is less than that of natural gas. When wind power and photoelectricity emit the same amount of CO.sub.2 (Datum 2), the energy produced is much larger than that produced by natural gas.
[0130] To sum up, in this embodiment, the introduction of wind power and photoelectricity into the natural gas transmission system can greatly reduce the CO.sub.2 emissions. Therefore, in the operation process of parallel pipe network system, it is necessary to establish the objective function mini C.sub.1 for minimum carbon emissions (Equation (18)) using the existing energy structure and the objective function min C.sub.2 for minimum carbon emissions (Equation (20)) introducing the new energy.
[0131] There are 14 compressor stations at the western pipe section of the lines 2 and 3 of West-East Natural Gas Transmission Project in China, where the inner diameter of the pipe is 1.177 m and the trend chart of pipeline is shown in
TABLE-US-00002 TABLE 2 Actual operation data of the west-east line 2 in January of a certain year Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.04 20.37 54.7 2 13326.03 Gas driven Opened 2 8.10 10.84 24.76 51.12 1 6622.86 Gas driven Opened 3 8.80 10.89 25.00 44.00 1 4257.58 Gas driven Opened 4 8.98 10.45 22.55 35.60 1 3382.53 Gas driven Opened 5 7.40 10.89 12.88 44.70 3 15425.00 Electric driven Closed 6 7.92 10.94 16.03 42.65 2 12969.13 Gas driven Opened 7 8.19 10.95 22.46 47.16 2 10517.14 Gas driven Opened 8 8.41 10.81 26.00 50.00 1 2982.66 Gas driven Opened 9 8.14 10.79 24.2 48.5 1 14221.24 Gas driven Opened 10 8.02 10.85 26.6 51.9 2 18616.48 Electric driven Opened 11 7.97 10.78 21.22 46.61 1 5693.25 Gas driven Opened 12 8.11 10.94 20.61 49.50 1 5839.12 Gas driven Opened 13 8.08 10.71 20.75 45.15 2 17627.30 Electric driven Opened 14 8.24 11.30 20.31 46.88 1 5951.70 Gas driven Opened
TABLE-US-00003 TABLE 3 Actual operation data of the west-east line 3 in January of a certain year Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.06 16.80 52.00 2 11904.27 Gas driven Opened 2 8.22 10.97 26.3 52.5 2 7989.06 Electric driven Opened 3 8.82 10.91 25.52 44.13 2 5382.93 Electric driven Opened 4 8.96 10.43 23.01 35.81 2 6765.28 Electric driven Opened 5 8.91 8.91 29.23 29.60 0 0 Electric driven Closed 6 7.89 10.95 16.00 44.00 1 5145.83 Gas driven Opened 7 8.19 10.95 24.00 50.00 2 11347.18 Gas driven Opened 8 8.39 10.88 25.40 46.70 2 5951.15 Gas driven Opened 9 8.12 10.79 25.12 49.62 2 25941.94 Gas driven Opened 10 8.01 10.79 26.2 53.9 2 14784.70 Electric driven Opened 11 8.00 10.78 20.84 47.6 3 11331.28 Electric driven Opened 12 7.79 10.88 18.80 46.96 3 11692.33 Electric driven Opened 13 8.22 10.32 23.30 41.70 2 13088.13 Electric driven Opened 14 8.08 11.35 18.7 48.2 3 11227.24 Electric driven Opened
[0132] The pressure and temperature changes along the line are calculated according to steps 2 to 4 in the present invention, and the results are shown in
[0133] Seen from
[0134] Seen from
[0135] In a specific embodiment, when the constraint conditions are set in the Step 5, the fourth constraint is about the carbon emissions of compressor in Equation (13). In this embodiment, NRPSO-JTVAC algorithm is used for optimization where the initial population is 50 and the number of iterations is 150. The carbon emission coefficient of natural gas is 2.1622 kg (CO.sub.2/m.sup.3, the carbon emission coefficient of power grid is 0.6671 kg CO.sub.2/kWh (average emission factor of power grid in the northwest region), the carbon emission coefficient of wind power is 0.0112 kg CO.sub.2/kWh (carbon footprint-based power grid emission factor) and the carbon emission coefficient of photoelectricity is 0.0704 kg CO.sub.2/kWh (carbon footprint-based power grid emission factor).
[0136] The optimization results of min C.sub.1 are shown in
TABLE-US-00004 TABLE 4 Optimization scheme of the west-east line 2 for target 1 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.11 20.37 53.04 3 12941.54 Gas driven Opened 2 8.29 11.45 23.11 50.26 1 6927.49 Gas driven Opened 3 10.33 10.33 22.03 22.03 0 0 Gas driven Opened 4 8.88 8.88 7.44 7.44 0 0 Gas driven Opened 5 6.70 11.66 6.51 51.56 2 20207.96 Electric driven Closed 6 10.42 10.42 33.49 33.49 0 0 Gas driven Closed 7 7.98 10.69 26.54 51.19 2 11552.39 Gas driven Closed 8 8.42 9.74 29.52 41.79 2 7486.64 Gas driven Opened 9 7.26 10.25 23.48 52.51 2 19518.61 Gas driven Opened 10 8.00 11.11 30.19 58.42 3 15645.27 Electric driven Opened 11 8.78 11.07 40.51 60.88 2 9343.91 Gas driven Opened 12 9.12 10.03 20.89 28.59 2 7281.89 Gas driven Opened 13 7.78 11.20 21.58 52.06 2 17857.80 Electric driven Opened 14 9.10 9.10 32.80 32.80 0 0 Gas driven Opened
TABLE-US-00005 TABLE 5 Optimization scheme of the west-east line 3 for target 1 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.11 20.37 53.04 2 8079.30 Gas driven Opened 2 8.43 11.45 22.35 47.90 2 6372.84 Electric driven Opened 3 9.96 9.96 23.61 23.61 0 0 Electric driven Opened 4 9.02 9.02 6.64 6.64 0 0 Electric driven Opened 5 7.93 10.61 5.82 28.83 1 14484.17 Electric driven Closed 6 8.88 11.24 19.85 39.27 2 9001.09 Gas driven Closed 7 9.05 10.98 30.42 46.76 2 7641.17 Gas driven Closed 8 8.91 9.74 27.42 34.85 1 1069.94 Gas driven Opened 9 7.36 10.25 19.88 47.49 1 15063.98 Gas driven Opened 10 7.72 11.11 28.44 59.65 2 14845.04 Electric driven Opened 11 8.78 11.07 41.26 61.64 2 11173.50 Electric driven Opened 12 8.70 10.03 22.69 34.33 1 2709.95 Electric driven Opened 13 7.41 11.20 25.88 61.23 1 11214.36 Electric driven Opened 14 8.89 8.89 38.17 38.17 0 0 Electric driven Opened
[0137] The optimization results of min C.sub.2 are shown in
TABLE-US-00006 TABLE 6 Optimization scheme of the west-east line 2 for target 2 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.56 20.37 60.07 3 16349.45 Gas driven Opened 2 9.02 9.02 26.50 26.50 0 0 Gas driven Opened 3 7.97 10.02 12.68 31.01 2 7432.23 Gas driven Opened 4 8.85 11.04 7.78 25.15 2 6699.45 Gas driven Opened 5 9.55 9.55 15.72 15.73 0 0 Electric driven Opened 6 7.81 11.67 11.34 43.95 2 14341.23 Gas driven Opened 7 9.60 11.72 33.49 50.59 2 10897.92 Gas driven Opened 8 9.87 9.87 28.84 28.84 0 0 Gas driven Opened 9 7.59 10.68 16.78 44.88 1 7297.19 Gas driven Opened 10 8.53 11.67 26.67 53.24 3 13941.28 Electric driven Opened 11 9.61 11.70 36.87 53.96 2 8434.93 Gas driven Opened 12 9.86 9.86 19.31 19.31 0 0 Gas driven Opened 13 7.50 10.20 15.66 40.74 1 16594.21 Electric driven Opened 14 7.78 9.01 26.67 38.91 1 8678.68 Gas driven Opened
TABLE-US-00007 TABLE 7 Optimization scheme of the west-east line 3 for target 2 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.56 20.37 60.07 2 8814.00 Gas driven Opened 2 9.50 9.50 23.34 23.35 0 0 Electric driven Opened 3 7.48 10.02 13.94 37.55 2 8521.91 Electric driven Opened 4 8.70 11.04 8.83 27.68 2 14928.00 Electric driven Opened 5 9.63 9.63 16.65 16.65 0 0 Electric driven Opened 6 8.08 11.67 11.64 41.40 2 9575.94 Gas driven Opened 7 9.41 11.72 32.12 50.94 1 6382.90 Gas driven Opened 8 9.66 9.66 29.63 29.63 0 0 Gas driven Opened 9 7.17 10.68 17.55 50.66 2 19085.58 Gas driven Opened 10 8.40 11.67 29.78 58.01 2 16428.21 Electric driven Opened 11 9.38 11.70 40.51 59.88 2 11608.32 Electric driven Opened 12 9.65 9.65 21.72 21.72 0 0 Electric driven Opened 13 7.20 10.20 17.28 46.02 1 15220.15 Electric driven Opened 14 7.81 9.01 29.44 41.49 1 5507.93 Electric driven Opened
[0138] Carbon emissions and energy consumption are analyzed for actual schemes in Tables 2 and 3, optimization scheme of Target 1 in Tables 4 and 5 and optimization scheme of Target 2 in Tables 6 and 7.
[0139] The carbon emission and energy consumption ratio of natural gas in each station are shown in
[0140]
[0141] To sum up, when the wind power and photoelectricity are used (Target 2), the system will be mom inclined to consume natural gas. In the existing energy structure (Target 1), the system will be more inclined to consume electric energy. The total carbon emissions in all schemes are shown in
[0142] Based on the above analysis, the adjustment of energy structure under the two targets in this embodiment is shown in
[0143] In another specific embodiment, when the constraint conditions are set in the Step 5, the fourth constraint is about the carbon emissions of compressor in Equation (14). In this embodiment, NHPSO-JTVAC algorithm is used for optimization where the initial population is 50 and the number of iterations is 150. The carbon emission coefficient of natural gas is 2.1622 kg CO.sub.2/m.sup.3, the carbon emission coefficient of power grid is 0.6671 kg CO.sub.2/kWh (average emission factor of power grid in the northwest region), the carbon emission coefficient of wind power is 0.0112 kg CO.sub.2/kWh (carbon footprint-based power grid emission factor) and the carbon emission coefficient of photoelectricity is 0.0704 kg CO.sub.2/kWh (carbon footprint-based power grid emission factor).
[0144] The optimization results of min C.sub.1 are shown in
TABLE-US-00008 TABLE 8 Optimization scheme of the west-east line 2 for target 1 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.26 20.37 52.53 3 9126.69 Gas driven Opened 2 9.07 11.46 16.93 36.00 2 6193.29 Gas driven Closed 3 10.45 10.45 16.61 16.61 0 0 Gas driven Closed 4 9.31 11.04 6.41 19.68 2 5610.45 Gas driven Closed 5 9.37 9.37 13.28 13.28 0 0 Electric driven Closed 6 8.29 10.87 9.25 30.72 2 10362.05 Gas driven Opened 7 8.59 11.71 24.63 50.76 2 11881.08 Gas driven Opened 8 9.84 9.84 28.97 28.97 0 0 Gas driven Opened 9 7.51 11.70 16.96 53.89 2 23575.53 Gas driven Opened 10 9.71 9.71 31.37 31.36 0 0 Electric driven Opened 11 7.28 10.88 22.95 56.94 1 8970.31 Gas driven Opened 12 8.71 11.00 20.53 39.73 2 8980.37 Gas driven Opened 13 8.70 11.48 29.13 52.72 2 10921.39 Electric driven Opened 14 9.54 9.54 32.94 32.94 0 0 Gas driven Opened
TABLE-US-00009 TABLE 9 Optimization scheme of the west-east line 3 for target 1 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 10.26 20.37 52.53 3 8474.77 Gas driven Opened 2 7.09 10.41 26.93 59.84 2 13292.24 Electric driven Closed 3 8.62 11.20 29.05 51.34 2 8037.28 Electric driven Closed 4 10.09 11.40 10.06 19.68 1 4284.85 Electric driven Closed 5 10.18 10.18 12.04 12.04 0 0 Electric driven Closed 6 8.15 10.87 9.15 32.03 2 9535.87 Gas driven Opened 7 8.67 11.71 25.44 50.93 2 7506.71 Gas driven Opened 8 9.67 9.67 29.56 29.56 0 0 Gas driven Opened 9 7.23 11.70 17.41 57.68 1 4394.87 Gas driven Opened 10 9.69 9.69 33.21 33.21 0 0 Electric driven Opened 11 7.20 10.88 24.20 59.30 3 9728.78 Electric driven Opened 12 8.70 11.00 21.19 40.54 2 16472.33 Electric driven Opened 13 8.65 11.48 29.76 53.87 2 18617.53 Electric driven Opened 14 9.27 9.27 34.27 34.27 0 0 Electric driven Opened
[0145] The optimization results of min C.sub.1 are shown in
TABLE-US-00010 TABLE 10 Optimization scheme of the west-east line 2 for target 2 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 9.87 20.37 48.44 2 10492.10 Gas driven Opened 2 6.60 9.77 24.99 58.36 2 10518.27 Gas driven Closed 3 8.69 8.69 22.98 22.98 0 0 Gas driven Closed 4 7.54 9.21 6.65 22.28 1 6131.33 Gas driven Closed 5 7.83 11.04 13.56 41.50 2 12497.17 Electric driven Closed 6 9.31 11.46 28.32 45.79 2 7579.38 Gas driven Opened 7 9.28 11.62 34.84 54.25 1 5489.97 Gas driven Opened 8 9.55 9.55 30.92 30.92 0 0 Gas driven Opened 9 7.13 10.53 17.98 50.31 2 14480.86 Gas driven Opened 10 8.28 10.32 29.39 48.06 1 14060.17 Electric driven Opened 11 7.83 10.47 33.92 59.16 1 5298.80 Gas driven Opened 12 8.23 9.89 20.92 36.03 1 4300.03 Gas driven Opened 13 7.51 11.25 26.55 61.18 1 11390.69 Electric driven Opened 14 9.23 9.23 37.34 37.34 0 0 Gas driven Closed
TABLE-US-00011 TABLE 11 Optimization scheme of the west-east line 3 for target 2 Inlet Outlet Inlet Outlet Number of Compressor Station pressure pressure temperature temperature compressors power Connection No. (MPa) (MPa) (° C.) (° C.) started (kW) Drive type status of valve 1 6.48 9.87 20.37 48.44 2 6352.72 Gas driven Opened 2 8.55 9.43 16.52 24.34 1 6030.51 Electric driven Closed 3 7.44 10.19 14.33 39.93 2 10186.82 Electric driven Closed 4 8.68 8.68 9.73 9.73 0 0 Electric driven Closed 5 6.58 10.99 7.67 45.83 2 21716.66 Electric driven Closed 6 9.61 11.46 29.52 44.39 2 12178.80 Gas driven Opened 7 9.16 11.62 34.11 54.59 2 12712.19 Gas driven Opened 8 9.66 9.66 30.69 30.69 0 0 Gas driven Opened 9 7.25 10.53 17.91 48.81 2 26931.66 Gas driven Opened 10 8.20 10.32 28.86 48.31 1 10437.94 Electric driven Opened 11 7.94 10.47 33.81 57.71 3 13204.81 Electric driven Opened 12 8.10 9.89 20.98 37.46 2 8712.50 Electric driven Opened 13 7.30 11.25 27.86 65.24 2 18580.63 Electric driven Opened 14 8.72 10.46 40.96 56.89 3 5240.14 Electric driven Closed
[0146] Carbon emissions and energy consumption are analyzed for actual schemes in Tables 2 and 3, optimization scheme of Target 1 in Tables 8 and 9 and optimization scheme of Target 2 in Tables 10 and 11.
[0147] The carbon emission and energy consumption ratio of natural gas in each station are shown in
[0148]
[0149] To sum up, there is little difference in the carbon emissions from gas consumption between these three schemes. However, after the introduction of wind power and photoelectricity, the power consumption of optimization target 1 is obviously larger than that of optimization target 2, but the carbon emissions from electric energy under Target 2 are greatly reduced. The total carbon emissions in each scheme are shown in
[0150] Based on the above analysis, the adjustment of energy structure under the two targets in this embodiment is shown in
[0151] To sum up, the present invention is to establish an objective function for minimum carbon emissions based on the existing energy structure and the introduction of new energy (such as wind power and photoelectricity), so as to reduce the carbon emissions of pipeline system, guide the field operation to make operation strategy and put forward the optimal operation mode with low carbon emissions for the specific pipeline. If compared with the prior art, the present invention shows significant progress.
[0152] The above are only the preferred embodiments, which are not intended to limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art, within the scope of the technical solution of the present invention, can use the disclosed technical content to make a few changes or modify the equivalent embodiment with equivalent changes. Within the scope of the technical solution of the present invention, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still regarded as a part of the technical solution of the present invention.