stability-constrained optimal power flow for ac microgrids

12
1 Stability-constrained Optimal Power Flow for AC Microgrids with Convex Relaxation Deepak Pullaguram, Member, IEEE, Ramtin Madani, Member, IEEE, Tuncay Altun, Student Member, IEEE, and Ali Davoudi, Senior Member, IEEE Abstract—This paper details and solves a stability-constrained optimal power flow (SCOPF) for inverter-based AC microgrids. To ensure sufficient stability margin during optimal generation, a small-signal stability constraint is embedded into the conventional OPF formulation. This condition is enforced using a Lyapunov stability equation. A reduced-order model of the microgrid is adopted to alleviate the computational burden involved in solving the resulting SCOPF. Even then, the resulting stability conditions are highly non-linear and cannot be handled using the existing methods. To tackle the non-convexity in SCOPF due to the presence of the non-linear stability constraint, two distinct convex relaxation approaches, namely semi-definite programming and parabolic relaxations, are developed. A penalty function is added to the objective function of the relaxed SCOPF, which is, then, solved sequentially to obtain a feasible point. While off-the-shelf tools fail to produce any feasible point within hours, the proposed approach enables us to solve SCOPF in real-time. The efficacy of the proposed SCOPF is evaluated by performing numerical studies on multiple benchmarks as well as real-time studies on a 4-bus microgrid system built in a hardware-in-the-loop setup. Index Terms—AC Microgrids, Convex optimization, Optimal power flow, Relaxation, Stability. I. I NTRODUCTION M AJORITY of distributed generation units are interfaced with AC microgrids using inverters. Droop mechanism is a well-established decentralized control tool for proportional power sharing among inverters. This control approach alone does not ensure optimal operation or respect operational re- quirements usually dictated by the optimal power flows (OPFs) paradigms. An OPF-based droop adjustment is given in [1]. Varying droop parameters could cause small-signal stability issues [2], [3]. This paper provides an OPF paradigm that respects the small-signal stability margin, generation limits, power flow limits, and voltage constraints. To enhance the stability margin, supplementary control loops [4], auxiliary stabilizers [5], [6], L 1 -adaptive droop control [7], virtual droop frameworks [8], and lead compen- sators [9], are offered. These control methods are tuned for a selected range of operating points. Alternatively, an stability margin can be enforced by a proper generation dispatch via a holistic stability-constrained optimal power flow (SCOPF) formulation. SCOPF problem has already been studied in the context of conventional power systems [10]–[15]. D. Pullaguram was with the University of Texas at Arlington, USA. He is now with the National Institute of Technology, Warangal, India. R. Madani, T. Altun, and A. Davioudi are with the University of Texas at Arlington, USA. This research is funded, in part, by the Office of Naval Research under award N00014-18-1-2186, and approved for public release under DCN #43-6700-20. SCOPF, with stability constraint dependent on state matrix sensitivities with respect to OPF variables, is detailed in [10], [11]. The stability constraint is presented as a semi- definite programming (SDP) problem in [12], and the resulting SCOPF is transformed to a non-linear optimization problem. SCOPF might lead to infeasible solutions due to its non- convex nature and the rigid threshold of the stability constraint [12]–[14]. To obtain a feasible solution, sequential quadratic programming and sequential optimization techniques, based on eigenvalue sensitivity matrix, are presented in [13] and [14], respectively. All these dispatching schemes are developed for conventional power systems with synchronous generators, and rely on interior-point methods that are sensitive to initial conditions. Alternatively, bilinear matrix inequalities (BMIs) can be employed to obtain optimal operating points ensuring stability margins. In [15], SCOPF problem is formulated for conventional power systems, where the stability constraint is developed using a BMI approach. The formulated SCOPF is convexified using SDP relaxation techniques, which could become computationally inefficient as the number of genera- tors increases. The primary challenge tackled in this paper is the accommodation of highly non-linear matrix inequalities, resulted from enforcing stability conditions in inverter-based microgrids, that might not be within the reach of existing solvers. The key contributions can be summarized as follows: An illustrative example shows the susceptibility of OPF solutions for inverter-based AC microgrids to instability. SCOPF is formulated here by employing reduced-order dynamical model of inverter-based microgrids [16], and incorporating the Lyapunov stability equations that keeps system spectral abscissa below a certain threshold offer- ing small-signal stability margin. While the existing optimization tools, e.g., PENBMI [17] and BMILAB [18], could not provide timely solutions for SCOPF, we solve the resulting non-linear and non-convex BMI equations using computationally-tractable SDP or parabolic relaxation techniques [19], [20]. SCOPF is solved sequentially through objective penal- ization, to obtain feasible solutions that are beyond the reach of existing solvers. The penalized, relaxed SCOPF is experimentally vali- dated for a 4-inverter microgrid system in a hardware- in-the-loop (HIL) environment under various loading scenarios.

Upload: others

Post on 07-Feb-2022

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stability-constrained Optimal Power Flow for AC Microgrids

1

Stability-constrained Optimal Power Flow for ACMicrogrids with Convex Relaxation

Deepak Pullaguram, Member, IEEE, Ramtin Madani, Member, IEEE, Tuncay Altun, Student Member, IEEE, andAli Davoudi, Senior Member, IEEE

Abstract—This paper details and solves a stability-constrainedoptimal power flow (SCOPF) for inverter-based AC microgrids.To ensure sufficient stability margin during optimal generation, asmall-signal stability constraint is embedded into the conventionalOPF formulation. This condition is enforced using a Lyapunovstability equation. A reduced-order model of the microgrid isadopted to alleviate the computational burden involved in solvingthe resulting SCOPF. Even then, the resulting stability conditionsare highly non-linear and cannot be handled using the existingmethods. To tackle the non-convexity in SCOPF due to thepresence of the non-linear stability constraint, two distinct convexrelaxation approaches, namely semi-definite programming andparabolic relaxations, are developed. A penalty function is addedto the objective function of the relaxed SCOPF, which is, then,solved sequentially to obtain a feasible point. While off-the-shelftools fail to produce any feasible point within hours, the proposedapproach enables us to solve SCOPF in real-time. The efficacyof the proposed SCOPF is evaluated by performing numericalstudies on multiple benchmarks as well as real-time studies ona 4-bus microgrid system built in a hardware-in-the-loop setup.

Index Terms—AC Microgrids, Convex optimization, Optimalpower flow, Relaxation, Stability.

I. INTRODUCTION

MAJORITY of distributed generation units are interfacedwith AC microgrids using inverters. Droop mechanism

is a well-established decentralized control tool for proportionalpower sharing among inverters. This control approach alonedoes not ensure optimal operation or respect operational re-quirements usually dictated by the optimal power flows (OPFs)paradigms. An OPF-based droop adjustment is given in [1].Varying droop parameters could cause small-signal stabilityissues [2], [3]. This paper provides an OPF paradigm thatrespects the small-signal stability margin, generation limits,power flow limits, and voltage constraints.

To enhance the stability margin, supplementary controlloops [4], auxiliary stabilizers [5], [6], L1−adaptive droopcontrol [7], virtual droop frameworks [8], and lead compen-sators [9], are offered. These control methods are tuned for aselected range of operating points. Alternatively, an stabilitymargin can be enforced by a proper generation dispatch viaa holistic stability-constrained optimal power flow (SCOPF)formulation. SCOPF problem has already been studied in thecontext of conventional power systems [10]–[15].

