Abstract
The sharp increase in the total installed capacity of natural gas generators has intensified the dynamic interaction between the electricity and natural gas systems, which could induce cascading failure propagation across the two systems that deserves intensive research. Considering the distinct time response behaviors of the two systems, this paper discusses an integrated simulation approach to simulate the cascading failure propagation process of integrated electricity and natural gas systems (IEGSs). On one hand, considering instantaneous re-distribution of power flows after the occurrence of disturbance or failure, the steady-state AC power flow model is employed. On the other hand, gas transmission dynamics are represented by dynamic model to capture the details of its transition process. The interactions between the two systems, intensified by energy coupling components (such as gas-fired generator and electricity-driven gas compressor) as well as the switching among the operation modes of compressors during the cascading failure propagation process, are studied. An IEGS composed of the IEEE 30-bus electricity system and a 14-node 15-pipeline gas system is established to illustrate the effectiveness of the proposed simulation approach, in which two energy sub-systems are coupled by compressor and gas-fired generator. Numerical results clearly demonstrate that heterogeneous interactions between electricity and gas systems would trigger the cascading failure propagation between the two coupling systems.
WITH the increasing installation of energy coupling components such as gas-fired generators and electricity-driven gas compressors, the electricity system has been coupled with the natural gas system more intensively, forming the integrated electricity and natural gas system (IEGS) [
The increasingly complicated interactions and interdependencies of the two distinct physical networks impose remarkable challenges on the reliable operation of IEGS [
Indeed, in IEGS, there are many types of interactions that can spread local disturbances or failures throughout the whole system [
Existing researches on the IEGS have mainly focused on the interdependency analysis as well as the coordinated scheduling and planning. The unidirectional effect of intermittent wind generation on pressures fluctuations in gas pipelines has been studied in [
However, to the best of the authors’ knowledge, research on the cascading failure propagation procedure triggered by various interactions between electricity and natural gas systems is very limited. Specifically, the cascading failure propagation throughout the IEGS is very different from that in individual electricity or natural gas system, due to distinct physical characteristics of the electricity and natural gas systems as well as the operation mode switching of gas compressors during the propagation process. Thus, in order to discover the cascading evolution dynamics during the disturbance or failure propagation, this paper proposes an integrated co-simulation solution.
The major contributions of this work are twofold:
1) As an important energy coupling component, a natural gas compressor during the disturbance or failure induced transient process is modelled via four operation modes and their transition. The switching among operation modes is triggered when certain operation constraints are activated.
2) A unified co-simulation framework is proposed to discover the bi-directional interaction between electricity and natural gas systems, in which the models of gas transmission and power flow are combined via energy coupling components, such as gas-fired generators and electricity-driven gas compressors. In the co-simulation, considering the slow velocity of natural gas, a dynamic transmission model of the natural gas system is adopted. Meanwhile, the steady-state AC power flow model is applied owing to the instantaneous power flow re-distribution, and an economic power dispatching under failure propagation is included to derive reasonable results.
The remaining paper is organized as follows. The mechanism of cascading failure propagation and the integrated simulation framework of IEGS are presented in Section II. Section III addresses the modelling of integrated simulation solution to describe the cascading failure propagation. Simulation results are presented in Section IV, and the conclusions are drawn in Section V.
The operation of electricity and natural gas systems becomes increasingly interdependent, due to the intensified physical interconnection via energy coupling assets in both systems. The cascading failure propagation is a consequence of such interdependence and coupling. An illustrative schematic on the mechanism of cascading failure propagation between the two systems is depicted in

Fig. 1 Schematic illustration of cascading failure propagation mechanism in IEGS.
The time constants of dynamics in electricity and natural gas infrastructures vary from milliseconds to hours. That is, the transportation of the two types of energy occurs in different timeframes. Specifically, electric energy travels at the speed of light, while the velocity of natural gas delivery is typically low (10 m/s) [
The proposed co-simulation framework is shown in

Fig. 2 Timeframe of integrated co-simulation solution to describe cascading failure propagation in IEGS.
The electricity and natual gas systems are physically interconnected via a number of assets. In this study, two of the most significant energy coupling assets interconnecting the two systems are considered, i.e., electricity-driven natural gas compressors and gas-fired electricity generators.
Natural gas compressors are installed along pipelines in order to compensate pressure losses. Maintaining the pressures of natural gas flows by compressors requires the consumption of electric power. The electric power consumption of a compressor is given by:
(1) |
where is the mass flow rate through a compressor; and are the pressures at the outlet and inlet of a compressor, respectively; is the isentropic coefficient of natural gas; is the gas density at reference conditions; is the product of adiabatic efficiency of compressor and the driver efficiency; gas constant ; temperature K; compressibility factor ; and f is the fraction of total driver power provided by electric drivers. All the other parameters are empirical parameters of compressors, which can be referred to [
The natural gas mass flow rate running through a compressor with the pressure lifting is constrained by:
(2) |
where and are the lower and upper limits of mass flow rate through it, respectively.
The pressure ratio is also limited within a feasible range as in (3), which is based on compressor characteristics:
(3) |
where and are the lower and upper limits of pressure ratio between the outlet and inlet, respectively.
The pressure at the outlet of a compressor is also constrained by:
(4) |
where and are the lower and upper limits of outlet pressure, respectively.
The natural gas compressor is commonly described via the following four operation modes:
1) Mode 1: fixed inlet mass flow rate.
2) Mode 2: fixed boost ratio .
3) Mode 3: fixed outlet pressure.
4) Mode 4: acting as a regular pipeline.
Indeed, in Mode 4, the compressing function does not work and the compressor acts as a regular pipeline. This mode could be triggered when the electricity supplied to compressor is insufficient or the mass flow rate through it becomes a negative value, i.e., running from outlet to inlet, based on the assumption that the compressed mass flow is uni-directional.
The switching among four operation modes is illustrated in

