Abstract
Optimal mitigation planning for highly disruptive contingencies to a transmission-level power system requires optimization with dynamic power system constraints, due to the key role of dynamics in system stability to major perturbations. We formulate a generalized disjunctive program to determine optimal grid component hardening choices for protecting against major failures, with differential algebraic constraints representing system dynamics (specifically, differential equations representing generator and load behavior and algebraic equations representing instantaneous power balance over the transmission system). We optionally allow stochastic optimal pre-positioning across all considered failure scenarios, and optimal emergency control within each scenario. This novel formulation allows, for the first time, analyzing the resilience interdependencies of mitigation planning, preventive control, and emergency control. Using all three strategies in concert is particularly effective at maintaining robust power system operation under severe contingencies, as we demonstrate on the western system coordinating council 9-bus test system using synthetic multi-device outage scenarios.
Similar content being viewed by others
1 Introduction
Multi-device contingencies in power systems can have disproportionate impact via cascading failure (e.g., additional generators must shut down to protect themselves if system frequency gets too low) and are particularly difficult to mitigate. Protective measures for power system resilience fall into discrete and continuous categories. Some discrete options include intentional tripping of generators, transmission lines, transformers, and load; as well as hardening decisions to prevent failures of these grid components in the first place. Continuous options include manipulation of device controls, e.g., generator voltage and power set-point adjustment. The work we present advances power system resilience research through the integration of multiple mathematical optimization paradigms to stabilize the grid over several possible contingencies.
Static power flow models, which assume constant power generation and load consumption, are typically used for planning and daily operations purposes. For example, unit commitment (Knueven et al. 2020b) and economic dispatch models use the DC optimal power flow approximations to schedule a grid’s fleet of generators to serve forecasted load at minimal cost under normal operating conditions. Power system restoration, on the other hand, uses AC optimal power flow approximations to generate a plan for restoring the grid after an extreme outage or blackout has occurred (Patsakis et al. 2018). These processes occur on timescales of minutes or more and models can therefore rely on static power flow assumptions for tractability, without needing to consider system dynamics which occur on a timescale of seconds.
Models aimed at measuring or minimizing the operational impacts of disruptive events to a power system—and particularly at understanding or preventing cascading failure due to protective device tripping—require a full dynamic model to represent the short-term behaviors that could cause such impacts. At a minimum, dynamic models capture the inertial behavior of generators as they convert mechanical energy into electrical energy, and the resulting fluctuation in metrics such as AC frequency, current and voltage throughout the system. If these metrics exceed certain upper or lower bounds they can cause additional impacts through mechanisms such as voltage collapse, protective load shed and/or tripping of generators or transmission lines, which in turn have follow-on effects. Dynamics-informed resilience metrics related to voltage levels, voltage stability, frequency levels, and power transmission levels are commonly-used to detect when the system is vulnerable to instability (Kundur et al. 1994).
The transient stability constrained optimal power flow (TSCOPF) problem, rooted in dynamic simulation stability research in the 1990 s, was developed to perform optimal economic dispatch while maintaining transient stability guarantees in the event of specific contingency scenarios (Gan et al. 2000; Abhyankar et al. 2017; Geng et al. 2017). TSCOPF is governed by differential algebraic equations (DAE) that model dynamic power generation and transmission over the grid, as well as constraints that keep transient stability, power and voltages, and/or other metrics within acceptable bounds. Effectively, TSCOPF optimizes the initial conditions of DAE contingency simulations subject to these constraints.
Since the introduction of multi-contingency (MC-) TSCOPF (Yuan et al. 2003), most TSCOPF work has been concerned with simultaneously guaranteeing stability over multiple contingency scenarios. However, in practice each contingency scenario usually represents failure/disconnect of a single device. Failure of multiple devices is much harder to protect against via initial conditions alone and is almost never considered. Our model is similar to MC-TSCOPF in that it optimizes system operating conditions prior to multiple potential contingencies, but different in that it considers additional decision variables as discussed below. Furthermore, optimizing generation cost subject to stability and operational constraints can leave the system with very little margin with respect to those constraints, and therefore vulnerable to additional perturbations. Our model is primarily concerned with severe event resilience and therefore optimizes operational margins rather than the generation cost as in (MC-) TSCOPF.
The transient stability emergency control (TSEC) model described in Abhyankar et al. (2017) and Gan et al. (2018), optimizes emergency control of system dynamics after a contingency has occurred. Like TSEC, our model incorporates dynamic post-contingency control – specifically of exciter voltage and governor mechanical torque set points. Unlike TSEC or TSCOPF, we solve the pre-contingency problem and each post-contingency recourse/emergency control problem simultaneously. In this regard our work is similar to dynamic preventive-corrective control (Yuan and Xu 2020; Arguello et al. 2021). Like Arguello et al. (2021), we use the full system DAE rather than a One Machine Infinite Bust (OMIB) representation, allowing us to optimize and constrain each device and consider metrics beyond transient stability. For convenience of implementation, we use the same controls in our pre- and post-contingency optimization stages. Thus, rather than optimizing pre-contingency real and reactive power like TSCOPF, our model directly optimizes the generator controls that determine real and reactive power. Thus our model is capable of determining the best control path to the desired pre-contingency power levels within a given timeframe, rather than assuming attainability of desired power levels.
There has been some progress in adding discrete planning decisions to dynamically-constrained problems. Transient stability constrained unit commitment (TSCUC) (Abhyankar et al. 2017; Geng et al. 2017; Xu et al. 2015) combines TSCOPF with unit commitment for dynamic stability-constrained economic scheduling and dispatch. Others have explored how to combine discrete variables with stability constraints for other purposes (Dehghanian et al. 2015; Li et al. 2016; Lu et al. 2018; Paramasivam et al. 2013; Kamali et al. 2018). Our model is different from these works in that it allows resilience-focused device hardening in addition to optimal high-fidelity generator control.
For dynamic preventive-corrective control, we leverage the model of Arguello et al. (2021), which performs two-stage stochastic optimization over multiple contingencies. We essentially extend the first stage of this model with discrete hardening of components to protect them from failure in any contingencies. With minor modification our model can extend to other discrete decisions such as intentional generator, transmission line, transformer, and load tripping.
In the next section of this paper, we present our model in stages. First, we summarize the nomenclature and basic power system dynamics model followed by a description of the discretization method that was applied to the differential equations. Next, we describe the resilience metrics that drive our optimization, how we model outages through disjunctive programming, and the mitigation component of our model. We then put all previous modeling components together and describe our solution methodology using a combination of nonlinear programming, generalized disjunctive programming, and stochastic programming techniques. We apply our approach to the 9-bus Western System Coordinating Council (WSCC) test system. This small system provides clear interpretation of results so that the reader can easily see the benefits of both mitigation and high-fidelity generator control in the seconds surrounding a failure. Finally, we present our conclusions and suggestions for future work.
2 Power system resilience and mitigation model
We use a similar dynamic power system model as the one described in Arguello et al. (2021), including a fourth-order flux decay generator, turbines with no reheating, and dynamic loads. This model is extended, through the use of disjunctive programming, to allow discrete mitigation decisions. The model nomenclature is defined in Tables 1, 2, 3, 4, 5 and 6. Note that all power dynamic and control variables are time-dependent. For brevity, we omit time indices and function notation.
2.1 Power system dynamics model
In this section, we introduce the basic power system dynamics DAE model–a differential-algebraic system of equations that includes generator dynamics, load dynamics, AC power transmission, and power balance at buses. Then discretization, resilience metrics, outages, and mitigation features will be discussed. The section will finish by integrating all features into a stochastic optimization model that optimizes over a set of scenarios.
2.1.1 Generator model
Differential Eqs. (1)–(4) model the transformation of mechanical energy to electrical energy in a generator using the reduced-order flux-decay model from Sauer et al. (2017). This system of differential equations is derived by performing a Park’s transformation over a balanced, symmetrical, three-phase generator with a field winding and three damper windings on its rotor. Through this dynamic system, rotor frequency is related to mechanical torque from the governor, internal voltages, internal currents, a reference voltage, and the generator’s voltage at its connection to the rest of the grid. Dynamic simulators usually regard the reference voltage \(V_{{ref}_g}\) as a constant parameter, but our model allows it to vary over time, serving as a control variable.
\(\forall g \in {\mathcal {G}}\)
2.1.2 Governor model
Shaft mechanical torque \(T_{M_g}\) is often used as a parameter in dynamic simulators. Similarly to \(V_{{ref}_g}\), our model allows it to vary over time. Unlike \(V_{{ref}_g}\), however, our model does not directly vary \(T_{M_g}\). Instead, we include a non-reheat steam turbine model to smoothly vary \(T_{M_g}\) through \(P_{{ref}_g}\) using differential Eq. (5). If \(P_{{ref}_g}\) were fixed, \(T_{M_g}\) would exponentially decay to \(P_{{ref}_g}\). Given that we allow optimization over \(P_{{ref}_g}\), this governor model will force \(T_{M_g}\) to dynamically gravitate towards \(P_{{ref}_g}\) in an exponential decay.
\(\forall g \in {\mathcal {G}}\)
2.1.3 Stator equations
The flux-decay model stator equations in (6)–(7) result from applying Kirchoff’s Voltage Law to the generator’s dynamic equivalent circuit. It models real and reactive voltage drop across the generator’s circuit elements.
\(\forall g \in {\mathcal {G}}\)
2.1.4 Exponential recovery load model
To include dynamic real and reactive power consumption on the grid, we use the exponential recovery load model (8)–(11) from Hill (1993). This model is based on the empirically-observed exponential recovery of an aggregated load after a step change in voltage. Equations (10)–(11) express power consumption as a linear combination of the dynamic variable x and an exponential function of V. In turn, \(\frac{dx}{dt}\) is a linear combination of x and exponential functions of V through (8)–(9). This model has the effect of \(P_{L_i}\) and \(Q_{L_i}\) recovering towards \(P_{O_{L_i}}\) and \(Q_{O_{L_i}}\) respectively after a change in voltage.
\(\forall d \in {\mathcal {D}}\)
2.1.5 Power flow equations
The power form of Ohm’s law for AC power flow applied across transmission lines yields power flow Eqs. (12) and (14). They calculate the real and reactive power at bus i from the line between buses i and j. Similarly, (13) and (15) calculate the real and reactive power at bus j from the line between buses i and j. Note that these equations can include modeling of transformers, line charging susceptance, and shunt devices.
\(\forall i,j \in {\mathcal {L}}\)
2.1.6 Balance equations
The power-balance network Eqs. (16) and (17) enforce conservation of power at each bus. Together with the power flow equations, they model the transmission of real and reactive power from generators, through lines, to loads throughout the grid.
\(\forall b \in {\mathcal {B}}\)
2.1.7 Variation restriction
Finally, we add two inequality constraints that limit the rate of change of \(V_{ref}\) and \(P_{ref}\) so that feasible solutions include practical control schemes that avoid high levels of oscillation.
\(\forall g \in {\mathcal {G}}\)
2.2 Discretization
To incorporate this power system dynamics model into an optimization framework to maximize resilience, we discretize the DAE model and approximate the differential equations with algebraic equations. The time horizon [0, T] is partitioned through a finite set of points \({\mathcal {P}} = {\mathcal {T}} \cup {\mathcal {T}}_{fail}\) where \({\mathcal {T}} = \{t_1 = 0, t_2, \dots , t_{n-1}, t_n = T\}\) and \({\mathcal {T}}_{fail}\) is a set of failure times. For simplicity, we use uniform spacing between the points of \({\mathcal {T}}\). Every derivative in the power system dynamics model is then approximated using either a finite difference or collocation discretization scheme. See Arguello et al. (2021) for more details.
2.3 Resilience metrics
After applying a discretization scheme, the power system variables defined in Table 4 are available at points in \({\mathcal {P}}\) to form resilience metrics for use in the objective function. The following resilience metrics (\(M_{v}\), \(M_{\omega }\), and \(M_{d}\)) penalize deviations from nominal values of voltage, frequency, and load respectively.
The \(\gamma \) parameters are chosen to be positive and even. Their magnitude determines the rate at which deviation from nominal values is penalized. Meanwhile, the \(\eta \) parameters can be used to shape the resilience metrics. Minimizing these metrics improves power quality while increasing voltage and frequency margins from their limits. This helps prevent protective tripping, which in turn may prevent other outages or even cascading failures. The objective function of our optimization model is formed from a linear combination of these resilience metrics taken over appropriate time intervals as shown in Sect. 2.6.3.
2.4 Outages
Component trips within the power system are modeled using disjunctions through generalized disjunctive programming (GDP). Each disjunction consists of two disjuncts, each containing a block of constraints. Feasible solutions satisfy either of the two disjuncts within each disjunction. To keep track of which disjunct is satisfied, we use variables \(\zeta \). If the first disjunct of a disjunction is satisfied, \(\zeta = 1\), otherwise \(\zeta = 0\).
We begin by modeling generator tripping:
This disjunction either models the conversion of mechanical energy into electrical energy through the stator Eqs. (6)–(7) or specifies that no electrical energy is generated through \(I_{q_{g}} = 0\) and \(I_{d_{g}} = 0\)
Next, we model line tripping:
This disjunction either models power transmission through the power flow equations for real and reactive power or specifies that no power is being transmitted through a line by setting the power flow variables equal to 0.
Finally, we model load tripping:
This disjunction either models the consumption of power at a load through the exponential recovery load model or specifies that no power is consumed by setting all variables in the exponential recovery load model to 0.
All of the disjunctions described above are indexed by particular time indices depending on the component trip scenario being modeled. This time index is described in more detail in Sect. 2.6.
2.5 Mitigation
The outage variables \(\zeta \) indicate whether or not an outage has occurred since the outage disjuncts are mutually exclusive. Consequently, these variables can be used as switches to either de-energize or protect individual components within a particular outage scenario. For example, if a grid component c is expected to become de-energized at time t unless a mitigation has been put in place, then the on/off status of c is determined through the constraint
where \(z_c\) is the binary decision variable being optimized. Now assume the set of components \({\mathcal {C}}\) is vulnerable in a scenario and will become de-energized unless mitigation investments are made. If only B such investments can be made, the constraint
will choose up to B components from \({\mathcal {C}}\) to keep energized while de-energizing the rest.
As another alternative, the set of vulnerable components \({\mathcal {C}}\) can be partitioned into type-specific component sets, \({\mathcal {C}}_g = \{c \in {\mathcal {C}} \vert c \in {\mathcal {G}}\}\) for generator mitigations, \({\mathcal {C}}_l = \{c \in {\mathcal {C}} \vert c \in {\mathcal {L}}\}\) for line mitigations, and \({\mathcal {C}}_d = \{c \in {\mathcal {C}} \vert c \in {\mathcal {D}}\}\) for load mitigations. Type-specific investment constraints can be used:
A third alternative, is to associate a cost, \(p_c\), with protecting each grid component and use a weighted sum constraint as a more detailed mitigation decision mechanism:
2.6 Stochastic mitigation and power system dynamics control optimization model
Finally, we extend the deterministic power system dynamics control and mitigation model detailed above to a two-stage stochastic program with recourse as in Arguello et al. (2021). In this extension, a finite scenario set \(\Xi = \{\xi _1, \dots \xi _n\}\) models outage scenarios where each \(\xi _i\) occurs with probability \(p_i\) and has an associated outage set \({\mathcal {C}}_i\). For ease of experimentation we assume that all failures occur at a common time \(t_f\) which allows us to partition the time horizon into a first-stage, \({\mathcal {T}}_f = \{t \in {\mathcal {P}} \vert t < t_f\}\), and a second-stage, \({\mathcal {T}}_s = \{t \in {\mathcal {P}} \vert t \ge t_f\}\). This event model represents simultaneous failures and idealized control with no delay in event detection or response. Our stochastic model can be generalized to include failure and control delays along with scenario and grid component-specific failure times. We leave this to future research.
2.6.1 First-stage
The first stage of our stochastic program captures decisions to be made before we know which outage scenario is realized. First-stage decision variables must be nonanticipative (i.e. the same across all scenarios). In our model the first stage variables are the control actions before \(t_f\) and the mitigation decisions. Control actions taken during this stage adjust the grid to be optimally prepared given the set of scenarios considered. More specifically, this includes \(V_{ref}\) and \(P_{ref}\) for all generators and \(t \in {\mathcal {T}}_f\). Mitigation decisions determine which components are hardened or protected from failing. The mitigation investment variable is defined as \(z_c\) for \(c \in {\mathcal {C}}\) where \({\mathcal {C}} = \bigcup _i^n {\mathcal {C}}_i\).
Our first-stage model includes all power system dynamics and control constraints (1)–(19). For mitigation investment decisions we use component type-specific budgets as shown in constraints (28)–(30).
2.6.2 Second-stage
The second stage solves for scenario-specific control decisions that occur after \(t_f\). There are no mitigation decisions in this stage and components that were protected in the first stage remain protected. Control decisions include all power dynamic and control variables (see variable Tables 4 and 5) for each \(t \in {\mathcal {T}}_s\).
Second-stage constraints include power system dynamics and control together with outage disjunctions that model either outage or protection depending on values of \(\zeta \). Power system dynamic constraints include (1)–(19) for each \(\xi _i \in \Xi \) and \(t \in {\mathcal {T}}_s\). To protect through mitigation decisions, we include (26) and outage disjunctions for each \(c \in {\mathcal {C}}_i\) in stage \(\xi _i \in \Xi \) and for every \(t \in {\mathcal {T}}_s\).
2.6.3 Objective function
Finally, our objective function seeks to optimize grid resilience in the first stage through prepositioning while also optimizing expected resilience through emergency control after a scenario has occurred at \(t_f\). Using our resiliency metrics \(M_v\), \(M_\omega \), and \(M_d\), our stochastic objective is
Note that \(t_{f}\) can be any time period in [0, T]. In our experiments, we have selected \(t_{f}\) to be the midpoint. However, if economic costs were included, a significantly longer first stage could be considered to model longer term decisions in preparation for a set of scenarios \(\Xi \) that occur with more advanced notice. Depending on the severity of the scenarios, a longer second stage could also be studied to measure the efficacy of the emergency controls.
3 Solution methodology
The model we present in this paper is a stochastic nonconvex nonlinear generalized disjunctive program. There are widely-used techniques for solving each subtype of this problem class. Depending on problem structure and size, algorithms for solving stochastic programs include the L-shaped method of Birge and Louveaux (2009), progressive hedging from Rockafellar and Wets (1991), and direct LP or MIP solution of the extensive form. Nonconvex nonlinear problems can be solved through a combination of interior point methods, gradient descent algorithms, and active set algorithms (Nocedal and Wright 1999). Finally GDP’s have been traditionally solved through big-M (Trespalacios and Grossman 2015) and convex hull relaxations (Grossman and Lee 2003).
To express and solve our model, we use the Python-based mathematical programming language Pyomo (Bynum et al. 2021). Pyomo enables the expression of complex optimization problems and contains several extensions for representing and solving specific types of models. Pyomo extensions used in this work include mpi-sppy (Knueven et al. 2020a), Pyomo.DAE (Nicholson et al. 2018), Pyomo.GDP (Chen et al. 2022), and GDPopt (Chen et al. 2018). The mpi-sppy package facilitates the expression of stochastic programs and implements the L-shaped method and progressive hedging algorithms. Pyomo.DAE enables easy expression of differential equations and transformations for approximating derivatives using algebraic equations. Pyomo.GDP allows users to represent disjuncts and disjunctions and provides general implementations of the big-M and convex hull relaxations. Finally, GDPopt provides logic-based decomposition approaches for solving nonlinear GDP models. Each of these Pyomo extensions has been demonstrated individually but to our knowledge this is the first time they have all been combined to efficiently implement and solve the novel optimization formulation described in this work.
Our solution approach consisted of the following steps:
-
1.
Implement deterministic power system resilience and mitigation model from Arguello et al. (2021) through Pyomo.DAE and Pyomo.GDP, including all differential equations and disjunctions.
-
2.
Use Pyomo.DAE collocation transformation to approximate all derivatives using a collocation over finite elements discretization. Note, Pyomo.DAE also allows forward, backward, and central finite difference methods.
-
3.
Extend to a stochastic program by duplicating the deterministic problem to form different scenarios and providing mpi-sppy scenario probabilities and parameters, including which variables belong to the first-stage.
-
4.
Apply a nested sequence of solvers. For our model mpi-sppy required a subsolver capable of solving the nonlinear GDP model in each scenario. We used GDPopt, which in turn required mixed-integer linear programming (MINLP), mixed-integer nonlinear programming (MINLP), and nonlinear programming (NLP) subsolvers. Our GDPopt subsolver choices included Gurobi (Gurobi 2022), Bonmin (Bonami et al. 2008), and Knitro (Byrd et al. 2006).
4 Experimentation and results
We demonstrate the utility of our model through a multiple scenario failure contingency experiment on the WSCC 9-bus power system starting at a steady state. Our experiments optimize grid resilience while preemptively mitigating worst-case failures given a budget.
4.1 Outage scenarios
In our experiment, we synthesize four notional scenarios. The first scenario, which we refer to as the baseline scenario, is the system at steady state with no failures. This scenario is included since, in practice, the outcome that no failure occurs should be considered.
The three other scenarios each consist of three grid component failures that collectively cover all generators and load within the system. See Fig. 1a–c. For our experiment, we assume \(t_f = 1.5\) s and the full time horizon is 3 s long.
4.2 Dynamics with no resilience control and no mitigation
To see the impact of control and mitigation optimization, we first show the power system dynamics for scenarios 2–4 with no control and no mitigation by fixing the \(V_{ref}\) and \(P_{ref}\) parameters and using a budget of zero. See Figs. 2, 3 and 4. For scenario 2, the voltage at bus 2 drops significantly to 0.8 p.u. at \(t_f\), followed by voltage rapidly increasing past 1.05 p.u., both well past the stability margin of 0.95–1.05 p.u. This causes the frequency of generator 2 to increase and diverge beyond the nominal frequency of 60 Hz, while the frequencies of generators 1 and 3 decrease to compensate. Similar behavior amongst the generators is observed in scenario 3, except the voltages at each bus increase and decrease more chaotically, with bus 8 decreasing and all other buses increasing to compensate, followed by harmonic motion of the voltage at each bus. Scenario 4 also has frequency divergence, except now with generator 3 increasing past nominal frequency. Unlike Scenarios 2 and 3, in Scenario 4 all buses increase in voltage followed by a steady decline. The extreme voltages and frequencies seen in these scenarios could lead to further cascading failures in real power systems.
Given these failure scenarios and no mitigation controls, there exists no optimal solution, as the model is unable to stabilize itself. This is most notable in the frequency deviation observed for each scenario.
4.3 Resilience control and mitigation budget of \(B = 1\)
With a mitigation budget of \(B=1\), the optimization problem can protect a single line, load, and generator across all scenarios, each of which occurs with \(p=0.25\) for simplicity. To see the mitigation choices made by the model relative to the grid, see Fig. 5. It chose to protect the lower left portion of the grid, namely the load at bus 5, the line between buses 4 and 5, and generator 1. These hardware components were determined to have the largest impact on grid resilience if tripped and protecting them results in the optimal reduction in expected system deviation.
Figures 6, 7, 8 and 9 show the outcome of both resilience control and mitigation optimization. Note that control profiles (\(V_{ref}\) and \(P_{ref}\)) and dynamics (V and \(\omega \)) are the same before \(t_f = 1.5\) s. This is expected since \(V_{ref}\) and \(P_{ref}\) before \(t_f\) are first stage variables.
Even in the baseline scenario where no component is failing, there are several noteworthy features within the dynamics and control profiles. First, as an artifact of pre-positioning the grid in anticipation of scenario 2–scenario 4, there is a gradual decrease of frequency. After \(t_f = 1.5\) s, there is a spike in \(P_{ref}\). Normally the model would be disincentivized from allowing frequency to dip too much from the nominal value of 60 Hz. However, as scenarios 2 through 4 each have load being tripped, the model prepares for the sudden loss of load by allowing the generators to slow down. After realizing that the baseline scenario occurred with no failures, a single generator speeds up by momentarily ramping \(P_{ref}\) to bring voltage and frequency closer to nominal values.
Note that recourse action after \(t_f\) and system responses are different in each scenario due to the nature of their outages. However, with appropriate control actions, voltages and generator frequencies remain within stable margins across all scenarios. The optimal deviation cost across all four scenarios was 3.331. See Sect. 4.5 for additional details.
4.4 Resilience control and mitigation budget of \(B = 2\)
Increasing the mitigation budget to \(B=2\) improves resilience while demonstrating limited marginal utility in mitigation investments. Now that an additional line, load, and generator can be protected, the model chooses to protect the left side of the system together with the load at bus 6. See Fig. 10. However, it chooses to not protect the generator at bus 2, even though it has enough budget to protect it. This demonstrates the marginal utility of budget on grid resilience.
Similar to mitigation with budget \(B=1\), we see a resilience effect with both mitigation and control. However, with additional components being protected, preventative control is less extreme. See Figs. 11, 12, 13 and 14. The optimal deviation cost across all four scenarios was 0.484. See Sect. 4.5 for additional details.
We further demonstrate the impact of controls and mitigation on the dynamics of the system in Sect. 1.
4.5 Results summary
The optimal objective function values from running the model at each budget level B are summarized in Table 7 and broken down into voltage deviation cost \(M_v\), frequency deviation cost \(M_\omega \), and load deviation cost \(M_d\). With a \(B=0\) investment, the solver is unable to find a feasible solution, suggesting that the set of failure scenarios leads to severe grid instability. With just a single \(B=1\) hardening investment for each component type, the grid becomes stable with a total objective cost of 3.331. Increasing the mitigation investment to \(B=2\) results in further improvements to the total objective cost, now only at 0.484, approximately an 85% reduction. Frequency deviation accounted for the greatest magnitude of cost for both \(B=1\) and \(B=2\), and thus the cost improvements are largely made by reducing \(M_\omega \). Given some cost for hardening a component, one could better quantify the optimal cost policy that minimizes grid instability and hardening investment costs.
Table 8 demonstrates the maximum and minimum voltages and frequencies across all four scenarios for each level of investment. As B increases, the range of values for both voltage and frequency decreases—the range of values for frequency was reduced the most, coinciding with the greater reduction in cost seen in Table 7.
For each of these solves, an extensive form solution methodology was used with the following solver settings:
The order of magnitude of the model was 14,484 variables and 14,106 constraints. Each model solve took approximately 25 min.
5 Conclusion
We have successfully incorporated binary mitigation variables into a two-stage stochastic optimization model with dynamic constraints to improve system resilience. The model combines GDP for incorporating mitigation decisions, stochastic programming to account for uncertain scenarios, and DAE equations to model the dynamics itself. We have demonstrated that mitigation decisions, when under a constrained budget, can choose to protect certain components asymmetrically across scenarios, as well as not exercising the entirety of the budget when certain combinations of components are vulnerable to being tripped simultaneously. This modeling framework is the first of its kind to study the interdependencies between optimal hardening mitigation, pre-positioning, and emergency control with respect to a set of failure scenarios.
5.1 Future research
This paper demonstrates the utility of our model on a small test system. Future research will leverage progressive hedging, variable screening, and reduced-order dynamically equivalent modeling to scale to larger and more realistic systems. Additional discretization points could also extend the time frame that is studied as well as increase the fidelity of results. As an example, additional points around a failure time could improve accuracy. Model fidelity can be improved by incorporating details on device types, outage effects, device damage, restorability, and remedial action schemes. These remedial action schemes can be modeled through hybrid dynamic modeling. Finally, constraints and objectives can be added to model transient, small-signal, and voltage stability.
References
Abhyankar S, Geng G, Anitescu M, Wang X, Dinavahi V (2017) Solution techniques for transient stability-constrained optimal power flow-part i. IET Gener Transm Distrib 11(12):3177–3185
Arguello B, Stewart N, Hoffman M (2021) Stochastic optimization of power system dynamics for grid resilience. In: Proceedings of the 54th Hawaii international conference on system sciences, p 3359
Biegler LT (2007) An overview of simultaneous strategies for dynamic optimization. Chem Eng Process Process Intensif 46(11):1043–1053
Birge J, Louveaux F (2009) L-shaped method for two-stage stochastic programs with recourse. In: Pardalos PM (ed) Encyclopedia of optimization 2009: CA Floudas. Springer, New York, pp 1943–1945
Birge JR, Louveaux F (2011) Introduction to stochastic programming. Springer, Berlin
Bonami P, Lorenz BT, Conn AR, Cornuéjols G, Grossman IE, Laird CD, Lee J, Lodi A, Margot F, Sawaya N, Wächter A (2008) An algorithmic framework for convex mixed integer nonlinear programs. Discrete Optim 5:186–204
Bynum ML, Hackebeil GA, Hart WE, Laird CD, Nicholson BL, Siirola JD, Watson JP, Woodruff DL (2021) Pyomo-optimization modeling in Python, vol 67, 3rd edn. Springer, Berlin
Byrd RH, Nocedal J, Waltz RA (2006) KNITRO: an integrated package for nonlinear optimization. Springer, Boston, pp 35–59
Chen Q, Johnson ES, Siirola JD, Grossmann IE (2018) Pyomo.gdp: disjunctive models in python. In: Computer aided chemical engineering, vol 44. Elsevier, pp 889–894
Chen Q, Johnson ES, Bernal DE, Valentin R, Kale S, Bates J, Siirola JD, Grossmann IE (2022) Pyomo.GDP: an ecosystem for logic based modeling and optimization development. Optim Eng 23(1):607–642
Dehghanian P, Wang Y, Gurrala G, Moreno-Centeno E, Kezunovic M (2015) Flexible implementation of power system corrective topology control. Electr Power Syst Res 128:79–89
Gan D, Thomas RJ, Zimmerman RD (2000) Stability-constrained optimal power flow. IEEE Trans Power Syst 15(2):535–540
Gan G, Zhu Z, Geng G, Jiang Q (2018) An efficient parallel sequential approach for transient stability emergency control of large-scale power system. IEEE Trans Power Syst 33(6):5854–5864. https://doi.org/10.1109/TPWRS.2018.2826534
Geng G, Jiang Q (2012) A two-level parallel decomposition approach for transient stability constrained optimal power flow. IEEE Trans Power Syst 27(4):2063–2073
Geng G, Ajjarapu V, Jiang Q (2014) A hybrid dynamic optimization approach for stability constrained optimal power flow. IEEE Trans Power Syst 29(5):2138–2149
Geng G, Jiang Q, Sun Y (2016) Parallel transient stability-constrained optimal power flow using gpu as coprocessor. IEEE Trans Smart Grid 8(3):1436–1445
Geng G, Abhyankar S, Wang X, Dinavahi V, IEEE PES Task Force on Interfacing Techniques for Solution Tools (2017) Solution techniques for transient stability-constrained optimal power flow-part II. IET Gener Transm Distrib 11(12):3186–3193
Grossman IE, Lee S (2003) Generalized convex disjunctive programming: nonlinear convex hull relaxation. Comput Optim Appl 26:83–100
Gurobi Optimization, LLC (2022) Gurobi optimizer reference manual. https://www.gurobi.com
Hill DJ (1993) Nonlinear dynamic load models with recovery for voltage stability studies. IEEE Trans Power Syst 8(1):166–176
Hoffman MJ, Nelson AM, Arguello B, Pierre BJ, Guttromson RT (2021) Optimizing power system stability margins after wide-area emergencies. In: 2021 IEEE power & energy society general meeting (PESGM). IEEE, pp 01–05
Jiang Q, Geng G (2010) A reduced-space interior point method for transient stability constrained optimal power flow. IEEE Trans Power Syst 25(3):1232–1240
Jiang Q, Huang Z (2010) An enhanced numerical discretization method for transient stability constrained optimal power flow. IEEE Trans Power Syst 25(4):1790–1797
Kamali S, Amraee T, Capitanescu F (2018) Controlled network splitting considering transient stability constraints. IET Gener Trans Distrib 12(21):5639–5648
Karlsson D, Hill DJ (1994) Modelling and identification of nonlinear dynamic loads in power systems. IEEE Trans Power Syst 9(1):157–166
Knueven B, Mildebrath D, Muir C, Siirola JD, Watson JP, Woodruff DL (2020a) A parallel hub-and-spoke system for large-scale scenario-based optimization under uncertainty. Math Program Comput: 1–29
Knueven B, Ostrowski J, Watson JP (2020b) On mixed-integer programming formulations for the unit commitment problem. INFORMS J Comput 32(4):857–876
Kundur P, Balu NJ, Lauby MG (1994) Power system stability and control, vol 7. McGraw-Hill, New York
Calle Ledesma C, Arredondo (2017) Multi-contingency tscopf based on full-system simulation. IET Gener Transm Distrib 11(1):64–72
Lee S, Grossmann IE (2001) A global optimization algorithm for nonconvex generalized disjunctive programming and applications to process systems. Comput Chem Eng 25(11–12):1675–1697
Li Z, Geng G, Jiang Q (2016) Transient stability emergency control using asynchronous parallel mixed-integer pattern search. IEEE Trans Smart Grid 9(4):2976–2985
Li Z, Yao G, Geng G, Jiang Q (2016) An efficient optimal control method for open-loop transient stability emergency control. IEEE Trans Power Syst 32(4):2704–2713
Lu M, Nagarajan H, Yamangil E, Bent R, Backhaus S, Barnes A (2018) Optimal transmission line switching under geomagnetic disturbances. IEEE Trans Power Syst 33(3):2539–2550. https://doi.org/10.1109/TPWRS.2017.2761178
Nguyen-Duc H, Tran-Hoai L, Cao-Duc H (2017) An approach to solve transient stability-constrained optimal power flow problem using support vector machines. Electr Power Compon Syst 45(6):624–632
Nguyen-Duc H, Tran-Hoai L, Ngoc DV (2017) A novel approach to solve transient stability constrained optimal power flow problems. Turk J Electr Eng Comput Sci 25(6):4696–4705
Nicholson B, Siirola J (2018) A framework for modeling and optimizing dynamic systems under uncertainty. Comput Chem Eng 114:81–88
Nicholson B, Siirola JD, Watson JP, Zavala VM, Biegler LT (2018) pyomo.dae: a modeling and automatic discretization framework for optimization with differential and algebraic equations. Math Program Comput 10(2):187–223
Nocedal J, Wright SJ (1999) Numerical optimization. Springer, Berlin
Paramasivam M, Salloum A, Ajjarapu V, Vittal V, Bhatt NB, Liu S (2013) Dynamic optimization based reactive power planning to mitigate slow voltage recovery and short term voltage instability. IEEE Trans Power Syst 28(4):3865–3873
Patsakis G, Rajan D, Aravena I, Rios J, Oren S (2018) Optimal black start allocation for power system restoration. IEEE Trans Power Syst 33(6):6766–6776
Pavella E, Ruiz-Vega (2010) Transient stability of power systems a unified approach to assessment and control. Springer, Berlin
Prasad D, Mukherjee A, Shankar G, Mukherjee V (2017) Application of chaotic whale optimisation algorithm for transient stability constrained optimal power flow. IET Sci Meas Technol 11(8):1002–1013
Raman R, Grossmann IE (1994) Modelling and computational techniques for logic based integer programming. Comput Chem Eng 18(7):563–578
Rockafellar RT, Wets RJB (1991) Scenarios and policy aggregation in optimization under uncertainty. Math Oper Res 16(1):119–147
Sager S (2009) Reformulations and algorithms for the optimization of switching decisions in nonlinear optimal control. J Process Control 19(8):1238–1247
Sauer PW, Pai MA, Chow JH (2017) Power system dynamics and stability: with synchrophasor measurement and power system toolbox. Wiley, Hoboken
Siirola JD, Watson JP (2012) Modeling and optimization of superstructure-based stochastic programs for risk-aware decision support. In: Karimi IA, Srinivasan R (eds) 11th international symposium on process systems engineering, computer aided chemical engineering, vol 31. Elsevier, pp 1060–1064
Teeparthi K, Kumar DV (2017) Dynamic power system security analysis using a hybrid pso-apo algorithm. Eng Technol Appl Sci Res 7(6):2124–2131
Trespalacios F, Grossman IE (2015) Improved big-m reformulation for generalized disjunctive programs. Comput Chem Eng 76:98–103
Wächter A, Biegler LT (2006) On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math Program 106:25–57. https://doi.org/10.1007/s10107-004-0559-y
Xu Y, Dong ZY, Zhang R, Xue Y, Hill DJ (2015) A decomposition-based practical approach to transient stability-constrained unit commitment. IEEE Trans Power Syst 30(3):1455–1464. https://doi.org/10.1109/TPWRS.2014.2350476
Yang Y, Liu W, Deng J, Liu H, Wei H, Wang T (2017) A parallel approach for multi-contingency transient stability constrained optimal power flow. In: 2017 IEEE power & energy society general meeting. IEEE, pp 1–5
Yuan H, Xu Y (2020) Preventive-corrective coordinated transient stability dispatch of power systems with uncertain wind power. IEEE Trans Power Syst 35(5):3616–3626. https://doi.org/10.1109/TPWRS.2020.2972003
Yuan Y, Kubokawa J, Sasaki H (2003) A solution of optimal power flow with multicontingency transient stability constraints. IEEE Trans Power Syst 18(3):1094–1102
Zárate-Miñano R, Van Cutsem T, Milano F, Conejo AJ (2009) Securing transient stability using time-domain simulations within an optimal power flow. IEEE Trans Power Syst 25(1):243–253
Zhang R, Xu Y, Zhang W, Dong ZY, Zheng Y (2016) Impact of dynamic models on transient stability-constrained optimal power flow. In: 2016 IEEE PES asia-pacific power and energy engineering conference (APPEEC). IEEE, pp 18–23
Zweigle GC, Venkatasubramanian V (2013) Wide-area optimal control of electric power systems with application to transient stability for higher order contingencies. IEEE Trans Power Syst 28(3):2313–2320
Acknowledgements
This work was supported by the Laboratory Directed Research and Development program at Sandia National Laboratories, a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia LLC, a wholly owned subsidiary of Honeywell International Inc. for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525. SAND2022-14601. This paper describes objective technical results and analysis. Any subjective views or opinions that might be expressed in the paper do not necessarily represent the views of the U.S. Department of Energy or the United States Government.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
To demonstrate that resilience control is necessary, we provide some results with mitigation only. See Figs. 15, 16, 17, 18, 19 and 20. In almost every scenario there are extreme voltages and frequencies. Furthermore, in most cases, frequency drops even for the generators that did not fail.
The first set of results include a budget of \(B = 1\).
Given this budget, one generator, load, and transmission line will be protected against failure. However, the model is unable to keep voltages within safe margins for scenarios 3 and 4. Furthermore, generator frequency for the two unprotected generators drops in all but scenario 4.
The next set of results consider a budget of \(B = 2\).
Given two units of budget, we now see that scenario 4 becomes completely protected and therefore remains at steady state. However, even though two of three generators are protected, generator frequencies drop for two of the generators in scenarios 3 and 4.
Finally, we present results with resilience control but no mitigation.
We see that scenario 2 and 3 voltage and frequencies remain within stable margins thanks to optimal resilience control. However in scenario 4, the voltage at one of the nine buses dips below 0.95 p.u. and remains there from 1.5 s until the end of the time horizon. Furthermore, the generator frequency is slightly elevated by the end of the time horizon. Finally, it is noteworthy that \(V_{ref}\) must spike all the way to 10 p.u. in both scenarios 3 and 4. These levels are much higher than \(V_{ref}\) levels with added mitigation.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Stewart, N., Arguello, B., Hoffman, M. et al. Optimal mitigation and control over power system dynamics for stochastic grid resilience. Optim Eng (2023). https://doi.org/10.1007/s11081-023-09829-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11081-023-09829-5