D. Pullaguram was with the University of Texas at Arlington, USA. He isnow with the National Institute of Technology, Warangal, India. R. Madani, T.Altun, and A. Davioudi are with the University of Texas at Arlington, USA.This research is funded, in part, by the Office of Naval Research under awardN00014-18-1-2186, and approved for public release under DCN #43-6700-20.

SCOPF, with stability constraint dependent on state matrixsensitivities with respect to OPF variables, is detailed in[10], [11]. The stability constraint is presented as a semi-definite programming (SDP) problem in [12], and the resultingSCOPF is transformed to a non-linear optimization problem.SCOPF might lead to infeasible solutions due to its non-convex nature and the rigid threshold of the stability constraint[12]–[14]. To obtain a feasible solution, sequential quadraticprogramming and sequential optimization techniques, basedon eigenvalue sensitivity matrix, are presented in [13] and[14], respectively. All these dispatching schemes are developedfor conventional power systems with synchronous generators,and rely on interior-point methods that are sensitive to initialconditions. Alternatively, bilinear matrix inequalities (BMIs)can be employed to obtain optimal operating points ensuringstability margins. In [15], SCOPF problem is formulated forconventional power systems, where the stability constraint isdeveloped using a BMI approach. The formulated SCOPFis convexified using SDP relaxation techniques, which couldbecome computationally inefficient as the number of genera-tors increases. The primary challenge tackled in this paper isthe accommodation of highly non-linear matrix inequalities,resulted from enforcing stability conditions in inverter-basedmicrogrids, that might not be within the reach of existingsolvers. The key contributions can be summarized as follows:

• An illustrative example shows the susceptibility of OPFsolutions for inverter-based AC microgrids to instability.

• SCOPF is formulated here by employing reduced-orderdynamical model of inverter-based microgrids [16], andincorporating the Lyapunov stability equations that keepssystem spectral abscissa below a certain threshold offer-ing small-signal stability margin.

• While the existing optimization tools, e.g., PENBMI [17]and BMILAB [18], could not provide timely solutions forSCOPF, we solve the resulting non-linear and non-convexBMI equations using computationally-tractable SDP orparabolic relaxation techniques [19], [20].

• SCOPF is solved sequentially through objective penal-ization, to obtain feasible solutions that are beyond thereach of existing solvers.

• The penalized, relaxed SCOPF is experimentally vali-dated for a 4-inverter microgrid system in a hardware-in-the-loop (HIL) environment under various loadingscenarios.

Page 2: Stability-constrained Optimal Power Flow for AC Microgrids

2

II. NOTATIONS

The bold-italic upper case (A), bold-italic lower case (a),and italic lower case (a) indicate matrices, vectors, and scalars,respectively. R and C represent sets of real numbers, complexnumbers, respectively. Sn and Hn, respectively, indicate setsof n × n symmetric matrices and n × n hermitian matrices.The diagonal matrix with the ‘a’ vector of diagonal terms isshown by [a]. [a]n indicates the matrix formed by repeatingthe vector a for n columns. (·)> and (·)∗ indicate the transposeand conjugate transpose of a matrix, respectively. In and 0n

indicate identity and zero matrices of size n×n, respectively.The diagonal elements vector of a square matrix is shown bydiag·. The vector or a scalar absolute value is given by|·|. The trace of a matrix is shown by tr·. The frobeniusnorm of a matrix or a vector is represented by ‖·‖. The Re·and Im· indicates real and imaginary parts of the complexnumbers, respectively. The notation a·b indicates the element-wise product of vectors a and b.

The AC microgrid has N = 1, 2, ..., n set of buses on thepower distribution network, L = 1, 2, ..., l ⊆ N ×N set ofdistribution lines, and G = 1, 2, ..., ng set of inverters. Thevectors of the injected active and reactive powers are pg ∈Rng×1 and qg ∈ Rng×1, respectively. d ∈ Cnd×1 is the vectorof power demand. An inverter and load incidence matrix, thatlocates inverters and loads on the distribution bus, is definedas G ∈ 0, 1ng×n and D ∈ 0, 1nd×n. The bus admittancematrix is given by Y ∈ Cn×n. The from and to admittancematrices are represented as ~Y , ~Y ∈ Cn×n, and their respec-tive branch-incidence matrices as ~L, ~L ∈ 0, 1l×n. Loads areconsidered as constant complex impedances, and included asshunt elements in Y . vg ∈ Cng×1 is the vector of bus voltagesat point of coupling, and vb ∈ Cn−ng×1 is the vector of allremaining buses, such that v = vg

⋃vb. vo is the terminal

voltages at inverter output terminals.

III. STABILITY-CONSTRAINED OPTIMAL POWER FLOW

A. OPF in AC Microgrids

The OPF for an AC microgrid is formulated as

minimize h(pg) (1a)

subject to G>(pg + jqg) = D>d+ diagvv∗Y ∗ (1b)

diag~L vv∗ ~Y∗ ≤ fmax (1c)

diag ~L vv∗ ~Y ∗ ≤ fmax (1d)

pmin ≤ pg ≤ pmax (1e)

qmin ≤ qg ≤ qmax (1f)

(vmin)2 ≤ |v|2 ≤ (vmax)2 (1g)

varaibles v ∈ Cn×1,pg ∈ Rng×1, qg ∈ Rn

g×1.

Here, h(pg) is assumed to be a quadratic cost function

h(pg) = (pg)>[c2]pg + c>1 pg + c>0 1ng , (2)

where c2, c1, and c0 are the cost coefficients. Quadratic costfunctions are widely used in OPF problems even for inverter-based systems [21], [22]. The problem formulation, however,can be solved for any convex formulation of the cost function.

The nodal power balance is enforced using (1b). The lineflows are limited in either directions using (1c) and (1d). Theactive and reactive powers generated by individual invertersare bounded using (1e) and (1f), respectively. The constraint(1g) bounds the voltage magnitude within [vmin,vmax].

B. The Case for Stability-constrained OPF

The OPF alone cannot guarantee a stable operation for amicrogrid. Consider an illustrative example of a three-bus,two-inverter microgrid shown in Fig 2. Primary droop controltunes individual inverters [23], in which the voltage reference(vref) and frequency reference (ωref) are obtained using

ωref = ωnom −mp · p+mp · popt, (3)

vref = vopt + nq · qopt − nq · q. (4)

p, q are the vectors of filtered active and reactive power ofinverter, respectively. popt, qopt, and vopt are the vector ofactive power, reactive power, and voltages set-points providedby the OPF. mp and nq are the vectors of p − ω and q − vdroop relations, respectively. Droop constants, used in the localprimary control of inverters, are chosen as mp = 6.5× 10−4

(for the active power-frequency droop) and nq = 1.3 × 10−3

(for the reactive power-voltage droop). Respective cost func-tions of inverters are formulated as h(pg1) = 0.1(pg1)2 + 20pg1and h(pg2) = 0.35(pg2)2 + 20pg2. The microgrid operation,under conventional OPF, is shown in Fig. 3. When the powerdemand at bus 3 changes at t = 2s, the microgrid becomesunstable. This example illustrates the need to incorporatestability constraints in the OPF formulation. Next, additionalconstraints concerning system stability, inspired by the micro-grid dynamics in [2], are needed to strengthen (1).

