Coordinated Operation of Electricity and Natural Gas Networks with Consideration of Congestion and Demand Response

: This work presents a new coordinated operation (CO) framework for electricity and natural gas networks, considering network congestions and demand response. Credit rank (CR) indicator of coupling units is introduced, and gas consumption constraints information of natural gas ﬁred units (NGFUs) is given. Natural gas network operator (GNO) will deliver this information to an electricity network operator (ENO). A major advantage of this operation framework is that no frequent information interaction between GNO and ENO is needed. The entire framework contains two participants and three optimization problems, namely, GNO optimization sub-problem-A, GNO optimization sub-problem-B, and ENO optimization sub-problem. Decision sequence changed from traditional ENO-GNO-ENO to GNO-ENO-GNO in this novel framework. Second-order cone (SOC) relaxation is applied to ENO optimization sub-problem. The original problem is reformulated as a mixed-integer second-order cone programming (MISOCP) problem. For GNO optimization sub-problem, an improved sequential cone programming (SCP) method is applied based on SOC relaxation and the original sub-problem is converted to MISOCP problem. A benchmark 6-node natural gas system and 6-bus electricity system is used to illustrate the effectiveness of the proposed framework. Considering pipeline congestion, CO, with demand response, can reduce the total cost of an electricity network by 1.19%, as compared to − 0.48% using traditional decentralized operation with demand response.


