Designing Power Grid Topologies for Minimizing Network Disturbances: An Exact MILP Formulation
Siddharth Bhela, Deepjyoti Deka, Harsha Nagarajan, Vassilis Kekatos

TL;DR
This paper presents an exact MILP formulation for designing power grid topologies that minimize network disturbances, improving robustness and stability through optimized line placement and topology configuration.
Contribution
It introduces a novel MILP-based approach for power grid topology design that effectively minimizes disturbances and enhances stability, addressing scalability issues of previous methods.
Findings
Optimal topologies reduce network disturbances in IEEE test cases
The MILP approach outperforms traditional design methods in stability metrics
Graphical properties improve computational efficiency of the optimization
Abstract
The dynamic response of power grids to small transient events or persistent stochastic disturbances influences their stable operation. This paper studies the effect of topology on the linear time-invariant dynamics of power networks. For a variety of stability metrics, a unified framework based on the -norm of the system is presented. The proposed framework assesses the robustness of power grids to small disturbances and is used to study the optimal placement of new lines on existing networks as well as the design of radial (tree) and meshed (loopy) topologies for new networks. Although the design task can be posed as a mixed-integer semidefinite program (MI-SDP), its performance does not scale well with network size. Using McCormick relaxation, the topology design problem can be reformulated as a mixed-integer linear program (MILP). To improve the computation time, graphical…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6| # of lines | Optimal Topology | Suboptimal Topology |
|---|---|---|
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.
Designing Power Grid Topologies for Minimizing Network Disturbances:
An Exact MILP Formulation
Siddharth Bhela, Deepjyoti Deka, Harsha Nagarajan, Vassilis Kekatos
Abstract
The dynamic response of power grids to small transient events or persistent stochastic disturbances influences their stable operation. This paper studies the effect of topology on the linear time-invariant dynamics of power networks. For a variety of stability metrics, a unified framework based on the -norm of the system is presented. The proposed framework assesses the robustness of power grids to small disturbances and is used to study the optimal placement of new lines on existing networks as well as the design of radial (tree) and meshed (loopy) topologies for new networks. Although the design task can be posed as a mixed-integer semidefinite program (MI-SDP), its performance does not scale well with network size. Using McCormick relaxation, the topology design problem can be reformulated as a mixed-integer linear program (MILP). To improve the computation time, graphical properties are exploited to provide tighter bounds on the continuous optimization variables. Numerical tests on the IEEE 39-bus feeder demonstrate the efficacy of the optimal topology in minimizing disturbances.
I Introduction
The electric power system is continually changing. It is expected that the grid of the future will have higher variability due to renewables, changing load patterns, and distributed energy sources [1]. This paradigm shift will pose an enormous challenge for design and stable operation of power networks. The inherent uncertainty associated with renewable energy sources and active loads is likely to produce more frequent and higher amplitude disturbances [1]. In addition, owing to the lower aggregate inertia of systems with high penetration of renewables, the capability of power networks to handle such disturbances may be significantly reduced [2].
Thus, improving the dynamic performance of the power grid is of importance and has received greater attention from academia and industry. Efforts in this direction include development of payment structures and novel markets, as well as analysis of techniques to incentivize load-side participation [3], [4], [5], [6]. The benefits of load-side controllers has motivated a series of recent works to understand how different system parameters and controller designs impact the transient response of the network [7], [8]. Recent work in [9] has also explored the optimal placement of virtual inertia to improve stability.
Compared to the previously mentioned system parameters, the effect of network topology on transient stability is less well understood. Without detailed simulations, it is usually hard to infer how a change in network topology influences the overall grid behavior and performance. Recent work in [8] shows that the impact of network topology on the power system can be quantified through the network Laplacian matrix eigenvalues. In addition, grid robustness against low frequency disturbances is mostly determined by network connectivity [8], further motivating this study. Past studies in the power and control systems communities have also looked at designing network topologies for specific goals using system theoretic tools. Such goals include reduction of transient line losses [1], improvement in feedback control [10], [11], coherence based network design [12] and augmentation [13]. Semidefinite programming (SDP) based tools have also been utilized to design and augment network topologies for dynamic control [14], [12], [15].
While the primary focus here is topology design, we recognize that there is line of related work dealing with learning network topologies and line parameters [16], [17], [18]. Schemes that rely on passive data have been used in [18] and [16] for learning radial topologies. Different from them, the work in [17] actively probes the grid to recover radial topologies and verify line statuses.
In this paper we are interested in studying the effect of topology on the power grid dynamics. For a variety of objective functions, such as line loss reduction, fast damping of oscillations, and network coherence, our previous work [19] presented a unified framework to study topology design based on the -norm. In [19], the focus was on topology reconfiguration rather then topology design. Further, the work in [19] developed suboptimal algorithms, albeit with guarantees on optimality gap, to tackle the combinatorial design problems involved. Here, we present reformulations of the topology design task that allow us to solve the problem to optimality.
Our contributions are as follows. First, we provide a comprehensive modeling and analysis framework for the topology design problem to optimize a norm based performance metric subject to budget constraints in Section II. Second, in Section III we show that although the topology design task is inherently non-convex, it is possible to exactly reformulate the problem in tractable form using McCormick relaxation (or linearization). This can then be used with off-the-shelf solvers to determine the optimal solution. Further, we show that exploiting graph-theoretic properties to tighten bounds on the continuous optimization variables yields significant improvements in computation time. Section V discusses numerical tests based on the IEEE bus test case followed by conclusions and future directions in Section VI.
Notation: Column vectors (matrices) are denoted by lower- (upper-) case letters and sets by calligraphic symbols, unless noted otherwise. The cardinality of set is denoted by . Given a real-valued sequence , is the vector obtained by stacking the scalars and is the corresponding diagonal matrix. The operator stands for transposition. The -dimensional all ones vector is denoted by ; is the identity matrix; and is the canonical vector with a at the -th entry and zero everywhere else. The notation denotes its time derivative .
II Grid Modeling and Network Coherence
This section presents a linearized power system model, defines network coherence metrics, and reviews their connection to studying the stability of a linear dynamical system.
II-A Dynamic Power System Model
A power network having buses can be modeled as a connected graph , whose nodes correspond to buses, and edges to undirected lines. Bus is selected as the reference; all other buses constitute set . Let be the susceptance of line connecting nodes and . Then, the susceptance Laplacian matrix associated with the grid graph can be defined as
[TABLE]
Each node is associated with a phase angle , frequency , inertia constant , and damping coefficient ; see [20]. Since bus may host an ensemble of devices such as synchronous machines, renewable or energy storage sources, frequency-dependent or actively controlled frequency-responsive loads, the parameters and characterize their aggregate behavior [9].
Focusing on small-signal stability, the quantities will henceforth refer to the deviations of nodal voltage angles and frequencies from their nominal values. The grid dynamics at bus can then be described by the linearized swing equation [20]
[TABLE]
where denotes the mechanical power input; is the electric power flowing from bus to the grid; and is the power consumed at bus . Again, the aforementioned quantities refer to the deviations from their scheduled values. Under the linearized DC model, the power flowing from bus to the grid can be approximated as [20]
[TABLE]
Combining (1) and (2), the state-space representation of the power grid is
[TABLE]
where and are diagonal matrices containing the inertia and damping coefficients; the states and are accordingly the stacked vectors of nodal frequencies and angles; and is the vector of local power disturbances. The subsequent analysis relies on the ensuing assumption.
Assumption 1**.**
The inertia coefficients are strictly positive and damping coefficients are identical for all buses, that is and for all .
The non-zero inertia assumption is not necessary, but simplifies our presentation. If for a bus , then a Kron-reduced network containing only nodes with inertia can be obtained. The second assumption of constant damping has been previously used in [1], [10]. When it is not satisfied, the stability metric defined in the next section does not enjoy a closed-form expression, and only bounds can be derived. In our future work, we plan to extend our approach to the case with variable .
II-B Generalized Network Coherence Metrics
Given the state-space model in (3), our goal is to design network topologies or augment existing ones to minimize the voltage angle deviations caused by load disturbances. These angle deviations are formally captured by the metric of network coherence [21]. The latter is defined as where is the steady-state deviation of the angles from their grid-average
[TABLE]
In other words, network coherence quantifies how tightly bus angles drift together. Larger variances in angle deviations reflect a more disordered network [1].
Instead of network coherence, the system operator may be interested in minimizing the expected steady-state value of a generalized function combining both voltage angle and frequency excursions [19], [9]
[TABLE]
where and are given non-negative scalars. The weights induce a connected weighted graph that is not necessarily identical to ; see Fig. 1. Let be the Laplacian matrix of graph and . Then, it is not hard to verify that where
[TABLE]
Being a Laplacian matrix, matrix is positive semidefinite, and so its matrix square root is well-defined. The matrix is well-defined too. The importance of the generalized coherence metric of (5) is that for different choices of , one can represent different grid performance metrics and study them in a unified manner [19]: For instance, if the system operator is only interested in minimizing frequency excursions, one can set and . Similarly, if the goal is to reduce transient line losses, one can choose and . Lastly, the network coherence metric of (4) corresponds to the case of and . Figure 1 shows the physical power network and its associated coherence graph. Note that the choice of for network coherence penalizes global deviations, whereas that for line loss reduction penalizes local deviations.
II-C Relation to Stability Analysis
The expected steady-state value of can be interpreted as the squared -norm of the linear time-invariant (LTI) system described by (3) and (6). This system will be compactly denoted by . Leveraging this link, the generalized network coherence is amenable to a closed-form expression [19].
The norm is widely used as a stability performance metric and has several interpretations [22]: For unit-variance stochastic white noise , the -norm of an LTI system equals the steady-state output variance [22, Ch. 5], [1], [9]
[TABLE]
For unit-impulse disturbances for , the -norm can be equivalently written as
[TABLE]
where is the system output corresponding to disturbance vector . Instead of evaluating the expectation in (7) or the time integral in (8), the -norm for system can be expressed as [22, Ch. 5]
[TABLE]
where is the observability Gramian matrix of the LTI system . In fact, the matrix can be computed as the solution to the linear Lyapunov equation [22, Ch. 5]
[TABLE]
Matrix is known to be symmetric positive semidefinite, so it can be partitioned as
[TABLE]
Based on the reformulation in (9), we next design topologies attaining minimum generalized network coherence.
III Optimal Grid Topology Design
Among other criteria, the topology of a grid can be designed to minimize the generalized network coherence metric of (5). Given a graph , where is the set of candidate lines weighted by their susceptances, the goal is to find the subset of cardinality with attaining the minimum generalized network coherence. Given the equivalences of the previous section, this task can be posed as the optimization problem
[TABLE]
The constraint in (12b) reflects the budget on the number of edges. For , the problem in (12) yields a tree topology, which is important for typically radially operated distribution grids. Interestingly, leveraging the problem structure under Assumption 1, it can be shown that the objective of (12) simplifies as [9], [19], [1]
[TABLE]
If Assumption 1 is not met, i.e., the damping coefficients are not identical , then it may not be possible to find a closed-form expression for the objective in (12). If the damping coefficients are known to lie within , then the objective of (12) can be bounded as ; see [1], [9]. Therefore, as the range becomes narrower, minimizing the numerator of (13) approaches the optimal solution to (12). From Assumption 1, we consider here.
The second summand in the right-hand side of (13) is independent of the grid topology, and can thus be ignored. Problem (12) can then be reformulated as
[TABLE]
where the rank constraint ensures that the graph induced by is connected. Problem (14) could be tackled with brute-force algorithms over all the possible topologies of budget and below; though that would incur exponential complexity.
The objective in (14) can be written in terms of the inverse of the reduced Laplacian matrix of as explained next. The claim has appeared in [1, Lemma 3.2], albeit for the restricted case where and have the same structure.
Lemma 1**.**
If and are the matrices obtained after removing the first row and column from and , respectively, then
[TABLE]
Proof.
The Laplacian matrices can be described in terms of their reduced counterparts as
[TABLE]
where . This is because a Laplacian matrix satisfies . If we define matrix , then it is not hard to see that
[TABLE]
Then the pseudoinverse of can be expressed as
[TABLE]
The latter can be shown by simply verifying that and . From (15) and (17), we get that
[TABLE]
where the last equality follows from (16) and the cyclic property of the trace. ∎
To express the optimization in (14) over in a more convenient form, let us introduce a binary variable for every line . This variable is if line is selected, i.e., ; and , otherwise. If we stack variables in vector , then has to lie in the set
[TABLE]
Based on the line selection vector , the reduced susceptance Laplacian of can be expressed as
[TABLE]
where each vector corresponds to line , and its -th entry is defined as
[TABLE]
Given Lemma 1 and (19), the optimization in (14) can be equivalently written as the mixed-integer semidefinite program (MI-SDP)
[TABLE]
To see this, the constraint in (20b) is equivalent to and ; see [23, Sec. A.5.5]. Since , the optimal can be shown to be . In fact, constraint (20b) waives the possibility of the optimal being singular, and thus, ensures the connectedness of the graph.
To overcome the computational complexity of the MI-SDP in (20), one may relax the binary variables to box constraints as to get an ordinary SDP, which can be handled by off-the-shelf solvers for moderately-sized networks. Being a relaxation, the SDP solution provides a lower bound on the cost of (20). If the obtained solution of the SDP turns out to be binary, then this minimizes the MI-SDP in (20) as well. Otherwise, (randomized) rounding heuristics can be adopted to acquire a feasible .
Aiming at an exact solver, we will next show how the MI-SDP of (20) can be equivalently formulated as an MILP. To this end, we first rewrite (20) as
[TABLE]
Note that for constraint (21b) to hold, must be non-singular and . Although its cost is linear, problem (21) is non-convex due to the bilinear constraints in (21b) and because vector is binary. To handle the former, we adopt the McCormick relaxation technique [24], which is briefly reviewed next.
Constraint (21b) involves the bilinear terms for and . For each such term, introduce a new variable
[TABLE]
Suppose that the entries are known to lie within the range . Since , the ensuing inequalities hold trivially [24]
[TABLE]
Substituting by in (23) provides
[TABLE]
One can replace the bilinear terms in (21b) by ’s and enforce (22) and (24) as additional constraints for all and . In that case, the constraints (24) are apparently redundant. However, one may simplify the problem by dropping (22) to get an MILP reformulation of (21). Interestingly, this reformulation is exact due to the binary nature of . To see this, if for some , then (24b) and (24d) imply for all . Otherwise, if , then (24a) and (24c) imply for all .
Through the aforementioned process, problem (21) has been converted to an MILP over the variables , , and . MILPs can be handled by state-of-the-art solvers such as Gurobi [25], and are known to scale better than MI-SDPs. Recall that the MILP reformulation of (21) requires the bounds on each -th entry of . Lacking prior information on , one could select an arbitrarily wide range . However, this could slow down the MILP solver significantly. In the other extreme, if is known, that is for all , then the binary vector can be recovered by simply solving the linear equations in (21b). To improve the run time of the involved MILP, we next derive tighter, non-trivial bounds on the entries of .
IV Bounding the Continuous Variables
Depending on the problem structure, different bounds can be derived on s. This section considers two classes of topology design tasks. In the first task, some lines are already energized and the operator would like to augment a connected network by additional lines to further improve its stability. In the second task, a network topology is designed from scratch with the additional requirement of a radial grid.
IV-A Augmenting Existing Networks
Given the graph , this problem setup considers a pre-existing connected network described by , and the goal is to energize additional lines from to improve its stability. In essence, this corresponds to the problem in (21) with the entries of corresponding to the lines in being set to one. Then, based on (19), the reduced Laplacian matrix of the existing network is obviously
[TABLE]
Under this setup, the entries of minimizing (21) under the additional constraints for all , can be bounded as follows.
Lemma 2**.**
The entries of are bounded by
[TABLE]
Proof.
Observe that can be written as by fixing the entries of corresponding to the lines in to . Since the same entries will remain in , it readily follows that , where is non-singular since the existing network is already connected. Then, it follows that and for any . Setting , the diagonal entries of can be bounded as for all . Since by constraint (21b), we have that for all . The latter provides . Upper bounding the diagonal entries with the bounds obtained earlier proves the upper bound in (25). The lower bound in (25) can be trivially obtained since is an M-matrix, and so its inverse has positive entries. ∎
The reduced Laplacian matrix of the existing network is invertible as long as is connected. If that is not the case, one could obtain bounds on ’s by imposing a radial structure on the sought topology as discussed next.
IV-B Radial Topology Design
The setup considered here designs a network afresh, but under the requirement that it is radial. The analysis simplifies under the following mild assumption.
Assumption 2**.**
There exists a node in that is incident to exactly one edge.
To derive bounds on the entries of minimizing (21) for the special case of (radial network), let us first construct the graph , where consists of the edges in , but with inverse weights for all . Based on , we define some additional properties that will be useful later. If one of the nodes in satisfying Assumption 2 is selected as the reference node, then the weight (inverse susceptance) of its incident line is denoted by . Let us also define the minimum of the inverse line susceptances
[TABLE]
Before solving (21), we find the maximum spanning tree of graph , and denote the sum of its edge weights by . The maximum spanning tree can be found efficiently by finding the minimum spanning tree on upon negating its edge weights [26]. Lastly, for each node , we find its shortest path to the reference node [math] in . The sum of edge weights along this shortest path will be denoted by .
Lemma 3**.**
Under Assumption 2, the entries of , minimizing (21) for , are bounded as
[TABLE]
Proof.
The bounds rely on a fundamental property of the inverse Laplacian matrix of a radial network: If is the reduced susceptance Laplacian of a radial network and , then the entry equals the sum of the inverse susceptances that are common to the paths of nodes and to the reference bus; see [27, Lemma 1]. Under Assumption 2, the common path of any pair of nodes must include at least the line incident to the reference bus, and hence, . By the definition of shortest path, the entry is lower bounded by for all , thus providing the lower bound in (26a).
Regarding the upper bound in (26a), recall that the -th entry of equals the sum of weights on the path from to the reference node [math]. The sum of weights on the longest such path is still upper bounded by the sum weight of all edges in the maximum spanning tree. Because the entry for must have at least one less edge than the longest path, the upper bound in (26b) holds as well. ∎
Note that the upper bounds can be tight in the setting where the maximum spanning and optimum trees are the same line graph.
IV-C Model Simplification and Bound Tightening
Exploiting the structure of can provide additional information on the bounds of matrix entries to accelerate solving (21) for the special case of (radial grid). For example, if gets disconnected upon removing edge , this edge belongs to the sought tree topology and before solving (21). To identify such edges, we resort to the notion of a graph cutset , defined as a subset of edges that once removed, splits the graph into two or more connected components. The edges in this cutset will be termed as critical edges. Now, we present a simple algorithm to enumerate all the single critical edges by initializing the graph ’s weights to unit values.
- Step 1:
Solve the min-cut problem on with unit edge weights by using the standard max-flow min-cut algorithm [28]. 2. Step 2:
Increase the weight for the edge labelled as critical to for some . 3. Step 3:
If , quit; else, go to Step 1.
The second step ensures that every time we are identifying a new critical edge. Upon completing this process, the entries of corresponding to the critical edges can be safely set to . This process not only reduces the binary search for in (21), but it further tightens the lower bounds on certain ’s as discussed in Lemma 4; see also Fig. 2.
Lemma 4**.**
Suppose a critical edge partitions the nodes of into two disjoint connected components and its complement . If contains node as well as the reference bus, then (26b) can be tightened as
[TABLE]
Proof.
The edge is the only edge that connects the nodes in to the rest of the network. Hence, the common path to the reference bus of any two nodes in must include the path of node to the reference. It follows that the shortest path weight is a valid lower bound for all nodes in . ∎
Identifying cutsets of cardinality larger than offers additional information to tighten the bounds of entries of the matrix. If graph gets disconnected upon removing lines , then at least one of these lines should be active. This logical conclusion translates to the constraint , which can be augmented to (21) to tighten the McCormick reformulation and possibly accelerate the MILP solver. Cutsets of larger cardinality, say , can be identified by iterating Steps 1 through 3 of the algorithm described earlier. In this case, we assign the weights of on the critical edges, where .
V Numerical Tests
All tests were run on a 2.7 GHz Intel Core i5 laptop with 8GB RAM. The MILP formulations were solved using Gurobi v8.0.1 optimizer, written in Julia/JuMP [25, 29].
The performance of the MILP in (21) was tested for augmenting an existing network as well as for designing a radial one afresh. For the augmentation setup, the IEEE -bus system benchmark was used as the pre-existing connected network [30]. The set was selected by randomly picked additional lines. From these lines, we solved the restricted version of (21) for . To satisfy Assumption 1, we assumed on all buses that did not host generators, and for all . To grade an arbitrarily constructed network, we compared its squared norm to that of the optimal network of the same edge cardinality. The results are summarized in Table I. Additional lines are useful in minimizing disturbances, and so the budget constraint in (21) was always met with equality. For all cases, the augmentation design problem was solved in less than 5 seconds.
We next considered the radial topology design problem with composed of all edges in the IEEE -bus network. The optimal cost obtained after solving the MILP in this case was , and the time required to find the optimal tree was close to hours. Considering that the problem needs to be solved once off-line, this running time may not be of concern. Figure 4 shows the optimal radial topology that was identified.
Instead of using the bounds of Lemma 3 and the bound tightening procedure of Section IV-C, we attempted to solve the same MILP with the relatively looser bounds of for all . In this case, the solver reached the optimality gap of 60% after running for hours. Clearly, having tighter bounds improves the computation time.
For a 1 per unit impulse input at bus , Figure 3 compares the frequency response of the optimal tree (left panel) with an arbitrarily selected suboptimal tree (right panel). Notice that not only is the amplitude of oscillations lower in the left panel, but the generators also seem to drift together. These observations indicate that the optimal tree selected is much more effective at minimizing the effect of small disturbances.
VI Conclusions and Future Work
We have presented a general framework to study the effect of network topology on power grid dynamics. Using a system-theoretic approach, we have shown that the original topology design problem (MI-SDP) can be reformulated in tractable form as an MILP. To improve the computation time, graph-theoretic properties have been exploited to simplify the model and provide tighter bounds on the continuous optimization variables involved. Numerical tests on the IEEE 39-bus benchmark suggest that meshed networks exhibit improved coherence behavior. Current research efforts are focused on tackling the topology design task with non-uniform damping, exploring conditions for submodularity, and considering the design problem from an -norm perspective.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] E. Tegling, B. Bamieh, and D. F. Gayme, “The price of synchrony: Evaluating the resistive losses in synchronizing power networks,” IEEE Trans. Control of Network Systems , vol. 2, no. 3, pp. 254–266, 2015.
- 2[2] A. Ulbig, T. S. Borsche, and G. Andersson, “Impact of low rotational inertia on power system stability and operation,” IFAC Proceedings Volumes , vol. 47, no. 3, pp. 7290–7297, 2014.
- 3[3] S. P. Meyn, P. Barooah, A. Bušić, Y. Chen, and J. Ehren, “Ancillary service to the grid using intelligent deferrable loads,” IEEE Trans. Automat. Contr. , vol. 60, no. 11, pp. 2847–2862, 2015.
- 4[4] D. Trudnowski, M. Donnelly, and E. Lightner, “Power-system frequency and stability control using decentralized intelligent loads,” in IEEE/PES Transmission and Distribution Conference and Exhibition , Dallas, TX, May 2006.
- 5[5] FERC Order No. 755, “Frequency regulation compensation in the organized wholesale power markets,” Oct. 2011.
- 6[6] J. Matevosyan, S. Sharma, S.-H. Huang, D. Woodfin, K. Ragsdale, S. Moorty, P. Wattles, and W. Li, “Proposed future ancillary services in Electric Reliability Council of Texas,” in Power Tech , Eindhoven, Netherlands, Jun. 2015.
- 7[7] E. Mallada, “i Droop: A dynamic droop controller to decouple power grid’s steady-state and dynamic performance,” in Proc. IEEE Conf. on Decision and Control , Las Vegas, NV, Dec. 2016.
- 8[8] L. Guo, C. Zhao, and S. H. Low, “Graph laplacian spectrum and primary frequency regulation,” Mar. 2018. [Online]. Available: https://arxiv.org/pdf/1803.03905.pdf