C. Incorporating Stability Constraint

To formulate the stability constraint, first, the microgrid ismodeled as a set of differential-algebraic equations,

x = f(x, z), (5a)0 = g(x, z), (5b)

where f and g represent the vectors of non-linear differentialand algebraic equations of a microgrid, respectively. x andz are the vectors of state and algebraic variables of size nxand nz, respectively. To reduce the computational burden, a3rd-order inverter model [16] is adopted. The voltage andcurrent controllers with LC filter in Fig. 1 have high closed-loop bandwidth compared to the power controller module, andone can safely assume that these control loops reach a quasisteady-state fast. Thus, the vector of differential equations, f ,with state variables x = [p>, q>, δ>]> ∈ Rnx×1, is composedof

p = −ωc · p+ ωc · Revo · (io)∗, (6a)q = −ωc · q + ωc · Imvo · (io)∗, (6b)

δ = (ω − ωcom)ωnom. (6c)

Here, ωc ∈ Rng×1 is the cutoff frequency of the low-passfilters used in power controller modules (Fig. 1). p ∈ Rng×1

Page 3: Stability-constrained Optimal Power Flow for AC Microgrids

3

Current

controller

VSC

PWM

Voltage

controller

o

iv

o

ii

i

ii

abc/dq g

2s

g

1s1v

2vnv

ivfiz

fiy

abc/dq

g

is

ivg

is

SCOPFsolver

Power

controller

io

iv

1

2

c

iz

Power

controller

Power

controller

o

iv

c

iz

POC

o

1v

o

2v

opt

ivopt

ipopt

iq opt

2vopt

2popt

2q

opt

1vopt

1p

opt

1q

Fig. 1: AC microgrid schematic, inverter control, SCOPF optimization, and data flow.

g

2s

1v 2v

3v

g

1s

0.1+j0.0942 Ω

0.1+j0.0942 Ω 0.4+j0.377 Ω

20+j1.5080 Ω

Fig. 2: A three-bus, two-inverter AC microgrid example systemwith line and load parameters.

and q ∈ Rng×1 are the vectors of filtered active and reactivepower, respectively. ωnom and ω are the microgrid nominalfrequency and inverter operating frequency, respectively. vo ∈Cng×1 = vod + jvoq and io ∈ Cng×1 = iod + jioq are theinverter terminal’s voltage and current, respectively. δ is thevector of inverter power angles with respect to a commonreference, usually the inverter at bus 1 (i.e., ωcom = ω1). Theoperating frequency ω is obtained using

ω = ωnom −mp · p+mp · popt, (7)

where popt is the active power set-point provided by the OPF,and mp is the p− ω droop constant.The vector of algebraic equations g, with algebraic variablesz = [(iod)>, (ioq)>]> ∈ Rnz × 1, are given by

iod = ReY (vo − io · zc), (8a)

ioq = ImY (vo − io · zc). (8b)

Y is the Kron-reduced admittance matrix of the distributionnetwork [16], zc is the impedance of the line connecting aninverter to the power distribution network, and

vo = (vopt + nq · qopt − nq · q) · (cos δ + j sin δ), (9)

where qopt and vopt are the optimal reactive power and voltageset-points provided by the OPF, respectively. nq is q−v droopconstant.

375.8

376.2

376.6

377

1000

3000

5000

7000

p g

5000

6000

7000

d

0 1 2 3 4 5 6 7 8 9Time (s)

Inv 1 Inv 2

(W)

(W)

(

)

Fig. 3: Unstable microgrid operation with conventional OPFbut without enforcing any stability constraint.

Proposition 1. Consider a microgrid system defined by (5a)and (5b). Its small-signal stability, with a minimum decayrate(∝ damping ratio) of η, can be assured [24] iff there exitsa symmetric positive definite matrix M that satisfies

A>M +MA −2ηM , (10)

where A is the microgrid state matrix.

Proof. Linearizing (5a) and (5b) at the operating point

Page 4: Stability-constrained Optimal Power Flow for AC Microgrids

4

∂f

∂x=

−[ωc] −

[ωc · nq · (ioq · sin δ + iod · cos δ)

]−[ωc · (vref − nq · q) · (iod · sin δ − ioq · cos δ)

]0n

g[ωc · nq · (ioq · cos δ − iod · sin δ)− ωc

] [ωc · (vref − nq · q) · (iod · cos δ + ioq · sin δ)

]Mp 0n

g−1 0ng−1

(11)

∂f

∂z=

[ωc · (vref − nq · q) · cos δ] [

ωc · (vref − nq · q) · sin δ][

ωc · (vref − nq · q) · sin δ]−[ωc · (vref − nq · q) · cos δ

]0ng−1 0ng−1

(12)

∂g

∂x=

[0ng (G · [nq · cos δ]n

g − B · [nq · sin δ]ng

) G · [(vref − nq · q) · sin δ]ng

+ B[(vref − nq · q) · cos δ]ng

0ng (G · [nq · sin δ]ng

+ B · [nq · cos δ]ng

) B · [(vref − nq · q) · sin δ]ng − G[(vref − nq · q) · cos δ]n

g

](13)

∂g

∂z=

[In

g

+ G · [rc]ng − B · [xc]n

g −G · [xc]ng − B · [rc]n

g

B · [rc]ng

+ G · [xc]ng

Ing

+ G · [rc]ng − B · [xc]n

g

](14)

(x0, z0), using Taylor series expansion, gives∆x

0

=

∂f∂x ∂f∂z

∂g∂x

∂g∂z

∆x

∆z

. (15)

The partial differential matrices ∂f∂x , ∂f

∂z , ∂g∂x , and ∂g

∂z in (15)are given by (11)-(14), respectively. The Mp in (11) is

Mp =

−mp

1 mp2 0 · · · 0

−mp1 0 mp

3 · · · 0...

......

. . . 0−mp

1 0 0 · · · mpng

, (16)

where mpi indicates droop constant of ith inverter. G and B

are, respectively, the real and imaginary components of theKron-reduced admittance matrix Y .Defining A(iod, ioq, δ, q) = ∂f

∂x , B(δ, q) = ∂f∂z , C(δ, q) =

∂g∂x , and D = ∂g

∂z , and eliminating the algebraic variables z,(15) can be reformulated [25] as,

x = Ax, (17)

where A ∈ Rnx×nx is the state matrix obtained by

A = A(iod, ioq, δ, q)−B(δ, q)(D)−1C(δ, q). (18)

Consider a Lyapunov energy function, V = x>Mx, whereM ∈ Snx is a symmetric positive definite matrix. Differenti-ating V , one has

V = x>Mx+ x>Mx,

= (Ax)>Mx+ x>MAx,

= x>(A>M +MA)x. (19)

For the microgrid to have a minimum damping (or decay rate)η, the necessary condition on the Lyapunov function [24] is

V < −2ηE. (20)

From (19) and (20)

A>M +MA −2ηM , (21a)

M Inx . (21b)

Proof of Proposition 1 is completed.

From Proposition 1, the microgrid stability can be main-tained by choosing η to be a small positive constant. η shouldbe properly chosen, as a large η could lead to an infeasiblesolution, and a small η might not provide sufficient damping.Herein, η is selected in the range of [0.5, 5].

To interlink the inverter internal variables with the OPFvariables, additional constraints are formulated as