Introduction
In November 2018, the European Union (EU) presented its long-term vision for a carbon-neutral economy by 2050. While renewable energy sources are adopted in achieving this goal, the EU will require more grid scale storage as the fraction of intermittent renewable energy becomes larger. Without significant grid scale storage, renewable energy sources may have to be taken off the grid or carry out large-scale load shedding to avoid de-stabilizing the grid when supply outstrips demand. Many options are being studied for grid scale storage, but no sustainable, marketable, affordable, and renewable solution is on the table. Power to Gas is a technology that could be useful in the short to medium term, as a component of a comprehensive grid scale storage solution, in support of a power grid supplied by intermittent renewable energy systems (RES) in the long term to promote smart energy for smart cities [1][2][3]. At the same time, some research deals with the energy, exergy, economic, and exergoenvironmental analyses of hybrid combined system [4].
The use of natural gas to produce electricity is increasing dramatically throughout the world. This trend is being driven by the cost and environmental advantages of gas-fired generation as compared to that of the coal. This increase has also highlighted the need for greater coordination between natural gas and electricity systems. Insufficient coordination limits pipeline operators from providing accurate guidance on gas quantities to supply gas-fired generators each hour [5]. In general, generators overschedule gas deliveries to ensure enough resources to operate. The inefficiency will only increase with the growing use of natural gas for electricity generation. While the two systems have operated for decades, closer coordination could save money, improve efficiencies, and minimize potential disruptions. Improved coordination of these networks will increase energy resiliency and reliability while reducing the cost of natural gas supply for electricity generation.
Natural gas generation can reduce the use of coal-fired power, support integration of renewable resources, and reduce greenhouse gas emission. In power systems with increasing numbers of uncertain renewable sources, gas generation is taking a more important role in supplying short-term flexibility to match unexpected electricity consumption. In the electricity network, the natural gas generation units are rapid response units that overcome generation scarcity caused by sudden variations in the electricity consumption or the renewable generation dispatch. The gas turbines' flexibility relates to the gas network's flexibility [5]. The performance of the gas turbine is affected by some important parameters that consist of the compression ratio, ambient temperature, pressure, humidity, turbine inlet temperature, specific fuel consumption, and air to fuel ratio [6].
Reference [7] examined the renewable energy sources impact, including pumpedstorage units and photovoltaic systems on power system security from electricity and natural gas networks perspective. With the large-scale natural gas infrastructure deployment, which leads to changes in capabilities of pipelines, operational procedures, supply, and tariffs, it is important to have coordination between the two networks to enhance future energy system reliability [8].
Natural gas volume is susceptible to price changes and influences the generation and commitment costs of generating units. Naturally, an increasing amount of natural gas usage in the electricity sector has raised difficulties for natural gas network planning and operation. Natural gas pipelines' pressure interruption or loss may contribute to the outage of several natural gas-fired generators and lead to power system security issues. For electricity networks, intermittent renewable energy sources have no fuel costs and only have a fixed operating cost for operation. To achieve robust power system operations, natural gas units may provide flexible dispatch and rapid ramping capability. Turning to variable renewables, it is expected that the intermittency in generation due to, for example, wind will have an impact on other generation units, which will be required to increase and decrease their generation, as the wind generation falls and rises, to meet the shortfall between generation and demand. Naturally, gas turbines will have a greater role to play in generating electricity due to their ability to ramp up/down quickly.
Natural gas fired units (NGFUs) gradually replace coal fired units due to the operation flexibility, great efficiency and little capital costs in many countries [9]. In China, NGFUs occupy 4% of total generating capacity, while in the USA, it reached 39% [10]. Therefore, integrating natural gas systems with power systems is challenging.
A great amount of overall electricity production is produced by gas-fired power plants for several countries. It is projected to rise to 7600 TWh by 2035. With increasing gas demand, gas networks need to expand capacity to provide fuel to additional gas-fired power plants. Reference [11] presents an integrated gas and electricity network expansion planning model. Gas fired generation plants were seen as connections between the two networks. The model concurrently minimizes electricity and gas operational and network development costs.
Various research works were performed on optimal operation strategy and interdependency of the integrated electricity-natural gas system. Reference [7] examined the influence of natural gas infrastructure on the electricity system by focusing on particular constraints of the natural gas network. Reference [12] presented an in-depth integrated model for examining the influence of interdependency between natural gas and electricity networks on power system security, considering constraints of natural gas network in the securityconstrained unit commitment (SCUC) problem for power systems. References [13,14] formulated the co-planning process as a mixed-integer nonlinear programming problem to consider recent challenges, including congestions, demand response effect, etc.
The growing reliance of the power system on NG systems has demanded an integrated planning approach for the two systems [12]. Reference [15] proposed a decentralized operation strategy and applied it to coordinate energy flow in a multi-area integrated electricity-natural gas system (IEGS). The complete decentralized operation of interconnected large-scale IEGS is achieved with the iterative alternating direction method of multipliers (ADMM) algorithm. IEGS was represented by several subsystems that were tied by electricity and natural gas networks. An optimal operation strategy based on decentralization was developed for multi-area IEGS.
Reference [10] showed that integrated natural gas and electricity networks operation can be attained in a distributed method with ADMM. Results showed that the ADMMbased approach gives enhanced convergence performances than the classical Lagrange Relaxation (LR), as well as augmented LR-based methods. Reference [16] propose a mixed integer programming model to characterize the electricity portfolio of large consumers. References [17,18] propose electricity and natural gas networks by considering energy hubs. As reported in Reference [19], the changes of natural gas unit's generation dispatch will provide natural gas demand profile changes. The changes may harm the natural gas network's security. Electricity and natural gas infrastructure's coordinated operation can enhance reliability and security for the infrastructure and avoid demand curtailment risks. Reference [20] presented a novel robust operation model for IEGS but without the solution algorithm. With ADMM, reference [21] presented a study on robust optimization for IEGS with distributed structures. Previous works have fixated on the coordination of natural gas and electricity networks at synergistic scheduling level. Electricity network flow rules are summarized in [22] to solve the gas flow problem. Reference [23] presented a methodology for considering the combination of the natural gas network. Coordination with stochastic scheduling were studied in [24]. Scheduling problems, including electricity demand response, were presented in [25,26]. Natural gas prices impacting on the system were examined in [27][28][29].
Several investigations have fixated on solving steady-state natural gas flow. The challenges are contributed from the non-linear and non-convex Weymouth equation, that is, the natural gas flow is a nonlinear programming (NLP) problem. References [22,23] employed a nonlinear solution or commercial solvers to determine gas flow, including interior point method or Newton-Raphson methods. Approximate piecewise linearization methods were presented in [30] and [31] by transforming to a mixed-integer linear programming (MILP) problem. To eliminate non-convexity, researchers in [10] and [32] employed the special form of the Weymouth equation by transforming the NLP problem to MISOCP via convex relaxation.
Natural gas and electricity networks are owned by various operators and stakeholders. However, both networks are often seen as an integrated system to achieve coordinated operation or establish a third-party coordinator with a lot of information interaction. The main contributions of this work are as follows: • Proposed a novel CO framework and this changes the traditional decision sequence. With this framework, it is possible to avoid frequent information interaction and without a third coordinator. • A model is constructed to generate NGFUs' gas consumption constraints. A CR indicator and an update method are introduced, to generate reasonable gas consumption constraints information deliver from gas network operator (GNO) to electricity network operator (ENO). • Impact of considering classic demand response program [33] and congestion is discussed in a decentralized and coordinated operation. For GNO optimization subproblem, an improve SCP method based SOC with reasonable initial expansion value is used to determine the steady-state gas flow in a natural gas network.
• Simulations under different scenarios, considering the NG and electricity networks operation, based on a benchmark 6-bus electricity system and 6-node natural gas system were used to verify the proposed framework, considering solution convergence and benefits obtained.

