1 Introduction

The rapid growth of natural gas-fired units and the promising development of power-to-gas (PtG) technologies [1, 2] have intensified the interdependency of electricity and natural gas systems. Specifically, for power systems with a considerate amount of gas-fired units, electricity generation scheduling can be directly and significantly impacted by natural gas prices and/or gas production cost; energy reliability and security issues could be more severe when peak electrical loads occur coincidently with peak natural gas loads; and gas supplier outages, gas pipeline contingencies, and gas pressure losses could lead to the forced outage of multiple gas-fired units. On the other hand, natural gas system operators are facing with more volatile gas loads induced by gas-fired units, whose dispatches are often adjusted frequently to offset variations of electrical loads and renewable generations. As a result, it is imperative to consider and model the electricity grid and the natural gas network as an integrated energy system for achieving the coordinated optimal operation under uncertainties [3, 4].

The coordination of interdependent electricity and natural gas systems was studied in several literatures. Natural gas network constraints are incorporated in security-constrained unit commitment (SCUC) model for assessing the impact of natural gas network on power system operations [3, 5]. Reference [6] further considers transient characteristics of the natural gas infrastructure in the coordinated scheduling of electricity and natural gas systems. On the other hand, demand response is studied in the stochastic day-ahead scheduling of electricity and natural gas systems in [7], while hydro system is considered in the mid-term stochastic coordination to cover outages of gas units with insufficient gas supplies [8, 9]. In addition, in [10, 11], the natural gas production cost is added into the objective function to seek for optimal solutions of both systems with a novel mixed-integer linear programing (MILP) formulation.

The impact of variable renewable generation on the coordinated operation of interdependent electricity and natural gas systems is discussed in [1214]. The influence of natural gas system on the short-term scheduling of power system with high penetration renewable energy is illustrated in [12]. Stochastic programming and robust optimization approaches are carried out in [13] and [14] respectively, to study coordinated scheduling of the two systems in the presence of volatile wind energy.

In fact, a high penetration of large wind farms has posed a number of challenges in power system operations. Specifically, as the penetration level of wind generation increases, wind spillage becomes more frequent with larger magnitudes. Indeed, due to the fact that large wind farms are exclusively located far away from load centers, significant investments in electrical transmission system have been required for effectively delivering wind power. On the contrary, PtG as an alternative energy storage technology has received increasing popularity for economically facilitating a high penetration of large wind farms [15, 16]. Unlike conventional electrical energy storage systems (e.g., pump-storage units and batteries) which consume and generate electrical energy at different time periods, PtG converts electricity into natural gas and uses natural gas network as a media to effectively transport/store electricity. The seasonal storage potential of PtGs is modeled in [17], and its effectiveness on power system and natural gas network operations is analyzed via the Great Britain gas and electrical transmission networks. Reference [18] investigates different PtG technologies and evaluates their impacts through a novel integrated model of electricity grid and gas transmission network. Reference [19] presents a multi-linear probabilistic energy flow framework while considering gas-fired generators, electric driven compressors, and PtG facilities. In [20], a robust co-optimization scheduling model considering the influence of PtG technology is proposed to coordinate the day-ahead operation of electricity and natural gas systems with uncertainties.

From existing literature we notice that: ① Robust optimization has been successfully used in power system operations for handling various uncertainties [2124]. However, prior works on day-ahead robust coordinated operation of interdependent electricity and natural gas systems are rather limited; ② Most existing works do not fully address operation cost of the integrated energy system, such as operation cost of gas-fired units or production cost of the natural gas system; and ③ Gas-fired units and PtG facilities are treated as independent assets and optimized separately, while the coordination between gas-fired units, PtG facilities, and natural gas storages has not been investigated.

In order to address the challenges, this paper proposes an integrated robust optimization model to coordinate the operation scheduling of electricity and natural gas systems while considering electrical load and wind generation uncertainties. Instead of treading gas-fired units and PtGs as independent assets, the framework of energy hub is proposed to facilitate the effective coordination of the two. That is, the energy hub consists of gas-fired units to generate electricity when wind generation is low, PtG facilities to absorb excessive wind generation, and natural gas storages to store gas produced by PtG facilities and supply gas fuel to gas-fired units when needed.

The major contributions of this paper are twofold.

  1. 1)

    The proposed integrated robust model coordinates the day-ahead scheduling of electricity and natural gas systems while considering power system uncertainties and natural gas system operation cost. Couplings between electricity and natural gas systems are rigorously formulated via the coordinated operation of gas-fired units and PtG facilities.

  2. 2)

    Energy hubs with collocated gas-fired units, PtG facilities, and natural gas storages are considered, which could analogously function as large-scale electrical energy storages. The role of energy hubs to better accommodate electrical load and wind uncertainties is further explored for enhancing the economical and secure operation of integrated energy systems.

The rest of the paper is organized as follows. Section 2 presents the mathematical formulation of the proposed robust coordination scheduling model. Section 3 describes the solution methodology. Case studies on the 24-bus IEEE RTS system with a 12-node natural gas system are illustrated in Sect. 4, and the conclusions are drawn in Sect. 5.

2 Formulation of robust coordination scheduling

This section first presents an overview of gas-fired units and PtG facilities, which tightly tie the electricity grid and the natural gas network. The framework of an energy hub is further discussed. The robust coordinated scheduling formulation is presented according to similarities and differences of the two energy systems.

2.1 Overview

2.1.1 Gas-fired units

Gas-fired units consume natural gas to generate electricity, which leads to the growing reliance of the power system on the natural gas system in recent years. Accordingly, several concerns on the interdependency and reliability of both energy systems need be considered. ① Unlike coal and fuel oil, natural gas is usually not stored on-site. That is, gas-fired units rely on real-time delivery of natural gas fuel through the natural gas network. ② Residential gas loads have higher priorities than industrial gas-fired power plants. Thus, peak demands of natural gas end-users would significantly affect the delivery of interruptible gas transportation service to gas-fired power plants. ③ As an inspiring feature for offering flexible dispatch and fast ramping capabilities, gas-fired units are expected to play an important role in offsetting variability and uncertainty associated with renewable resources. In turn, the natural gas network needs to provide enhanced operational flexibility for meeting volatile gas demands of gas-fired units.

2.1.2 PtG technology

PtG as a new promising technology further intensifies the interdependency of electricity and natural gas systems, which could effectively convert excessive renewable energy into compatible natural gas. In addition, the existing natural gas infrastructure could potentially be used to store, transport, and reutilize this energy. In turn, the energy waste in terms of renewable generation curtailment can be prevented.

PtG consumes electricity to produce hydrogen or synthetic natural gas. PtG contains two main processes as shown in Fig. 1 [1]: ① electrolysis where electrical power is converted into hydrogen, and ② methanization where hydrogen along with carbon dioxide is further converted into methane. Typically, the efficiency of converting electricity to hydrogen and methane is about 54%–77% and 49%–65%, respectively [25]. In addition, in practice, there are technical and legislative restrictions on the quantity of hydrogen that may be blended into the natural gas network, whereas methane is compatible with natural gas. In this paper, the PtG process refers to the conversion of electricity to methane.

Fig. 1
figure 1

Principle of PtG technology

2.1.3 Energy hub