vg = (vref − nq · q) · (cos δ + j sin δ)− io · zc, (22)

io = Y vg, (23)p+ iq = diagio(io)∗[zc]+ pg + iqg. (24)

The OPF in (1), with additional constraints (21)-(24), con-stitute a SCOPF for an inverter-dominant microgrid. The con-straints (1b)-(1g) are quadratic functions of the bus voltage v.The state matrix A in (21a), and the constraints (22) and (24),are non-linear functions of io, q, and δ. These non-linearitiesmake problem non-convex. In the next section, the SCOPFproblem is lifted and relaxed to make it computationallytractable.

IV. LIFTING, RELAXATION, AND PENALIZATION

A. Lifted Formulation

The constraints (1b)-(1g) can be convexified by defining anauxiliary matrix W ∈ Hn [26] as

W , vv∗. (25)

To convexify the constraints (22) and (24), and the state matrixA in (21a), variables δc ∈ Rng×1, δs ∈ Rng×1, δqc ∈ Rng×1,δqs ∈ Rng×1, and a new vector, uk ∈ Rnu×1 ∀ k ∈ G, aredefined for each inverter as

δc , cos δ, δs , sin δ, (26a)

δqc , q · cos δ, δqs , q · sin δ, (26b)

uk , [iodk , ioqk , δ

ck, δ

sk, qk, δ

qck , δ

qsk ]> ∀k ∈ G. (26c)

Using (26c), an auxiliary matrix for each inverter, Xk ∈Snu ∀ k ∈ G, is defined as

Xk , uku>k , (26d)

Page 5: Stability-constrained Optimal Power Flow for AC Microgrids

5

that satisfies a set of constraints U given as

(eδs

k )>Xkeqk − δ

qsk = 0, (27a)

(eδc

k )>Xkeqk − δ

qck = 0, (27b)

(eδc

k )>Xkeδqs

k − (eδs

k )>Xkeδqc

k = 0, (27c)

(eδc

k )>Xkeδc

k + (eδs

k )>Xkeδs

k − 1 = 0, (27d)

(eδc

k )>Xkeδqc

k + (eδs

k )>Xkeδqsk − qk = 0, (27e)

(eδqc

k )>Xkeδqc

k + (eδqs

k )>Xkeδqs

k − (eqk)>Xkeqk = 0. (27f)

eiod

k , eiod

k , eδc

k , eδs

k , eqk, e

δqc

k , and eδqs

k are the standardbasis for respective elements of the vector uk.From (25)-(26d), the constraints (1b)-(1g), (22), (24) andsub-matrices A(iod, ioq, δ, q), B(δ, q), and C(δ, q) can bereformulated as the linear functions of uk, and Xk as in (29),(30), (31), and (32). The state matrix A and the stabilityconstraint (21a) are still non-linear due to the presence ofB (D)

−1C, A

>M , and MA terms. To overcome this, two

auxiliary matrices, E and L, are defined

E =

[Ebb Ebc

Ecb Ecc

]

,

[B(δc, δs, δqc, δqs)

C>

(δc, δs, δqc, δqs)

][B(δc, δs, δqc, δqs)

C>

(δc, δs, δqc, δqs)

]>(28a)

L =

[Lmm Lma

Lam Laa

],

[M

A>

][M , A], (28b)

where C(δc, δs, δqc, δqs) = (D)−1C(δc, δs, δqc, δqs). D isa constant matrix for a given distribution network.The lifted formulation of the SCOPF is given in (29), where(29b)-(29l) are linear and convex. The non-convexity presentin the original SCOPF is encapsulated by the constraints (29o)-(29r).

B. Convex Relaxation

To ensure that (29) is computationally tractable, non-convex constraints (29o)- (29r) are relaxed. This paper detailstwo distinct relaxation approaches, a SDP relaxation and acomputationally-efficient parabolic relaxation.

1) SDP relaxation: The SDP relaxation of the non-convexconstraints in the lifted SCOPF problem (29) is given as

W − vv∗ 0, (33a)[Ebb Ebc

Ecb Ecc

]−[B(δc, δs, δqc, δqs)

C>(δc, δs, δqc, δqs)

] [B(δc, δs, δqc, δqs)

C>(δc, δs, δqc, δqs)

]> 0,

(33b)[Lmm Lma

Lam Laa

]−[M

A>

][M , A] 0, (33c)

Xk − ukuk> 0 ∀ k ∈ G. (33d)

minimize h(pg) (29a)subject to

OPF constraints:

G>(p+ jq) = D>d+ diagWY ∗ (29b)

diag~L W ~Y∗ ≤ fmax (29c)

diag ~L W ~Y ∗ ≤ fmax (29d)

pmin ≤ p ≤ pmax (29e)

qmin ≤ q ≤ qmax (29f)

(vmin)2 ≤ diag(W ) ≤ (vmax)2 (29g)

io = G>Y v (29h)

G>v = vref · (δc + jδs)− nq · (δqc + jδqs)− io · zc (29i)

pk + jqk = ((eiod

k )>Xkeiod

k + (eioq

k )>Xkeioq

k )zck

+ pgk + jqgk ∀ k ∈ G (29j)

Stability constraints:

Lam +Lma −2ηM (29k)M Inx (29l)

Auxiliary variable constraints:

A = A(Xk)−E ∀ k ∈ G (29m)

uk = [iodk , ioqk , δ

ck, δ

sk, qk, δ

qck , δ

qsk ]> ∀k ∈ G (29n)

W = vv∗ (29o)[Ebb Ebc

Ecb Ecc

]=

[B(δc, δs, δqc, δqs)

C>(δc, δs, δqc, δqs)

] [B(δc, δs, δqc, δqs)

C>(δc, δs, δqc, δqs)

]>(29p)[

Lmm Lma

Lam Laa

]=

[M

A>

][M A] (29q)

Xk = [iodk , ioqk , δ

ck, δ

sk, qk, δ

qck , δ

qsk ]>[iodk , i

oqk , δ

ck, δ

sk, qk, δ

qck , δ

qsk ]

∀ k ∈ G (29r)

Xk, [iodk , i

oqk , δ

ck, δ

sk, qk, δ

qck , δ

qsk ]> ∈ U ∀ k ∈ G (29s)

variables

v ∈ Cn×1, pg ∈ Rng×1, qg ∈ Rn

g×1, io ∈ Cng×1,

q ∈ Rng×1, δc ∈ Rn

g×1, δs ∈ Rng×1, δqc ∈ Rn

g×1,

δqs ∈ Rng×1, M ∈ Sn

g

, W ∈ Hn, A ∈ Rnx×nx ,

E =

[Ebb Ebc

Ecb Ecc

]∈ R2nx×2nx , L =

[Lmm Lma

Lam Laa

]∈ R2nx×2nx ,

and Xk ∈ Rnu×nu∀ k ∈ G.whereU is set of constraints defined as (27),The matrices A(Xk), B(δc, δs, δqc, δqs), andC(δc, δs, δqc, δqs) are defined as (30), (31), and (32), respectively.

Remark 1. The constraints (33a)-(33d) can be cast as[W vv∗ 1

] 0, (34) Ebb Ebc B>(δc, δs, δqc, δqs)

Ecb Ecc C>(δc, δs, δqc, δqs)

B>(δc, δs, δqc, δqs) C(δc, δs, δqc, δqs) Inz