•
The impact of the coordinated operation is studied with congestions and demand response. The present method can give a better convergence when compared to a very popular method such as ADMM.
Section 2 presents the formulations of the framework for coordination operation for one IEGS. Section 3 provides a mathematical model for the two sub-optimization problems, namely, GNO optimization and ENO optimization. Section 4 gives the solution methodology for solving the optimization of the two networks based on Weymouth function. Case studies and discussions are given in Section 5. Conclusion and future work are provided in Section 6.

Coordination of Interdependent Electricity and Natural Gas Systems (IENS): An Overview
Due to the increasing interdependence between power grids and natural gas networks, it may be unreasonable, or physically infeasible, to model and optimize the two energy systems separately in practice. Different coordination strategies are as follows: • From the perspective of the macro scope of the energy system model, the models can be classified from four aspects: comprehensive evaluation, energy economy, power system planning, and energy system planning [34]. They have different methods, different ranges of use and different fields of application. Energy modeling tools such as LEAP, EnergyPlan, MASSAGE, MARKAL/TIMES have been designated for sustainable energy planning analysis [35]. The main methods of energy system modeling are top-down and bottom-up. The combination of these models leads to a hybrid energy model.

•
In IENS, due to the uncertainty of natural gas supply, the balance of supply and demand in power system may be affected for security and economic purposes. Power system researchers have incorporated natural gas transmission constraints into the unit commitment problem of security constraints [12,23,24]. The uncertainty of natural gas supply and the variability of natural gas price are also considered in reference [36] to study the impact of natural gas supply shortage on the optimal dispatch of power system.

•
In the natural gas optimization problem, the time-varying gas consumption of gas generating units is simulated to explore the influence of large gas generating units [37][38][39] on the daily operation efficiency of natural gas network. • For sequence optimization of power grid and natural gas network [38,39], this model cannot guarantee global optimality of the IENS.

•
The collaborative optimization of IENS considers the power grid and natural gas network as a whole to minimize the total cost associated with the two energy systems. It can achieve the best solution for the whole IENS [40][41][42]. In addition, considering that power grid and natural gas network may belong to different system operators and information exchange may be restricted by policies, researchers explore decentralized algorithms to obtain high-quality coordination solutions of IENS, while maintaining decision independence and information privacy of the two systems [43][44][45] • IENS should be considered from operational and long-term planning aspects [46]. Co-planning of power and natural gas networks can be proposed at system level [47] and local level [48]. The integration of natural gas and power sectors usually needs to study the interaction between them and Resource Co-optimization from the perspective of central planners [49]. The mathematical model used in the joint planning of electric power and natural gas shows that some relationships are nonlinear and nonconvex [50]. The most common problem in this paper is MINLP model [51]. In order to solve the complexity of the model, various techniques of linear and convex reconstruction/relaxation [52] and decomposition method [53] are proposed.

Coordinated Operation Method Based on ADMM Algorithm
For the synergy between power and gas networks and coordination operators, the synergy among the three decision makers is achieved through consensus based ADMM method. Consensus variables are introduced to reflect the interaction between upper and lower operators. In each iteration, the upper coordination operator checks the convergence and updates the consensus variables, while the lower electric operator and natural gas operator solve the local optimization problem at the same time. The cooperative operation mode of the third party is: Based on the synchronous ADMM decoupling algorithm, a higher-level third-party cooperative operator (CO) is introduced to solve the electricity network subproblem and the natural gas network subproblem simultaneously, and the relevant information is transferred to the third-party scheduling department to realize the cooperative operation.
The structure of ADMM with coordination is shown in Figure 1 composed of five steps: of the grid sub-problem and the gas grid sub-problem respectively.

2.
Simultaneously solve the electricity network subproblem and the gas network subproblem.

4.
Convergence criterion: The original residual is the coupling unbalance, and the dual residual is the difference before and after the iteration of the coupling variable.

