Next Article in Journal
Influence of the Composition of the Activator on Mechanical Characteristics of a Geopolymer
Previous Article in Journal
Nondestructive Detection of Gaps between Railway Track Slabs and Soil Foundation Using Leaked Air Waves
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Decentralized Optimization of Electricity-Natural Gas Flow Considering Dynamic Characteristics of Networks

College of Electric Power, South China University of Technology, Guangzhou 510640, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(10), 3348; https://doi.org/10.3390/app10103348
Submission received: 13 April 2020 / Revised: 8 May 2020 / Accepted: 9 May 2020 / Published: 12 May 2020
(This article belongs to the Section Electrical, Electronics and Communications Engineering)

Abstract

:
The interconnection of power and natural gas systems can improve the flexibility of system operation and the capacity of renewable energy consumption. It is necessary to consider the interaction between both, and carry out collaborative optimization of energy flow. For space-time related line packs, this paper studies the optimal multi-energy flow (OMEF) model of an integrated electricity-gas system, taking into account the dynamic characteristics of a natural gas system. Besides, in order to avoid the problem of large data collection in centralized algorithms and consider the characteristics of decentralized autonomous decision-making for each subsystem, this paper proposes a decentralized algorithm for the OMEF problem. This algorithm transforms the original non-convex OMEF problem into an iterative convex programming problem through penalty convex-concave procedure (PCCP), and then, uses the alternating direction method of multipliers (ADMM) algorithm at each iteration of PCCP to develop a decentralized collaborative optimization of power flow and natural gas flow. Finally, numerical simulations verify the effectiveness and accuracy of the algorithm proposed in this paper, and analyze the effects of dynamic characteristics of networks on system operation.

1. Introduction

With the energy crisis and global environmental issues becoming increasingly prominent, it is necessary to develop multi-energy complementarity and optimization of an integrated energy system to achieve low-carbon environmental operations [1]. The development of gas turbines [2] and power to gas (P2G) [3] has enabled a bidirectional energy flow between the power system and the natural gas system, which promotes the formation of integrated electricity-gas system (IEGS). As an important part of Energy Internet, IEGS is also the development direction of Smart Grid [4,5,6].
Recently, a considerable amount of research has been made on the optimization of IEGS [7,8,9,10,11,12,13,14,15]. A unified modeling framework for IEGS is proposed in [7]. Based on this model, the effect of a natural gas system on the operation of a power system in accordance with the security-constrained unit commitment is discussed. Based on mixed integer linear programming, paper [8] presents an integrated electricity-gas system model that can be used to research interdependencies and identify critical vulnerabilities. Paper [9] studies the electricity and steady-state natural gas flow. The above studies are directed at steady-state models. However, for the network characteristics of IEGS, different systems have different dynamic characteristics. Natural gas flow operates at slower rates than electric power. Some natural gas is stored in the pipeline, which is called the “line pack”. In order to describe the natural gas network model more accurately, it is necessary to consider the line pack. Papers [10,11,12,13] have proved the improvement effect of the management of IEGS on the flexibility and reliability by considering the line pack. Paper [10] proposes a mixed-integer linear programing (MILP) model that takes into account the dynamic characteristics of natural gas system to solve the optimal energy flow of IEGS. Considering the different response times of the gas and power systems, the dynamic optimal energy flow in the IEGS is discussed in [11,12]. Paper [13] establishes the optimal operation model of IES considering heat-gas dynamic characteristics and demonstrates the efficiency of the proposed method for improving the flexibility and economy of IES operation. Paper [14] proposes a hybrid multi-energy load forecasting (MELF) method for IEGS considering temporal dynamic and coupling characteristics. An interdependent electricity-natural gas system considering electricity grid steady-state and gas network dynamics is established in [15]. Based on the model, the effect of P2Gs and gas turbines on the operational economics and robustness of IEGS is discussed.
On the other hand, in the above research works, the optimal scheduling model is mainly solved by centralized algorithms, which requires a central computer to collect global data to perform centralized calculations and control. However, the power and natural gas systems belong to different interest groups, and the information and operating conditions of each system have a certain privacy, which makes centralized optimization scheduling no longer applicable. Decentralized algorithms can solve the abovementioned limitations of centralized algorithms and can reduce the amount of information transmitted and reduce the risk of information blocking. Therefore, in the background of the energy internet, it is necessary to research the decentralized OMEF of IEGS [16,17,18].
However, the OMEF problem is a non-convex optimization problem that is difficult to solve. The inherent non-convexity makes traditional decentralized algorithms unable to converge or obtain ideal results. The non-convexity of the OMEF problem comes from the second-order power flow equation and natural gas flow equation. To handle this issue, extensive optimization methods have been presented. There are two main convex methods for the second-order power flow equation. One is the linear DC power flow model [19], the other is the second-order cone relaxation for the radial grid model [20]. However, both methods have their own limitations. For the non-convex natural gas flow equation, piecewise linearization techniques are used to deal with it. However, piecewise linearization models limit gas flow directions [21,22]. Some researchers have proposed the mixed integer second-order cone relaxation technique to convexize the equation [17,23,24], but a large number of integer variables make the model complicated. The above research works have certain limitations on the treatment of non-convex terms in the OMEF problem.
Aiming at the above problems, this paper proposes a decentralized optimization algorithm for OMEF based on PCCP-ADMM, which has the following main novelty and contribution.
  • The non-convex OMEF problem is transformed into a convex optimization problem by PCCP. For the power system model, based on the paper [25], this paper studies the method of convexity of the second-order power flow equation in the multi-period OMEF model, which effectively retains all the electrical quantities and is suitable for any topology. For the natural gas system model considering the dynamic characteristics, the positive and negative natural gas flow are introduced into the model, and the PCCP method is used to convexize the flow equation, which can efficiently solve the natural gas system model.
  • The decentralized optimization process is based on the obtained convex OMEF model. At each iteration of the PCCP, ADMM is used to establish and solve the decentralized OMEF problem of IEGS. During the solution process, each system only needs to exchange a small amount of boundary information, which achieves independent optimization and partition coordination. The solution process ensures the privacy and security of each system information. Finally, testing IEGS combined with an IEEE 39-bus power system and a Belgian 20-bus natural gas system is used to verify the proposed algorithm and can effectively solve the decentralized OMEF problem.