0,

(35)Lmm Lma M

Lam Laa A>

M A Inx

0, (36)

[Xk uku>k 1

] 0, ∀k ∈ G. (37)

Page 6: Stability-constrained Optimal Power Flow for AC Microgrids

6

A =

−[ωc] −[(ωckn

qk((e

ioq

k )>Xkeδs

k + (eiod

k )>Xkeδc

k ))k∈G

]−[(ωck(v

refk ((ei

oq

k )>Xkeδs

k + (eiod

k )>Xkeδc

k )))k∈G

]+[(

ωckn

qk(((e

ioq

k )>Xkeδqs

k + (eiod

k )>Xkeδqc

k )))k∈G

]

0ng

[(ωckn

qk((e

ioq

k )>Xkeδc

k − (eiod

k )>Xkeδs

k )− ωck

)k∈G

] [(ωck(v

refk ((ei

od

k )>Xkeδc

k + (eioq

k )>Xkeδs

k )))k∈G

]−[(

ωckn

qk(((e

iod

k )>Xkeδqc

k + (eioq

k )>Xkeδqs

k )))k∈G

]Mp 0n

g−1 0ng−1

(30)

B =

[(ωck(v

refk δck − nq

kδqck ))k∈G

] [(ωck(v

refk δsk − nq

kδqsk ))k∈G

][(ωck(v

refk δsk − nq

kδqsk ))k∈G

]−[(ωck(v

refk δck)− nq

kδqck ))k∈G

]0ng−1 0ng−1

(31)

C =D−1

0ng G · [(nqkδ

ck)k∈G ]

ng

− B · [(nqkδ

sk)k∈G ]

ng

G · [(vrefk δsk − nqkδ

qsk )k∈G ]

ng

+ B · [(vrefkδck − nqkδ

qck )k∈G ]

ng

0ng G · [(nqkδ

sk)k∈G ]

ng

+ B · [(nqkδ

ck)k∈G ]

ng

B · [(vrefk δsk − nqkδ

qsk )k∈G ]

ng

− G[(vrefkδck − nqkδ

qck )k∈G ]

ng

(32)

The above remark transforms the quadratic matrix inequal-ities (33b)-(33d) to convex linear matrix inequalities makingthe SCOPF more tractable. Nevertheless, with the increase innumber of inverters and system size, solving SCOPF in (29)may become computationally challenging.

2) Parabolic relaxation: This is an alternative relaxationtechnique with a reduced computational burden. The non-convex problem is transformed to a convex quadratic constraintquadratic programming problem. The parabolic relaxation [26]of the non-convex voltage constraint, (29o), is given by

|vj + vk|2 ≤Wjj +Wkk + (Wkj +Wjk) ∀(j, k) ∈ L (38a)

|vj − vk|2 ≤Wjj +Wkk − (Wkj +Wjk) ∀(j, k) ∈ L (38b)

|vj + jvk|2 ≤Wjj +Wkk − j(Wkj −Wjk) ∀(j, k) ∈ L (38c)

|vj − jvk|2 ≤Wjj +Wkk + j(Wkj −Wjk) ∀(j, k) ∈ L (38d)

|vj |2 ≤Wjj ∀j ∈ N .(38e)

The parabolic relaxation of (29p)-(29r) can be obtained usingthe following proposition.

Proposition 2. Assume R ∈ Rr×s, S ∈ Rs×r, and T ∈ S2rare the matrices expressed by

T =

[T rr T rs

T sr T ss

]= [R>, S]>[R>, S]. (38f)

The parabolic relaxation [19] is formulated as

T rrjj + T ss

kk + 2T rsjk ≥ ‖rj + sk‖2 ∀j, k ∈ 1, 2, .., r, (38g)

T rrjj + T ss

kk − 2T rsjk ≥ ‖rj − sk‖

2 ∀j, k ∈ 1, 2, .., r. (38h)

Here, rj and sk are the jth and kth column vectors of thematrices R and S>, respectively.

Proposition 2 convexifies the non-linear matrix equalityconstraints given by (29p)-(29r) using the parabolic relax-ation technique. This approach relaxes the non-convex SCOPFproblem into a tractable SCOPF problem. While the relaxedSCOPF problem is computationally tractable, it may notguarantee a feasible solution for the original problem in (1).Therefore, a sequential penalization approach is adopted.

C. Sequential Penalization

The solution obtained from the lifted problem (29a)-(29m)with the relaxed SCOPF constraints (34)-(37) or (38a)-(38h)may not be always feasible with the original problem (1).To resolve this, a linear penalty function ρ is added to theobjective function in (29a)

minimize h(pg) + ρ(W ,v,E,B, C,L,M , A,X,u) (39a)subject to (29b)-(29m), (39b)

(34)-(37) SDP-relaxed constraints, (39c)or

(38a)-(38h) Parabolic-relaxed constraints, (39d)

where

ρ(W ,v,E,B, C,L,M , A,X,u) (40)

, (trWP − v∗0Pv − v∗Pv0 + v∗0Pv0) + µ1(trE−

2trB0B> − 2trC0C

>+ trB0B

>0+ trC0C

>0)

µ2(trL − 2trM0M> − 2trA0A

>+ trM0M

>0

+ trA0A>0) + µ3trXk − 2u0ku

>k + u0ku

>0k. (41)

v0,B0, C0,M0, A0,u0k are the given initial values. µ1, µ2,and µ3 are the penalty positive coefficients valued at 0.1, 0.5,and 5, respectively. Here, P is the penalty function coefficientmatrix for the voltage which can be calculated as in [26].For an arbitrary initial point, the SCOPF (39) is solvedsequentially until a feasible solution to (1) is obtained. It canthen reduce the value of the objective function in subsequentiterations until a near optimal solution is found [19], [20]. Theflow chart for solving sequential penalized SCOPF problem isshown in Fig.4. The penalized SCOPF is solved till the ε isless than considered threshold value. Here ε is given as,

ε = max(||v − v0||, ||B −B0||, ||C − C0||,||M −M0||, ||A− A0||, ||uk − u0k ||). (42)

Page 7: Stability-constrained Optimal Power Flow for AC Microgrids

7

Read the load data, inverter data, inverter

power limits, network information

ε ≤ thresold

Solve

Subject to (29b) – (29m),

(34) – (37) SDP relaxation,

or

(38a) – (38h) Parabolic relaxation,

gmin. h( ) ˆ + ˆ W,v,E,B,C,L,M,A,p ( X,u)

calculate||,|| ||,|| ||ˆ ˆ||

maxˆ

,

|| ||,|| || | |ˆ ,| |

k

0 0 0

0 0 k 0

v v B B

M u uA AM

C C

Global optimal solution obtained

Start t=0

t ≥ tlimit

Wait until

t≥tlimit

No

Yes

No

Yes

Using

previous

solutionInitialize 1 2 3, , , , , , ,ˆ , ,ˆ

k0 0 0 0 0 0v uAMCB P

Obtain solution g g o, , , ,ˆ ,,ˆv p ,q ,q,i ,W,E, ,L MC AXB u

Assign to obtained

solution

, , ,ˆ, ,ˆk0 0 0 0 0 0v B M uC A

Communicate the global optimal solution

to all the invertersopt opt opt, ,p q v

opt g opt g opt g, , p p q q v v

Fig. 4: Steps of the sequential penalized SCOPF solution.