Traditional Decentralized Operation
The structure of traditional decentralized operation (DO) is shown in Figure 2 composed of two steps: Step 1: ENO carries out the optimal local scheduling of electricity network which described as ENO sub-problem, and the corresponding consumption of natural gas information will deliver to the GNO.
Step 2: GNO carries out the optimal scheduling of natural gas network and is described as GNO sub-problem. If GNO cannot supply enough expected gas volume in Step 1 as the premise of resident gas demand has a higher priority, ENO needs to re-dispatch in the electricity network. The main defect with this traditional DO is that ENO as an advance decision-maker, cannot guarantee the local scheduling result at coupling units will always be a feasible solution in the GNO scheduling feasible domain shown in Figure 3. The decision sequence is ENO-GNO-ENO.

A New Framework for Coordinated Operation
A new framework is established for CO of electricity and natural gas networks, as presented in Figure 4. It is different from the traditional DO in decision sequence as GNO-ENO-GNO. GNO as advance decision-maker provides NGFUs gas consumption constraints to ENO. When there are multiple coupling units and gas supply capacity is limited, how to generate reasonable constraints for multiple coupling units is extremely important. To solve this problem, to the knowledge of the authors, it is the first time to introduce an indicator, that is, credit rating (CR) for decision making and the entire framework for CO is shown in Figure 5. There are three steps in the procedure.  Step 1: Receive NGFUs' CR from the previous period, GNO calculates the maximum profit with an uncertain gas load of NGFUs, named GNO sub-optimization-A problem. GNO as advance decision-maker provides NGFUs gas consumption constraints to ENO. To generate reasonable gas consumption constraints information that deliver from GNO to ENO. This means that the natural gas network supplies the maximum capacity to NGFUs.
Step 2: ENO set the maximum gas supply of NGFUs as constraints in optimization subproblem to determine the hourly dispatch, including the dispatching generation and actual gas consumption of NGFUs.
Step 3: After receiving the actual gas load of NGFUs in natural gas network, GNO optimizes the gas network scheduling to achieve the minimal operation cost and updates the CR of NGFUs for the next scheduling period.
Some insights could be summarized as follows: (1) The GNO and ENO do not have dispatching power and networks information of another party, but the information in coupling units is available for both GNO and ENO. (2) In a natural gas network, resident natural gas load priority is higher than NGFUs gas load, GNO will cut the gas supply of NGFUs first if there is a natural gas shortage. Thus, in GNO optimization sub-problem, the resident natural gas load is the control parameters and the profit of this part is fixed. (3) In GNO optimization sub-problem-A, the cost of a gas well is ignored. It assumes that the gas purchase price of NGFUs is greater than the production cost of a gas well, GNO will always benefit from it. (4) CR is a gas price-related indicator, we assume that the forecast gas contract price of all NGFUs is the same. A higher CR means GNO will provide as much natural gas as possible to this NGFU, so that the gas constraint value deliver to ENO will be greater.

GNO Optimization Sub-Problem-A
As shown in (1), the objective of GNO sub-optimization-A problem is to maximize profit. In this sub-problem, the resident natural gas load is fixed, and NGFUs gas load is a variable. The first term of the objective function represents incomes from the resident natural gas load and the second term is expected profits from NGFUs natural gas load. Natural gas network model is given by Equations (2)-(6) when applied by the steadystate natural gas flow. Constraint (2) represents the pressure of the gas node and gas flow in the pipeline relationship, which is a Weymouth function. The pressure of gas node upper and lower limits is shown in (3). Nodal natural gas balance in the network is given in (4), and the natural gas well production boundary is shown in (5). The gas load of NGFUs is constrained by the unit's maximum gas consumption as given by (6). Constraint (7) represents the relationship between CR, the gas contract price of NGFUs and credit value factor, which is equal to the product of CR and forecast gas contract price.
After completing the above optimization solution, a series of constraints of NGFUs will be generated, the gas supply to NGFUs of this optimization result is given by (8). This value will deliver to the next step.

