Feasible Path Identification in Optimal Power Flow with Sequential Convex Restriction
Dongchan Lee, Konstantin Turitsyn, Daniel K. Molzahn, and Line A., Roald

TL;DR
This paper introduces a convex optimization-based algorithm to find feasible paths in nonconvex AC optimal power flow problems, enabling reliable transitions between operating points and improving solutions efficiently.
Contribution
It proposes a novel sequential convex restriction method to compute feasible paths in nonconvex OPF problems, addressing the challenge of disconnected feasible spaces.
Findings
Algorithm successfully finds feasible paths in various test cases.
Converges to high-quality solutions in few iterations.
Enables reliable transition between operating points.
Abstract
Nonconvexity induced by the nonlinear AC power flow equations challenges solution algorithms for AC optimal power flow (OPF) problems. While significant research efforts have focused on reliably computing high-quality OPF solutions, it is not always clear that there exists a feasible path to reach the desired operating point. Transitioning between operating points while avoiding constraint violations can be challenging since the feasible space of the OPF problem is nonconvex and potentially disconnected. To address this problem, we propose an algorithm that computes a provably feasible path from an initial operating point to a desired operating point. Given an initial feasible point, the algorithm solves a sequence of convex quadratically constrained optimization problems over conservative convex inner approximations of the OPF feasible space. In each iteration, we obtain a new,…
| Objective ($/h) | Optimality Gap (%) | |||||||
| Test Case | Initial | Matpower | CVXRS iter | CVXRS last iter | Number of iterations | iter | last iter | Solver Time (seconds) |
| Typical Operating Conditions (TYP) | ||||||||
| pglib_opf_case3_lmbd | 6089.54 | 5812.64 | 5986.53 | 5813.54 | 5 | 2.99 | 0.02 | 0.01 |
| pglib_opf_case5_pjm | 27356.2 | 17551.9 | 17839 | 17578.8 | 4 | 1.64 | 0.15 | 0.03 |
| pglib_opf_case14_ieee | 7008.23 | 6291.28 | 6291.35 | 6291.29 | 2 | 0 | 0 | 0.08 |
| pglib_opf_case24_ieee_rts | 87065.8 | 63352.2 | 63393.8 | 63361.5 | 4 | 0.07 | 0.01 | 0.19 |
| pglib_opf_case30_ieee | 12308.3 | 11974.5 | 11981.1 | 11976.8 | 2 | 0.06 | 0.02 | 0.23 |
| pglib_opf_case39_epri | 152592 | 142980 | 144525 | 143010 | 4 | 1.08 | 0.02 | 0.41 |
| pglib_opf_case57_ieee | 46216.5 | 39323.4 | 44000.3 | 42494 | 5 | 11.89 | 8.06 | 1.04 |
| pglib_opf_case73_ieee_rts | 262108 | 189764 | 189908 | 189789 | 5 | 0.08 | 0.01 | 1.73 |
| pglib_opf_case118_ieee | 145657 | 115804 | 117068 | 116071 | 5 | 1.09 | 0.23 | 3.55 |
| pglib_opf_case162_ieee_dtc | 129083 | 126154 | 127622 | 127612 | 3 | 1.16 | 1.16 | 19.91 |
| pglib_opf_case179_goc | 905329 | 828404 | 893016 | 883301 | 5 | 7.8 | 6.63 | 11.47 |
| pglib_opf_case200_tamu | 37398.7 | 34730.7 | 37138.3 | 35895.9 | 5 | 6.93 | 3.35 | 10.21 |
| pglib_opf_case300_ieee | 850620 | 664220 | 734711 | 684909 | 5 | 10.61 | 3.11 | 55 |
| pglib_opf_case588_sdet | 476950 | 381555 | 447566 | 428569 | 5 | 17.3 | 12.32 | 219.66 |
| Congested Operating Conditions (API) | ||||||||
| pglib_opf_case3_lmbd__api | 11390.1 | 11242.1 | 11320.7 | 11242.4 | 4 | 0.7 | 0 | 0.01 |
| pglib_opf_case5_pjm__api | 83270.4 | 76377.4 | 76752 | 76433.2 | 4 | 0.49 | 0.07 | 0.06 |
| pglib_opf_case14_ieee__api | 13604.4 | 13310.7 | 13463.6 | 13424.1 | 3 | 1.15 | 0.85 | 0.1 |
| pglib_opf_case24_ieee_rts__api | 282746 | 134948 | 241878 | 172528 | 5 | 79.24 | 27.85 | 0.31 |
| pglib_opf_case30_ieee__api | 24038.1 | 24032.1 | 24036.1 | 24036.1 | 1 | 0.02 | 0.02 | 0.34 |
| pglib_opf_case39_epri__api | 259792 | 257214 | 259405 | 258749 | 5 | 0.85 | 0.6 | 0.59 |
| pglib_opf_case57_ieee__api | 61522.6 | 59273.6 | 60600.3 | 60385.8 | 4 | 2.24 | 1.88 | 1.1 |
| pglib_opf_case118_ieee__api | 327478 | 316424 | 323357 | 318211 | 5 | 2.19 | 0.56 | 3.77 |
| pglib_opf_case162_ieee_dtc__api | 144271 | 143514 | 144259 | 144259 | 1 | 0.52 | 0.52 | 11.79 |
| pglib_opf_case179_goc__api | 2456980 | 1971220 | 2381450 | 2330960 | 2 | 20.81 | 18.25 | 15.75 |
| pglib_opf_case200_tamu__api | 53307.9 | 44867.2 | 52408.5 | 51493.9 | 2 | 16.81 | 14.77 | 11.3 |
| pglib_opf_case300_ieee__api | 967348 | 775490 | 879185 | 841581 | 2 | 13.37 | 8.52 | 59.45 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Feasible Path Identification in Optimal Power Flow with Sequential Convex Restriction
Dongchan Lee, Konstantin Turitsyn, Daniel K. Molzahn, and Line A. Roald
This work was supported in part by the U.S. Department of Energy Office of Electricity as part of the DOE Grid Modernization Initiative and in part by the National Science Foundation Energy, Power, Control and Networks Award 1809314. D. Lee is with the Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA (email: [email protected]). K. Turitsyn is with the D. E. Shaw Group, New York, NY 10036 USA (e-mail: [email protected]). D. K. Molzahn is with the School of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA 30313 USA (e-mail: [email protected]). L. A. Roald is with the Department of Electrical and Computer Engineering, University of Wisconsin, Madison, WI 53706 USA (e-mail: [email protected]).
Abstract
Nonconvexity induced by the nonlinear AC power flow equations challenges solution algorithms for AC optimal power flow (OPF) problems. While significant research efforts have focused on reliably computing high-quality OPF solutions, it is not always clear that there exists a feasible path to reach the desired operating point. Transitioning between operating points while avoiding constraint violations can be challenging since the feasible space of the OPF problem is nonconvex and potentially disconnected. To address this problem, we propose an algorithm that computes a provably feasible path from an initial operating point to a desired operating point. Given an initial feasible point, the algorithm solves a sequence of convex quadratically constrained optimization problems over conservative convex inner approximations of the OPF feasible space. In each iteration, we obtain a new, improved operating point and a feasible transition from the operating point in the previous iteration. In addition to computing a feasible path to a known desired operating point, this algorithm can also be used to improve the operating point locally. Extensive numerical studies on a variety of test cases demonstrate the algorithm and the ability to arrive at a high-quality solution in few iterations.
Index Terms:
Feasible Path Identification, Convex Restriction, Optimal Power Flow
I Introduction
AC optimal power flow (OPF) is a fundamental optimization problem in power system analysis [1, 2, 3]. The classical form of an OPF problem seeks an operating point that is feasible (i.e., satisfies both the AC power flow equations that model the network physics and the inequality constraints associated with operational limits on voltage magnitudes, line flows, generator outputs, etc.) and economically efficient (i.e., minimizes generation cost). While previous research has improved the tractability of OPF algorithms and the quality of the resulting solutions [4, 5, 3, 6, 2, 7, 8, 9], a number of challenging issues remain. One such issue is to determine a sequence of control actions that facilitate a safe transition from the current operating point to the desired operating point [2, 3].
With increasing variability due to the growth of renewable generation and the expansion of electricity markets, power systems experience more frequent and larger magnitude transitions from one operational state to another. When there is a significant change in the operating point, the transition needs to be carried out gradually in a sequential order rather than instantaneously. Previous literature has considered sequencing control actions to mitigate disturbances [10, 11, 12]. References such as [11, 12] formulate a mixed-integer linear programming problem to minimize the number of control actions based on linear approximations of the AC power flow equations. While these linear approximations avoid complications from nonlinear equality constraints, they do not guarantee feasibility of the full, non-linear AC OPF problem. Approximations of the power flow equations may result in an infeasible state and can lead to incorrect security assessments. This can be understood by analyzing the set of feasible dispatch points (also referred to as the feasible space) for the AC OPF problem, which is nonconvex and sometimes disconnected [13, 14, 15]. Due to the complicated feasible space, a feasible path connecting the two steady-state operating points (where each intermediate state is AC power flow feasible) can be difficult to compute or may not exist. The example shown in Figure 1 illustrates a situation where a linear transition from an initial to a desired operating point leads to constraint violations, but the piece-wise linear transition shown by the red line allows us to reach the desired operating point.
The main contribution of this paper is an algorithm that allows us to compute a feasible path between two operating points. For the purposes of the paper, we are interested in steady-state feasibility, i.e., feasibility of the nonlinear AC power flow equations and operational limits without consideration of the system dynamics.
The idea of a feasible path may bring to mind the concept of numerical continuation, which produces a sequence of solutions to a system of nonlinear equations when the parameters are varied along one degree of freedom [16]. Common applications of continuation methods include computing voltage stability margins [17, 18, 19], analyzing the power flow solvability boundary [20], and calculating multiple power flow solutions [21, 22, 23]. Continuation methods have also been used to improve the convergence characteristics of solution algorithms for OPF problems, particularly near the voltage stability boundary [24, 25, 26, 27], and have additionally been applied to compute multiple local optima for OPF problems [28]. Another application of continuation methods in the context of OPF problems is the tracking of optimal dispatch points with respect to varying load parameters. This is achieved by applying continuation methods to trace the solutions to the KKT optimality conditions for the OPF problem[29, 30, 31, 32, 25].
While the idea of tracking the optimal solutions might seem similar to the idea of a feasible path proposed in this paper, the goal of this problem formulation is fundamentally different from our problem. The continuation OPF identifies a sequence of optimal solutions, frequently under limiting assumptions on nonlinear operational constraints such as line flow limits and reactive power generation limits. There is no guarantee that the transition between subsequent points obtained with the continuation method are feasible, and therefore the optimal “path” of the continuation method consists of a set of discrete, optimal points with respect to a varying load profile. In contrast, our method identifies a continuous path where every transition is guaranteed to be feasible with respect to both the full, non-linear AC power flow equations and other operational constraints. Another distinction is that continuation algorithms which trace an OPF solution require that the initial operating point is the solution to an OPF problem for some load profile. Our approach specifically does not require an optimal starting point, but rather permits the calculation of a feasible transition path between any feasible operating points.
Another related research area is model predictive control, which has been applied to a variety of power system applications such as frequency control [33, 34], voltage regulation [35], HVDC control [36], contingency mitigation [37], etc. MPC approaches generally rely on linearized dynamics without considering the nonlinear AC power flow equations, and hence can not guarantee feasibility. Additional related work in [38] and [39] controls the power injections in order to enforce operational constraints in distribution systems. However, similar to MPC, these methods are focused more on real-time control as opposed to optimization. Further, these approaches are limited to radial networks with only PQ buses, making them unsuitable for transmission system applications.
We finally mention another class of related algorithms called sequential convex programming, which solve optimization problems via iteratively updated convex approximations of the equations over a trust region [40, 41]. Sequential convex programming approaches such as [42] and [43] seek OPF solutions by solving a sequence of convex power flow approximations. However, these convex approximations are not inner approximations of the feasible space and therefore do not guarantee feasibility of the intermediate iterates or the transition between them.
Thus, the main novelty of our method is that we provide a dispatch solution and an associated transition path for which the nonlinear AC power flow equations are guaranteed to be feasible and the operational constraints are certifiably satisfied. To the best of our knowledge, this paper proposes the first algorithm that provides guaranteed feasible paths for general OPF problems.
Specifically, we propose an algorithm for computing a sequence of control actions that ensures feasibility with respect to both the nonlinear AC power flow equations and operational limits (in the form of inequality constraints) as the system transitions from one operating point to another. In contrast to previous work, our proposed feasible path algorithm is not limited to specific classes of systems, considers the nonlinear AC power flow model, and is tractable for large problems. Based on a quadratic convex restriction of the AC power flow feasible space [15], we compute a piece-wise linear path connecting an initial point to a desired operating point such that all points along the path are feasible.
We highlight two characteristics of the convex restriction which are crucial for the success of our algorithm:
(i) The convex restriction provides a conservative inner approximation of the feasible space of the AC power flow equations, which implies that all points within the restriction are AC power flow feasible (and, by proper extensions, feasible for additional inequality constraints). This is in contrast to convex relaxations, which extend the originally nonconvex feasible space to become convex by adding infeasible points.
(ii) The convex restriction is, as the name implies, a convex set. This means that the transition between any two points within the convex restriction will also lie inside the convex restriction, hence guaranteeing that there exists a feasible AC power flow solution at any intermediate point.
In summary, the main contributions of this paper are:
We formulate the AC OPF problem based on convex restrictions from [15]. This is the first formulation of an OPF with convex restriction, which requires extending the convex restriction to include line flow constraints. The formulation guarantees that the linear transition between any two points within the restriction is feasible, is applicable to general system models, considers the nonlinear AC power flow equations, and is tractable for large problems. 2. 2.
Using the OPF with convex restriction, we propose a sequential algorithm which in each iteration (i) constructs a convex restriction around a feasible point and (ii) solves the OPF problem to obtain an improved feasible point. The algorithm’s outcome is a piece-wise linear feasible path. We provide two objective functions which either achieve local improvements to the current operating point or identify a feasible path to a desired operating point. 3. 3.
We demonstrate the capabilities of the algorithm using numerical experiments on a variety of test cases.
The rest of the paper is organized as follows. Section II presents the system model and preliminaries. Section III reviews and extends convex restriction techniques to formulate the OPF problem, including line flow limits and other features. Section IV presents our algorithm for computing OPF solutions with corresponding feasible paths. Section V demonstrates the proposed algorithm with numerical experiments and illustrative figures. Section VI concludes the paper.
II System Model and Preliminaries
Consider a power network with sets of buses and lines . The scalars , , , and denote the number of buses, generators, PQ buses, and lines. The network’s incidence matrix is . The connection matrix between generators and buses is , where the element of is equal to 1 for each bus and generator and zero otherwise. The active and reactive power generations are and . Specified values of active and reactive load demands are denoted and . The buses’ voltage magnitudes and phase angles are and . The superscripts “f” and “t” denote from and to buses for the lines. The subscripts “”, “ns”, “pv”, and “pq” denote the slack (V), non-slack (non-V), PV, and PQ elements of the corresponding vector. Superscript “” denotes the transpose. and denote identity and zero matrix of appropriate size.
II-A Phase-Adjusted AC Power Flow Formulation
To set the stage for our further discussion, we describe a slightly modified representation of the standard AC power flow equations, the so-called phase-adjusted AC power flow formulation. The formulation is defined relative to a known, feasible base point denoted by the subscript [math], i.e., and denote the base point’s voltage magnitude and phase angle.
The angle differences across each line are
[TABLE]
where and denote the phase angle of the from bus and to bus of line . This can be equivalently expressed as . The phase-adjusted angle differences are then defined as
[TABLE]
where is the base phase angle differences. With this, the phase-adjusted AC Power Flow equations can be written for each bus ,
[TABLE]
where and denote the voltage magnitude at the from and to buses of line . The active and reactive power injections are and . The matrices and are phase-adjusted admittance matrices defined relative to the base point, and their derivations are shown in the Appendix. In addition to the power flow equations in (2), the OPF problem enforces the following operational constraints:
[TABLE]
Equation (3a) represents the generators’ active and reactive power capacity limits, and , respectively. Equations (3b) and (3c) limit the voltage magnitudes to the range and enforce stability limits on the angle differences . Equations (3d) and (3e) impose the line capacity limit where represent the active and reactive power flowing into the line at the from buses, and , represent the active and reactive power flowing into the line at the to buses.
The phase-adjusted AC power flow equations can be expressed in terms of basis functions, which are defined as
[TABLE]
The power flow equations (2) can then be rewritten as
[TABLE]
where .
II-B Control and State Variables
Standard power system definitions divide the system into three sets of buses:
- •
PV buses: specified; implicitly defined.
- •
PQ buses: specified; implicitly defined.
- •
V (slack) bus: specified; implicitly defined.
For the analysis, variables that are explicitly set by the system operator are control variables, and variables that are implicitly determined through the AC power flow equations are state variables. Constants such as the active and reactive power load on PQ buses and the reference angle are not considered as variables.
The control variables are the active power outputs of generators at PV buses, , and the voltage magnitudes at the V and PV buses, . The state variables are the phase angles at non-slack buses, , and voltage magnitude at PQ buses, . The state variables are implicitly defined through the power flow equations given a set of control variables. The set of control variables are denoted by , and state variables are denoted by where
[TABLE]
In addition, the intermediate variables are explicitly defined by the power flow equations and a given set of state and control variables .
For a given set of control variables , the state variables are obtained from a subset of the phase-adjusted power flow equations (5),
[TABLE]
where denotes the active and reactive power injections at certain buses. The matrix contains the rows corresponding to the non-slack buses from , and contains the rows corresponding to PQ buses from . The other submatrices are defined similarly. Note that (7) is a square system of equations where the number of state variables and the number of equations are the same. This is a minimal subset of the AC power flow equations that completely describes the relationships among the control and state variables.
The intermediate variables (i.e., the active power at the V bus and the reactive power at the V and PV buses ) are functions of state and control variables :
[TABLE]
This is a subset of the AC power flow equations that are necessary to define the intermediate variables. Line flows can be represented in terms of the phase-adjusted basis functions,
[TABLE]
[TABLE]
where the Appendix gives the block matrices in and .
II-C Phase-Adjusted AC Optimal Power Flow
The AC OPF problem can be written based on the phase-adjusted AC power flow with the consideration of state and control variables. This formulation is equivalent to the classical form of the AC OPF problem without any approximation. The AC OPF problem identifies the operating point with minimum generation cost while respecting the operational constraints:
[TABLE]
The cost function of each generator , , is assumed to be monotonically increasing with respect to the active power generation. Equation (11b) contains the subset of power flow equations which relate the control and state variables, and the matrix is defined in (7). Equation (11c) imposes constraints on the intermediate variables (the active power on the V bus and reactive power on generator buses). The matrix and function are defined in (8). Equation (11d) imposes the voltage magnitude limits, active power limits for PV buses, and angle limits. Equation (11e) imposes the line flow limits with and defined in (9) and (10). The matrix is a submatrix of that selects the rows corresponding to the non-slack buses.
III Optimal Power Flow with Convex Restriction
In this section, we summarize the procedure of obtaining a convex restriction for the AC OPF problem. A convex restriction provides a convex condition on the control variables such that there exists state variables that satisfy both the AC power flow equations in (2) and the operational constraints in (3). A sufficient convex condition for AC power flow feasibility was developed in [15], and we extend its application to solve the full OPF problem including line flow limits.
III-A Quadratic Convex Restriction of the Feasible Space
III-A1 Power Flow Constraints in Fixed Point Form
The convex restriction is constructed around the known, feasible base point , which is assumed to have a non-singular power flow Jacobian with respect to the state variables.111If the power flow Jacobian is singular, the system is operating at the nose of PV curve where the solution to power flow equations can disappear by an arbitrarily small perturbation in the power injections. Consider the power flow equations in (7) as finding the zeros of . Let us denote the Jacobian with respect to as where . Then, we can write the power flow equations in the following fixed-point form
[TABLE]
where represents the residual of the basis functions,
[TABLE]
Note that (12) corresponds to a single iteration of the Newton-Raphson procedure, which is commonly used to solve the power flow equations.
III-A2 Sufficient Condition for Existence of
The derivation of the sufficient condition for AC power flow solvability relies on Brouwer’s Fixed Point Theorem.
Theorem 1**.**
(Brouwer’s Fixed Point Theorem [44]) Let be a nonempty compact convex set and be a continuous mapping. Then there exists some such that .
In our approach, the map corresponds to the power flow equations (12). We define the self-mapping set as
[TABLE]
where the matrix is defined in (11d) and the bound is
[TABLE]
The polytope is a closed and compact set parametrized by , which provides the upper and lower bounds on the state variables. The bounds are not the same as the limits provided in (3c), but are decision variables. Then Brouwer’s fixed point condition is equivalent to the existence of such that
[TABLE]
where .
III-A3 Concave envelopes and bounds for and
A concave envelope of a function is given by a concave under-estimator and a convex over-estimator , such that
[TABLE]
Given this concave envelope, the bound on over the domain is
[TABLE]
where is the set of vertices in polytope that are involved in function . For the second equality, we exploit the fact that since the envelopes are concave for the minimization problem and convex for the maximization problem in (18), the extreme values , will occur at one of the vertices in . Hence, we can ensure that the max/min inequalities holds over the polytope by requiring all vertices to satisfy the above inequalities. Fig. 2 illustrates the concave envelope and the bounds over the polytope for an example function.
In the power flow equations, the functions can be expressed as a combination of bilinear, cosine, and sine functions. The concave envelopes for these functions from [15] are provided below. The envelopes of a bilinear function are
[TABLE]
For trigonometric functions, we exploit the angle difference limits with the phase-adjusted power flow formulation to construct a tight concave envelope. Assuming and , the concave envelopes for the sine and cosine functions are
[TABLE]
The upper bounds on over are defined as
[TABLE]
where the constant is set to if bus is a PQ bus and 0 if it is non-PQ bus. Similarly, and are set to and if they are PQ buses and 0 if they are non-PQ buses. The vertices are defined by and .
Note that the number of vertices that need to be checked for each line is constant, i.e., the cardinality of is regardless of the size of the system. Similarly, are defined by replacing maximization with minimization and changing the direction of inequality sign, and and are defined by replacing the function by .
III-A4 Convex Restriction of the OPF Feasible Space
The above upper and lower bounds on over the region allow us to guarantee that condition (16) for power flow feasibility holds. Similarly, the bounds on are used to ensure satisfaction of the inequality constraints (11c)–(11e). The resulting convex restriction represents a convex inner approximation of the feasible space in the OPF problem. This is proven by the following Theorem from [15], which we extend to include line flow limits.
Theorem 2**.**
(Convex Restriction of Power Flow Feasibility Constraints) Given the operating point , there exists a solution for the state that satisfies the AC OPF constraints (2), (3) if there exist and such that the following conditions hold:
[TABLE]
[TABLE]
where , and and for an arbitrary matrix .
Proof.
Condition (19) is sufficient to satisfy condition (16) in Brouwer’s Fixed Point Theorem:
[TABLE]
Then for all . By applying Brouwer’s Fixed Point Theorem to (12), there exists a solution . Further, (20) ensures the operational constraints are satisfied for all . A more detailed proof is in [15]. ∎
Note that the number of inequality constraints in (19) and (20) is linearly proportional to the system size. Further, the convex restriction can be written analytically, and the only necessary computation is the inversion of the Jacobian matrix at the base operating point.
III-B Optimal Power Flow with Quadratic Convex Restriction
We obtain an inner convex approximation of the AC OPF problem’s feasible space by replacing the original AC OPF constraints (2), (3) with the convex restriction (19), (20). The objective function requires further consideration.
III-B1 Objective Function
The objective is a function of the active power output from each generator (). Since the active power generation at the slack (V) bus is an implicit state variable, it is replaced by its over-estimator. Given that the objective function is monotonically increasing with respect to the active power generation, the objective can be over-estimated by
[TABLE]
where is an over-estimator on the active power generated at the slack bus. This over-estimator is constrained by
[TABLE]
where is the row of that corresponds to the active power generation limit at the V bus.
III-B2 Optimal Power Flow with Convex Restriction
The AC OPF problem can be solved by minimizing the upper bound on the cost function subject to the convex restriction’s conditions. The decision variables are the control variables and the state variable bounds as well as the intermediate variables that represent upper bounds on the line flows and slack bus active power generation , respectively. The resulting optimization problem is
[TABLE]
Remark 1**.**
The solution obtained via convex restriction () is lower bounded by the globally optimal solution of the original AC OPF problem () and is upper bounded by the objective value at the base point ():
[TABLE]
Remark 2**.**
The OPF with convex restriction (i.e., (19)–(22)) is a convex quadratically constrained quadratic program (convex QCQP) that can be solved with commercial solvers such as Mosek, CPLEX, and Gurobi. The number of quadratic constraints is bounded by .
Remark 1 states that the solution of OPF with convex restriction has reduced or equal objective value relative to the base point. Remark 2 indicates that the size of the resulting convex optimization problem increases linearly with the system size.
IV Feasible Path Optimal Power Flow
We present an iterative algorithm to solve OPF with the convex restriction, while guaranteeing the existence of a feasible path to the new operating point.
IV-A Definition of the Feasible Path
The motivation for studying the feasible path is to bring the system from the current operating point to the desired operating point while guaranteeing steady-state stability, i.e., a trajectory which satisfies the AC power flow equations as well as the operational constraints. This leads to the following definition of a feasible path.
Definition 1**.**
A feasible path between two control set points and is a set of control variables that forms a continuous trajectory connecting the two set points such that there exists state variables that satisfy the AC OPF constraints in (2), (3) at every point along the trajectory.
In particular, the feasible path will be described by a sequence of control actions where
[TABLE]
IV-B Feasible Path Identification Algorithm
The convex restriction provides an inner approximation of the power flow feasibility set that is a convex set. By the definition of a convex set, all points on the line connecting two operating points and within the convex restriction are guaranteed to be feasible. That is, for ,
[TABLE]
Here, denotes the convex restriction (19), (20), constructed with the base point at . By leveraging this property of convexity, we propose to use sequential convex restrictions to identify a feasible path. The algorithm based on sequential convex restrictions is described in Algorithm 1. Given a current set of control variables , each iteration of the algorithm (i) solves the power flow equations to obtain the base point , (ii) constructs the convex restriction at this base point, and (iii) solves a convex restriction OPF to obtain a new set of control variables . The output of the algorithm is a sequence of control set points , that forms a piece-wise linear feasible path between the initial operating point and .
Due to the property of convexity explained in (23), the output of the algorithm provides a feasible path for the OPF problem in (11e).
Corollary 1**.**
The piece-wise linear path from to ,
[TABLE]
provided by Algorithm 1 is a feasible path with respect to the OPF constraints in (2) and (3).
The objective function of the algorithm, , can be designed to either directly reduce the generation cost or aim to get close to a known desirable operating point.
IV-C Operational Scenarios for Feasible Path OPF
Depending on the problem setting, we might want to consider different objective functions in (24). We provide two examples.
IV-C1 Optimal Power Flow with Feasible Path Guarantees
Given the current, sub-optimal operating point , we want to find a lower-cost operating point while providing a certifiably feasible path between the two points. In this formulation, the OPF problem is directly solved by setting the objective to be the cost of generation:
[TABLE]
where is defined in (21). The algorithm solves the OPF with convex restriction as discussed in Section III-B2 and iterates by setting the solution to the base point and repeating the process of solving OPF with convex restriction.
IV-C2 Feasible Path Identification for Known Operating Points
In an alternative scenario, we are provided a known, desired operating point and seek a sequence of feasible control actions which bring the system towards the desired point. The objective function here minimizes the square of the Euclidean distance from the desired generation set point,
[TABLE]
where is a relative weighting of the differences in generator power injections and voltage magnitudes. The convergence of the algorithm depends on the weight , which will be investigated further in the numerical studies section.
IV-D Convergence of the Feasible Path OPF
The sequential convex restriction may not always converge to the optimal solution. We provide a few scenarios in which the algorithm may not arrive at the desired operating point.
- •
If the initial and the optimal operating points belong to separate, disconnected regions of the feasible space, there is no feasible path between the two points. The algorithm’s final point will reside in the region with the initial point.
- •
The algorithm could converge to a point at the nonconvex boundary of the feasible set where all cost-descending directions are infeasible.
- •
The dispatch point could get too close to the voltage collapse point. As it gets close to the voltage collapse point, the power flow Jacobian, , will become singular.
The next section provides quantitative experiments to show the convergence of the algorithm on standard IEEE test cases.
V Numerical Studies
This section computationally demonstrates our algorithm. Two illustrative examples are presented to visualize how the algorithm finds a feasible path to a desired point and to study the convergence characteristics. Extensive numerical studies show how the algorithm improves the initial operating point.
V-A Implementation
The studies were conducted using the test cases from PGLib v19.01 [45] with sizes up to the 588 buses. Computations were done using a laptop with a 3.3 GHz Intel Core i7 processor and 16 GB of RAM. The code implementation uses JuMP/Julia [46]. MOSEK was used to solve the convex QCQPs associated with the convex restrictions. Matpower’s interior point method was used to solve the AC OPF problems to obtain desired operating points [47]. Algorithm 1 was implemented with , where the power flow in each iteration (step 3) was solved using the Newton-Raphson method.
V-B Illustrative Example using a Two-Bus System
This section presents a two-bus system composed of a controllable load connected to the slack bus via a line with impedance . In contrast to the normal practice for OPF problems, we model the active and reactive power at the load bus as control variables for the sake of illustration. Considering a constant voltage magnitude of 1 p.u. at the slack bus, the power flow equations are
[TABLE]
The control variables are the active and reactive power at the load bus ( and ), and the state variables are voltage magnitude and the phase angle at the load bus ( and ). In addition to the power flow equations, the voltage magnitude is constrained as .
Figure 3 shows the manifold created by the power flow equations and the manifold’s projection onto the space of control variables. Any , , and on the manifold has a phase angle that satisfies the power flow equation in (27). If the voltage magnitude limits are not present, the solvability condition over the active and reactive power at the load bus is known to be .
This condition corresponds to the solvability boundary given by the thick blue line in Figure 4. This figure shows the projection of the manifold onto the control variables, focusing on the region with low reactive power consumption. With the consideration of voltage magnitude limits visualized by the thin solid and dashed blue lines, the projection is represented in blue. The green region shows the convex restriction condition constructed around and . Due to the properties of convex sets, the linear paths between any two points within the convex restriction are guaranteed to be feasible. The red line in Figure 4 gives an example of one such feasible path.
V-C Illustrative Example: Feasible Path for a 9-Bus System
For the second illustrative example, we consider the 9-bus system from [48]. In this experiment, the voltage magnitudes at the generators were fixed at 1 p.u. and the generators’ reactive power limits were reduced from 300 MVAr to 100 MVAr. Figure 5 shows the sequential convex restriction applied to the 9-bus system, with the changes in the control variable setpoints plotted as the algorithm progresses. The sequential convex restriction is minimizing the square of the distance to the desired operating point (marked by the {\color[rgb]{.75,0,.25}\definecolor[named]{pgfstrokecolor}{rgb}{.75,0,.25}\times} symbol) at each iteration, using the objective function (26) with . The algorithm converges to the desired operating point in 7 iterations. The figure shows that the piece-wise linear path goes around the infeasible operating region (plotted in white) and arrives at the desired operating point without violating any OPF constraints.
V-D Convergence of Feasible Path Identification to a Specified Operating Point
In this study, we investigate the convergence of the feasible path algorithm in an example based on the IEEE 39-bus system [49]. The desired operating point was specified to be the globally optimal AC OPF solution. The initial operating point was determined by solving OPF with linear uniform generation cost (i.e., ) using Matpower. The distance between the current and the desired operating point was minimized with different values of the parameter in the objective in (26), which determines the trade-off between convergence for the active power and voltage magnitudes.
Figure 6 shows the convergence of the active power generation and voltage magnitudes to the desired operating point. For large enough values of , the active power outputs (at the non-slack generators) converge to those of the desired operating point. However, the voltage magnitudes may converge to a different, sub-optimal power flow solution. Similarly, if is set too low, the voltage magnitudes may converge to the desired operating point, while the active power set points do not. For intermediate values of , both active power and voltage magnitudes converge to the desired point.
The main takeaway from this result is that the convergence of the algorithm is path-dependent, i.e., there are cases where the sequential convex restriction gets trapped in a sub-optimal point. This issue could be mitigated by appropriate tuning of the objective function.
V-E Optimal Power Flow with Feasible Path Guarantees
To show how the algorithm improves upon an initial, sub-optimal point (using the objective (25) based on generation cost), we run our algorithm on different PGLib test cases, considering both the typical and congested operating conditions. The initial operating point was obtained by solving the OPF problem with a linear uniform generation cost () in Matpower. These solutions are far from the optima of the OPF problems with their original objective functions. Thus, this experimental setup adequately exercises our sequential convex restriction algorithm.
Table I summarizes the numerical studies where the cost of generation was minimized at each iteration of the algorithm. The costs after the first and last iteration of the sequential convex restriction are shown in the fourth and fifth columns of Table I. The optimality gap at the th iteration is defined as
[TABLE]
Here, is the objective function (11a), is the power generation at the th iteration and is the optimal set point from Matpower. We observe that the OPF with convex restriction is able to significantly improve the operating point from the initial point, even if it does not reach the same solution as Matpower. The algorithm converges within 5 iterations for all cases. For all of the considered optimal power flow problems, the solutions obtained from the first step of the sequential convex restriction algorithm have optimality gaps less than 20%, which suggests that the convex restriction covers a significant portion of the feasible space. The average solver time per iteration is also shown in the last two columns.
Note that the sequential convex restriction encountered numerical issues for three test cases (the 89- and 240-bus systems and 588-bus system with the congested operating conditions) which are omitted from Table I. These issues are due to the line flow constraints, which add quadratic limits on the existing quadratic envelopes. This introduces higher-order polynomial constraints (expressed in terms of two quadratic constraints), which can be numerically challenging.
VI Conclusion and Future Work
This paper proposed a sequential convex restriction algorithm to obtain a feasible path from an initial, feasible operating point to an improved operating point. The feasible path is a trajectory of dispatch points for which all points are AC power flow feasible and satisfy all operational constraints. The algorithm relies on solving a sequence of OPF problems that are formulated using convex restrictions, which are convex inner approximations of the OPF feasible space. The case studies demonstrate that the sequential convex restriction algorithm converges to a high-quality solution while generating feasible control actions, and is scalable to large systems.
One of the challenges we aim to address in future work is closing the optimality gaps when the sequential convex restriction algorithm is used to solve OPF problems. Recent work in [50] suggests that one of the necessary conditions for convergence of the sequential convex restriction algorithm is to have a matching Jacobian between the over- and under-estimator at the base point. Constructing convex restrictions using alternative representations of the power flow equations may be also helpful for further closing the optimality gap.
There are other natural extensions to this work. Our current approach requires a feasible initial operating point since a feasible path by its definition requires that all points on the path are feasible, including the initial point. The method could be extended to allow for an infeasible initial point by relaxing the violated operational limits with slack variables. The objective of the sequential convex restriction could then be designed to penalize violations of the operational limits such that the operating point finds a path back to a feasible dispatch point. This would be particularly useful to mitigate the impacts of contingencies that lead to an infeasible dispatch condition.
Additionally, the current approach only considers steady-state security limits and does not consider system dynamics. We believe that it is possible to extend the method to consider system dynamics and plan to address this in the future.
We aim to further extend the approach by developing convex restrictions that also ensure N-1 security. Given multiple convex restrictions constructed for individual contingencies, a convex restriction that enforces the N-1 contingency criteria can be obtained by simply intersecting these restrictions due to the convexity of these sets.
We also plan to better understand cases where the method does not find a feasible path and consider additional control actions (e.g., changing the setpoints for FACTS devices and controllable transformers) that may help in these cases.
Finally, our future work will analyze the number of control actions that are taken when following the feasible path, which is an important consideration for practical applications.
Let and be the connection matrix for from and to buses. The element of and the element of are equal to 1 for each transmission line , where the line connects the “from” bus to “to” bus , and zero otherwise, and . The matrices , , and are diagonal with its elements,
[TABLE]
where represents row and column of the diagonal matrix . The transformer tap ratio, phase shift angle, and line charging susceptance are , , , respectively. These values are modeled as specified constants while solving the OPF problem. The phase adjusted admittance matrices and are diagonal matrices with
[TABLE]
where each diagonal element of is an adjustment of by angle . The complex matrix is a diagonal matrix with the diagonal elements being the shunt admittances at the corresponding buses. Then,
[TABLE]
Replacing by or yields the real and imaginary parts of the matrix, which are used in (5), (9), and (10).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Carpentier, “Contribution a l’Etude du Dispatching Economique,” Bull. Soc. Franc. des Electriciens , vol. 8, no. 3, pp. 431–447, 1962.
- 2[2] B. Stott and O. Alsaç, “Optimal Power Flow–Basic Requirements for Real-Life Problems and their Solutions,” in 12th Symp. Specialists in Electric Operational and Expansion Planning (SEPOPE) , May 2012.
- 3[3] F. Capitanescu et al. , “State-of-the-Art, Challenges, and Future Trends in Security Constrained Optimal Power Flow,” Electric Power Syst. Res. , vol. 81, no. 8, pp. 1731 – 1741, 2011.
- 4[4] J. A. Momoh, R. Adapa, and M. E. El-Hawary, “A Review of Selected Optimal Power Flow Literature to 1993. Parts I and II,” IEEE Transactions on Power Systems , vol. 14, no. 1, pp. 96–111, Feb. 1999.
- 5[5] A. Castillo and R. P. O’Neill, “Survey of Approaches to Solving the ACOPF (OPF Paper 4),” US Federal Energy Regulatory Commission, Tech. Rep., March 2013.
- 6[6] S. Frank, I. Steponavice, and S. Rebennack, “Optimal Power Flow: A Bibliographic Survey I,” Energy Syst. , vol. 3, no. 3, pp. 221–258, Sept. 2012.
- 7[7] P. Panciatici et al. , “Advanced Optimization Methods for Power Systems,” in 18th Power Syst. Comput. Conf. (PSCC) , Aug. 2014, pp. 1–18.
- 8[8] H. Abdi, S. D. Beigvand, and M. L. Scala, “A Review of Optimal Power Flow Studies applied to Smart Grids and Microgrids,” Renewable Sustainable Energy Rev. , vol. 71, pp. 742–766, May 2017.