V. VALIDATION AND VERIFICATION

A. Numerical Studies

The efficacy of both SDP and parabolic convex relaxationsare evaluated on several standard test systems. All numeri-cal studies are performed in MATLAB/CVX platform usingMOSEK solver [27], on a 64-bit personal computer (PC) with3.4GHz Intel i7 quadcore processor and 64 GB RAM. Thedroop constants mp = 1.5× 10−4 and nq = 7.2× 10−4, andthe minimum decay rate of η = 1, are chosen.

In Table I, upper bound (UB) indicates the optimal costobtained after sequential penalization, Lower bound (LB) indi-cates the optimal cost obtained for the relaxed problem withoutpenalty, and computational time indicates the time taken by

the optimization solver to solve the relaxed problem withoutsequential penalization. From Table I, for smaller systems withless number of inverters, the SDP relaxation offers LBs closerto the optimal solution with similar computational time ascompared to parabolic relaxation. As the number of invertersand system size increases, SDP becomes computationally moreexpensive.

B. Hardware-in-the-Loop Validation

The proposed SCOPF is tested on a 4-bus, 4-inverter micro-grid system [28], shown in Fig. 5. Inverters power limits andtheir cost coefficients are detailed in Table II. The microgrid’sbase power and voltage are 0.1MVA and 480V , respectively.The nominal frequency of the microgrid is ωnom = 377rad/s.This microgrid has variable-impedance loads, with 0.707 lag-ging power factor, at all buses. The complete microgrid isemulated in two Typhoon HIL604 units. Inverters employdroop control schemes with mp = 1.04×10−4 (for the activepower-frequency droop) and nq = 2.3×10−4 (for the reactivepower-voltage droop). These controllers are realized using twodSPACE MLBx control boxes with a 100µs sampling rate. Apersonal computer (PC) with an 8-core, 3.5GHz Xeon proces-sor, and 64GB RAM solves the SCOPF using MATLAB/CVX

TABLE I: Upper bounds, lower bounds, and computationaltimes for SCOPF with SDP and parabolic relaxations.

SDP ParabolicTest system ng UB LB time (s) LB time (s)

9-bus 3 4234.76 3984.51 0.44 3900.42 0.4214-bus 5 7963.32 7076.86 0.61 6561.84 0.5330-bus 6 563.15 523.77 0.95 498.90 0.6157-bus 7 43728.37 39803.98 2.88 35740.58 1.2639-bus 10 39241.56 33307.43 6.83 32607.87 3.33

89pegase 12 5830.64 5127.92 19.95 4226.49 8.6924_ieee_rts 33 - 56877.63 3487.61 53263.30 728.30

AC microgrid HIL Emulation

dSPACE Microlab Box

SCOPF

minimize h(pg) + ρ Subject to (29b)-(29m), (38a)-(38h)

ω

p

ov

q

Voltagecontroller

Currentcontroller

SPWM

VSC

ov

ov

ω ∫

pqMeasure& filter

oi

p

q

ov i

optvoptp optq

SPWMoi

ov

i

Y

1

2 3

4

0.46+i1.16

85.0i+32.0

47.1i+96.0

Fig. 5: The microgrid test system implemented using HIL(Typhoon HIL), control unit (dSPACE), and optimization unit(personal computer), with information flow shown.

Page 8: Stability-constrained Optimal Power Flow for AC Microgrids

8

375.4

375.0

374.6

374.2

16

20

24

515

4535

450

460

480

200

280

240

320

470

25

(a)

(b)

(c)

(d)

(e)

h

Inv 1 Inv 2 Inv 3 Inv 4

0Time (min)

5 10 15 20 52 03

(

)

Fig. 6: Operation with droop control and varying loads atbus 1 and 4: (a) frequency, (b) active power generation, (c)reactive power generation, (d) voltage magnitude, and (e) totalgeneration cost.

optimization tool with a MOSEK solver [27]. The stabilityconstraint threshold in SCOPF is chosen as η = 1. The PCreads the microgrid information from the HIL emulator everytwo minutes, solves the penalized relaxed SCOPF problem,and sends the optimal solution to the control boxes. Theinformation sharing between the HIL emulator and the PC,and the PC and control boxes, is carried out using Ethernetcommunication.

1) Microgrid performance without and with SCOPF: Themicrogrid system is emulated in the HIL environment for 30minutes. Every 20 seconds, loads at all buses are randomlyvaried following a poisson distribution. Figures 6 and 7 depictthe microgrid operation without and with SCOPF, respectively.Without SCOPF, the set-point values were held constant atpopt = 0, qopt = 0, and vopt = 480V . The voltagesand the reactive power generations are within the limits forboth scenarios, as shown in Fig. 6(c),(d) and Fig. 7(c),(d).The active power load variations are shared equally amongall the inverters due to the constant active power set-point(popt) and identical droop constants (mp), as shown in Fig.

Inv 1 Inv 2 Inv 3 Inv 4

376

377

378

0

40

60

20

20

60

40

0

480

490500

0Time (min)

5 10 15 20 52 03

510

200

280240

320 with SCOPFwith droop only

(a)

(b)

(c)

(d)

(e)

h(

)

Fig. 7: Microgrid operation with SCOPF and varying loadsat bus 1 and 4: (a) frequency, (b) active power generation, (c)reactive power generation, (d) voltage magnitude, and (e) totalgeneration cost.

-40Real

-50 -20-30 0-10 -4 -3 -2 -1 0

Imag

inar

y

(a)

-150-100

-500

50100150

Real(b)

Fig. 8: (a) Microgrid eigenvalues with varying load conditionsunder SCOPF, (b) Zoomed-in view of the plot.

Page 9: Stability-constrained Optimal Power Flow for AC Microgrids

9

6(b). On the contrary, using SCOPF, the optimal set-pointsare provided at every 2 minutes, leading to unequal, but costeffective powers supplied by the inverters, as shown in Fig.7(b). The average total generation cost for 30 minutes, with thedroop control alone, is 253.5723. Using SCOPF, the averagetotal generation cost reduces to 233.7836. Figure 8 shows thetraces of eigenvalues at different optimal set-points providedby SCOPF under varying load conditions. It can be observedthat the real part of eigenvalues are always kept less than -1,which is expected as η = 1. Moreover, it can be observedfrom Fig. 6(a) and 7(a) that the operating frequency, with thedroop control alone, deviates further from the nominal value(ωnom) compared to when SCOPF is employed.

TABLE II: Generational cost coefficients and power limits

Bus c2 c1 c0 pmin pmax qmin qmax

1 1.3 2.2 0 0 1.0 -0.80 0.802 1.6 2.8 0 0 1.0 -0.80 0.803 2.0 5.5 0 0 1.0 -0.80 0.804 1.6 2.4 0 0 1.0 -0.80 0.80