ENO Optimization Sub-Problem
(1) Objective function As shown in (9), the objective function of ENO sub-optimization problem is determined by the hourly dispatch. It is to minimize the operating cost over the complete scheduling horizon with security-constraints. The first term of the objective function is the generation costs and startup cost of NGFUs, the second term is the generation costs and startup cost of non-NGFUs. The shutdown cost of units has been converted into the startup cost.
(2) Units and network constraints Equations (10)- (21) are physical constraints of generating unit. Generation scheduling of each thermal unit is constrained by maximum and minimum output of the unit as presented in (10). The renewable power dispatch at individual hour is constrained by the renewable power forecast given in (11). Thermal units operating ramping up/down constraints are given in (12) and (13). Minimum on/off-limits are enforced by (14) and (15). The relationships between unit states and startup/shutdown indicators are given in (16). The logic between startup indicators and shutdown indicators are given in (17). Constraint (18) represents the generation costs of non-NGFUs. Constraint (19) represents the fuel consumption NGFUs. Constraint (20) shows the startup costs of thermal units.
Constraint (21) limits the gas consumption of NGFUs, the information of this constraint is from GNO optimization sub-problem-A.
For simplicity, the electric power transmission is modeled by (22)- (26) in DC power flow form. Constraint (22) shows the system power balance at each hour. Constraint (23) is the power balance for individual bus. Constraint (24) represents the DC power flow in branch br with first and last buses at j and k. Constraint (25) means line capacity limit, pf max is power flow limits. Constraint (26) is the phase angle for reference bus.
(3) Demand response constraints The price-elastic load in the electricity network is based on the model reported in References [54,55]. Equations (27)-(30) represent electrical load deviation and electricity price deviation in the demand response program. In this paper, the time-of-use electricity price is adopted to describe the price change in one day. In this demand response strategy, the satisfaction of customers should be considered. At the same time, customers' satisfaction cannot break the limit as shown in (31). Constraint (32) represents the load is shiftable and the sum of electrical load cannot be changed in one day.
After ENO completing optimization sub-problem, the actual gas consumption of NGFUs will be fixed and delivered to GNO for Step 3 as Equation (33) shown.

GNO Optimization Sub-Problem-B
As shown in (34), the objective function of GNO sub-optimization-B problem is to minimize the cost of gas wells. The resident natural gas load and NGFUs gas load are assumed to be fixed. The natural gas network constraints are similar to GNO suboptimization-A, consisting of (2)-(6).

Solution Methodology The Solution of Network Sub-Problem Solving
This work adopted an improved SCP method based on SOC with reasonable initial expansion value for natural gas network sub-problem. The method is suitable for both sub-problems A and B. The steps of solving are derived from the special form of the Weymouth function. Weymouth nonlinear steady-state pipeline flow of constraints (2)-(3) can be transformed as follows and shown in (36)- (38).
(1) Penalty function method To tighten the inequality as much as possible under constraint (39), the objective function includes a penalty as shown in (44), to make the left term of inequality (39) as small as possible. This kind of solution is often not accurate enough but could be used to determine an initial solution. ϕ represents a pre-set positive number.
As such, the key problem becomes the processing of Equation (45), and linearization is a common method. According to Taylor series, it can be approximated as (46). When the right-hand side value of the inequality is close to 0, the solution meets the expected requirements. Where S is an auxiliary variable.
(3) Solution procedure The Algorithm 1 solution procedure is given as follows: Algorithm 1: Improve SCP method for natural gas network sub-problem based on SOC Step 1 Use penalty function method to solve natural gas steady-state flow problem to get the initial solution of gas flow F 0 mn . Set initial iteration number k = 0. (4) and (5), (37)-(43) Step 2 Parameter settings. Set a punish growth rate v and maximum penalty factor φ max , SCP residual tolerance ξ Z and ξ S .
S k mn,t ≤ ξ S If yes, end the procedure. Otherwise, update the penalty factor and iteration number.
Step 5 Set k = k + 1 and repeat Steps 3-4 until the convergence conditions are met.
The gas flow directions will not change after several iterations. The binary variables in the gas network sub-problem (MISOCP) are fixed.