2. Modeling for OMEF

Due to the non-convexity of the OMEF model, the OMEF problem of IEGS is a difficult non-convex optimization problem. In this part, the OMEF is modeled and the non-convex term is effectively processed with PCCP. The OMEF problem is transformed into a convex optimization problem. The IEGS studied in this paper consists of a power network and a natural gas network. The power and natural gas systems are interconnected through P2Gs and gas turbines, as shown in Figure 1.

2.1. Power System

2.1.1. Modeling for Power System

(1) Power balance
P G , i , t P D , i , t P P 2 G , i , t = g i i V i , t 2 + j i , j i P i j , t
Q G , i , t Q D , i , t = b i i V i , t 2 + j i , j i Q i j , t
P i j , t = g i j V i , t 2 g i j V i , t V j , t cos θ i j , t b i j V i , t V j , t sin θ i j , t
Q i j , t = b i j V i , t 2 g i j V i , t V j , t sin θ i j , t + b i j V i , t V j , t cos θ i j , t
where PG,i,t is the active output of generator at bus i; PP2G,i,t is the power input of P2G at bus i; QG,i,t is the reactive output of generator at bus i; PD,i,t and QD,i,t are the active power demand and reactive power demand at bus i; Vi,t is the voltage magnitude of bus i; θij,t is the phase angle difference of branch ij; Pij,t and Qij,t are the active power flow and reactive power flow from bus i to bus j; gii and bii are the shunt conductance and shunt susceptance at bus i; gij and bij are the conductance and susceptance of branch ij.
(2) Power output limits
P G , i , t min P G , i , t P G , i , t max
Q G , i , t min Q G , i , t Q G , i , t max
(3) Bus voltage limits
V i , t min V i , t V i , t max
(4) Ramp rate limits
DR i P G , i , t P G , i , t 1 UR i
where DRi and URi are the down and up ramp rate limits.

2.1.2. Power Balance Equation Convex Relaxation