An energy hub represents the conversion and storage process of electricity and natural gas as shown in Fig. 2. In the figure, a gas-fired power plant, a gas storage device, and a PtG facility are located at the same geographic place. Furthermore, the gas-fired power plant and the PtG facility are connected at the same bus of the electricity grid, while all three equipment are connected to the same node of the natural gas network. From the perspective of power system operators, this energy hub (collocated gas-fired power plant and PtG facility) works analogous to a pump-storage asset while using the natural gas infrastructure as a gas reservoir. The energy hub enjoys the benefit that it could effectively mitigate variability of renewable generations. That is, the gas-fired unit can be scheduled to generate electricity when renewable generation is low, and to operate the PtG facility for converting excessive electricity into natural gas when renewable generation is high. Furthermore, as the energy hub can leverage the entire natural gas infrastructure as a gas reservoir, the maximum energy storage capability in the energy hub is not necessarily restricted by the collocated natural gas storage device. From the viewpoint of natural gas system operators, gas-fired units are considered as natural gas loads while PtG facilities are natural gas producers. Natural gas produced by PtG facilities could be either stored in the on-site gas storage or transported by natural gas network and consumed by other gas users. It is expected that when the PtG technology becomes more mature and economical, a deeper penetration of renewable generation can be facilitated.

Fig. 2
figure 2

Energy hub for electricity and natural gas systems

2.2 Objective function

The robust day-ahead scheduling of integrated electricity and natural gas systems is to minimize the total costs associated with electric and natural gas energy supply and gas storage device operations in the base case. The objective function of the proposed integrated robust model is as follows:

$$\begin{aligned} { \hbox{min} }\; & \sum\limits_{t} {\left[ {\sum\limits_{i \notin GU} {C_{i}^{\text{fuel}} \left( {F_{i}^{c} \left( {P_{it}^{b} } \right) + SU_{it}^{b} + SD_{it}^{b} } \right)} } \right.} \\ & \qquad \left. { + \sum\limits_{j} {C_{j}^{G} G_{jt} } + \sum\limits_{s} {C_{s}^{G} Q_{st}^{\text{out}} } } \right] \\ \end{aligned}$$
(1)

where GU is set of gas-fired units; \(P_{it}^{b}\) is the base-case dispatch of unit i at time t; \(F_{i}^{c}\) and \(C_{i}^{\text{fuel}}\)are the heat rate curve and fuel price of unit i; \(SU_{it}^{b}\) and \(SD_{it}^{b}\) are startup and shutdown costs of unit i at time t; G jt is the gas production of natural gas supplier j at time t; \(Q_{st}^{\text{out}}\) is the natural gas outflow of storage facility s; \(C_{j}^{G}\) and \(C_{s}^{G}\) are the production and storage costs of natural gas supplier j and gas storage facility s, respectively.

2.3 Operation constraints

1) Energy production: In power systems, power outputs of individual units and power consumptions of individual PtG facilities are limited their by minimum and maximum capacities (2)–(3). Equation (4) indicates that generating units and PtG facilities connected at the same bus do not operate simultaneously. Generating units also need to satisfy minimum ON/OFF time limits (5)–(6), startup and shutdown cost constraints (7)–(8), ramp-up and ramp-down limits (9)–(10).

$$P_{i}^{\hbox{min} } I_{it}^{b} \le P_{it}^{b} \le P_{i}^{\hbox{max} } I_{it}^{b}$$
(2)
$$0 \le P_{at}^{b} \le P_{a}^{\hbox{max} } I_{at}^{b}$$
(3)
$$I_{it}^{b} + I_{at}^{b} \le 1,\quad {\text{for}}\quad i,a \in N(e)$$
(4)
$$\left( {X_{i(t - 1)}^{\text{on}} - T_{i}^{\text{on}} } \right)\left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right) \ge 0$$
(5)
$$\left( {X_{i(t - 1)}^{\text{off}} - T_{i}^{\text{off}} } \right)\left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right) \ge 0$$
(6)
$$SU_{it}^{b} \ge su_{i} \cdot \left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right),\;SU_{it}^{b} \ge 0$$
(7)
$$SD_{it}^{b} \ge sd_{i} \cdot \left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right),\;SD_{it}^{b} \ge 0$$
(8)
$$\begin{aligned} P_{it}^{b} - P_{i(t - 1)}^{b} &\le UR_{i} \cdot I_{i(t - 1)}^{b} + P_{i}^{\hbox{min} } \left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right) \\ & \quad + P_{i}^{\hbox{max} } \left( {1 - I_{it}^{b} } \right) \\ \end{aligned}$$
(9)
$$\begin{aligned} P_{i(t - 1)}^{b} - P_{it}^{b} &\le DR_{i} \cdot I_{it}^{b} + P_{i}^{\hbox{min} } \left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right) \\ & \quad + P_{i}^{\hbox{max} } \left( {1 - I_{i(t - 1)}^{b} } \right) \\ \end{aligned}$$
(10)

where \(I_{it}^{b}\) and \(I_{at}^{b}\) are commitment statuses of unit i and PtG facility a; \(P_{i}^{\hbox{min} }\) and \(P_{i}^{\hbox{max} }\) are minimum and maximum capacities of unit i; \(P_{at}^{b}\) and \(P_{a}^{\hbox{max} }\) are base-case dispatch and maximum capacity of PtG facility a; N(e) is set of components connected to bus e; \(X_{it}^{\text{on}}\) and \(X_{it}^{\text{off}}\) are ON and OFF time counters of unit i; \(T_{i}^{\text{on}}\) and \(T_{i}^{\text{off}}\) are minimum ON and OFF times of unit i; \(su_{i}\) and \(sd_{i}\) are startup and shutdown costs of unit i; \(UR_{i}\) and \(DR_{i}\) are ramp up and down rates of unit i.

For natural gas systems, production levels of gas suppliers are limited by their physical characteristics and/or contracted amount (11).

$$G_{j}^{\hbox{min} } \le G_{jt} \le G_{j}^{\hbox{max} }$$
(11)

where \(G_{j}^{\hbox{min} }\) and \(G_{j}^{\hbox{max} }\) are minimum and maximum production levels of gas supplier j.

2) Energy storage: In power systems, as large-scale electric energy storage is still uneconomical, power supply and demand need to be balanced instantaneously. However, natural gas can be stored in large storage facilities for ensuring adequate supply of natural gas fuel. Thus, the flexibility provided by gas storage facilities can balance daily or seasonal gas demand variations. Indeed, gas storage facilities can be modeled similar as water reservoirs and batteries in power systems. Natural gas storage constraints include storage balance (12), storage capacity limit (13), as well as minimum and maximum injection and withdraw rates (14)–(15). Different from electrical energy storage devices in power systems which are associated with efficiency factors to account for electricity losses, the operation cost of gas storage devices is included in the objective function (1) to consider costs incurred by storing gas in and withdrawing gas out of gas storage devices.

$$E_{st} = E_{s(t - 1)} + Q_{st}^{\text{in}} - Q_{st}^{\text{out}}$$
(12)
$$E_{s}^{\hbox{min} } \le E_{st} \le E_{s}^{\hbox{max} }$$
(13)
$$Q_{s}^{\hbox{min} } \le Q_{st}^{\text{in}} \le Q_{s}^{\hbox{max} }$$
(14)
$$Q_{s}^{\hbox{min} } \le Q_{st}^{\text{out}} \le Q_{s}^{\hbox{max} }$$
(15)

where E st is the storage volume of gas storage facility s; \(Q_{st}^{\text{in}}\) and \(Q_{st}^{\text{out}}\) are natural gas inflow and outflow of storage facility s; \(E_{s}^{\hbox{min} }\) and \(E_{s}^{\hbox{max} }\) are minimum and maximum capacities of storage facility s; \(Q_{s}^{\hbox{min} }\) and \(Q_{s}^{\hbox{max} }\) are minimum and maximum flow rates of storage facility s.

3) Wind generation: The dispatch of wind power generation at each time period is limited by the hourly wind power availability (16). Since wind power does not incur operation cost and PtG facilities can convert excessive wind power into natural gas and consequently reduce the total gas production cost of natural gas system, wind energy will be economically utilized as much as possible.

$$0 \le P_{wt}^{b} \le P_{f,wt}^{b}$$
(16)

where \(P_{wt}^{b}\) and \(P_{f,wt}^{b}\) are base-case dispatch and available wind generation of wind farm w at hour t.

2.4 Network constraints

1) Nodal balance: Both electricity and natural gas systems need to preserve the conservation of nodal balance of energy flows in the transmission network. Network nodal balances of the electricity grid (17) and the natural gas network (18) represent that the total energy injection is equal to the total withdrawn at each node.

$$\begin{aligned} &\sum\limits_{i \in N(e)} {P_{it}^{b} } + \sum\limits_{w \in N(e)} {P_{wt}^{b} } - \sum\limits_{s(l) \in N(e)} {PL_{lt}^{b} } + \sum\limits_{r(l) \in N(e)} {PL_{lt}^{b} } \\ &\quad - \sum\limits_{a \in N(e)} {P_{at}^{b} } = \sum\limits_{d \in N(e)} {P_{dt}^{b} } \\ \end{aligned}$$
(17)
$$\begin{aligned}& \sum\limits_{j \in G\left( m \right)} {G_{jt} } - \sum\limits_{{s\left( {mn} \right) \in G\left( m \right)}} {GL_{mn,t} } + \sum\limits_{{r\left( {mn} \right) \in G\left( m \right)}} {GL_{mn,t} } \\ &\quad + \sum\limits_{a \in G\left( m \right)} {G_{at} } \; + \sum\limits_{s \in G\left( m \right)} {\left( {Q_{st}^{\text{out}} - Q_{st}^{\text{in}} } \right)} = \sum\limits_{i \in G\left( m \right)} {G_{it} } + \sum\limits_{g \in G\left( m \right)} {G_{gt} } \\ \end{aligned}$$
(18)

where \(PL_{lt}^{b}\) is the base-case power flow of electric transmission line l; s(l)/s(mn) and r(l)/r(mn) are the sending bus/node and receiving bus/node of line l and pipeline mn; \(P_{dt}^{b}\) is base-case electricity demand of electrical load d; G(m) is set of gas network components connected at gas node m; GL mn,t is the natural gas flow of pipeline mn; G it and G at are gas consumption and production of gas-fired unit i and PtG facility a; G gt is gas demand of natural gas load g.

2) Energy flows: Electric transmission network is modeled via the DC power flow Eqs. (19)–(20) where power flow of a transmission line is determined by bus angles and the line impedance.

$$PL_{lt}^{b} = \frac{{\theta_{s(l)t}^{b} - \theta_{r(l)t}^{b} }}{{x_{l} }}$$
(19)
$$- PL_{l}^{\hbox{max} } \le PL_{lt}^{b} \le PL_{l}^{\hbox{max} }$$
(20)

where \(\theta_{s(l)t}^{b}\) and \(\theta_{r(l)t}^{b}\) are the sending and receiving bus angles; x l is the reactance of line l; \(PL_{l}^{\hbox{max} }\) is the maximum power flow limit.

Similarly, gas flow in a pipeline can be expressed as a nonlinear function of nodal pressures and pipeline characteristics. The well-known Weymouth equations can be used to approximate gas flow equations under certain circumstances (21)–(22) [6].

$$GL_{mn,t} = \text{sgn} \left( {\pi_{mt} ,\pi_{nt} } \right)K_{mn} \sqrt {\left| {\pi_{mt} - \pi_{nt} } \right|}$$
(21)
$$\text{sgn} \left( {\pi_{mt} ,\pi_{nt} } \right) = \left\{ \begin{aligned} 1,\quad \pi_{mt} \ge \pi_{nt} \hfill \\ - 1,\quad \pi_{mt} < \pi_{nt} \hfill \\ \end{aligned} \right.$$
(22)

where \(\pi_{mt}\) is the pressure square of gas node m; K mn is the Weymouth constant depending on pipeline characteristics.

It is worth mentioning that the steady-state natural gas flow model (21)–(22) would neglect built-in storage capabilities of pipelines (i.e., line pack) and slow travelling speeds of natural gas flows, as compared to the transient gas flow model [6]. Indeed, it is pointed out in [6] that the steady-state natural gas flow model might result in suboptimal schedules in the short-term coordinated operation of electricity and natural gas infrastructures.

3) Nodal constraints: Bus angles of the electricity grid and nodal pressures of the natural gas network are limited by their lower and upper bounds in (23) and (24), respectively. Note that lower and upper bus angle bounds of the reference bus are set to zero in (23).

$$\theta_{e}^{\hbox{min} } \le \theta_{et}^{b} \le \theta_{e}^{\hbox{max} }$$
(23)
$$\pi_{m}^{\hbox{min} } \le \pi_{mt} \le \pi_{m}^{\hbox{max} }$$
(24)

where \(\theta_{e}^{\hbox{min} }\) and \(\theta_{e}^{\hbox{max} }\) are the minimum and maximum bus angle limits of electricity bus e; \(\pi_{m}^{\hbox{min} }\) and \(\pi_{m}^{\hbox{max} }\) are minimum and maximum nodal pressure square limits of gas node m.

Normally, natural gas flows of gas pipelines are driven by pressure difference of two adjacent nodes. With gas compressors installed in the natural gas network which are analogous to transformers in the power system, natural gas can flow from a low pressure node to a high pressure node. A simplified model of compressors from [26] is adopted in this paper (25).

$$\pi_{mt} \le \varGamma_{c}^{2} \pi_{nt}$$
(25)

where \(\varGamma_{c} > 1\) is the compressor factor, which facilitates natural gas flows from a low pressure node n to a high pressure node m.

2.5 Coupling constraints between electricity and natural gas systems

Gas-fired units represent the largest industrial natural gas consumer, and each gas-fired unit is considered as a natural gas load in the natural gas network. On the other hand, PtG facilities are regarded as natural gas producers in the natural gas system.

Natural gas consumption of gas-fired units and natural gas production of PtG facilities are determined by their hourly operation levels. In this paper, operation cost of gas-fired units is measured in terms of the natural gas production cost. The heat rate curve and high heating value (HHV) are used to model the relationship between gas consumption and electricity generation of gas-fired units (26). PtG facilities are modeled using energy conversion factor ϕ, efficiency \(\eta_{a}^{\text{PtG}}\), and HHV as in (27) [16, 27], where HHV = 1.026 MBtu/kcf and ϕ = 3.4 MBtu/ MWh.

$$G_{it} = \frac{{F_{it}^{c} \left( {P_{it}^{b} } \right) + SU_{it}^{b} + SD_{it}^{b} }}{\text{HHV}},\quad i \in GU$$
(26)
$$G_{at} = \frac{{\phi P_{at}^{b} \eta_{a}^{\text{PtG}} }}{\text{HHV}}$$
(27)

2.6 Constraints for uncertainties

In this paper, the power system is designed to operate under the base case with unit commitment and generation dispatch decisions corresponding to forecasted values of electrical loads and wind generations in the day-ahead market, while generation dispatches can be adaptively and securely adjusted when possible realizations of uncertainties happen in real time. Only wind and electrical load uncertainties in power systems are considered in this paper. The reasons are twofold: 1) Electrical load uncertainty is a very important factor that will impact day-ahead power system operation schedules [21, 22, 24]. Thus, following the convention of traditional robust optimization based power system operation models, this paper considers electrical load uncertainty. 2) Natural gas system is regarded as highly reliable with sufficient line-pack capacities for handling gas load uncertainties [13], and in turn natural gas load uncertainty is usually not included. In addition, due to the nonlinearity of natural gas Weymouth flow equation, gas load uncertainty is very hard to be incorporated into the second-stage max–min robust framework. This mathematical challenge will be investigated in authors’ future work.

In order to ensure the operational security, the largest possible security violation ΔD under uncertainties should not exceed the preset security threshold ε RO (28). A bi-level max–min problem (29) is used to identify the largest possible security violation under uncertainties. Uncertainty sets of electrical loads and wind generations are described in (30)–(32). Adjusted dispatches need to satisfy nodal balance (33), power flow and bus angle constraint (34), power flow limit (35), bus angle limit (36), capacity limits (37)–(39), corrective ramp capabilities for coupling base-case dispatches and dispatch adjustments under uncertainty (40), as well as ramp up and down limits (41)–(42). In (33)–(43), \(P_{it}^{u}\), \(P_{at}^{u}\), and \(P_{wt}^{u}\) are adjusted dispatches of generating units, PtG facilities, and wind farms in response to uncertainty realizations of electrical load \(P_{dt}^{u}\) and wind generation \(P_{f,wt}^{u}\).

$$\Delta D \le \varepsilon^{\text{RO}}$$
(28)
$$\Delta D = \mathop {\hbox{max} }\limits_{{\left\{ {P_{dt}^{u} ,P_{f,wt}^{u} } \right\}}} \mathop {\hbox{min} }\limits_{{\left\{ \begin{subarray}{l} v_{1t} ,v_{2t} ,P_{it}^{u} ,P_{wt}^{u} , \\ P_{at}^{u} ,PL_{lt}^{u} ,\theta_{et}^{u} \end{subarray} \right\}}} \sum\limits_{t} {\left( {v_{1t} + v_{2t} } \right)}$$
(29)
$$D = \left\{ \begin{aligned} P_{dt}^{u} \in {\mathbb{R}}^{ND \times NT} :\sum\limits_{t} {z_{dt}^{ + } + z_{dt}^{ - } } \le \Delta_{d} ,z_{dt}^{ + } + z_{dt}^{ - } \le 1 \hfill \\ P_{dt}^{u} = P_{dt}^{b} + z_{dt}^{ + } \cdot \tilde{P}_{dt} - z_{dt}^{ - } \cdot \tilde{P}_{dt} ,z_{dt}^{ + } + z_{dt}^{ - } \in \left\{ {0,1} \right\} \hfill \\ \end{aligned}\right\}$$
(30)
$$W = \left\{ \begin{aligned} & P_{f,wt}^{u} \in {\mathbb{R}}^{NW \times NT} :\sum\limits_{t} {z_{wt}^{ + } + z_{wt}^{ - } } \le \Delta_{w} ,z_{wt}^{ + } + z_{wt}^{ - } \le 1 \\ & P_{f,wt}^{u} = P_{f,wt}^{b} + z_{wt}^{ + } \cdot \tilde{P}_{wt} - z_{wt}^{ - } \cdot \tilde{P}_{wt} ,z_{wt}^{ + } + z_{wt}^{ - } \in \left\{ {0,1} \right\} \\ \end{aligned} \right\}$$
(31)
$$P_{dt}^{u} \in D,P_{f,wt}^{u} \in W$$
(32)
$$\begin{aligned}& \sum\limits_{i \in N(e)} {P_{it}^{u} } + \sum\limits_{w \in N(e)} {P_{wt}^{u} } - \sum\limits_{s(l) \in N(e)} {PL_{lt}^{u} } + \sum\limits_{r(l) \in N(e)} {PL_{lt}^{u} } \\ & \quad - \sum\limits_{a \in N(e)} {P_{at}^{u} } + v_{1t} - v_{2t} = \sum\limits_{d \in N(e)} {P_{dt}^{u} } :\left( {\lambda_{1,et} } \right) \\ \end{aligned}$$
(33)
$$PL_{lt}^{u} = \frac{{\theta_{s(l)t}^{u} - \theta_{r(l)t}^{u} }}{{x_{l} }}:\left( {\lambda_{2,lt} } \right)$$
(34)
$$- PL_{l}^{\hbox{max} } \le PL_{lt}^{u} \le PL_{l}^{\hbox{max} } :\left( {\lambda_{4,lt} ,\lambda_{3,lt} } \right)$$
(35)
$$- \theta_{e}^{\hbox{max} } \le \theta_{et}^{u} \le \theta_{e}^{\hbox{max} } :\left( {\lambda_{6,et} ,\lambda_{5,et} } \right)$$
(36)
$$P_{i}^{\hbox{min} } I_{it}^{b} \le P_{it}^{u} \le P_{i}^{\hbox{max} } \cdot I_{it}^{b} :\left( {\lambda_{8,it} ,\lambda_{7,it} } \right)$$
(37)
$$0 \le P_{at}^{u} \le P_{a}^{\hbox{max} } I_{at}^{b} :\left( {\lambda_{9,at} } \right)$$
(38)
$$0 \le P_{wt}^{u} \le P_{f,wt}^{u} :\left( {\lambda_{10,wt} } \right)$$
(39)
$$- R_{i}^{\text{down}} I_{it}^{b} \le P_{it}^{u} - P_{it}^{b} \le R_{i}^{\text{up}} I_{it}^{b} :\left( {\lambda_{12,it} ,\lambda_{11,it} } \right)$$
(40)
$$\begin{aligned} P_{it}^{u} - P_{i(t - 1)}^{u}& \le UR_{i} \cdot I_{i(t - 1)}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{it}^{b} } \right) \\ &\quad + P_{i}^{\hbox{min} } \left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right):\left( {\lambda_{13,it} } \right) \\ \end{aligned}$$
(41)
$$\begin{aligned} P_{i(t - 1)}^{u} - P_{it}^{u} &\le DR_{i} \cdot I_{it}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{i(t - 1)}^{b} } \right) \\ &\quad + P_{i}^{\hbox{min} } \left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right):\left( {\lambda_{14,it} } \right) \\ \end{aligned}$$
(42)
$$v_{1t} ,v_{2t} \ge 0$$
(43)

where v 1t and v 2t are slack variables; D and W are uncertainty sets of electrical loads and wind generations; NT, ND, and NW are numbers of hours, loads, and wind farms; \(z_{dt}^{ + }\), \(z_{dt}^{ - }\), \(z_{wt}^{ + }\), and \(z_{wt}^{ - }\) are binary indicators to describe uncertainty sets; Δ d and Δ w are uncertainty budgets which take values from 0 to NT; \(\tilde{P}_{dt}\) and \(\tilde{P}_{wt}\) are load and wind deviations; \(PL_{lt}^{u}\) and \(\theta_{et}^{u}\) are adjusted power flows and bus angles; λ are dual variables of corresponding constraints; \(R_{i}^{\text{down}}\)and \(R_{i}^{\text{up}}\) are corrective ramp up and down capabilities of units [21].

3 Solution methodology

The proposed robust coordination scheduling model is a large-scale, nonlinear, nondeterministic polynomial-time hard problem with uncertainty parameters. Benders Decomposition [21, 22] and Column-and- Constraint-Generation (C&CG) [23, 24] have been used to solve two-stage adjustable robust optimization problems. In this paper, the C&CG is employed to solve the proposed integrated robust scheduling model in a master-subproblem framework, by taking the advantage of its computational performance.

3.1 Master problem

The master UC problem minimizes the operation cost of the base case (1), subject to base-case constraints (2)–(27) and constraints (44)–(67) corresponding to worst case realizations of electrical load \(P_{dt,k}^{\text{worst}}\) and wind generation \(P_{f,wt,k}^{\text{worst}}\) identified in each iteration k of the subproblem.

In addition, as mixed-integer nonlinear programming problems are generally more difficult to solve, and power system operators exclusively use MILP models to solve day-ahead operation problems with stringent time requirements, this paper follows the convention to convert nonlinear natural gas flow Eqs. (21)–(22) into an MILP formulation with a better computational performance. That is, (21)–(22) are piecewisely linearized, which would convert the master UC problem into an MILP model. The detailed linear approximation of (21)–(22) are provided in “Appendix”. New solutions \(\hat{I}_{it}^{b}\), \(\hat{I}_{at}^{b}\), \(\hat{P}_{it}^{b}\), and \(\hat{P}_{at}^{b}\) are derived to securely handle all worst case realizations.

$$\Delta D_{k} \le \varepsilon^{\text{RO}}$$
(44)
$$\Delta D_{k} = \sum\limits_{t} {\left( {v_{1t,k} + v_{2t,k} } \right)}$$
(45)
$$\begin{aligned} &\sum\limits_{i \in N(e)} {P_{it,k}^{\text{worst}} } + \sum\limits_{w \in N(e)} {P_{wt,k}^{\text{worst}} } - \sum\limits_{a \in N(e)} {P_{at,k}^{\text{worst}} } + v_{1t,k} - v_{2t,k} \\ &\quad + \sum\limits_{r(l) \in N(e)} {PL_{lt,k}^{\text{worst}} } - \sum\limits_{s(l) \in N(e)} {PL_{lt,k}^{\text{worst}} } = \sum\limits_{d \in N(e)} {P_{dt,k}^{\text{worst}} } \\ \end{aligned}$$
(46)
$$PL_{lt,k}^{\text{worst}} = \frac{{\theta_{s(l)t,k}^{\text{worst}} - \theta_{r(l)t,k}^{\text{worst}} }}{{x_{l} }}$$
(47)
$$- PL_{l}^{\hbox{max} } \le PL_{lt,k}^{\text{worst}} \le PL_{l}^{\hbox{max} }$$
(48)
$$- \theta_{e}^{\hbox{max} } \le \theta_{et,k}^{\text{worst}} \le \theta_{e}^{\hbox{max} }$$
(49)
$$P_{i}^{\hbox{min} } I_{it}^{b} \le P_{it,k}^{\text{worst}} \le P_{i}^{\hbox{max} } I_{it}^{b}$$
(50)
$$0 \le P_{at,k}^{\text{worst}} \le P_{a}^{\hbox{max} } I_{at}^{b}$$
(51)
$$0 \le P_{wt,k}^{\text{worst}} \le P_{f,wt,k}^{\text{worst}}$$
(52)
$$- R_{i}^{\text{down}} I_{it}^{b} \le P_{it,k}^{\text{worst}} - P_{it}^{b} \le R_{i}^{\text{up}} I_{it}^{b}$$
(53)
$$\begin{aligned} P_{it,k}^{\text{worst}} - P_{i(t - 1),k}^{\text{worst}} &\le UR_{i} \cdot I_{i(t - 1)}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{it}^{b} } \right) \\ & \quad + P_{i}^{\hbox{min} } \left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right) \\ \end{aligned}$$
(54)
$$\begin{aligned} P_{i(t - 1),k}^{\text{worst}} - P_{it,k}^{\text{worst}} &\le DR_{i} \cdot I_{it}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{i(t - 1)}^{b} } \right) \\ & \quad + P_{i}^{\hbox{min} } \left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right) \\ \end{aligned}$$
(55)
$$v_{1t,k} ,v_{2t,k} \ge 0$$
(56)
$$G_{j}^{\hbox{min} } \le G_{jt,k}^{\text{worst}} \le G_{j}^{\hbox{max} }$$
(57)
$$E_{st,k}^{\text{worst}} = E_{s(t - 1),k}^{\text{worst}} + Q_{st,k}^{\text{in,worst}} - Q_{st,k}^{\text{out,worst}}$$
(58)
$$E_{s}^{\hbox{min} } \le E_{st,k}^{\text{worst}} \le E_{s}^{\hbox{max} }$$
(59)
$$Q_{s}^{\hbox{min} } \le Q_{st,k}^{\text{in,worst}} \le Q_{s}^{\hbox{max} }$$
(60)
$$Q_{s}^{\hbox{min} } \le Q_{st,k}^{\text{out,worst}} \le Q_{s}^{\hbox{max} }$$
(61)
$$\begin{aligned} & \sum\limits_{j \in G\left( m \right)} {G_{jt,k}^{\text{worst}} } - \sum\limits_{{s\left( {mn} \right) \in G\left( m \right)}} {GL_{mn,t,k}^{\text{worst}} } + \sum\limits_{{r\left( {mn} \right) \in G\left( m \right)}} {GL_{mn,t,k}^{\text{worst}} } \\ & \quad \quad + \sum\limits_{a \in G\left( m \right)} {G_{at,k}^{\text{worst}} } + \sum\limits_{s \in G\left( m \right)} {\left( {Q_{st,k}^{\text{out,worst}} - Q_{st,k}^{\text{in,worst}} } \right)} \\ & \quad = \sum\limits_{i \in G\left( m \right)} {G_{it,k}^{\text{worst}} } + \sum\limits_{g \in G\left( m \right)} {G_{gt,k}^{\text{worst}} } \\ \end{aligned}$$
(62)
$$GL_{mn,t,k}^{\text{worst}} = \text{sgn} \left( {\pi_{mt,k}^{\text{worst}} ,\pi_{nt,k}^{\text{worst}} } \right)K_{mn} \sqrt {\left| {\pi_{mt,k}^{\text{worst}} - \pi_{nt,k}^{\text{worst}} } \right|}$$
(63)
$$\pi_{m}^{\hbox{min} } \le \pi_{mt,k}^{\text{worst}} \le \pi_{m}^{\hbox{max} }$$
(64)
$$\pi_{mt,k}^{\text{worst}} \le \varGamma_{c}^{2} \pi_{nt,k}^{\text{worst}}$$
(65)
$$G_{it}^{\text{worst}} = \frac{{F_{i}^{c} \left( {P_{it,k}^{\text{worst}} } \right) + SU_{it}^{b} + SD_{it}^{b} }}{\text{HHV}},\quad i \in GU$$
(66)
$$G_{at}^{\text{worst}} = \frac{{\phi P_{at,k}^{\text{worst}} \eta_{a}^{\text{PtG}} }}{\text{HHV}}$$
(67)

3.2 Worst case identification subproblem

Equations (29)–(43) is a bi-level max–min problem for identifying the largest possible security violation. It can be recasted into a single-level equivalent bilinear maximization problem by applying the duality theory on the inner linear programming (LP) problem. The resulting bilinear maximization problem is presented as follows:

$$\begin{aligned} \Delta D & = \hbox{max} \left\{ {\sum\limits_{t} {\sum\limits_{d \in N(e)} {P_{dt}^{u} \lambda_{1,et} } } + \sum\limits_{t} {\sum\limits_{l} {PL_{l}^{\hbox{max} } \left( {\lambda_{3,lt} + \lambda_{4,lt} } \right)} } } \right. \\ & \quad + \sum\limits_{t} {\sum\limits_{e} {\theta_{e}^{\hbox{max} } \left( {\lambda_{5,et} + \lambda_{6,et} } \right)} } + \sum\limits_{t} {\sum\limits_{i} {P_{i}^{\hbox{max} } \hat{I}_{it}^{b} \lambda_{7,it} } } \\ & \quad - \sum\limits_{t} {\sum\limits_{i} {P_{i}^{\hbox{min} } \hat{I}_{it}^{b} \lambda_{8,it} } } + \sum\limits_{t} {\sum\limits_{i} {P_{a}^{\hbox{max} } \hat{I}_{at}^{b} \lambda_{9,at} } } \\ & \quad + \sum\limits_{t} {\sum\limits_{i} {P_{f,wt}^{u} \lambda_{10,wt} } } + \sum\limits_{t} {\sum\limits_{i} {\left( {P_{it}^{b} + R_{i}^{\text{up}} \hat{I}_{it}^{b} } \right)\lambda_{11,it} } } \\ & \quad - \sum\limits_{t} {\sum\limits_{i} {\left( {P_{it}^{b} - R_{i}^{\text{down}} \cdot \hat{I}_{it}^{b} } \right)\lambda_{12,it} } } \\ & \quad + \sum\limits_{t = 2}^{NT} {\sum\limits_{i} {\left[ {UR_{i} \cdot I_{i(t - 1)}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{it}^{b} } \right)} \right.} } \\ & \quad \left. + \,{ P_{i}^{\hbox{min} } \left( {I_{it}^{b} - I_{i(t - 1)}^{b} } \right)} \right]\lambda_{13,it} \\ & \quad + \sum\limits_{t = 2}^{NT} {\sum\limits_{i} {\left[ {DR_{i} \cdot I_{it}^{b} + P_{i}^{\hbox{max} } \left( {1 - I_{i(t - 1)}^{b} } \right)} \right.} } \\ &\quad \left. +\,{\left. { P_{i}^{\hbox{min} } \left( {I_{i(t - 1)}^{b} - I_{it}^{b} } \right)} \right]\lambda_{14,it} } \right\} \\ \end{aligned}$$
(68)
$${\text{s}}.{\text{t}}.\quad - 1 \le \lambda_{1,et} \le 1$$
(69)
$$- \sum\limits_{s(l) \in N(e)} {\lambda_{2,lt} } + \sum\limits_{r(l) \in N(e)} {\lambda_{2,lt} } + \lambda_{5,et} - \lambda_{6,et} = 0$$
(70)
$$- \lambda_{1,s(l)t} + \lambda_{1,r(l)t} + x_{l} \cdot \lambda_{2,lt} + \lambda_{3,lt} - \lambda_{4,lt} = 0$$
(71)
$$\begin{aligned} & \lambda_{1,et} + \lambda_{7,it} - \lambda_{8,it} + \lambda_{11,it} - \lambda_{12,it} - \lambda_{{13,i\left( {t + 1} \right)}} \\ &\quad + \lambda_{{14,i\left( {t + 1} \right)}} \le 0, \quad t = 1,i \in N(e) \\ \end{aligned}$$
(72)
$$\begin{aligned} & \lambda_{1,et} + \lambda_{7,it} - \lambda_{8,it} + \lambda_{11,it} - \lambda_{12,it} + \lambda_{13,it} - \lambda_{14,it} \\ & \quad- \lambda_{{13,i\left( {t + 1} \right)}} + \lambda_{{14,i\left( {t + 1} \right)}} \le 0,t = 2, \ldots ,NT - 1,i \in N(e) \\ \end{aligned}$$
(73)
$$\begin{aligned} & \lambda_{1,et} + \lambda_{7,it} - \lambda_{8,it} + \lambda_{11,it} - \lambda_{12,it} + \lambda_{13,it} \\ &\quad - \lambda_{14,it} \le 0,t = NT,i \in N(e) \\ \end{aligned}$$
(74)
$$- \lambda_{1,et} + \lambda_{9,at} \le 0,a \in N(e)$$
(75)
$$\lambda_{1,et} + \lambda_{10,wt} \le 0,w \in N(e)$$
(76)
$$\begin{aligned} & \lambda_{3,lt} ,\lambda_{4,lt} ,\lambda_{5,et} ,\lambda_{6,et} ,\lambda_{7,it} ,\lambda_{8,it} ,\lambda_{9,at} ,\lambda_{10,wt} ,\lambda_{11,it} ,\,\lambda_{12,it},\lambda_{13,it},\lambda_{14,it}\le 0 \\ \end{aligned}$$
(77)

The extreme point method is applied to further convert the bilinear maximization problem (68)–(77) into an MILP problem. Specifically, in the objective function (68), bi-linear terms represent products of primal and dual continuous variables, such as \(P_{dt}^{u} \cdot \lambda_{1,et}\). Such bilinear terms can be linearized by the extreme point method with auxiliary binary variables, because continuous uncertainty parameters always take either upper/lower limits or forecasted values [28] in the worst case. For instance, using the extreme point method, the bilinear term \(P_{dt}^{u} \lambda_{1,et}\) can be linearized as in (78)–(83).

$$\begin{aligned} \sum\limits_{d \in N(e)} {P_{dt}^{u} \lambda_{1,et} } & = \sum\limits_{d \in N(e)} {\left[ {P_{dt}^{b} \lambda_{1,et}^{0} + \left( {P_{dt}^{b} + \tilde{P}_{dt} } \right)\lambda_{1,et}^{ + } } \right.} \\ & \quad \left. + { \left( {P_{dt}^{b} - \tilde{P}_{dt} } \right)\lambda_{1,et}^{ - } } \right] \\ \end{aligned}$$
(78)
$$\lambda_{1,et} = \lambda_{1,et}^{0} + \lambda_{1,et}^{ + } + \lambda_{1,et}^{ - }$$
(79)
$$\mu_{et}^{0} + \mu_{et}^{ + } + \mu_{et}^{ - } = 1$$
(80)
$$- \mu_{et}^{0} M \le \lambda_{1,et}^{0} \le \mu_{et}^{0} M$$
(81)
$$- \mu_{et}^{ + } M \le \lambda_{1,et}^{ + } \le \mu_{et}^{ + } M$$
(82)
$$- \mu_{et}^{ - } M \le \lambda_{1,et}^{ - } \le \mu_{et}^{ - } M$$
(83)

where \(\lambda_{1,et}^{0}\), \(\lambda_{1,et}^{ + }\), and \(\lambda_{1,et}^{ - }\) are auxiliary continues variables corresponding to situations when \(P_{dt}^{u}\) takes the forecasted value, the upper bound, and the lower bound; \(\mu_{et}^{0}\), \(\mu_{et}^{ + }\), and \(\mu_{et}^{ - }\) are auxiliary binary variables corresponding to situations when \(P_{dt}^{u}\) takes the forecasted value, the upper bound, and the lower bound; M is a large enough positive number.

3.3 Implementation of the algorithm

The detailed solution procedure for implementing the C&CG algorithm is shown in Fig. 3. The major steps are described as follows.

Fig. 3
figure 3

Flowchart of C&CG algorithm

  • Step 1: Set the maximum level of system power security violation under the worst-case scenario \(\varepsilon^{\text{RO}}\) and the iteration counter k = 1.

  • Step 2: Solve the master problem as described in Sect. 3.1, and pass the optimal solution \(\hat{I}_{it}^{b}\), \(\hat{I}_{at}^{b}\), \(\hat{P}_{it}^{b}\), and \(\hat{P}_{at}^{b}\) to the security checking subproblem (68)–(77).

  • Step 3: Solve the worst case identification subproblem (68)–(77) as described in Sect. 3.2 with respect to \(\hat{I}_{it}^{b}\), \(\hat{I}_{at}^{b}\), \(\hat{P}_{it}^{b}\), and \(\hat{P}_{at}^{b}\), and identify the worst case electrical load \(P_{dt,k}^{\text{worst}}\) and wind generation \(P_{f,wt,k}^{\text{worst}}\) which lead to the largest possible security violation.

  • Step 4: If the largest possible security violation is smaller than \(\varepsilon^{\text{RO}}\), terminate; Otherwise, generate C&CG constraints according to the worst case \(P_{dt,k}^{\text{worst}}\) and \(P_{f,wt,k}^{\text{worst}}\) in current iteration k, set k = k + 1, and go back to Step 2.

By iteratively solving the master problem, checking system security violations in the worst case identification subproblem, and consequently feeding identified worst cases back to the master problem, the C&CG algorithm can mathematically guarantee the global optimality of robust optimization problems [23]. Moreover, the worst case identification subproblem searches for worst case realizations within the uncertainty set that will lead to the largest possible security violations, while the number of identified worst cases is equal to the number of iterations of the C&CG algorithm. This number is system specific, which depends on factors like uncertainty budgets, load and wind profiles, and other system parameters.

4 Case studies

In this section, the 24-bus IEEE RTS system [29] with a 12-node natural gas system [30] is used to demonstrate the performance of the proposed approach. The 24-bus power system includes 26 generation units and 38 branches, with a peak electric demand of 2850 MW. 7 out of the 26 generation units in the 24-bus power system are gas-fired units. Generators 1–4 at buses 1, generator 5 at bus 16, and generators 6–7 at bus 23 are gas-fired units with capacity of 155 MW each, which are supplied by natural gas nodes 11, 5, and 12, respectively. The electric load profile in the winter weekday is chosen for the study. Capacities of all transmission lines are reduced to 60% of their original capacities [31]. Hydro units at bus 22 are replaced by a wind farm with the same capacity of 300 MW. In addition, another wind farm with the capacity of 200 MW is added at bus 18.

The 12-node natural gas system is shown in Fig. 4. The natural gas system includes 3 gas suppliers, 8 pipelines, 2 compressors, and 8 gas loads. Natural gas load demands at nodes 5, 11, and 12 are set as 500, 900, and 1600 kcf/h, respectively. One gas storage facility is added at node 5. Maximum inflow, maximum outflow, and maximum stored energy are 500, 500, and 4000 kcf, respectively. Other detailed system parameters are given in [30].

Fig. 4
figure 4

12-node natural gas system

Fuel price for non-gas-fired units is 2.5$/MBtu. Production costs of the three gas suppliers are 2 $/kcf, 2 $/kcf, and 2.1 $/kcf, respectively. Operation cost of the gas storage is 0.3 $/kcf, to account for costs incurred by storing gas in and withdrawing gas out of gas storage devices. Two PtG facilities are included in the integrated energy system. The two PtG facilities are connected at buses 16 and 17 of the power grid, and at nodes 5 and 3 of the natural gas network. Capacities of PtG1 and PtG2 are 100 and 50 MW respectively with efficiency of 0.64. Note that gas-fired unit and PtG facility at electricity bus 16 and gas node 5 along with the gas storage form an energy hub in the integrated energy systems.

The following five cases are studied for illustrating the proposed robust coordination approach of electricity and natural gas systems. All case studies are implemented in MATLAB and solved using Gurobi 6.5 on a personal laptop with Intel Core i7 2.6 GHz processor and 12 GB memory.

  • Case 1: Deterministic case without PtGs.

  • Case 2: Case 1 with PtGs.

  • Case 3: Robust coordination is considered in Case 1.

  • Case 4: Robust coordination is considered in Case 2.

  • Case 5: Case 4 with different uncertainty budget levels.

Case 1: Power system uncertainties and PtG technology are not considered in this case. In this case, wind generation peaks occur during hours 3–6 where electrical loads are at off-peak. Due to ramping capacity limits and minimum down time constraints of generating units as well as transmission congestions, available wind energy cannot be fully utilized. As a result, a total amount of 89.72 MWh of wind generation is spilled during these 4 h in the early morning. The total operation cost of electricity and natural gas systems is shown in Table 1. In the deterministic day-ahead coordination scheduling, a total number of 477 units are committed during the 24-h horizon as shown in Table 1.

Table 1 Total cost and total committed units in Cases 1–4

Case 2: PtG is considered in this case for economically converting excessive wind energy to compatible natural gas, which is otherwise spilled in Case 1. Natural gas produced by PtG facilities is transported and consumed by other natural gas loads. Since this amount of natural gas is produced by excessive wind energy which is otherwise spilled, the total system operation cost is reduced to $1220094.8 as shown in Table 1.

Case 3: Variations of electrical loads and wind generations are taken into account in this case by the robust coordination strategy. Uncertainty intervals of electrical loads and wind generations are considered as 10% and 20% of their forecast values, respectively, i.e. \(\tilde{P}_{dt} = 0.1 \cdot P_{dt}^{b}\) and \(\tilde{P}_{wt} = 0.2 \cdot P_{f,wt}^{b}\) in (30)–(31). Uncertainty budgets \(\Delta_{d}\) and \(\Delta_{w}\) are both set as 24. The security violation threshold \(\varepsilon^{\text{RO}}\) in (28) is set to 0.01 MW, which means that the system will be immune against all possible realizations of electrical loads and wind generations within the predefined uncertainty set.