Case Studies and Discussions
All the cases are conducted on a Windows 10 64-bit personal computer with Intel Core i5-6500 3.2 GHz CPU and 8 GB of RAM using MATLAB R2014b in YALMIP with Gurobi 6.5 solver. A 6-bus electricity system and 6-node natural gas system is employed to examine the effectiveness of the proposed CO framework. Figure 6 presents the integrated topology. The test networks have one non-NGFU, seven transmission lines, two natural gas wells, five pipelines, three NGFUs, and one renewable energy source. The network considers varying electricity and natural gas loads, the networks test data can be found in http://motor.ece.iit.edu/data/ (accessed on 22 March 2021). Tables 1 and 2 give the gas source characteristics for S1 and S2 and natural gas line characteristics respectively.   Figure 7 shows the variation of the original residuals and dual residuals with the iteration progress under the synchronous ADMM algorithm. In the 129 iterations, the residuals have a significant downward trend, showing a fluctuating decline. At the beginning of iterations, the magnitude of residual error is about 1e4, which indicates that there is a large gap in the coupling part of gas turbine. In the middle and later stage of the iteration, the residuals do not increase or decrease monotonically, but decrease gradually under small oscillation, and finally reach the convergence requirement.

Comparison between DO, ADMM and CO
The main idea of the proposed step-by-step cooperative operation method for a power gas interconnected system is the constructed credit degree and credit value parameters, and the credit value is directly determined by the credit degree. Therefore, this part of the example mainly studies the influence of credit degree on the effectiveness of the proposed method. First, it should be noted that, because the cost, the coefficient of G2 is higher than that of other units. The minimum output is maintained, so the credit degree is set to a fixed value of 1. It mainly analyzes the change and influence of credit degree of G1 and G3. Credit degree indicates the quantitative degree of the relationship between the actual gas consumption of gas units and the constraints generated by gas units. It is suitable for gas network managers to evaluate large gas users. Figure 8 shows the output of gas turbine G1 under different credit combinations under step-by-step coordinated operation, and the credit degree of G1 is 1-1. 9, the interval is 0. 1, G3 credit rating is 1-1. 9, the interval is 0. 1.  A one-hour operation between electricity and the natural gas network was analyzed. An economic dispatch model was adopted in electricity system and an hourly steady-state gas flow model was adopted in the natural gas system [19]. Concurrently, the gas flow upper limit is similar for the comparison.
This study illustrates the overall advantage obtained from the proposed framework CO, as compared to the other usual methods for coordinated operation of natural gas and electricity networks. Table 3 shows that performance comparison between DO, alternating direction method of multipliers (ADMM) and CO. It is observed that ADMM requires a longer time to obtain a solution. The convergence time for DO and CO are nearly the same. However, DO cannot produce better solutions under congestions and demand response situations, so CO gives the best overall performance. Due to the information asymmetry of the coupled gas units in the discrete operation, the natural gas required by the gas units in the power grid dispatching has no solution in the gas grid dispatching, that is, the dispatching is unbalanced. The dispatching unbalance of the discrete operation in the table comes from G1, and the specific reasons have been explained in the previous paper. In the operation cost of the two networks, due to the reduction in power generation and gas supply, the operation cost of discrete operation of the two networks is lower than that of other operation modes, but the existence of dispatching imbalance requires the power grid to pay a higher price. In terms of solution time, the optimization time of step-by-step collaborative operation is 1.04s, which is larger than that of discrete operation and much smaller than that of ADMM operation. The reason why the time difference is so large is that the optimization times of each mode are different. The discrete operation mode solves the electric network subproblem and the gas network subproblem once. The step-by-step cooperative operation model solves the electric network subproblem once and the gas network subproblem twice. When the synchronous ADMM runs for 129 iterations, the electric network subproblem and the gas network subproblem are solved for 129 iterations, the asynchronous ADMM only runs for 35 iterations. The solution of the gas network subproblem is the multi-layer iterative sequential cone optimization method, as proposed in this paper. Under the research background of the collaborative operation of the electricity-gas interconnection system, this case shows the specific modes and advantages and disadvantages of the discrete operation of the electricity-gas interconnection system, the coordinated operation, based on the alternating direction multiplier method, and the proposed step-bystep collaborative operation method. The following observations are obtained: 1.
The discrete operation mode of the electricity-gas interconnection system will produce unbalanced coupling dispatch when the gas network is blocked, and the gas generators cannot get enough natural gas supply, which does not meet the optimal economic dispatch decision-making results.

2.
Based on the alternating direction multiplier method, the coordinated scheduling of the electricity-gas interconnection system can be realized. It can be divided into asynchronous and synchronous cooperative operation modes with or without the participation of third-party organizations. The above two modes can achieve coordinated scheduling when gas network pipelines are blocked, that is, gas generating units can get enough natural gas supply, and there will be no unbalanced coupling scheduling due to asymmetric information.