Fig. 3 Operation mode switching of a natural gas compressor.
As another energy coupling component, a gas-fired electricity generator connects the electricity and natural gas system by consuming natural gas to generate electricity. The relationship between natural gas consumption and the electricity generation can be formulated as follows:
(5) |
where is the mass flow rate of natural gas consumption to generate electricity at the level of ; and is the constant energy conversion coefficient.
In addition, the operation constraints on the pressure at the inlet of gas-fired generator are usually imposed, which will be presented in the following section when modelling gas transmission dynamics.
The steady-state AC power flow model is adopted to simulate the impacts of a disturbance on the power grid, including instantaneous re-distribution of power flows as well as reactive power and bus voltage. Constraints of the AC power flow model are described as follows.
(6) |
(7) |
where and are the active and reactive power injections at bus i at time t, respectively; is the amplitude of the voltage at bus i at time t; is the difference in phase-angles of the voltages at bus i and bus j at time t; and is defined as the admittance of the system.
(8) |
(9) |
where and are the active and reactive power outputs of generator i, respectively; , , , and are the corresponding upper and lower limits of and , respectively.
(10) |
where and are the upper and lower limits of bus voltage , respectively.
(11) |
where is the power transferred through branch b; and is the capacity of branch b.
In actual grid operation, load shedding is considered as the last resort to ensure system security. Constraint (12) is included to consider load shedding in the economic dispatch model.
(12) |
where is the electricity load at time t; is the original electricity load at bus i before load shedding; and L is the set of electricity load.
The dispatching objective in electricity system usually targets on minimizing the total operation costs, including generation cost and load shedding cost:
(13) |
where is the price coefficient for electricity generator j; and is the price coefficient of load shedding at load i. Usually, is much higher than , indicating that load shedding is the last resort for maintaining system security. In the simulation, for electricity-driven compressor is identical to that for other electricity loads, i.e., they are given the same priority for load shedding, while the optimal load shedding strategy will drive the minimum system losses.
The optimization problem composed by objective (13) and constraints (6)-(12) can be solved by particle swarm optimization (PSO). In PSO, AC power flow is calculated by Newton-Raphson iteration, the constraints (8), (9) and (12) are satisfied in particle generations, and the constraints (10) and (11) are satisfied by imposing penalty on the optimization objective.
In natural gas system, the travelling time of natural gas mass from source nodes to load nodes is not negligible. Indeed, after the occurrence of a disturbance or failure, the gas system would take a much longer response time to reach a new steady state. Thus, during the transient propagation process, gas dynamic model has to be used to describe such transmission characteristics.
In order to represent the dynamic characteristics of natural gas system accurately, the basic principles of fluid dynamics is used to describe natural gas transmission along pipelines. The mass-balance equation is formulated as follows, describing the conservation of natural gas mass in a pipeline [
(14) |
where and M are the density and mass flow rate of natural gas, respectively; t and x are the time and spatial indices, respectively; and A is the cross-sectional area of the pipeline.
In the theory of natural gas transmission dynamics, the momentum equation, also known as Navier-Stokes equation, is used to represent the momentum transport in the continuum of natural gas. With proper assumptions, the equation can be simplified as the following form [
(15) |
where d is the diameter of the pipeline. The value of friction factor is usually chosen as 0.015. The relationship between pressure and density can be expressed as , where parameter . It is noteworthy that fluid dynamics constraints (14) and (15) are partial differential equations, and their solutions can be approximated by the Wendroff difference method. Consequently, (14) and (15) can be reformulated as (16) and (17), describing the dynamic characteristics of natural gas mass flow rates and pressures at two nodes m and n of a pipeline mn. It can be seen that considering transmission dynamics, the mass flow rates and pressures of natural gas within a pipeline are coupled in space and time.
(16) |
(17) |
where Lmn is the length of pipeline mn; is the number of steps to simulate gas dynamics during an execution period of electricity scheduling, and is equal to ; and is the average gas flow rate, which is calculated as .
In addition, in natural gas system, at an intersection where nodes are connected, a consensus gas pressure as well as a balanced mass flow rate needs to be guaranteed. Such boundary conditions are imposed as follows:
(18) |
(19) |
In the natural gas system, the mass flow rates at generation and non-generation gas load nodes, , (GL and NGL are the sets of generation and non-generation natural gas load nodes, respectively), are known during the time span of gas dynamics simulation. The mass flows and pressures also need to satisfy their upper and lower operation limits given in (20) and (21), respectively. Constraint (21) also includes limits on natural gas pressures at inlet of gas-fired generators.
(20) |
(21) |
When considering the natural gas transmission dynamics, (16)-(21) constitute an LP problem, which can be effectively solved by commercial LP solvers such as CPLEX to determine the pressures and the mass flow rates at the two nodes m and n of each pipeline.
The procedure of the integrated co-simulation for cascading failure propagation in IEGS is described as follows.
Step 1: at , calculate initial steady state of the electricity and natural gas system. Assuming that the compressor operates in Mode 1 with the given inlet mass flow rate, calculate the initial steady-state operation point of the natural gas system by the steady-state model [
Step 2: initiate a cascading propagation by starting a triggering event.
Step 3: conduct power dispatching optimization (6)-(13) to derive a new electricity steady state in terms of generations and loads, when AC power flow calculation converges.
Step 4: derive natural gas consumptions of gas-fired generators via (5) and on/off state of electricity-driven natural gas compressors.
Step 5: perform the simulation of natural gas transmission dynamics over the following time period. In the simulation of gas dynamics, switching among the four operation modes of natural gas compressor is achieved by checking whether the pressure ratio, outlet pressure, or mass flow rate reaches the corresponding limit.
Step 6: calculate the electricity consumption of natural gas compressor via (1).
Step 7: set and go to Step 3 if the cascade still keeps spreading till the operation states of the IEGS remain unchanged, i.e., a new steady state of the entire IEGS is achieved.
During the co-simulation procedure of cascading failure propagation, if a disturbance or failure occurs, i.e., the variation of electricity or natural gas demand, or the outage of an electricity branch or a gas pipeline, it will be considered in the corresponding power dispatching in Step 3 or the computation of natural gas transmission dynamics in Step 5.
In summary, in a unified time frame, different time scales are used to alternately solve the two models, i.e., natural gas transmission dynamics model and AC power flow based electricity dispatching model, to simulate the disturbance or failure propagation process between the two coupled systems.
An IEGS is established to explore the disturbance or failure propagation process, which consists of a 14-node 14-branch natural gas system and the IEEE 30-bus electricity system, as shown in

Fig. 4 Topologies of electricity and natural gas systems in IEGS.
In the simulation, the parameters are set as s and s. We consider that the IEGS initially operates at a steady-state point as described in Tables I-IV.
The compressor works in Mode 1 with the fixed mass flow rate of 3 kg/s, and the pressure ratio between outlet and inlet is 1.774. For the compressor, the limits on pressure ratio, outlet pressure, and compressed mass flow rate are set as [
In Case 1, it is assumed that at s, the step increases by 50% of the present values occur simultaneously in non-generation gas demands at nodes 9-11, which is shown in

Fig. 5 Mass flow rates through pipelines in natural gas system in Case 1.

Fig. 6 Pressures at nodes in natural gas system in Case 1.
As for the compressor, the pressure ratio between the outlet and inlet is depicted in

Fig. 7 Outlet/inlet pressure ratio and working mode of natural gas compressor in Case 1.
During the period from s to s, the electricity demand from the gas compressor varies with the change of compress ratio or mass flow rate, which induces fluctuations in active power flows through electricity branches, as shown in

Fig. 8 Active power flows through branches in electricity system in Case 1.
In summary, the propagation process can be divided into two periods. During the first period from s to s, a triggering event of non-generation gas demand increase causes the pressure drop, the increase of compress ratio, and power flow fluctuations. During the second period after s, the inlet pressure drop forces the gas-fired generator offline and in turn causes the power flow re-distribution. After the transient process, the IEGS completes the transition from an initial steady state to a new one.
In Case 2, the propagation process between the electricity and natural gas systems is investigated, initiated by the outage of natural gas pipeline 5 at s. Since the failure occurs on gas pipeline 5, the outlet pressure of gas-fired generator falls rapidly and soon falls below its lower bound at t=624 s, inducing the outage of gas-fired generator. And the mass flow rate at outlet of pipeline 6 becomes zero, as shown in

Fig. 9 Mass flow rates through pipelines in natural gas system in Case 2.
After the outage of the gas-fired generator, the pressures at nodes 6, 7 and 14 upswing rapidly. On the contrary, the inlet pressure of the compressor at node 13 rises gradually because of the slow gas transmission dynamics, which is shown in

Fig. 10 Pressures at nodes in natural gas system in Case 2.
The compress ratio variation and working mode switching during the propagation are illustrated in

Fig. 11 Outlet/inlet pressure ratio and working mode of natural gas compressor in Case 2.

Fig. 12 Active power flows through branches in electricity system in Case 2.
At s, the electricity branch 33 encounters an outage, and a new electricity steady state is instantaneously achieved by re-dispatching, as shown in

Fig. 13 Active power flows through branches in electricity system in Case 3.

Fig. 14 Outlet/inlet pressure ratio and working mode of natural gas compressor in Case 3.

Fig. 15 Mass flow rates through pipelines in natural gas system in Case 3.
As shown in

Fig. 16 Pressures at nodes in natural gas system in Case 3.
The disturbance in the natural gas system such as non-generation gas demand variations, pipeline outage as well as induced changes of mass flow rates or pressures, can bring about a slow gas dynamic process and propagate to the electricity system through coupling components after a transient period, not instantaneously. On one hand, the increase in electricity demand of compressors can influence the operation points of the electricity system, but this influence is not significant due to the relatively small proportion of electricity consumptions of compressors in the total demand. On the other hand, the decrease in inlet pressure of gas-fired generators can lead to forced outages of gas-fired generators, which could vary the operation points of the electricity system significantly and even cut off some electricity loads, especially when certain branches are heavily loaded.
The re-distribution of power flows induced by the disturbance or failure in the electricity system is achieved instantaneously. It propagates from the electricity system to the natural gas system through electricity-driven natural gas compressors and/or gas-fired generators. Generator outages might lead to negligible impact on the network operation, owing to the small proportion of generation gas demand in the total gas demand and the flexibility of linepack within pipeline infrastructure. On the contrary, compressor outages would cause sharp and immediate decline of pressures at its downstream nodes including the inlet pressure of generator, which in turn forces the offline of gas-fired electricity generators.
This paper investigates the disturbance or failure induced cascading propagation process in the IEGS with energy coupling components, including gas-fired generators and electricity-driven natural gas compressors. An integrated simulation approach is proposed to describe the cascading failure propagation by integrating gas transmission dynamics and AC power flow based electricity optimal dispatching in a unified co-simulation framework, in which distinct time responses of the two systems are represented and the working mode switching of gas compressors is considered. Numerical case studies are implemented to illustrate the cascading propagation triggered via various interactions. Specifically, the disturbance of gas demand variation or gas pipeline outage can induce a slow propagation from the natural gas system to the electricity system. Meanwhile, compressor outage can lead to an immediate offline of gas-fired generators, which could bring about load shedding in the electricity system, especially when the electricity system is stressed. Consequently, it is suggested that special attentions need to be paid to maintain the normal operation of compressors. In addition, facing the slow propagation, prevention measures may be effective, which will be explored in our future research work.
REFERENCES
D. Chen, Z. Bao, and L. Wu, “Integrated coordination scheduling framework of electricity-natural gas systems considering electricity transmission N1 contingencies and gas dynamics,” Journal of Modern Power Systems and Clean Energy, vol. 7, no. 6, pp. 1422-1433, Nov. 2019. [百度学术]
A. Nikoobakht, J. Aghaei, M. Shafie-khah et al., “Continuous-time co-operation of integrated electricity and natural gas systems with responsive demands under wind power generation uncertainty,” IEEE Transactions on Smart Grid, vol. 11, no. 4, pp. 3156-3170, Jul. 2020. [百度学术]
C. Liu, M. Shahidehpour, and J. Wang, “Coordinated scheduling of electricity and natural gas infrastructures with a transient model for natural gas flow,” Chaos, vol. 21, no. 2, pp. 1-12, Jun. 2011. [百度学术]
C. He, L. Wu, T. Liu et al., “Robust co-optimization planning of interdependent electricity and natural gas systems with a joint N1 and probabilistic reliability criterion,” IEEE Transactions on Power Systems, vol. 33, no. 2, pp. 2140-2154, Mar. 2018. [百度学术]
M. Moein, A. Ali, F. Mahmud et al., “A decomposed solution to multiple-energy carriers optimal power flow,” IEEE Transactions on Power Systems, vol. 29, no. 2, pp. 707-716, Mar. 2014. [百度学术]
C. Liu, M. Shahidehpour, Y. Fu et al., “Security-constrained unit commitment with natural gas transmission constraints,” IEEE Transactions on Power Systems, vol. 24, no. 3, pp. 1523-1536, Aug. 2009. [百度学术]
X. Xu, H. Jia, H. Chiang et al., “Dynamic modeling and interaction of hybrid natural gas and electricity supply system in Microgrid,” IEEE Transactions on Power Systems, vol. 30, no. 3, pp. 1212-1221, May 2015. [百度学术]
C. He, C. Dai, L. Wu et al., “Robust network hardening strategy for enhancing resilience of integrated electricity and natural gas distribution systems against natural disasters,” IEEE Transactions on Power Systems, vol. 33, no. 5, pp. 5787-5798, Sept. 2018. [百度学术]
M. Shahidehpour, Y. Fu and T. Wiedman, “Impact of natural gas infrastructure on electric power systems,” Proceedings of the IEEE, vol. 93, no. 5, pp. 1042-1056, May 2005. [百度学术]
K. Pambour, B. Erdener, R. Bolado-Lavin et al., “SAInt–a novel quasi-dynamic model for assessing security of supply in coupled gas and electricity transmission networks,” Applied Energy, vol. 203, pp. 829-857, Oct. 2017. [百度学术]
R. Levitan, S. Wilmer, and R. Carlson, “Unraveling gas and electric interdependencies across the eastern interconnection,” IEEE Power and Energy Magazine, vol. 12, no. 6, pp. 78-88, Nov.-Dec. 2014. [百度学术]
M. Shariatkhah, M. Haghifam, G. Chicco et al., “Adequacy modeling and evaluation of multi-carrier energy systems to supply energy services from different infrastructures,” Energy, vol. 109, no. 1, pp. 1095-1106, Aug. 2016. [百度学术]
S. Chen, Z. Wei, G. Sun et al., “Multi-linear probabilistic energy flow analysis of integrated electrical and natural-gas systems,” IEEE Transactions on Power Systems, vol. 32, no. 3, pp. 1970-1979, May 2017. [百度学术]
T. Li, M. Eremia, and M. Shahidehpour, “Interdependency of natural gas network and power system security,” IEEE Transactions on Power Systems, vol. 23, no. 4, pp. 1817-1824, Nov. 2008. [百度学术]
M. Chertkov, S. Backhaus, and V. Lebedev, “Cascading of fluctuations in interdependent energy infrastructures: gas-grid coupling,” Applied Energy, vol. 160, pp. 541-551, Dec. 2015. [百度学术]
B. Erdener, K. Pambour, R. Lavin et al., “An integrated simulation model for analysing electricity and gas systems,” International Journal of Electrical Power and Energy Systems, vol. 61, pp. 410-420, Oct. 2014. [百度学术]
Y. He, M. Shahidehpour, Z. Li et al., “Robust constrained operation of integrated electricity-natural gas system considering distributed natural gas storage,” IEEE Transactions on Sustainable Energy, vol. 9, no. 3, pp. 1061-1071, Jul. 2018. [百度学术]
L. Bai, F. Li, H. Cui et al., “Interval optimization based operating strategy for gas-electricity integrated energy systems considering demand response and wind uncertainty,” Applied Energy, vol. 167, pp. 270-279, Apr. 2016. [百度学术]
F. Wei, Q. Wu, Z. Jing et al., “Optimal unit sizing for small-scale integrated energy systems using multi-objective interval optimization and evidential reasoning approach,” Energy, vol. 111, pp. 933-946, Oct. 2016. [百度学术]
A. Alabdulwahab, A. Abusorrah, X. Zhang et al., “Stochastic security-constrained scheduling of coordinated electricity and natural gas infrastructures,” IEEE Systems Journal, vol. 11, no. 33, pp. 1674-1683, Sep. 2017. [百度学术]
S. Clegg and P. Mancarella, “Integrated electrical and gas network flexibility assessment in low-carbon multi-energy systems,” IEEE Transactions on Sustainable Energy, vol. 7, no. 2, pp. 718-731, Apr. 2016. [百度学术]
M. Carlos and S. Pedro, “Integrated power and natural gas model for energy adequacy in short-term operation,” IEEE Transactions on Power Systems, vol. 30, no. 6, pp. 3347-3355, Nov. 2015. [百度学术]
L. Bai, F. Li, T. Jiang et al., “Robust scheduling for wind integrated energy systems considering gas pipeline and power transmission N1 contingencies,” IEEE Transactions on Power Systems, vol. 32, no. 2, pp. 1582-1584, Mar. 2017. [百度学术]
J. Fang, Q. Zeng, X. Ai et al., “Dynamic optimal energy flow in the integrated natural gas and electrical power systems,” IEEE Transactions on Sustainable Energy, vol. 9, no. 1, pp. 188-198, Jan. 2018. [百度学术]
Z. Bao, D. Chen, L. Wu et al., “Optimal inter- and intra-hour scheduling of islanded integrated-energy system considering linepack of gas pipelines,” Energy, vol. 171, no. 1, pp. 326-340, Mar. 2019. [百度学术]