The classic power system model is non-convex, and its non-convexity comes from Equations (3) and (4). In order to ensure the efficiency and quality of model solving, it is necessary to carry out convex processing for that equations.
First, equivalent substitutions are made to the variables in Equations (3) and (4), as follows:
{ U i , t = V i , t 2 W i j , t = V i , t V j , t cos θ i j , t M i j , t = V i , t V j , t sin θ i j , t
Then, Equations (3) and (4) can be equivalent to the following equations:
P i j , t = g i j U i , t g i j W i j , t b i j M i j , t
Q i j , t = b i j U i , t g i j M i j , t + b i j W i j , t
4 M i j , t 2 + 4 W i j , t 2 + ( U i , t U j , t ) 2 = ( U i , t + U j , t ) 2
sin θ i j , t / cos θ i j , t = M i j , t / W i j , t
For general mesh networks, the cycle conditions (for each loop in the network, the values of the voltage phase angle difference accumulated cyclically in a certain direction is 0 (modulo 2π)) [26] need to be considered. That is, it is necessary to consider Equation (13).
In the equivalent equations, Equations (12) and (13) are non-convex. Aiming at Equations (12) and (13), paper [25] proposed a convex relaxation method for single-period economic dispatch of power system. Based on this, this paper studies the convex processing method of Equations (12) and (13) in the multi-period OMEF model.
For Equation (13), the equivalent transformation is performed as follows:
S i j , t = sin θ i j , t
C i j , t = cos θ i j , t
S i j , t 2 + C i j , t 2 = 1
( W i j , t + S i j , t ) 2 + ( M i j , t C i j , t ) 2 = ( W i j , t S i j , t ) 2 + ( M i j , t + C i j , t ) 2
According to the voltage phase angle difference between the two ends of the branch in the actual power system is generally not more than 10° [27], by using the Taylor expansion formula of the trigonometric function and ignoring the higher-order terms, Equations (14) and (15) can be transformed into the following equations:
S i j , t θ i j , t
C i j , t 1 θ i j , t 2 / 2
Through the above transformations, Equations (12), (16), (17), and (19) are still non-convex, and further transformations are needed. Among them, Equation (12) can be equivalent to the following two inequalities:
4 M i j , t 2 + 4 W i j , t 2 + ( U i , t U j , t ) 2 ( U i , t + U j , t ) 2 0
( U i , t + U j , t ) 2 4 M i j , t 2 4 W i j , t 2 ( U i , t U j , t ) 2 0
Equation (20) is a standard second-order cone constraint and has convexity. Equation (21) is a difference-of-convex constraint, which is non-convex and can be accurately convex relaxed by using the PCCP method [25]. The idea is to deal with the difference-of-convex constraint through the Taylor expansion formula, and add relaxation variables to make the constraint hold, as follows:
( U i , t + U j , t ) 2 8 M i j , t M i j , t k + 4 ( M i j , t k ) 2 8 W i j , t W i j , t k + 4 ( W i j , t k ) 2 2 ( U i , t U j , t ) ( U i , t k U j , t k ) + ( U i , t k U j , t k ) 2 ε 1 , i j , t
where M i j , t k , W i j , t k and U i , t k are the value obtained by the kth iteration, and are constant; ε1,ij,t is a relaxation variable and is a positive number.
In the same way, Equations (16), (17), and (19) can be transformed into two inequalities, and then transformed as above.
In order to ensure the accuracy of relaxation, a penalty term of relaxation variables is added to the objective function, and the relaxation field is continuously tightened by continuously punishing the relaxation variables until the accuracy is satisfied. The penalty term ∆e can be expressed as:
Δ e = γ e k i = 1 5 i j t ε i , i j , t
where γ e k is the dynamic penalty coefficient of the power system penalty term; ε i , i j , t (i = 1, 2, …, 5) are relaxation variables of Equations (16), (17), (19) and (22),
Therefore, the power system model is first transformed into convex-concave programming (CCP), and then, the PCCP method is used to solve the difference-of-convex constraint. The power system model is eventually transformed into convex programming, each of which has convexity, and the global optimal solution of the optimal energy flow problem can be obtained efficiently.
In addition, in order to obtain good initial iteration values, the solution obtained by the QC relaxed power flow model [28] is selected as the initial iteration values in the PCCP method.
The PCCP method can be expressed as follows:
Step 1 Initialization: Set initial penalty coefficient γ e 0 > 0 , maximum penalty coefficient γ e , max , penalty adjustment coefficient μ e > 0 , number of iterations k = 0, convergence accuracy ω e .
Step 2 Initial iteration value: Solve the initial iteration value based on the QC relaxed power flow model.
Step 3 Solve the iterative PCCP.
Step 4 Convergence criterions: max ε i , i j , t < ω e (i = 1, …, 5). If satisfy the above criterions, PCCP converges, otherwise, enhance the dynamic penalty coefficient γ e k + 1 = min ( μ e γ e k , γ e , max ). Set k = k + 1, and repeat steps 3, 4 until convergence.

2.2. Natural Gas System

2.2.1. Modeling for Natural Gas System

(1) Line pack
Considering the dynamic characteristics of natural gas flow in time and space, natural gas flow has a transmission delay in the pipeline transmission process and the pipeline has a certain buffer capacity. The natural gas inflow at the beginning of the pipeline is different from the outflow at the end. Some natural gas is stored in the pipeline, which is called the “line pack”, which can be expressed as [16]:
H i j , t = π L i j D i j 2 4 R T Z ρ 0 p ˜ i j , t
H i j , t = H i j , t 1 + q i j , t in q i j , t out
where Hij,t is the line pack of pipeline ij; Lij and Dij are the pipe length and diameter; R, T, Z and ρ0 are respectively the gas constant, natural gas temperature, natural gas compression factor, and natural gas density under standard conditions; p ˜ i j , t = ( p i , t + p j , t ) / 2 is the average pressure of pipeline; q i j , t in and q i j , t out are the gas inflow and outflow of pipeline ij.
In order to use the line pack reasonably and ensure a certain adjustment margin in the next scheduling cycle, the amount of the total line pack after running one cycle should not be lower than the initial value, as follows:
i j H i j , T i j H i j , 0
(2) Natural gas flow equation
According to the Weymouth equation, the natural gas flow equation can be expressed as:
q ˜ i j , t | q ˜ i j , t | = K i j ( p i , t 2 p j , t 2 ) , K i j = π 2 D i j 5 16 L i j F i j R T Z ρ 0 2
where q ˜ i j , t = ( q i j , t in + q i j , t out ) / 2 is the average gas flow of pipeline ij; Kij is the transmission parameter of pipeline ij, which is positive; Fij is the friction coefficient of pipeline ij.
(3) Node gas flow balance equation
A s q s , t + A P 2 G q P 2 G , t + A R ( q R , t out q R , t in ) + A g ( q ˜ g , t out q ˜ g , t in ) q D , t A GT q GT , t = 0
where As, AP2G, AR, Ag and AGT are respectively the association matrix of node-natural gas source, node-P2G, node-gas storage tank, node-natural gas pipeline, node-gas turbine; q s , t , q P 2 G , t , q R , t out , q R , t in , q ˜ g , t out , q ˜ g , t in , q D , t and q GT , t are respectively the matrix of gas source output, P2G gas outflow, gas storage tank output, gas storage tank input, pipeline gas outflow, pipeline gas inflow, nodal load, gas turbine gas inflow.
(4) Gas sources output limits
q s , i , t min q s , i , t q s , i , t max
(5) Gas pressure limits
p i , t min p i , t p i , t max
(6) Compressors limits
In the long-distance transmission of natural gas, a natural gas compressor must be set up at a distance to pressurize the natural gas in the pipeline to offset the pressure consumed along the way. Because the energy consumed by the compressors is less, this article simplifies the compressor model and only considers the pressure-boosting relationship between the inlet and outlet ends of the compressor, as follows:
k com min p j , t , / p i , t k com max
where k com max and k com min are the upper and lower limits of the gas pressure boost ratio.
(7) Gas storage tanks limits
S R , i , t = S R , i , . t 1 + q R , i , t in q R , i , t out
where SR,i,t is the gas storage capacity of the ith gas storage tank. Additionally, the volume of gas storage capacity, gas storage tank input and gas storage tank output meet the capacity constraints.

2.2.2. Natural Gas Flow Equation Convex Relaxation

In the natural gas system model, the gas flow Equation (27) is non-convex, which increases the difficulty of solving the model. It is necessary to convexize the Equation (27).
First, introduce the positive and negative gas flow and Equation (34), as follows:
q ˜ i j , t = q ˜ i j , t + q ˜ i j , t , q ˜ i j , t + 0 , q ˜ i j , t 0
( q ˜ i j , t + ) 2 ( q ˜ i j , t ) 2 = K i j ( p i , t 2 p j , t 2 )
where q ˜ i j , t + and q ˜ i j , t are the positive and negative gas flow of pipeline ij.
Then, assuming Equation (34) holds, there is the following relationship:
K i j | p i , t 2 p j , t 2 | = | ( q ˜ i j , t + ) 2 ( q ˜ i j , t ) 2 | = ( q ˜ i j , t + + q ˜ i j , t ) | q ˜ i j , t + q ˜ i j , t | ( q ˜ i j , t + q ˜ i j , t ) ( q ˜ i j , t + q ˜ i j , t ) = q ˜ i j , t 2
Equation (27) is equivalent to the following inequality:
K i j | p i , t 2 p j , t 2 | q ˜ i j , t 2
K i j | p i , t 2 p j , t 2 | q ˜ i j , t 2
Therefore, Equation (27) can be equivalent to Equations (34) and (37). Among them, Equation (37) can be equivalent to:
K i j p i , t 2 K i j p j , t 2 q ˜ i j , t 2 0
K i j p j , t 2 K i j p i , t 2 q ˜ i j , t 2 0
According to the PCCP method described above, non-convex Equations (34), (38), and (39) are subjected to convex relaxation processing, and Equation (34) is taken as an example for description.
Equation (34) can be equivalent to:
{ ( q ˜ i j , t + ) 2 + K i j p j , t 2 ( q ˜ i j , t ) 2 K i j p i , t 2 0 ( q ˜ i j , t ) 2 + K i j p i , t 2 ( q ˜ i j , t + ) 2 K i j p j , t 2 0
According to the PCCP method, Equation (40) can be expanded as follows:
{ ( q ˜ i j , t + ) 2 + K i j p j , t 2 2 q ˜ i j , t ( q ˜ i j , t ) k + [ ( q ˜ i j , t ) k ] 2 2 K i j p i , t p i , t k + K i j ( p i , t k ) 2 ε 1 , i j , t ( q ˜ i j , t ) 2 + K i j p i , t 2 2 q ˜ i j , t + ( q ˜ i j , t + ) k + [ ( q ˜ i j , t + ) k ] 2 2 K i j p j , t p j , t k + K i j ( p j , t k ) 2 ε 2 , i j , t
Similarly, Equations (38) and (39) can be transformed as above by PCCP. The penalty term ∆g in the natural gas system can be expressed as:
Δ g = γ g k i = 1 4 i j t ε i , i j , t
where γ g k is the dynamic penalty coefficient of the natural gas system penalty term; ε i , i j , t (i = 1, 2, 3, 4) are relaxation variables of Equations (38), (39) and (41).
In this paper, the initial iteration value is obtained by solving the natural gas system model that ignores Equation (27), and the initial values of positive and negative gas flow are as follows:
{ ( q ˜ i j , t + ) 0 = q ˜ i j , t 0 , ( q ˜ i j , t ) 0 = 0 , i f q ˜ i j , t 0 > 0 ( q ˜ i j , t ) 0 = q ˜ i j , t 0 , ( q ˜ i j , t + ) 0 = 0 , i f q ˜ i j , t 0 < 0

2.3. Modeling for Coupling Elements

The power system and the natural gas system are connected by coupling elements. Common coupling elements have P2Gs and gas turbines. This paper uses the energy conversion equation and the gas turbines’ consumption characteristic equation to represent the models of P2Gs and gas turbines, respectively.
(1) Energy conversion equation
q P 2 G , i , t = α P 2 G , i P P 2 G , i , t / C g , i
where q P 2 G , i , t is the gas outflow of ith P2G; α P 2 G , i and C g , i are the conversion factor and calorific value of natural gas.
(2) Gas turbines’ consumption characteristic equation
q GT , i , t = z 2 , i ( P GT , i , t ) 2 + z 1 , i P GT , i , t + z 0 , i
where q GT , i , t is the gas flow consumed by ith gas turbine; PGT,i,t is the power output of ith gas turbine; z2,I, z1,i and z0,i are the consumption characteristic constants of ith gas turbine.
Consumption characteristic Equation (45) is non-convex. Since unnecessary consumption will increase the cost of energy supply, Equation (45) can be relaxed into the following form:
q GT , i , t z 2 , i ( P GT , i , t ) 2 + z 1 , i P GT , i , t + z 0 , i
If the system optimization goal is the cost of energy supply, Equation (46) is always tight.

2.4. Objectives of OMEF

The optimization objectives of the multi-period OMEF model of the integrated electricity-gas system include the cost of generating electricity from coal-fired units, the cost of generating electricity from gas turbines, the cost of gas sources, and the penalty cost of wind power curtailment. The expression is as follows:
min F = t T [ i Ω GM ( a 2 , i P GM , i , t 2 + a 1 , i P GM , i , t + a 0 , i ) + i Ω GT ( b i q GT , i , t ) + i Ω GS ( c i q s , i , t ) + i Ω WT d i ( P WT , i , t wf P WT , i , t ) ] + Δ e + Δ g s . t .   { Equations   ( 1 ) , ( 2 ) , ( 5 ) - ( 8 )   and   convex   power   flow   equation Equations   ( 24 ) - ( 26 ) , ( 28 ) - ( 32 )   and   convex   natural   gas   flow   equation
where PGM,i,t is the power output of ith coal-fired unit; q GT , i , t is the gas flow consumed by ith gas turbine; q s , i , t is the ith gas source output; P WT , i , t wf and PWT,i,t is the predicted power and actual output of ith wind turbine; a2,i, a1,i and a0,i are respectively the cost factor of ith coal-fired unit; bi is the cost factor of ith gas turbine; ci is the cost factor of ith gas source; di is the cost factor of wind power curtailment; ΩGM, ΩGT, ΩGS and ΩWT are respectively the sets of coal-fired units, gas turbines, gas sources and wind turbines; ∆e and ∆g are the penalty terms for relaxation variables in power and natural gas systems to ensure the accuracy of convex relaxation models. The specific forms of ∆e and ∆g are respectively (23) and (42).

3. Decentralized Optimal Scheduling of OMEF for IEGS

Because the power system and the natural gas system belong to different stakeholders, and their respective information cannot be fully shared, it is necessary to study the decentralized optimal scheduling method.

3.1. Decentralized Framework

There are two common methods for regional topology separation: (1) Node tearing method. By node tearing, the node is divided into two to form two boundary nodes. (2) Branch tearing method. Introduce a virtual node at the midpoint of the interconnection branch, and divide the virtual node.
Both topological separation methods must satisfy the boundary coupling condition, that is, the boundary nodes of the sub-regions must meet the consistency of variables.
In the IEGS, the power system and the natural gas system are connected together through P2Gs and gas turbines. This article uses the node tearing method to decouple the entire system, as shown in Figure 2. The consistency of boundary variables can be described as follows:
x e = [ α P 2 G P P 2 G / C g , q ^ GT ] x g = [ q P 2 G , q GT ] x e x g = 0
where x e and x g are the boundary variable vectors of power system and natural gas system.

3.2. Decentralized Algorithm

The ADMM algorithm uses the ideas of dual decomposition and decoupling. It has the advantages of fast convergence and strong robustness. It is suitable for solving decentralized optimization problems, and the convex programming problem can be guaranteed to converge to the optimal solution through the ADMM algorithm.
Through the PCCP method, the power system and natural gas system have established corresponding convex models. In a decentralized framework, in order to ensure the convexity of the model, the ADMM algorithm is used to solve the decentralized OMEF problem at each iteration of PCCP.
First, according to the augmented Lagrange Equation, the coupling constraint (48) is relaxed into the objective function F, and the augmented Lagrange Equation is established as follows:
L ( x e , x g , y ) = F + y T ( x e x g ) + ρ 2 | | x e x g | | 2 2
where y is the Lagrange multiplier; ρ is the step size, which is constant.
Then, this problem is transformed into two independent sub-optimization problems according to the ADMM method. Its iterative format is as follows:
Z e , m + 1 = arg min [ F e + Δ e + ( y m ) T ( x e x g , m ) + ρ 2 | | x e x g , m | | 2 ] Z g , m + 1 = arg min [ F g + Δ g + ( y m ) T ( x e , m + 1 x g ) + ρ 2 | | x e , m + 1 x g | | 2 ] y m + 1 = y m + ρ ( x e , m + 1 x g , m + 1 )
where Z e , m + 1 and Z g , m + 1 are the iterative formats for power system optimization and natural gas system optimization problems; F e is the objective function of power system optimization, including the cost of generating electricity from coal-fired units and penalty cost of wind power curtailment; F g is the objective function of natural gas system optimization, including the cost of generating electricity from gas turbines and the cost of gas sources; y m + 1 is the iterative format of Lagrange multiplier; m is the number of iterations.
The convergence criteria for decentralized optimization are as follows:
r m + 1 = | | x e , m + 1 x g , m + 1 | | τ s e , m + 1 = | | x e , m + 1 x e , m | | τ s g , m + 1 = | | x g , m + 1 x g , m | | τ
where r m + 1 is the original residual, which reflects the infeasibleness of the decentralized model; s e , m + 1 and s g , m + 1 are the dual residuals of the power system and the natural gas system, reflecting whether the iterative calculations have converged to the optimal solution; τ is the convergence accuracy.
The decentralized solution can be described as: The power system calculates the optimal energy flow value according to the iterative format Z e , m + 1 , and passes the value of the boundary variable x e , m + 1 to the natural gas system. The natural gas system calculates the optimal energy flow value according to the iterative format Z g , m + 1 , and passes the value of the boundary variable x g , m + 1 to the power system for the next iterative operation. During the system optimization process, the network topology, operating conditions, and calculation optimization processes of the power system and natural gas system are independent. The power and natural gas system make global adjustments by exchanging a small amount of boundary information to obtain a global optimal solution.

3.3. Flowchart of Decentralized OMEF Optimization Algorithm

The algorithm proposed in this paper first transforms the non-convex OMEF problem into a convex programming problem through PCCP, and then, performs a decentralized solution at each iteration of PCCP according to ADMM. The algorithm flowchart is shown in Figure 3.
The detailed solution steps of the algorithm are as follows:
Step 1: System partition. According to the node tearing method, the IEGS is divided into two regions: power system and natural gas system.
Step 2: Initialization. Set PCCP algorithm parameters and ADMM algorithm parameters, and use ADMM to solve the OMEF problem modeled with QC relaxed power flow model and the natural gas system model that ignores Equation (27) to obtain the initial value of the iteration in the PCCP process.
Step 3: Power system and natural gas system establish corresponding convex models according to PCCP method.
Step 4: According to the model obtained in step 3, the ADMM method is used to establish and solve the decentralized OMEF problem at each iteration of the PCCP. Determine whether the ADMM convergence criterion is satisfied, that is, whether Equation (51) is satisfied. If it is satisfied, the optimization result is output, and the process proceeds to step 5; otherwise, update the number of iterations m and the Lagrange multiplier y for the next optimization iteration.
Step 5: According to the partial output of step 4, that is, the value of the relaxation variables of the power system and the natural gas system determines whether all meet the PCCP convergence conditions (max ε i , i j , t < ω ). If both systems meet the convergence conditions, output of the optimization results; otherwise, update the penalty coefficients γ e k and γ g k , the number of iterations k, and skip to step 3 to continue the optimization. To speed up the convergence, the value obtained at the kth iteration is set as the initial iteration value of k+1th iteration of PCCP and ADMM.
Step 6: Output calculation results.

4. Case Studies

In order to verify the accuracy of the algorithm proposed in this paper, case studies are carried out on a testing IEGS combined with an IEEE 39-bus power system and a Belgian 20-bus natural gas system. The topology of testing IEGS is shown in Appendix A, Figure A1. The proposed model and algorithm are implemented with GAMS and Matlab2019a, where GAMS is to as an optimization solver to solve the problem, and Matlab2019a is to call and analyze the calculation results from GAMS.

4.1. Simulation Model Description

In this simulation model, there are five coal-fired units, three gas turbines, and two wind turbines in the IEEE 39-bus power system. There are two gas sources, four gas storage tanks, and three natural gas compressors in the Belgian 20-bus natural gas system. The gas turbines (GT1, GT2, GT3) are connected to gas nodes 4, 10, 12 respectively. The input terminals of P2Gs are connected to the electricity nodes 33, 34, respectively, and the corresponding output terminals are connected to the gas nodes 13, 14. The initial total line pack is 5.86 × 106 m3. The cost factor of wind power curtailment is set as di = 50$/MW∙h. Other main parameters of the simulation model are shown in the Appendix A Table A1, Table A2, Table A3 and Table A4. The curve of electric load and gas load is shown in Figure 4. This paper takes one day with 24 h as a dispatch cycle.

4.2. Analysis of the Algorithm

In order to verify the accuracy of the decentralized framework and algorithm for the OMEF problem proposed in this paper, the algorithm solving process and optimization results are analyzed in detail. The key parameters of the algorithm in this paper are shown in Table 1.
In order to verify the accuracy and effectiveness of the decentralized algorithm proposed in this paper, the decentralized optimization results are compared with the centralized algorithm.
As shown in Table 2, the NLP algorithm is to solve the OMEF problem of IEGS without processing non-convex equations. Meanwhile, the PCCP algorithm is to use the PCCP method proposed in this paper to model for the power system and the natural gas system and solve it centrally. Comparing the two results, although NLP can directly use the IPOPT solver to solve the OMEF problem, the results obtained are not optimal solutions, and the non-convex nature makes the decentralized algorithm unable to converge or obtain ideal results. The PCCP algorithm used to solve the OMEF problem can converge to an optimal solution. PCCP-ADMM algorithm is the decentralized algorithm proposed in this paper. Compared with the PCCP centralized algorithm, the results obtained by the decentralized algorithm are similar to the centralized algorithm, which verifies the feasibility of the decentralized algorithm. The difference between the two results is 0.4%, which is acceptable. For optimization time, the decentralized algorithm takes more time than the centralized algorithm. However, the decentralized algorithm only needs to exchange a small amount of boundary information in each area to coordinate the global optimal scheduling, which guarantees the privacy of the information in each area.
The iterative process of PCCP-ADMM algorithm is shown in Figure 5. It can be seen from (a) that the optimization process performed 7 PCCP iterations and 22 ADMM iterations. As shown in (b), at the boundary of each iteration of PCCP, the ADMM residual will basically increase, because the algorithm’s solution mechanism is that the ADMM algorithm is performed at each iteration of PCCP, but the overall trend is declining. In addition, in the second iteration of PCCP and later, the number of ADMM iterations is small. The reason is that the energy flow results obtained by the PCCP-ADMM in these steps are close to the optimal solution, and the ADMM algorithm in k+1th iteration of PCCP uses the Lagrange multiplier result in kth iteration as the initial iteration value. Therefore, the proposed algorithm can not only guarantee convergence to the optimal solution, but also speed up the convergence speed.

4.3. Analysis of Optimization Results

The PCCP-ADMM algorithm proposed in this paper is used to solve and the OMEF problem. In order to analyze the impact of the dynamic characteristics of the natural gas system on the optimal scheduling of the system, this paper analyzes the following two cases:
(1)
Case 1: Regardless of the dynamic characteristics of the natural gas system (i.e., removing the Equations (24)–(26)), the objective is to optimize the cost of energy supply.
(2)
Case 2: Considering the dynamic characteristics of the natural gas system, the objective is to optimize the cost of energy supply.
This paper uses PCCP-ADMM algorithm to optimize two cases and analyzes the results to research the impact of the line pack on the optimal operation of the system, as shown in Figure 6 and Figure 7.
According to the optimization results, during the period of 1–6 h, the system’s electric and gas loads are in the trough period. Compared with Case 1, Case 2 has more gas sources output, and part of the gas is stored in the natural gas pipeline. As shown in Figure 6, the value of the total line pack rises. During the period of 8–12 h, the system load is at its peak. The load in the natural gas system in Case 1 is mainly satisfied by the output of the gas sources; in Case 2, during this period, there is a certain amount of the line pack to release, and the output of the gas sources is less. Therefore, considering the dynamic characteristics of natural gas systems, IEGS can buffer the gas inflow and gas outflow. The gas network has a certain energy storage capacity, which can effectively buffer load fluctuations. It improves the flexibility of the system operation while ensuring the quality of energy supply.
The cost of energy supply in each case is shown in Table 3. In Case 2, the cost is reduced due to the release of the line pack during the peak load period and used for system scheduling, with a reduction of 0.77%.
This paper focuses on Case 2. The output of some devices in the IEGS is shown in Figure 8.
For the power system, according to Figure 8b,d, it can be obtained that during the periods of 1–6 h and 22–24 h (load trough periods), the wind power output is relatively high. In order to absorb wind power, the excess power is injected into the natural gas system through P2Gs. In this period, P2Gs are basically close to full load operation. As shown in Figure 8a, during the period of 8–21 h, because the generating cost of coal-fired units is generally lower than that of gas turbines, coal-fired units are basically close to full power output; meanwhile the output of gas turbines is relatively flat, which is mainly output at peak loads.
For the natural gas system, as shown in the Figure 8c, it can be found that during the period of 2–6 h, the excess wind power is injected into the gas network through P2Gs and a part of it is stored in the gas storage tanks, and the gas inflow of the gas storage tanks is large. During the period of 8–12 h, due to the increase of system load, the gas storage tanks increase the gas outflow to meet the load demand.

5. Conclusions

Considering the dynamic characteristics of the natural gas system, the privacy of each system’s information, and the non-convexity of the OMEF model, this paper proposes a PCCP-ADMM decentralized algorithm to solve the OMEF problem. The simulation analysis of the testing IEGS proves the effectiveness of the algorithm and reaches the following conclusions:
(1)
For the non-convex OMEF model, this paper introduces the PCCP method to transform the non-convex OMEF problem into a convex programming problem, and proves the feasibility of the method from theoretical and simulation results.
(2)
This article analyzes the impact of the line pack on system performance. The calculation results show that considering the dynamic characteristics of the natural gas system can improve the flexibility and economy of the system.
(3)
Considering the privacy of the information of each subsystem in IEGS, this paper proposes a decentralized optimization algorithm for the OMEF problem based on PCCP-ADMM. In decentralized optimization, each system only needs to exchange a small amount of information to perform global coordination and optimization.

Author Contributions

Methodology, W.W.; Formal analysis, W.W.; Investigation, Z.L.; Data curation, H.Z.; Writing—original draft preparation, W.W.; Writing—review and editing, W.W.; Supervision, T.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 51777078.

Acknowledgments

The authors gratefully acknowledge the support of the National Natural Science Foundation of China.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. Topology of the testing IEGS.
Figure A1. Topology of the testing IEGS.
Applsci 10 03348 g0a1
Table A1. Parameters of units.
Table A1. Parameters of units.
UnitsCost FactorMaximum Output
Active Output (MW)Reactive Output (MVar)
a2a1a0
GM10.70026.9870646300
GM20.68221.9780725300
GM30.42525.000687300
GM40.45826.0980865300
GM50.89026.17601100300
bi
GT10.251040400
GT20.25580240
GT30.25564250
di
WT150652250
WT250508167
Table A2. Parameters of gas sources.
Table A2. Parameters of gas sources.
UnitsCost Factor ci($/m3)Minimum Output (m3/s)Maximum Output (m3/s)
S10.2510.3105.5
S20.2512.0104.2
Table A3. Parameters of P2Gs.
Table A3. Parameters of P2Gs.
Units α P 2 G , i C g , i
P2G10.639
P2G20.639
Table A4. Parameters of GTs.
Table A4. Parameters of GTs.
Unitsz2,iz1,iz0,i
GT10.07695.97690
GT20.04505.46920
GT20.06015.52420

References

  1. Wang, C.; Lv, C.; Li, P.; Song, G.; Li, S.; Xu, X.; Wu, J. Modeling and optimal operation of community integrated energy systems: A case study from China. Appl. Energy 2018, 230, 1242–1254. [Google Scholar] [CrossRef]
  2. Behar, O. A novel hybrid solar preheating gas turbine. Energy Convers. Manag. 2018, 158, 120–132. [Google Scholar] [CrossRef]
  3. Kirchbacher, F.; Biegger, P.; Miltner, M.; Lehner, M.; Harasek, M. A new methanation and membrane based power-to-gas process for the direct integration of raw biogas—Feasability and comparison. Energy 2017, 146, 34–46. [Google Scholar] [CrossRef]
  4. Zhou, K.; Yang, S.; Shao, Z. Energy Internet: The business perspective. Appl. Energy 2016, 178, 212–222. [Google Scholar] [CrossRef]
  5. Nastasi, B.; Basso, G.L. Power-to-Gas integration in the Transition towards Future Urban Energy Systems. Int. J. Hydrogen Energy 2017, 42, 23933–23951. [Google Scholar] [CrossRef]
  6. Liu, W.; Wen, F.; Xue, Y. Power-to-gas technology in energy systems: Current status and prospects of potential operation strategies. J. Mod. Power Syst. Clean Energy 2017, 5, 439–450. [Google Scholar] [CrossRef] [Green Version]
  7. Shahidehpour, M.; Fu, Y.; Wiedman, T. Impact of Natural Gas Infrastructure on Electric Power Systems. Proc. IEEE 2005, 93, 1042–1056. [Google Scholar] [CrossRef]
  8. Urbina, M.; Li, Z. A combined model for analyzing the interdependency of electrical and gas systems. In Proceedings of the 2007 39th North American Power Symposium, Las Cruces, NM, USA, 30 September–2 October 2007; pp. 468–472. [Google Scholar]
  9. Martinez-Mares, A.; Fuerte-Esquivel, C.R. A Unified Gas and Power Flow Analysis in Natural Gas and Electricity Coupled Networks. IEEE Trans. Power Syst. 2012, 27, 2156–2166. [Google Scholar] [CrossRef]
  10. Correa-Posada, C.M.; Sanchez-Martin, P. Integrated Power and Natural Gas Model for Energy Adequacy in Short-Term Operation. IEEE Trans. Power Syst. 2015, 30, 3347–3355. [Google Scholar] [CrossRef]
  11. Shahidehpour, M.; Liu, C.; Wang, J. Cordinated scheduling of electricity and natural gas infrastructures with a transient model for natural gas flow. Chaos 2011, 21, 025102. [Google Scholar]
  12. Fang, J.; Zeng, Q.; Ai, X.; Chen, Z.; Wen, J. Dynamic Optimal Energy Flow in the Integrated Natural Gas and Electrical Power Systems. IEEE Trans. Sustain. Energy 2017, 9, 188–198. [Google Scholar] [CrossRef]
  13. Chen, X.; Wang, C.; Wu, Q.; Dong, X.; Yang, M.; He, S.; Liang, J. Optimal operation of integrated energy system considering dynamic heat-gas characteristics and uncertain wind power. Energy 2020, 198, 117270. [Google Scholar] [CrossRef]
  14. Wang, S.; Wang, S.; Chen, H.; Gu, Q. Multi-energy load forecasting for regional integrated energy systems considering temporal dynamic and coupling characteristics. Energy 2020, 195, 116964. [Google Scholar] [CrossRef]
  15. Bao, Z.; Ye, Y.; Wu, L. Multi-timescale coordinated schedule of interdependent electricity-natural gas systems considering electricity grid steady-state and gas network dynamics. Int. J. Electr. Power Energy Syst. 2020, 118, 105763. [Google Scholar] [CrossRef]
  16. Qu, K.; Zheng, B.; Yu, T.; Li, H. Convex decoupled-synergetic strategies for robust multi-objective power and gas flow considering power to gas. Energy 2019, 168, 753–771. [Google Scholar] [CrossRef]
  17. He, Y.; Yan, M.; Shahidehpour, M.; Li, Z.; Guo, C.; Wu, L.; Shao, C. Decentralized Optimization of Multi-Area Electricity-Natural Gas Flows Based on Cone Reformulation. IEEE Trans. Power Syst. 2018, 33, 4531–4542. [Google Scholar] [CrossRef]
  18. Qu, K.; Shi, S.; Yu, T.; Wang, W. A convex decentralized optimization for environmental-economic power and gas system considering diversified emission control. Appl. Energy 2019, 240, 630–645. [Google Scholar] [CrossRef]
  19. Stott, B.; Jardim, J.; Alsac, O. DC Power Flow Revisited. IEEE Trans. Power Syst. 2009, 24, 1290–1300. [Google Scholar] [CrossRef]
  20. Jabr, R.A. Radial Distribution Load Flow Using Conic Programming. IEEE Trans. Power Syst. 2006, 21, 1458–1459. [Google Scholar] [CrossRef]
  21. Correa-Posada, C.M.; Sanchez-Martin, P. Security-Constrained Optimal Power and Natural-Gas Flow. IEEE Trans. Power Syst. 2014, 29, 1780–1787. [Google Scholar] [CrossRef]
  22. Bischi, A.; Taccari, L.; Martelli, E.; Amaldi, E.; Manzolini, G.; Silva, P.; Campanari, S.; Macchi, E. A detailed MILP optimization model for combined cooling, heat and power system operation planning. Energy 2014, 74, 12–26. [Google Scholar] [CrossRef]
  23. Wang, C.; Wei, W.; Wang, J.; Bai, L.; Liang, Y.; Bi, T. Convex Optimization Based Distributed Optimal Gas-Power Flow Calculation. IEEE Trans. Sustain. Energy 2018, 9, 1145–1156. [Google Scholar] [CrossRef]
  24. Wang, C.; Wei, W.; Wang, J.; Wu, L.; Liang, Y. Equilibrium of Interdependent Gas and Electricity Markets with Marginal Price Based Bilateral Energy Trading. IEEE Trans. Power Syst. 2018, 33, 4854–4867. [Google Scholar] [CrossRef]
  25. Tian, Z.; Wu, W. Recover Feasible Solutions for SOCP Relaxation of Optimal Power Flow Problems in Mesh Networks. IET Gener. Transm. Distrib. 2019, 13, 1078–1087. [Google Scholar] [CrossRef] [Green Version]
  26. Low, S.H. Convex Relaxation of Optimal Power Flow—Part I: Formulations and Equivalence. IEEE Trans. Control Netw. Syst. 2014, 1, 15–27. [Google Scholar] [CrossRef] [Green Version]
  27. Van Hertem, D.; Verboomen, J.; Purchala, K.; Belmans, R.; Kling, W. Usefulness of DC power flow for active power flow analysis with flow controlling devices. In Proceedings of the 8th IEE International Conference on AC and DC Power Transmission, London, UK, 28–31 March 2006; pp. 58–62. [Google Scholar]
  28. Coffrin, C.J.; Hijazi, H.L.; Van Hentenryck, P. The QC Relaxation: A Theoretical and Computational Study on Optimal Power Flow. IEEE Trans. Power Syst. 2016, 31, 3008–3018. [Google Scholar] [CrossRef]
Figure 1. Framework of IEGS.
Figure 1. Framework of IEGS.
Applsci 10 03348 g001
Figure 2. Decentralized framework.
Figure 2. Decentralized framework.
Applsci 10 03348 g002
Figure 3. Algorithm flowchart.
Figure 3. Algorithm flowchart.
Applsci 10 03348 g003
Figure 4. The curve of electric load and gas load.
Figure 4. The curve of electric load and gas load.
Applsci 10 03348 g004
Figure 5. Iterative process of PCCP-ADMM: (a) The number of iterations of ADMM in each iteration of PCCP; (b) The convergence process of residuals in the overall iteration.
Figure 5. Iterative process of PCCP-ADMM: (a) The number of iterations of ADMM in each iteration of PCCP; (b) The convergence process of residuals in the overall iteration.
Applsci 10 03348 g005
Figure 6. Change of the total line pack.
Figure 6. Change of the total line pack.
Applsci 10 03348 g006
Figure 7. Output of gas sources in different cases.
Figure 7. Output of gas sources in different cases.
Applsci 10 03348 g007
Figure 8. Output of some devices in Case 2: (a) Output of some devices in the power system; (b) Output of wind turbines; (c) Output of some devices in the natural gas system; (d) Output and input of P2Gs.
Figure 8. Output of some devices in Case 2: (a) Output of some devices in the power system; (b) Output of wind turbines; (c) Output of some devices in the natural gas system; (d) Output and input of P2Gs.
Applsci 10 03348 g008
Table 1. The parameters of the algorithm.
Table 1. The parameters of the algorithm.
AlgorithmParameters
PCCPpower system γ e 0 γ e , max μ e ω e
10100020.1
natural gas system γ g 0 γ g , max μ g ω g
0.110020.01
ADMMρτ
10000.01
Table 2. Performance of PCCP-ADMM algorithm.
Table 2. Performance of PCCP-ADMM algorithm.
AlgorithmObjective($)Iteration Time(s)
centralized optimizationNLP5.3164 × 106834.19
PCCP4.9680 × 106545.26
decentralized optimizationPCCP-ADMM4.9881 × 1062268.18
Table 3. Comparison of costs in different cases.
Table 3. Comparison of costs in different cases.
CaseObjective($)Reduction (%)
15.0267 × 1060.77
24.9881 × 106

Share and Cite

MDPI and ACS Style

Wu, W.; Yu, T.; Li, Z.; Zhu, H. Decentralized Optimization of Electricity-Natural Gas Flow Considering Dynamic Characteristics of Networks. Appl. Sci. 2020, 10, 3348. https://doi.org/10.3390/app10103348

AMA Style

Wu W, Yu T, Li Z, Zhu H. Decentralized Optimization of Electricity-Natural Gas Flow Considering Dynamic Characteristics of Networks. Applied Sciences. 2020; 10(10):3348. https://doi.org/10.3390/app10103348

Chicago/Turabian Style

Wu, Weicong, Tao Yu, Zhuohuan Li, and Hanxin Zhu. 2020. "Decentralized Optimization of Electricity-Natural Gas Flow Considering Dynamic Characteristics of Networks" Applied Sciences 10, no. 10: 3348. https://doi.org/10.3390/app10103348

APA Style

Wu, W., Yu, T., Li, Z., & Zhu, H. (2020). Decentralized Optimization of Electricity-Natural Gas Flow Considering Dynamic Characteristics of Networks. Applied Sciences, 10(10), 3348. https://doi.org/10.3390/app10103348

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop