1. Introduction
Nowadays, the deployment of gas-fired generators (GFGs) is an effective alternative for governments and system operators. GFGs specifications, e.g., high ramp rates, economic aspects, and fast start-up/shut-down, emphasize their effectiveness [
1,
2]. These units are well suited to the uncertain and variable nature of renewable energy sources (RES) [
3,
4,
5]. However, the functionality and availability of gas units depend highly on the gas network status [
6,
7]. Low pressure and congested pipelines restrict the applicability of GFGs to respond appropriately [
8,
9].
Most research works in the literature have focused on the interconnection of electricity and natural gas networks [
10,
11,
12]. In [
13], a two-stage profit maximization problem has been proposed, including electricity and natural gas markets. The locational marginal prices were optimized in the inner market-clearing stage, while all players could access equilibrium to guarantee their maximum profit at the outer level. The GFGs and gas market were jointed through bids from GFGs and prices in the gas market in [
13]. Chen et al. [
14] reported a new study to handle congestions in gas networks properly. A comprehensive, interconnected electricity and gas network operational scheduling problem in a market-based model has been proposed by Chen et al. [
14], where gas transmission capacity was labeled with a certain price. Additionally, RES uncertainties were considered. In [
15], gas storages were adopted to smooth out the load profile embedded in the robust operation for interconnected electricity and natural gas networks, where the robustness was against multiple component outages. In addition, a relaxed second-order conic programming (SOC) form of gas network constraints was considered in a decomposition-based algorithm called column and constraint generation (CCG). The uncertainties regarding electricity and gas demand have been investigated in both electricity and gas networks by the introduced distributionally robust scheduling problem in [
16]. To linearize nonconvexities regarding gas network operation, the problem has been converted into mixed-integer linear programming (MILP), benefiting approximated linear decision rules to deal with uncertainties by He et al. [
16]. In [
17], for the sake of a more tractable solution of computational complexity and reducing the requirements of heavy communication facilities, fully decentralized combined electricity and gas network operational planning was developed. He et al. [
17] adopted the iterative alternating direction method of multipliers (I-ADMM) to convexify nonconvex constraints regarding gas networks. In [
18], for a mutual electricity and gas network operational planning problem, the potential advantages of using power-to-gas (P2G) storage have been assessed on a day-ahead basis to make gas consumption more affordable. In [
19], energy procurement cost minimization has been focused on considering three different types of uncertainties, e.g., distributed energy resources (DER), day-ahead electric demand, and natural gas demand profiles, in a joint gas and electricity schedule. Two-stage robust optimization was applied by Chen et al. [
19].
Transmission line switching to maximize system flexibility and other optimal operation features is also considered in recent research [
20,
21,
22]. Due to the increased tendency to maximize the penetration rate of RES in future networks and more requirements for additional network flexibility to tackle possible congestions on one side and deal with system reliability on the other side, optimal transmission line switching would be a key solution in the viewpoint of flexibility in the transmission side. Reference [
23] is one of the most recent research works in the field of power system flexibility maximization. In [
23], optimal transmission line switching (TS) has been investigated in a contingency-constrained unit commitment through a robust optimization approach in both preventive and corrective modes.
In
Table 1, the literature review is summarized. The features and factors of the comparative literature review could be listed as follows:
Factor 1: Combined electricity and gas networks operational planning;
Factor 2: Considering optimal transmission line switching;
Factor 3: Common uncertainty resources related to the electrical system, e.g., renewable sources’ output power or demand uncertainties;
Factor 4: Nonlinearities of gas network constraints;
Factor 5: Flexibility reserve deployment;
Factor 6: Decision making based on robust optimization; and
Factor 7: Considering the uncertainty set’s interval range as an uncertain parameter.
The literature review illustrates the research gap in stochastic modeling of the uncertainty set’s interval range. In the proposed method, unlike in existing robust optimization methods, dealing with uncertainties by introducing uncertainty sets with respective pre-defined ranges, adjustable interval ranges as an additional degree of freedom to prevent conservativeness of the robust optimizations are considered. Moreover, the studies of TS, as one of the most effective preventive and corrective solutions to maximize system flexibility, have received less attention. The main contributions of this article are proposed to fill such research gaps. Considering the detailed nonlinear constraints of the gas network is another minor contribution.
This paper tries to fill existing gaps in the literature about the flexibility maximization of interconnected electric and gas networks. The main contributions of this article can be listed as follows:
This research majorly focuses on flexibility maximization through the respective uncertain range in a multistage robust optimization approach to reach less conservativeness. This is one of the major contributions. Modeling an uncertain interval range is a new framework that is proposed in this paper. It should be highlighted that Factor 7 has been used in this article as a new method, considering the uncertainty set’s interval range as an uncertain parameter.
In this paper, the reported method of [
23] would be extended, while TS is considered in a joint robust security-constrained unit commitment and nonlinear gas network scheduling problem. Using TS in co-optimization of combined gas and electricity networks, besides other robust security-constrained unit commitment issues, is one of the contributions.
A three-level model is developed for the joint robust security constraint unit commitment (SCUC) and gas network scheduling. In the upper minimization level, a base SCUC is solved, considering nonlinear gas network constraints aiming to minimize operational cost without considering explicit uncertainties. In the middle maximization problem, the worst possible scenario for uncertain parameters corresponding to RES output power and the most critical electric transmission line outage are concerned. In the lower minimization re-dispatch problem, the model tries to cover the worst cases found in the previous level with the lowest re-dispatch cost. The proposed three-level optimization model, besides other new aspects, can be listed as one of the contributions. However, separate three-level models might be introduced in the available works.
The nonlinearity of gas network constraints and integer decision variables regarding corrective optimal TS makes robust optimization challenging. The inner optimization levels consist of nonlinear and integer terms, which is not compatible with strong duality theory. Accordingly, a state-of-the-art nested column and constraint generation (CCG) method is applied to overcome this challenge [
26].
The proposed method has tried to respond to all concerns comprehensively. Indeed, one of the main advantages of this study and the proposed model is its consideration of all aspects. However, it is necessary to clarify how the proposed model can consider various aspects, and related challenges should be highlighted. Developing a three-level optimization model is one of the solutions that can overcome some complexities in the proposed model. Indeed, by a three-level model, the optimization problem can be solved more easily. In addition, TS is another solution that has been utilized to satisfy the constraints of the optimization problem. TS can also be useful in a realistic situation. Furthermore, linearized techniques and some innovative approaches to solving the optimization problem are other features of this research. These capabilities help use the proposed method in realistic systems.
The remainder of this article’s structure is as follows.
Section 2 is (Uncertain Interval Range Modeling) allocated for the introduced multistage robust gas network constrained (GC)-SCUC optimization problem. A brief nested CCG counterpart of the proposed GC-SCUC model (Problem Formulation) is reported in
Section 3.
Section 4 presents the test and numerical results. Finally, the conclusion is given in
Section 5.
2. Adjustable Interval Range Modeling to Consider Stochastic Behaviors and Uncertainties
In existing references, the interval/respective range has been assumed to be deterministic, which has fixed endpoints in both up and down directions. The interval range could be distinguished according to recorded/measured data and statistical analyses for the stochastic subsystems based on selected confidence interval (CI) levels. Unlike the available studies based on a fixed interval range, e.g., ±10 or ±20% of the predicted/estimated parameter, this paper considers a stochastic-based interval for uncertain subsystems/elements. By modeling the stochastic behaviors of the interval range, the introduced framework searches corresponding to the worst scenario, while conservative decision making can be reduced, and more precision deviations in stochastic subsystems between two consecutive intervals are achievable. The concept of the variable interval range is depicted in
Figure 1.
Figure 1 shows a conceptual net load variation, besides the predicted values and up/down deviations with various CIs.
As revealed in
Figure 1b, a flexible confidence interval of 95% is considered for up/down directions. From the statistical point of view, the interval range could deviate in various intervals of the operational conditions for a CI between 90 and 99%.
Moreover, deviations of the stochastic parameters in several intervals could be kept in a smaller range, which leads to lower conservativeness. Furthermore, larger deviations between consecutive intervals are plausible with the developed stochastic adjustable interval range, resulting in more intertemporal flexibility. The introduced new uncertainty set development is described according to Equations (1)–(3) for the net load (one of the most important stochastic parameters in the operation of electrical energy systems).
In Equation (1), the net load uncertainty for the
n-th bus at the
t-th time period is mathematically expressed based on two binary/Boolean variables that permit deviations around the predicted/estimated value with a predetermined fixed interval range. In the introduced formulation, asymmetric and flexible/adjustable interval ranges are assumed for both up/down changes. By applying Equations (2) and (3), Equations (1) and (4) can be expressed according to multiplied binary values. The linearizing of nonlinear parts can be implemented by the Big-M technique and the dummy variables, as shown in Equations (4)–(12).
Inequality Equations (13)–(16) should be considered to represent that the binary variables of the stochastic interval range depend on those of the stochastic net load.
The simultaneous up and down deviations in stochastic elements that are not possible are modeled by Equations (17)–(19).
Finally, the budget of uncertainties is defined as Equations (20)–(22) to control the conservativeness of the extreme points.
3. Problem Formulation
The introduced tri-level min-max-min robust model/concept for the joint electricity and natural gas SCUC optimization problem is discussed in this part. Afterward, the methodology based on the nested CCG solution is presented.
This section may be divided into subheadings. It should provide a concise and precise description of the experimental results, their interpretation, as well as the experimental conclusions that can be drawn.
3.1. Proposed Robust SCUC Problem
The main goal of this paper is to co-optimally schedule day-ahead electricity and natural gas networks based on flexibility optimization using a flexible/adjustable interval range and switching of transmission lines as decision variables of the optimization problem. Hence, a robust tri-level SCUC is developed. The SCUC should be solved, as one of the first steps, in the introduced robust tri-level SCUS for the base case, while uncertain resources are neglected. The scenarios based on worth conditions for both uncertain net load and the worst possible transmission line contingency are distinguished by finding the maximum solutions in the middle level. Finally, at the inner level, units with flexibility capabilities are re-dispatched, which is the selected solution for decision making in both electricity and natural gas networks.
The objective function, as shown in Equation (23), is presented for cost terms, including the costs for TG’s start-up, no-load, energy generation, and the up/down reserve capacity allocation. In addition, cost terms related to gas production out of gas wells and gas storing costs are considered in the proposed objective function. The start-up costs, no-load cost functions, and power production from GFGs are also considered to determine the introduced objective function. Furthermore, the up and down reserve capacity costs of GFGs are considered.
The power balance based on predicted/estimated net load is depicted in Equation (24). In addition, the nodal power balance according to shift factor sensitivity matrices is considered in the model by Equation (25). The up and down reserve capacity allocations for GFGs are restricted by maximum and minimum generation capacity, as given in Equations (26) and (27), respectively [
27,
28]. Similarly, Equations (28) and (29) are used to limit TGs’ capacity from the viewpoint of generation and reserve. The GFGs and TGs’ reserve capacities should be controlled and re-dispatched to reach the desired capacities, as expressed in Equations (30)–(33). The minimum and maximum gas production out of a gas well are represented by Equation (34) [
29]. The time-dependent rate for storing gas is embedded in Equation (35), while this rate is restricted according to Equation (36). The maximum gas storage in and out ranges of a gas storage unit is limited in Equations (37) and (38), respectively. As shown in Equation (39), the gas pressure limit at each node should be considered in the proposed optimization problem. The gas balance requirement is presented in Equation (40).
In Equation (41), the nonlinear Weymouth equation [
30,
31] shows the relationship between gas flow in the
y-th pipeline and the start and end node gas pressure. This equation could be linearized using Equations (42)–(45).
where
represents a nonlinear term
in Equation (41). In addition,
are piecewise segments of the nonlinear term. In Equations (42)–(45),
and
are auxiliary continuous and binary variables, respectively. The error gap could be controlled by choosing different sizes of the K value as piecewise linear partitions.
The coefficient
, as used in Equation (41), is defined in Equation (46). The gas pressure in the pipeline endpoints equipped with a compressor, known as an active line, is indicated in Equation (47). The gas flow in the active pipelines is shown in Equation (48). The start-up costs of TGs and GFGs are calculated using Equations (49)–(52). A set of constraints representing the minimum up/down-time constraints for all types of generation units is defined in Equation (53). For the space-saving purpose, these constraints have been discussed in brief form, and detailed formulations and supplementary explanations can be found in [
32].
The mathematical expression of the middle maximization level is presented in Equations (54)–(58). The middle maximization level has been developed to determine the worst scenarios from the viewpoint of stochastic behaviors of net load and transmission line contingency. The maximum of allowed contingencies is restricted according to Equation (58). The set of uncertain and stochastic parameters in the developed robust optimization problem will be polyhedral. The introduced model is linearized utilizing auxiliary binary variables [
33]. Unlike the available studies, a flexible/adjustable interval range will be utilized to search for a wider range of flexibility in the power system operation.
As demonstrated by Equations (59)–(76), the lower minimization level would be a recourse decision-making problem (mixed-integer problem). At the lower minimization level, the commitment of the units does not change. However, a re-dispatch is applied to act against the eventual effects of the worst cases, which have been extracted in the middle maximization level. As noted in Equation (59), the deviation from the power balance condition should be minimized. In addition, the system balance in the worst-case scenario has been expressed by Equation (60). The nodal power balance, considering both contingency and transmission switching binary variables in the worst-case impact mitigation, is presented in Equation (61). The gas balance under the worst-case scenario with new GFG re-dispatch decision variables could be considered using Equation (62).
Equations (63)–(71) are recourse counterparts of Equations (34)–(40) and (46)–(49), respectively.
The lower-level variables could be linked to the predefined decisions found in the previous minimization step based on Equations (72)–(75). The variables for recourse decision making should be limited based on found decisions in the upper optimization problem; output power reserves, capacities, and commitment conditions of units. It is noted that the suffix (*) represents that the term is fixed as a parameter in the current stage. Finally, Equation (76) shows the positive recourse decision variables.
3.2. Nested CCG
Since the lower level of the proposed optimization problem is a mixed-integer problem, including transmission switching decision variables, as shown in (61), and linearized gas flow using (69), the conventional CCG solution method would not be applicable. Accordingly, the nested CCG [
26,
34] is implemented according to the nonconvex binary variables at the lower minimization level.
The developed and introduced tri-level robust optimization model can be expressed in a compact form, as demonstrated in Equations (77)–(82):
The interactions between the discussed compact formulation and the extended form of the proposed model are presented in
Table 2.
To apply the nested CCG method, it is necessary to define the inner and outer CCG models.
3.2.1. Inner CCG Problem
Step 1
The inner minimization problem will be mixed-integer programming. Hence, an arbitrary set of worst-case variables should be created as initial values to linearize the inner problem. Based on the upper-level variables, as expressed in Equations (81) and (82), it would be a pure convex linear problem, as shown in Equations (83) and (84).
The determined optimum results of , let ,, i=1, ,, .
Step 2
The inner minimization problem is a convex linear problem based on the upper-level variables
, and
. Additionally, the inner minimization problem’s dual can be obtained. The achieved max-max MILP problem, including bilinear terms, and its linearization could be simplified by the big M approach [
35]. Then, the inner max MILP could be solved using Equations (85) and (86).
The optimum results and should be extracted. Afterward, is updated.
Step 3
The problem defined in Equations (83) and (84) is solved using to determine the optimized results and upgrade .
Step 4
If
, where
is the inner CCG convergence tolerance, the process is terminated and returned to the optimum extreme points based on the worst conditions
. On the other hand, the iteration number (
m) is updated, and Step 2 is followed based on Equations (87) and (88).
3.2.2. Outer CCG Problem
Step 1
The upper level is solved using Equations (89)–(92) based on the returned extreme points
.
In any iteration , primal cuts Equations (91) and (92) should be applied to the main problem. The is updated with the optimal solution .
Step 2
By applying the optimal , the first step of the inner level, as shown in Equations (83) and (84), could be solved to determine the extreme optimal points for the next iteration. Additionally, The should be updated.
Step 3
If
, where
is the outer CCG convergence tolerance, the process is terminated and returned to the optimal solution. Otherwise, the iteration number is updated, and the following primal cuts, as expressed in Equations (93) and (94), are added to Step 1.
Figure 2 shows the flowchart of the solution method.
4. Numerical Results
In this section, the applicability of the proposed model is tested on two joint electricity and natural gas networks test systems [
36,
37]:
Test system 1: A six-bus electrical network incorporating a seven-node gas system, as shown in
Figure 3 [
36];
Test system 2: A 39-bus electrical network incorporating a 20-node gas system, as shown in
Figure 4 [
37].
The information on the selected hybrid electrical and gas networks has been extracted from [
36].
Figure 3.
Six-bus power system, incorporating a seven-node gas system [
36].
Figure 3.
Six-bus power system, incorporating a seven-node gas system [
36].
Figure 4.
IEEE 39-bus power system, incorporating a 20-node gas system [
37].
Figure 4.
IEEE 39-bus power system, incorporating a 20-node gas system [
37].
The degree of robustness is shown in all cases with the normalized budget of uncertainty (NBU). The zero value of the NBU shows the most optimistic results with no uncertainty, and the one value for the NBU represents the most conservative results.
Solving the optimization problems and guaranteeing to find the global optima are essential issues [
38,
39,
40]. Hence, it was tried to develop effective approaches for solving the optimization problem.
4.1. Test Results of the First Test System
Table 3 and
Table 4 demonstrates the power flow of this test case in two conditions:
As highlighted in grey color, the most loaded line for the base case was L1, which was correctly recognized as the worst case in the proposed model, and disconnected for the sake of finding the most reliable operation scheduling with the highest robustness cost. In that case, line L2 was fully loaded to compensate for the failure of line L1. It is worth mentioning that due to the lack of redundant transmission network loops, transmission switching was not activated for this small test case.
Table 5 is provided to briefly demonstrate the out-of-sample results of the proposed model in a long-run simulation through the Monte Carlo simulation. As highlighted in grey color, the lowest total cost belongs to the case with NBU = 0.2. In this risk level, with a rather slight increase (7.3%) in the operation cost (249,953 − 232,782 = 17,171 USD), a large reduction (89%) in the out of sample cost was obtained (375,500 − 41,051 = 334,449 USD). This shows the effectiveness of the proposed model that even small conservative solutions cause large operation reliability enhancement.
4.2. Test Results of the Second Test System
The results for the IEEE 39-bus system are tabulated in
Table 6. To implement the proposed method for this case, a slight modification was done, which was dropping the connecting generator buses to the network, i.e., buses 30, 32, 33, 34, 35, 36, 37, and 38. The rationale behind this was to prevent contingencies in the tie lines connecting the generators to the network. Without this modification, when NBU equals 1.0, the line connecting buses 38 to 29 that connects G2 to the network was identified as the worst contingency. In addition, disconnecting the G2 caused extra-large load shedding with a total cost of 8,383,356 USD. However, for the same case, by the above-mentioned modification, the total cost of the proposed model was reduced to 1,112,770 USD.
Table 7 briefly shows the results of the proposed model considering TS allowance. It is noted that if TS was not considered, the total cost rose up to 18.8% (1,370,804 USD − 1,112,770 USD = 258,034 USD), which shows the major role of TS in cost reduction in stressed operation conditions. This cost reduction was caused by switching off the connecting line between buses 3 and 4 during almost all of the hours except 1:00, 2:00, 17:00, 23:00, and 24:00. In addition, connecting the line between buses 26 and 27 was identified as the worst contingency in electric transmission lines.
In addition, two gas wells were added in gas nodes 16 and 20 to prevent gas load curtailment in stressed operating conditions. The gas production profile of the gas wells is depicted in
Figure 5. It is noted that gas wells w1, w2, w3, and w4 were connected to nodes 1, 9, 16, and 20, respectively. As expected, the least expensive well (w1) produced gas up to its capacity throughout the time horizon, while the more expensive well (w2) produced gas mostly during afternoon peak hours to support electric power flexibility when reserves were scarce. The same trend could be observed in the optimal behavior of gas storage systems, as shown in
Figure 6, where storage 2 discharges during daily peak hours between 8:00 and 14:00 with discharges during low-demand hours.
The most important feature of the proposed model is to consider the conventional fixed respective range as an uncertain parameter.
Figure 7 shows the performance of this uncertain respective range for the case with NBU = 0.3. As can be seen, for hours 1:00 to 4:00, 12:00 to 17:00, and 21:00 to 24:00, the worst scenario was the lowest wind power production, i.e., Low IR-. However, for the fifth and 12th time periods, the worst-case happened in the upper bound of the positive direction interval range (UP IR+) to force operation scheduling, which was capable of extra ramp ranges compared to the fourth and 13th time periods, respectively. The proposed method considers the flexibility of each time interval and includes the ramping flexibility between consecutive time intervals. Other steep jumps can also be seen in
Figure 7 (like 17:00 to 18:00 and 20:00 to 21:00).
As revealed by the test results, the execution time for the studied networks was very short. Therefore, it can be concluded that the proposed method can be practically implemented for large networks.
5. Conclusions
The proposed model tried to solve robust day-ahead scheduling of joint electricity and gas networks based on new features. The first new aspect of the current paper was that fixed respective range (interval range) in conventional robust models was substituted with an uncertain respective range to better mimic the real-world characteristics of uncertain resources, such as wind power generation. In addition, the transmission switching technique was applied in the joint electricity and gas operation problem by virtue of more flexibility. Since the multilevel robust optimization model could not be solved with conventional CCG algorithms because of nonconvexities in the inner minimization problem, a recent nested CCG algorithm was applied to overcome this shortcoming. The results were promising because of electricity networks with a higher number of transmission loops. Hence, the network operator could benefit from transmission line switching even considering the N-1 transmission line security criterion. The tractability of the proposed model could be improved, considering larger electricity and gas networks. The uncertain respective range can be investigated in other power system popular problems, such as security constraint unit commitment and robust economic dispatch. The multiresolution scheduling could also be investigated to capture more variability of the renewables with finer time resolutions. The comparison of two methods based on variable and fixed flexibility interval ranges has emphasized the effectiveness of this study. Furthermore, the operation cost of the study network in NBU=0.8 was obtained to be 1,101,072 USD, but in in NBU = 0.3, the operation cost could be reduced to 1,096,122 USD, which illustrates the advantages of the proposed method.