3.
This case proposes a new idea of realizing step-by-step coordinated operation, based on credit indicators, and establishes a corresponding mathematical model and specific operation framework. This operating mode belongs to the concept of distributed scheduling. Through case analysis, the feasibility and superiority of the proposed method are discussed, and the sensitivity analysis of credit changes is carried out. Compared with other methods, the proposed method has the advantages of simplicity, reliability, and strong applicability.

Impact Due to Congestion and Demand Response
In this simulation, the impact due to congestion and demand response, with the same fuel price for all units, is adopted for investigation. Load shedding is added to avoid imbalance between load and generation. It is assumed that all NGFUs have an initial credit rank of 0.5, the entire scheduling time is for four days, and an hour is taken as a time step.
The advantages of the proposed framework applied to daily scheduling for a few days are illustrated with the following case studies: Case 1: Decentralized and coordinated operation without natural gas pipelines congestion. Case 2: Decentralized and coordinated operation with natural gas pipelines congestion. Case 3: Decentralized and coordinated operation considering demand response (Based on Case 2).
For Case 1, the natural gas supply capacity of the natural gas network to NGFUs is redundant. Because the gas consumption of NGFUs in ENO optimal scheduling is feasible for GNO, so the cost of ENO in DO is minimum and with no-load shedding.
The hourly cost, total cost of ENO, and hourly generation of G1 are shown in Figure 9. It can be seen that DO hourly cost of the electricity network is less than CO for day 1, the main reason is due to the CR parameter is introduced in CO and has an initial credit rank of 0.5 at first day of optimization. CO has not reached the optimization. In Case 1, without natural gas pipelines congestion, the gas consumption in ENO optimization scheduling is feasible for GNO. Therefore, the cost of ENO in DO is the smallest. After updating the CR, DO total cost of the electricity network is same as that of CO, the scheduling results of the two coordinated operation methods are consistent.  Table 4 shows the gap of the iteration process with various expansion points. SCP with initial point achieved by the penalty function is denoted as penalty function (PF) initial. Zero initial means SCP with zero initial points [56]. The gap of the proposed method reduces greatly, and the accuracy will converge 5 iterations later. The zero-point method will converge after 6 iterations. The proposed method has quicker convergence characteristics, while the zero-point method convergence is slower [57]. Case 2: According to steady-state natural gas flow model, the gas flow in pipelines depends on the first and last node pressure. To simplify the debugging process, we included the gas flow upper limit on pipeline 1 and pipeline 4 in this case.
Pipeline congestion at hours 19-22 is a peak period for both electricity and gas networks in decentralized operation. Pipeline congestion creates the difference between expected generation and actual generation of NGFUs in DO. Figure 10 shows the output of gas-fired units with the optimal economic dispatch of the power grid and the discrete operation of the electricity-gas interconnection system. For the gas unit G1, under the condition of economic dispatch, the output has been kept at full capacity, but when considering the natural gas network constraints, in the discrete operation mode, due to the blockage of pipeline 1 during the period 19-22, G1 cannot get enough gas supply. The output is affected, and there is an imbalance in coupled scheduling. For gas-fired unit G3, in the discrete operation mode, pipeline 3 was blocked during the period 19-21. G3 could not get enough gas supply and there was also unbalanced coupling scheduling. This shows that in the case of natural gas network constraints, once the gas network pipeline is blocked, it will have a negative impact on the grid dispatching. The actual power generation is fewer than the expected one in hour 19-22, and part of the load is not satisfied in DO, so load shedding has to take place. CO total electricity cost is slightly higher than that in DO on the first day, but there is no load shedding. Electricity operation cost will be minimum on the next day in the proposed framework. Case 3: The demand response program is considered, and the electricity load is shown in Figure 10. There is increased load in the pipeline congestion period when DR becomes effective. This will cause a more serious gas shortage of NGFUs, and insufficient generation of electricity network as compared to Case 2. Table 5 provides gas shortage and load shedding information with different operation modes. The unbalanced amount of coupled dispatch increased due to the addition of demand response action. The reason is that, due to the consideration of time-of-use electricity prices, electricity price-sensitive loads will be adjusted according to changes in electricity prices, and electricity demand will increase during the period when the gas network pipeline is blocked. This adjustment supply gap is enlarged. As shown in Figure 11, due to the addition of price-based demand response action, the power demand shifts from the peak period (14-19 h) to the valley period (3-6 h), and the load in the valley period increases. The peak load is reduced, so the peak-valley difference is reduced, and the effect of demand response is reflected. However, at 20-22 h, because the demand response action increases the power demand, the load curve is larger than the original curve, so the unbalanced amount of coupled dispatch increases. At 19 h, due to the peak load period, regardless of whether demand response is considered or not, G1 and G3 remain at full output. The impact of the gas network on scheduling does not change due to demand response, so the unbalanced amount of coupled scheduling remains unchanged.  Figure 11. Hourly generation and total cost of ENO. Table 6 shows the total cost of the electricity network with different operation modes in different cases. In DO pipeline congestion cases, the addition of a demand response program not only promotes the reduction in costs but also increases profit. CO mode can solve this problem with a great extent, not only minimizing the negative impact of DR, but also reducing load shedding. The work demonstrates that demand response can achieve benefits, for example, to reduce congestion so as to improve energy supply security and enhance low-carbon economy. The use of gas storage is no double can improve co-ordination with electricity network operation. This gives a direction for future work to study the gas storage investment in detail. A similar approach derived from electrical energy storage (EES) may be considered. At present, EES, such as lithium-ion (Li-ion) batteries, can reduce curtailment of renewables, maximizing renewable utilization by storing surplus electricity. Several techno-economic analyses have been performed on EES, but few have investigated the financial performance. However, [58] presents a state-of-the-art financial model obtaining novel and significative financial and economics results when applied to Li-ion EES. A discounted cash flow model for the Li-ion EES is introduced and applied to examine the financial performance of different EES operating scenarios. It is expected that similar approaches could be investigated for investment purposes for gas storage [59,60]. It is believed that co-ordination of electricity and gas networks could benefit the transition from fossil fuel energy to clean energy with net-zero emission by 2050.