The forecasted value, lower bound, upper bound, and identified worst case of electrical loads and wind generations are shown in Figs. 5 and 6, respectively. It can be seen that at hours 5–6, electrical load is low and wind generation is high, whereas electrical load is high and wind generation is low during load peak hours 16–20. In addition, the situation becomes even worse in the worst case situations. The day-ahead robust security-constrained unit commitment (SCUC) is designed to handle worst case situations while avoiding electrical load shedding. Compared with Case 1, 484 units are committed which indicates that more ramping capabilities are needed to handle uncertainties of electrical loads and wind generations. As a result, the total operation cost is increased to $1223397.5.

Fig. 5
figure 5

Electrical load profiles

Fig. 6
figure 6

Wind generation profiles

Case 4: PtG facility in the energy hub is considered based on Case 3. In this case, PtG can provide ramping down capabilities for power systems by converting excessive wind energy into natural gas. With more ramping capabilities, other units can operate at more economical states. In addition, natural gas produced by PtG can reduce the gas production cost for supplying natural gas loads. In turn, the total operation cost is decreased to $1222210.4 as compared to Case 3.

In Case 4, the energy hub plays an important role in the conversion and storage of energy, in order to ensure economic and secure operation of interdependent systems. The collocated gas-fired unit and PtG facility behave like a pump-storage unit while using the natural gas infrastructure as reservoir, which can help reduce variations of electrical loads and wind generations. The combined net power outputs of gas-fired unit and PtG facility under the base case and the worst case are further shown in Fig. 7, where positive and negative values represent power generation of gas-fired unit and power consumption of PtG facility, respectively. Inflows and outflows of the gas storage facility are further shown in Fig. 8 as positive and negative values.

Fig. 7
figure 7

Combined power output of energy hub in base case and the worst case

Fig. 8
figure 8

Inflows and outflows of gas storage facility in base case and the worst case

As shown in Fig. 7, the PtG facility is operated in hours 1–6 while the gas-fired unit works for the rest of the day. It is observed in Figs. 5 and 6 that wind generation is relatively high in hours 1–6 where the system cannot provide enough down ramping capabilities to effectively utilizing available wind energy. In turn, PtG is called to help converting excessive wind energy into natural gas, which will prevent wind spillage and facilitate an economic operation. For the remaining hours where electrical load is relatively high, the gas-fired unit is operated to generate electricity and maintain power system security by providing up/down ramping capabilities to handle worst cases. It should be noted that power outputs of gas-fired unit and power consumptions of PtG facilities increase in worst cases.

Figure 8 further shows that natural gas storage facility is used more frequently under the worst case, in response to frequent hourly dispatch changes of gas-fired unit and PtG facility as shown in Fig. 7. Because operating natural gas storage facility incurs costs, it is rarely used in the base case unless operational economics can be improved. Specifically, in hours 5–6 of the base case when wind generation is high, natural gas produced by the PtG facility cannot be transported to gas loads due to natural gas network congestion caused by gas nodal pressure limits, and in turn a certain amount of natural gas is stored on site in the storage facility and used later at hour 7. On the other hand, in the worst case, more natural gas is injected into and withdrawn out of the storage facility to provide enough gas fuel for supporting ramping and generating capabilities of the gas-fired unit when electrical load is high. In addition, in hours 21–23, natural gas is injected into gas storage facilities to secure gas fuel supply to gas-fired units in the next operation day.

Case 5: In this case, the impact of different uncertainty budget levels on the total cost and worst-case load shedding of the integrated energy system is studied. Worst-case load shedding cost is set as $1000/MWh. The results are reported in Table 2. Specifically, when the uncertainty budget is 0, the integrated robust model degrades to the deterministic model because no uncertainty is considered. As uncertainty budget increases, results are more conservative and the system is immune to a higher level of uncertainties since a larger total deviation of load and wind generation is considered. In turn, the total cost increases monotonously as a wider range of uncertainties is covered. On the other hand, worst-case operation cost decreases because load shedding in the worst case is reduced. When uncertainty budget reaches 16, the total cost does not increase any further and worst-case operation cost does not change any more, which indicates that enough generators have been committed online and adequate system flexibilities are readily available for handling uncertainties. In addition, load shedding quantity is smaller than the security threshold \(\varepsilon^{\text{RO}}\) of 0.01 MW under any possible load and wind generation realizations within the uncertainty set, which justifies that the proposed robust model can derive secure operation solutions for the integrated energy system with uncertainties.

Table 2 Result comparisons

As robust optimization and stochastic programming have been recognized as two effective approaches for handling uncertainties in optimization problems, solutions of the proposed robust model and the stochastic programming model [31, 32] are further compared. In the stochastic programming model, electrical load and wind power uncertainties are assumed to follow uniform distributions. 5000 scenarios are generated via the Latin hypercube sampling method for simulating uncertainties of electrical loads and wind generations in a 24-h period. Then the number of reduced scenarios is chosen to be 10 as a trade-off between computational speed and solution quality [32]. The worst-case load shedding and the operation cost of the stochastic programming model are reported in Table 2. It is observed in Table 2 that the stochastic programming model derives results closer to that of the proposed robust model with uncertainty budget of 1. Specifically, results obtained by the stochastic programming model could yield a smaller cost for covering high-probability scenarios, while the system may not be robust because it could lead to relatively high system load shedding when low-probability high-impact worst case occurs.

Computational performance of the proposed robust model and the stochastic model is further compared in Table 3. The proposed robust model with uncertainty budget of 1 has identified 12 worst cases and yields a total computational time of 4441 s. This high computational time is mainly caused by 12 C&CG iterations and the complexity of worst-case natural gas constraints. In comparison, the stochastic model with 10 scenarios achieves a shorter computational time of 709 s, partly because the worst-case identification subproblem is not involved. In addition, uncertainty budget would also impact computational performance of the proposed robust model. Indeed, total computational time of the proposed robust model with uncertainty budget of 24 is reduced to 142 s, because the identified worst-case scenario is reduced to 1 and the number of C&CG iterations has been greatly reduced.

Table 3 Comparison of computational performance

5 Conclusion

This paper proposes an integrated robust model to coordinate the day-ahead scheduling of electricity and natural gas systems. The energy hub with collocated gas-fired unit, PtG facility, and natural gas storage is explored. The integrated robust model is solved by C&CG algorithm under a master-subproblem framework. Nonlinear natural gas constraints are piecewisely linearized and added into the master problem for the optimal solution. The bi-level subproblem which identifies the worst case situations is recasted into a single-level bilinear problem and then further reformulated an MILP problem via the extreme point method.

Simulation results indicate that PtG facilities can positively contribute to wind spillage mitigation by effectively converting excessive wind generation into natural gas. The robust optimization technique ensures the security of the interdependent energy system with volatile electrical loads and wind generations by committing more units to provide enough ramping capabilities. Furthermore, energy hubs with collocated gas-fired units, PtG facilities, and natural gas storages can be operated analogously as a pump-storage device, which further enhance system flexibilities. Indeed, the energy hub could help achieve an economical and secure operation scheduling by firming the variability of wind generations and electrical loads. In turn, the proposed integrated robust model would enable system operators to securely and economically schedule the interdependent energy system under different levels of uncertainties.