2) Comparing conventional OPF and SCOPF: The advan-tage of SCOPF over the conventional OPF is demonstratedhere. Figures 9 and 10 portray the microgrid performance withthe operating set-points dictated by OPF and SCOPF, respec-tively. In both scenarios, initially, the microgrid operates withload impedance of (5 + i5) Ω at all buses. At t = t1, the loadat bus 3 is disconnected. Set-points provided by SCOPF leadto better damping as compared to that of conventional OPF,as observed from Fig. 9(a) and Fig. 10(a). At t = t2, the loadis added back to bus 3. The microgrid driven by OPF exhibitsnegative damping leading to an oscillatory instability, whileSCOPF provides stable operation with a positive damping.Microgrid eigenvalues, under OPF and SCOPF, are shown inFig. 11(a) and Fig. 11(b), respectively. Under the conventionalOPF, two eigenvalues are very close to the imaginary axiswhich, with a small perturbation in load, could shift to the rightside of the imaginary axis and make the microgrid unstable.By contrast, under SCOPF, the eigenvalues are further awayfrom the imaginary axis to provide a stability margin.

3) Microgrid performance with varying load and genera-tion limits: The SCOPF operation, under correlated variationin generation limits and load demand based on weather condi-tions, is considered. The generation limits of all inverters, aswell as the load demand at bus 1 and 4, are varied usinga common Markov transition probability matrix (M ) thatprovides probabilities of the transition of weather conditionsbased on the initial state vector t as given in [29]. Forsimplicity, three possible weather conditions are consideredas ‘good’, ‘normal’, and ‘bad’. For these conditions, M isdefined as

M =

0.96 0.02 0.020.02 0.96 0.020.02 0.02 0.96

. (43)

The distribution of initial state vector t is considered as

t =[0.02 0.96 0.02

]>. (44)

0

376

377

378

0

40

80

120

10

30

50

480

490

500

-10

20 40 60 80 120100

t1 t2

Inv 1 Inv 2 Inv 3 Inv 4

(a)

(b)

(c)

(d)Time (s)

(

)

Fig. 9: Microgrid performance with optimal set-points pro-vided by conventional OPF with the load at bus 3 disconnectedand reconnected at t = t1 and t = t2: (a) frequency, (b)active power generation, (c) reactive power generation, and(d) voltage magnitude.

The correlated transition of generation limits and load demandare shown in Figs. 12(b) and 12(c), respectively. The gener-ation limits and loads are varied based on the occurrence ofthese conditions. Based on the transition matrix, if the ‘good’weather occurs, the generation limits are increased by 10%and the loads are decreased by 15% from their rated values. Ifthe ‘bad’ weather happens, the generation limits are decreasedby 15% and the loads are increased by 10% from their ratedvalues. The active powers generated by all inverters are heldwithin the varying generation limits, as observed from Figs.12(b) and 12(d). Throughout, the limits on the reactive powersare varied keeping the MVA rating of any individual inverterconstant at 0.1 MVA.

C. Incorporating Constant Power Loads in SCOPF

A detailed dynamic model of an inverter-based AC micro-grid, with constant power loads, is adopted from [30]. Stabilityconstraints of microgrid using this detailed dynamic model are

Page 10: Stability-constrained Optimal Power Flow for AC Microgrids

10

376

377

378

0

4060

-20

20

20

30

40

480

490

500

0Time (s)

20 40 60 80 120100

Inv 1 Inv 2 Inv 3 Inv 4

t1 t2(a)

(b)

(c)

(d)

(

)

Fig. 10: Microgrid performance with optimal set-points pro-vided by SCOPF with the load at bus 3 disconnected andreconnected at t = t1 and t = t2: (a) frequency, (b)active power generation, (c) reactive power generation, and(d) voltage magnitude.

Real

Imag

inar

y

(a) -40-150-100-50

050

100150

-20-30 0-10 10

(b) Real

Before t2

After t2

-40 -20-30 0-10 10

Real

Imag

inar

y

-4

-150-100-50

050

100150

-2-3 0-1 1

Real-4 -2-3 0-1 1

Fig. 11: Microgrid eigenvalues under (a) OPF, (b) SCOPF. *indicates eigenvalues before the load disturbance at t = t2 and* indicates eigenvalues after t = t2.

0Time (min)

5 10 15 20 52 03

40

80

60

20

pmax

(kW

)

10

40

20

0

6

8

10

12

Load

(Ω)

180

190

200

210

h0

40

20

490

500

510

376.7

377.0

377.3

Inv 1 Inv 2 Inv 3 Inv 4(a)

(b)

(c)

(d)

(e)

(f)

(g)

( )

Fig. 12: Microgrid operation with SCOPF under the corre-lated variation of loads and generation limits: (a) frequency,(b) generation limits, (c) load at buses 1 and 4, (d) activepower generation, (e) reactive power generation, (f) voltagemagnitude, and (g) total generation cost.

modified as

A>M +MA −2ηM , (45)M Inx , (46)

v ~Y = il, (47)

id = Dv · 1

zd, (48)

Page 11: Stability-constrained Optimal Power Flow for AC Microgrids

11

where zd is the load impedance and D is the load incidencematrix. A is a state matrix of the full-order dynamic model ofthe inverter-based AC microgrid [30]. The impedance of theconstant power load, at bus j, is dynamically calculated usingzd = v2j /p

dj + jω0L

dj , and included in the state matrix A as

given in [30]. pdj is the active power demand, and Ldj is the

series inductance associated with the constant power load.Similar to the previously-presented case of constant

impedance loads, SCOPF formulation with constant powerloads would also includes non-linear terms. Similar lifting andrelaxation techniques detailed in Section IV can be used toconvexify the resulting SCOPF formulation. One should notethe difference in system matrices for the reduced-order andfull-order models. For the microgrid example considered here,the size of the state matrix of the full-order model includingthe constant power load, A, is 65 × 65, whereas, the size ofthe state matrix using the reduced-order model with constantimpedance load, A, is 11× 11. To the best of our knowledge,a reduced-order model of AC microgrids, with constant powerloads, is not yet available in the literature.

In the next study, SCOPF for a microgrid with constantpower loads is illustrated. Constant power loads are connectedat buses 1 and 4, as seen in Fig .13(b). Initially, invertersoperate with local droop mechanisms that caused the drop infrequency (Fig. 13(a)) and voltage (Fig. 13(e)) from their nom-inal values of 377rad/s and 480V , respectively. The overallload demand is shared proportionally among all inverters asshown in Fig. 13(c). At t = t1, all inverters are provided withthe stable optimal set-points obtained from SCOPF, and adjusttheir outputs accordingly, as shown in Fig.13(f).

VI. CONCLUSION

This paper addresses the stable and optimal operation ofinverter-populated AC microgrid. SCOPF provides the optimaloperating set-points to the inverters and exhibits improveddamping characteristics as compared to the operation providedby the conventional OPF. The stability constraints for theSCOPF is formulated as a bilinear matrix inequality (BMI)constraint derived from a Lyapunov stability candidate. TheSCOPF formulation is non-convex due to the presence of mul-tiple non-linear terms. To make it computationally efficient, wehave relaxed this problem using two distinct convex relaxationtechniques, namely, SDP and parabolic relaxations. To provesolution scalability, several numerical studies were carried outon multiple standard IEEE and European test systems. Further,the feasibility and the efficacy of the proposed SCOPF isevaluated on a 4-inverter microgrid system emulated in a HILsetup.

REFERENCES

[1] G. Agundis-Tinajero, N. L. D. Aldana, A. C. Luna, J. Segundo-Ramírez,N. Visairo-Cruz, J. M. Guerrero, and J. C. Vazquez, “Extended-optimal-power-flow-based hierarchical control for islanded ac microgrids,” IEEETransactions on Power Electronics, vol. 34, pp. 840–848, Jan 2019.