Conclusions and Future Work
This paper proposed an innovative coordinated operation framework for natural gas and electricity networks to effectively solve the optimization problem of the operation of integrated gas and electricity systems. The modeling approach developed is applied to demonstrate the benefits of an integrated approach to the operation of interdependent gas and electricity systems. In addition, the novel coordinated operation framework changes the traditional decision sequence. GNO as an advance decision-maker provides NGFUs gas consumption constraints to ENO. With this framework, it is possible to avoid frequent information interaction and without a third coordinator. This framework will not affect the local optimal scheduling for both the electricity network and the natural gas network. The modeling indicates that, in pipeline congestion situations, this framework for CO reduces the impact on the electricity network as compared to that of DO. At the same time, it improves DR program acceptance of electricity networks and prevents massive load shedding. The proposed framework can produce more cost-effective solutions as compared to other methods, such as ADMM. It was demonstrated that CO with demand response can reduce the electricity network total cost by 1.19% when pipeline congestion occurs, as compared to −0.48% using traditional decentralized operation with demand response.
Future work will investigate the application of a coordinated operation framework to a very large-scale, multi-area system with gas and electricity networks managed by different operators. Sensitivity analysis of credit rank will also be studied in detail. The credit rank will be further developed to form in the hope of a guideline or recommended practices. Gas storage in the view of technical, economic, social, and environmental aspects will be looked at. Cost coefficient of gas well s τ gl Gas price of resident natural gas load L Resident natural gas load K P Bus-thermal unit incidence matrix K W Bus-renewable unit incidence matrix K D Bus-electrical load incidence matrix K L Bus-branch incidence matrix T w Node-gas well incidence matrix T g Node-NGFUs incidence matrix T l Node-resident natural gas load incidence matrix T f Node-gas pipe incidence matrix ϕ Pre-set constants Variables: G c i,t Cost of non-NGFU i at hour t G g i,t Fuel consumption of NGFU i at hour t in electricity network P i,t Generation dispatch of unit i at hour t P r,t Generation dispatch of renewable energy r at hour t SU i,t Startup cost of unit i at hour t u i,t Status indicator of unit i at hour t y i,t , z i,t Indicator for startup/ shutdown of unit i at hour t Production of gas well s at hour t ω m,t Gas pressure of gas node m at hour t π m,t Quadratic pressure of gas node m at hour t F mn,t Gas flow of pipeline mn at hour t I + mn,t , I − mn,t Binary indicators of gas flow direction of pipeline mn at hour t Π, S Auxiliary variable λ 0 , λ 1 Initial and updated credit value factor CR 0 , CR 1 Initial and updated credit rank