[2] N. Pogaku, M. Prodanovic, and T. C. Green, “Modeling, analysis andtesting of autonomous operation of an inverter-based microgrid,” IEEETransactions on Power Electronics, vol. 22, pp. 613–625, March 2007.

[3] R. Majumder, “Some aspects of stability in microgrids,” IEEE Transac-tions on Power Systems, vol. 28, no. 3, pp. 3243–3252, Aug 2013.

Time (s)

-10

10

30

50

10 0 20 30 40 50 60 70

375

376

377

378

20

30

40

10

20

30

40

450

470

490

510

170

190

210

Inv 1 Inv 2 Inv 3 Inv 4

(a)

(c)

(d)

(e)

(f)

(b)

t1

hd

(kW

)(

)

Fig. 13: SCOPF with constant power loads: (a) frequency, (b)constant power loads at buses 1 and 4, (c) active power gen-eration, (d) reactive power generation, (e) voltage magnitude,and (f) total generation cost.

[4] R. Majumder, B. Chaudhuri, A. Ghosh, R. Majumder, G. Ledwich, andF. Zare, “Improvement of stability and load sharing in an autonomousmicrogrid using supplementary droop control loop,” IEEE Transactionson Power Systems, vol. 25, no. 2, pp. 796–808, May 2010.

[5] A. Kahrobaeian and Y. A. I. Mohamed, “Analysis and mitigation oflow-frequency instabilities in autonomous medium-voltage converter-based microgrids with dynamic loads,” IEEE Transactions on IndustrialElectronics, vol. 61, no. 4, pp. 1643–1658, April 2014.

[6] A. Firdaus and S. Mishra, “Mitigation of power and frequency insta-bility to improve load sharing among distributed inverters in microgridsystems,” IEEE Systems Journal, pp. 1–10, 2019.

[7] A. Trivedi and M. Singh, “l1 adaptive droop control for ac microgridwith small mesh network,” IEEE Transactions on Industrial Electronics,vol. 65, no. 6, pp. 4781–4789, June 2018.

[8] X. Guo, Z. Lu, B. Wang, X. Sun, L. Wang, and J. M. Guerrero,“Dynamic phasors-based modeling and stability analysis of droop-controlled inverters for microgrid applications,” IEEE Transactions onSmart Grid, vol. 5, no. 6, pp. 2980–2987, Nov 2014.

Page 12: Stability-constrained Optimal Power Flow for AC Microgrids

12

[9] D. K. Dheer, V. A. S, O. V. Kulkarni, and S. Doolla, “Improvement ofstability margin of droop-based islanded microgrids by cascading of leadcompensators,” IEEE Transactions on Industry Applications, vol. 55,no. 3, pp. 3241–3251, May 2019.

[10] J. Condren and T. W. Gedra, “Expected-security-cost optimal power flowwith small-signal stability constraints,” IEEE Transactions on PowerSystems, vol. 21, no. 4, pp. 1736–1743, Nov 2006.

[11] R. Zarate-Minano, F. Milano, and A. J. Conejo, “An opf methodologyto ensure small-signal stability,” IEEE Transactions on Power Systems,vol. 26, no. 3, pp. 1050–1061, Aug 2011.

[12] P. Li, H. Wei, B. Li, and Y. Yang, “Eigenvalue-optimisation-based opti-mal power flow with small-signal stability constraints,” IET Generation,Transmission Distribution, vol. 7, no. 5, pp. 440–450, May 2013.

[13] P. Li, J. Qi, J. Wang, H. Wei, X. Bai, and F. Qiu, “An sqp methodcombined with gradient sampling for small-signal stability constrainedopf,” IEEE Transactions on Power Systems, vol. 32, no. 3, pp. 2372–2381, May 2017.

[14] Y. Li, G. Geng, Q. Jiang, W. Li, and X. Shi, “A sequential approachfor small signal stability enhancement with optimizing generation cost,”IEEE Transactions on Power Systems, vol. 34, no. 6, pp. 4828–4836,Nov 2019.

[15] P. Pareek and H. D. Nguyen, “Small-signal stability constrained optimalpower flow: A convexification approach,” 2019. [Online]. Available:https://arxiv.org/abs/1911.12001

[16] L. Luo and S. V. Dhople, “Spatiotemporal model reduction of inverter-based islanded microgrids,” IEEE Transactions on Energy Conversion,vol. 29, no. 4, pp. 823–832, Dec 2014.

[17] http://www.penopt.com/penbmi.html, accessed: 2020-05-21.[18] K. Michal and S. Michael, PENNON: Software for Linear and Nonlinear

Matrix Inequalities. Boston, MA: Springer US, 2012, pp. 755–791.[19] M. Kheirandishfard, F. Zohrizadeh, and R. Madani, “Convex relaxation

of bilinear matrix inequalities part i: Theoretical results,” in 2018 IEEEConference on Decision and Control (CDC), Dec 2018, pp. 67–74.

[20] M. Kheirandishfard, F. Zohrizadeh, M. Adil, and R. Madani, “Convexrelaxation of bilinear matrix inequalities part ii: Applications to optimalcontrol synthesis,” in 2018 IEEE Conference on Decision and Control(CDC), Dec 2018, pp. 75–82.

[21] X. Wu, C. Shen, and R. Iravani, “A distributed, cooperative frequencyand voltage control for microgrids,” IEEE Transactions on Smart Grid,vol. 9, no. 4, pp. 2764–2776, 2018.

[22] G. Chen and E. Feng, “Distributed secondary control and optimal powersharing in microgrids,” IEEE/CAA Journal of Automatica Sinica, vol. 2,no. 3, pp. 304–312, 2015.

[23] M. C. Chandorkar, D. M. Divan, and R. Adapa, “Control of parallelconnected inverters in standalone ac supply systems,” IEEE Transactionson Industry Applications, vol. 29, no. 1, pp. 136–143, 1993.

[24] S. Boyd, L. E. Ghaoui, E. Feron, and V. Balakrishnan, Linear MatrixInequalities in System and Control Theory. Philadelphia, PA: Societyfor Industrial and Applied Mathematics, 1994.

[25] F. Mei and B. Pal, “Modal analysis of grid-connected doubly fedinduction generators,” IEEE Transactions on Energy Conversion, vol. 22,no. 3, pp. 728–736, Sep. 2007.

[26] F. Zohrizadeh, M. Kheirandishfard, E. Q. Jnr, and R. Madani, “Penalizedparabolic relaxation for optimal power flow problem,” in 2018 IEEEConference on Decision and Control (CDC), Dec 2018, pp. 1616–1623.

[27] http://cvxr.com/cvx/doc/mosek.html, accessed: 2020-06-28.[28] A. Bidram, A. Davoudi, F. L. Lewis, and J. M. Guerrero, “Distributed co-

operative secondary control of microgrids using feedback linearization,”IEEE Transactions on Power Systems, vol. 28, no. 3, pp. 3462–3470,Aug 2013.

[29] R. D. Zimmerman and C. E. Murillo Sanchez, MATPOWER OptimalScheduling Tool (MOST) User’s Manual 1.0.2, june 2019.

[30] N. Bottrell, M. Prodanovic, and T. C. Green, “Dynamic stability of amicrogrid with an active load,” IEEE Transactions on Power Electronics,vol. 28, no. 11, pp. 5107–5119, 2013.