computing + math sciences electrical engineeringcds20.caltech.edu/pdf/cds20-low_steven.pdf · smart...

55
Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Upload: truongkhanh

Post on 12-Mar-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Smart Grid

Steven Low

Computing + Math Sciences

Electrical Engineering

August 2014

Page 2: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Smart grid team (impact of CDS)

Caltech !  D. Cai, M. Chandy, N. Chen, J. Doyle, K. Dvijotham,

M. Farivar, L. Gan, B. Hassibi, J. Ledyard, E. Mallada, M. Nikolai, Q. Peng, T. Teeraratkul, A. Wierman, S. You, C. Zhao

Former !  S. Bose (Cornell), L. Chen (Colorado), D. Gayme

(JHU), J. Lavaei (Columbia), Z. Liu (LBNL/SUNY), L. Li (Harvard), U. Topcu (Upenn)

Page 3: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Big picture how should we evolve our energy system (grid)?

Page 4: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Watershed moment

Bell: telephone

1876

Tesla: multi-phase AC

1888 Both started as natural monopolies Both provided a single commodity Both grew rapidly through two WWs 1980-90s

1980-90s

Deregulation started

Deregulation started

Power network will undergo similar architectural transformation that phone network went through in the last two decades

?

1969: DARPAnet

Convergence to Internet

Page 5: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Watershed moment

Industries will be destroyed & created AT&T, MCI, McCaw Cellular, Qualcom Google, Facebook, Twitter, Amazon, eBay, Netflix

Infrastructure will be reshaped Centralized intelligence, vertically optimized Distributed intelligence, layered architecture

What will drive power network transformation ?

Page 6: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Advances in power electronics

Deployment of sensing, control, comm

Four drivers

Renewables for sustainability

Electrification of transportation chal

leng

es

enab

lers

Page 7: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Area to power the world by solar

•  power: electricity, machines, transportations •  2030 usage: 44% greater than 2008 usage •  solar: 1kW/m2, 20% efficiency, 2000 hrs/yr

Page 8: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

3

DER will reach 30% of Installed US Capacity by 2020

Effectively all incremental growth in capacity will come from customers

30% Backup Generation: 225 GW CHP: 122 GW Demand Response: 90 GW Solar PV: 50 GW Other DG: 25 GW Dist. Storage: 3 GW

Potential DER Total: 515 GW

Jeff Taft, PNNL, Nov 2013

Page 9: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

network of billions of active

distributed energy resources (DERs)

DER: PV, wind tb, EV, storage, smart bldgs/appls

Technical potential of solar power: > 200x world energy demand

Page 10: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Risk: active DERs introduce rapid random fluctuations in supply, demand, power quality increasing risk of blackouts

Opportunity: active DERs enables realtime dynamic network-wide feedback control, improving robustness, security, efficiency

Caltech research: distributed control of networked DERs

1. Endpoint based control Self-manage through local sensing, comm, control

2.  Local algorithms with global perspective Decompose global objectives into local algorithms

3.  CDS tools provide Structure, clarity, systematic algorithm design

Page 11: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

sec min 5 min 60 min day year

voltage regulation

freq control

Caltech research

volt/var EV charging

storage

demand response (e.g. DC)

control and

optimization

economics and

regulations

DER adoption

market power

OPF

Page 12: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

sec min 5 min 60 min day year

voltage regulation

freq control

Caltech research

volt/var EV charging

storage

demand response (e.g. DC)

control and

optimization

economics and

regulations

DER adoption

market power

OPF

freq control

Page 13: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

•  multiple timescales •  uncertainty •  large scale •  nonconvexity •  ……

Key challenges

Page 14: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Multiple timescale

Sean Meyn, 2010

System dynamics and controls at different timescales •  require different models •  they interact

Page 15: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Uncertainty

Loss of 2 nuclear plants in ERCOT Kirby 2003 [ORNL/TM-2003/19]

4

59.90

59.92

59.94

59.96

59.98

60.00

60.02

60.04

5:50 6:00 6:10 6:20 6:30

TIME (pm)

FREQ

UEN

CY

(Hz)

2600-MWGeneration

Lost SPINNING AND SUPPLEMENTAL RESERVES RESPONSE

GOVERNOR RESPONSE

Fig. 1. Governor response and contingency reserves successfully restored

the generation/load balance after the loss of 2600 MW of generation.

-10 0 10 20 30 40 50 60Minutes

30 Minute Operating ReserveContingencyOccurs

10 Minute Spinning and 10 Minute Non-

Synchronized ReserveFrequency

ResponsiveReserve

Fig. 2. Contingency reserves provide a coordinated response to a sudden

loss of supply. 2.2 REGULATIONS AND POLICIES

While the general concepts of system operations and reliability are well established, imple-mentation details continue to evolve as the industry is restructured. FERC, NERC, NPCC, NYSRC, NYISO all have rules and procedures that govern contingency reserve requirements. These rules tend to become more specific organizationally closer to the system operator. These rules are not yet consistent among organizations, but the trend toward open, technology-neutral, market-based solutions is clear.

2.2.1 Federal Energy Regulatory Commission

FERC, in its notice on Standard Market Design (SMD) (FERC 2002a), shows a clear prefer-ence for market-based solutions for energy supply and reliability services. It also encourages demand participation on an equal footing with generation. The proposed SMD specifies day-ahead markets for spinning and supplemental reserves but not for the 30-minute operating

(1 min)

(10 min)

this can be very expensive as uncertainty grows

Uncertainty creates difficulty in both control and markets

Page 16: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Uncertainty

Imagine when we have 33%+ renewable generation …

(1 min)

(10 min) How can load help?

•  ubiquitous •  continuous •  fast-acting •  distributed

Page 17: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Uncertainty

Introduction

DAM/RTM Dynamic model

Multi-settlement Electricity Market

Who Commands the Wind?

Numerical Results

Concluding Remarks

Familiar, right?

Purchase Price $/MWh

Previous week

Spinning reserve prices PX prices $/MWh

100

150

0

50

200

250

10

20

30

40

50

60

70

APX Power NL, April 23, 2007

California, July 2000Illinois, July 1998

Ontario, November 2005

0

1000

2000

3000

4000

5000

Mon Tues Weds Thurs Fri Mon Tues WedsWeds Thurs Fri Sat Sun

Tues Weds ThursTime3 6 9 12 15 18 213 6 9 12 15 18 213 6 9 12 15 18 21

Demand in MW Last Updated 11:00 AM Predispatch 1975.11 Dispatch 19683.5

Hourly Ontario Energy Price $/MWh Last Updated 11:00 AM Predispatch 72.79 Dispatch 90.822000

21000

18000

15000

1500

1000

500

0Fore

cast

Pric

esFo

reca

st D

eman

d

Pric

e (E

uro/

MW

h)

Volu

me

(MW

h)7000

6000

5000

4000

3000

2000

1000

0

400

300

200

100

0

Fri Sat Sun MonTues Wed Thus

Prev. Week Volume

Current Week Volume

Prev. Week Price

Current Week Price

Figure: Real-world price dynamics24 / 50

Real-time price can be more than 100x the average price !

Sean Meyn, 2010

Page 18: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Large scale

Example: Southern California Edison !  4-5 million customers

SCE Rossi feeder circuit !  #houses: 1,407; #commercial/industrial: 131 !  #transformers: 422 !  #lines: 2,064 (multiphase, inc. transfomers) !  peak load: 3 – 6 MW !  #optimization variables: 50,000

SCE has 4,500 feeders !  ~100M variables

United States !  131M customers, 300K miles of transmission & distr

lines, 3,100 utilities … much more DERs in the future

Page 19: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

sec min 5 min 60 min day year

voltage regulation

freq control

Caltech research

volt/var EV charging

storage

demand response (e.g. DC)

control and

optimization

economics and

regulations

DER adoption

market power

OPF

freq control

Page 20: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Optimal power flow (OPF)

OPF is solved routinely to determine !  How much power to generate where !  Parameter setting, e.g. taps, VARs !  Market operation & pricing

Non-convex and hard to solve !  Huge literature since 1962 !  Common practice: DC power flow (LP)

Page 21: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

min tr CVV *

subject to s j ≤ tr YjVV*( ) ≤ s j v j ≤ |Vj |2 ≤ vj

OPF: bus injection model

•  nonconvex (QCQP) •  due to Kirchhoff’s laws

•  cannot be designed away •  should exploit hidden convexity structure

•  not just for speed and scale

Page 22: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

min tr CVV *

subject to s j ≤ tr YjVV*( ) ≤ s j v j ≤ |Vj |2 ≤ vj

min tr CW

subject to s j ≤ tr YjW( ) ≤ s j vi ≤Wii ≤ vi W ≥ 0, rank W =1

Equivalent problem:

Feasible sets

convex in W except this constraint

quadratic in V linear in W !!

Page 23: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

But SDP is not scalable enough

Page 24: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Feasible set Consider •  full matrix •  partial matrix defined on a chordal ext of G •  partial matrix defined on G

WWc(G )

WG

dec # vars

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

C1:

C2:

C3:

Page 25: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Feasible set Consider •  full matrix •  partial matrix defined on a chordal ext of G •  partial matrix defined on G

WWc(G )

WG

dec # vars

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

C1:

C2:

C3:

Page 26: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Feasible set Consider •  full matrix •  partial matrix defined on a chordal ext of G •  partial matrix defined on G

WWc(G )

WG

dec # vars

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

C1:

C2:

C3: ∠ WG[ ] jk

cycle condition

2x2 rank-1

Page 27: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Feasible set

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

C1:

C2:

C3:

Theorem C1 = C2 = C3

∠ WG[ ] jkcycle

condition

Page 28: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Feasible set

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

IEEE TRANS. ON CONTROL OF NETWORK SYSTEMS, 2014, TO APPEAR 5

connecting distinct vertices.1 A partial matrix WF is a set of2m+n complex numbers defined on F :

WF := {[WF ] j j, [WF ] jk, [WF ]k j |nodes j and edges ( j,k) of F}

WF can be interpreted as a matrix with entries partially specifiedby these complex numbers. If F is a complete graph (in whichthere is an edge between every pair of vertices) then WF is afully specified n⇥n matrix. A completion W of WF is any fullyspecified n⇥n matrix that agrees with WF on graph F , i.e.,

[W ] j j = [WF ] j j, [W ] jk = [WF ] jk for j,( j,k) 2 F

Given an n⇥n matrix W we use WF to denote the submatrix ofW on F, i.e., the partial matrix consisting of the entries of W de-fined on graph F . If q is a clique (a fully connected subgraph) ofF then let WF(q) denote the fully-specified principal submatrixof WF defined on q. We extend the definitions of Hermitian,psd, and rank-1 for matrices to partial matrices, as follows.A partial matrix WF is Hermitian, denoted by WF = W H

F , if[WF ] jk = [WF ]Hk j for all ( j,k) 2 F ; it is psd, denoted by WF ⌫ 0,if WF is Hermitian and the principal submatrices WF(q) are psdfor all cliques q of F ; it is rank-1, denoted by rank WF = 1, if theprincipal submatrices WF(q) are rank-1 for all cliques q of F .We say WF is 2⇥2 psd (rank-1), denoted by WF( j,k)⌫ 0 (rankWF( j,k) = 1) if, for all edges ( j,k) 2 F , the 2⇥ 2 principalsubmatrices

[WF ]( j,k) :=[WF ] j j [WF ] jk[WF ]k j [WF ]kk

are psd (rank-1). F is a chordal graph if either F has no cycle orall its minimal cycles (ones without chords) are of length three.A chordal extension c(F) of F is a chordal graph that containsF , i.e., c(F) has the same vertex set as F but an edge set that isa superset of F’s edge set. In that case we call the partial matrixWc(F) a chordal extension of the partial matrix WF . Every graphF has a chordal extension, generally nonunique. In particular acomplete supergraph of F is a trivial chordal extension of F .

For our purposes chordal graphs are important because ofthe result [63, Theorem 7] that every psd partial matrix has apsd completion if and only if the underlying graph is chordal.When a positive definite completion exists, there is a uniquepositive definite completion, in the class of all positive definitecompletions, whose determinant is maximal. Theorem 2 belowextends this to rank-1 partial matrices.

B. Feasible setsWe can now characterize the feasible set V of OPF defined

in (6). Recall the undirected connected graph G = (N+,E) thatmodels a power network. Given a voltage vector V 2 V definea partial matrix WG :=WG(V ): for j 2 N+ and ( j,k) 2 E,

[WG] j j := |Vj|2 (11a)[WG] jk := VjV H

k =: [WG]Hk j (11b)

1In this subsection we abuse notation and use n,m to denote generalintegers unrelated to the number of buses or lines in a power network.

Then the constraints (5) and (3) imply that the partial matrixWG satisfies 2

s j Âk:( j,k)2E

yHjk�[WG] j j � [WG] jk

� s j, j 2 N+ (12a)

v j [WG] j j v j, j 2 N+ (12b)

Following Section III-C these constraints can also be writtenin a (partial) matrix form as:

p j tr F jWG p j

q j tr Y jWG q j

v j tr JjWG v j

The converse is not always true: given a partial matrix WGthat satisfies (12) it is not always possible to recover a voltagevector V in V. Indeed this is possible if and only if WG hasa completion W that is psd rank-1, because in that case Wsatisfies (12) since y jk = 0 if ( j,k) 62 E and it can be uniquelyfactored as W = VV H with V 2 V. We hence seek conditionsadditional to (12) on the partial matrix WG that guarantee thatit has a psd rank-1 completion W from which V 2 V can berecovered. Our first key result provides such a characterization.

We say that a partial matrix WG satisfies the cycle conditionif for every cycle c in G

Â( j,k)2c

\Wjk = 0 mod 2p (13)

When \Wjk represent voltage phase differences across each linethen the cycle condition imposes that they sum to zero (mod 2p)around any cycle. The next theorem, proved in [58, Theorem3] and [28], implies that WG has a psd rank-1 completion W ifand only if WG is 2⇥2 psd rank-1 on G and satisfies the cyclecondition (13), if and only if it has a chordal extension Wc(G)

that is psd rank-1. 3

Consider the following conditions on (n+ 1)⇥ (n+ 1) ma-trices W and partial matrices Wc(G) and WG:

W ⌫ 0, rank W = 1 (14)Wc(G) ⌫ 0, rank Wc(G) = 1 (15)

WG( j,k)⌫ 0, rank WG( j,k) = 1, ( j,k) 2 E, (16)

Theorem 2: Fix a graph G on n+1 nodes and any chordalextension c(G) of G. Assuming Wj j > 0,

⇥Wc(G)

⇤j j > 0 and

[WG] j j > 0, j 2 N+, we have:(1) Given an (n+ 1)⇥ (n+ 1) matrix W that satisfies (14),

its submatrix Wc(G) satisfies (15).(2) Given a partial matrix Wc(G) that satisfies (15), its sub-

matrix WG satisfies (16) and the cycle condition (13).(3) Given a partial matrix WG that satisfies (16) and the

cycle condition (13), there is a completion W of WG thatsatisfies (14).

2The constraint (12a) can also be written compactly in terms of theadmittance matrix Y as in [66]:

s diag�WY H� s

3The theorem also holds with psd replaced by negative semidefinite.

C1:

C2:

C3:

Theorem C1 = C2 = C3

Moreover, given WG that satisfies C3, there is a unique completion W that satisfies C1

∠ WG[ ] jkcycle

condition

Page 29: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Implication: feasible sets

W:= W : satisfies linear constraints { } W ≥ 0 rank-1{ }idea: W =VV *

Wc(G ):= Wjj,Wjk : ( j,k) in c(G) satisfy linear constraints

!"#

$%& Wc(G ) ≥ 0 rank-1{ }

idea: Wc(G ) = VV * on c(G)( ) matrix completion [Grone et al 1984]

idea: WG = VV * only on G( )

WG := Wjj,Wjk : ( j,k) in G satisfy linear constraints

!"#

$%&

W ( j,k) ≥ 0 rank-1,cycle cond on ∠Wjk

!"#

$%&

Page 30: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

W+ Wc(G )+

Feasible sets

WG+

V W Wc(G ) WG

Theorem !  Radial G : !  Mesh G :

V ⊆W+ ≅Wc(G )+ ≅WG

+

V ⊆W+ ≅Wc(G )+ ⊆WG

+

Page 31: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

But even SOCP is not scalable enough

Page 32: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Examples: radial unbalanced

5.2 Simulation results

All simulations are done on a laptop, with Intel Core2 Duo CPU at 2.66GHz, 4G RAM, and Windows 7 Pro-fessional O.S., and the results are summarized in Tables 1and 2. The “–” entries are filled in if a relaxation cannotbe solved to the default numerical precision 10

�7.

network BIM-SDP BFM-SDPtime ratio time ratio

13-bus 1.7s 5.7e-11 1.5s 8.2e-1134-bus – – 3.1s 6.6e-1237-bus 4.6s 1.0e-11 2.7s 3.8e-12

123-bus 9.3s 9.5e-8 6.8s 6.1e-121982-bus – – 320s 4.9e-8

Table 1: Simulation results using convex programming solver sedumi.

network BIM-SDP BFM-SDPtime ratio time ratio

13-bus 2.6s 1.1e-8 2.6s 4.6e-834-bus – – 4.6s 1.2e-837-bus 4.6s 1.9e-8 5.5s 4.5e-9

123-bus 8.4s 1.1e-8 8.1s 4.0e-91982-bus – – 398s 5.0e-11

Table 2: Simulation results using convex programming solver sdpt3.

Table 1 summarizes simulation results using the con-vex programming solver sedumi, while Table 2 summa-rizes simulations results using sdpt3 instead. Both ta-bles are formatted in the same way: each table containsthe running results of BIM-SDP and BFM-SDP over fivetest networks. For each (relaxation, network) pair, twonumbers—time and ratio—are recorded. For example, inTable 1, for the (BIM-SDP, 13-bus networks) pair, time is1.7s and ratio is 5.7e-11.

Time refers to the CPU time spent on interior pointmethod for solving convex relaxations. In the example wegave, it takes 1.7s for sedumi to solve BIM-SDP for the13-bus network.

Ratio quantifies how exact a relaxation is. Due tofinite numerical precision, even if BIM-SDP/BFM-SDPis exact, the solution will only approximately satisfy(10g)/(12h), i.e., the matrices in (10g)/(12h) will only beapproximately rank one. To quantify how close is a pos-itive semidefinite hermitian matrix to rank one, we cancompute the top two eigenvalues �1, �2 (�1 � �2 � 0)and look at their ratio �2/�1. The smaller ratio �2/�1,the closer the matrix is to rank one. The maximum ra-tio �2/�1 over all matrices in (10g)/(12h) is filled in the“ratio” columns. In the example we gave, at the BIM-SDP solution for the 13-bus network, the ratio �2/�1 5.7 ⇥ 10

�11 for all matrices in (10g). Hence, BIM-SDP isconsidered exact.

5.3 Discussion

BFM-SDP can be solved by sdpt3 for all test networks,and solutions are all numerically rank-1, indicating thatBFM-SDP is exact for all test networks. Since BFM-SDP

is exact if and only if BIM-SDP is exact (Theorem 4),BIM-SDP is also exact for all test networks.

BFM-SDP is numerically more stable than BIM-SDP:while BIM-SDP cannot be solved for the 34-bus and 1982-bus networks, BFM-SDP can be solved for all networks.

6 Conclusions

Two convex relaxations—BIM-SDP and BFM-SDP—of the optimal power flow problem in multiphase radialnetworks have been presented. BIM-SDP explores theradial network topology to improve computational andmemory efficiency of a relaxation proposed in literature,and BFM-SDP avoids ill-conditioned operation to im-prove numerical stability of BIM-SDP. We have provedthat BIM-SDP is exact if and only if BFM-SDP is exact.Case studies show that BFM-SDP is exact for the IEEE13-, 34-, 37-, 123-bus networks and a real-world 1982-busnetwork.

REFERENCES[1] J. Carpentier, “Contribution to the economic dispatch problem,” Bulletin de la Societe Francoise des Elec-

triciens, vol. 3, no. 8, pp. 431–447, 1962, in French.

[2] M. Huneault and F. D. Galiana, “A survey of the optimal power flow literature,” IEEE Trans. on Power Sys-tems, vol. 6, no. 2, pp. 762–770, 1991.

[3] J. A. Momoh, M. E. El-Hawary, and R. Adapa, “A review of selected optimal power flow literature to 1993.Part I: Nonlinear and quadratic programming approaches,” IEEE Trans. on Power Systems, vol. 14, no. 1, pp.96–104, 1999.

[4] K. S. Pandya and S. K. Joshi, “A survey of optimal power flow methods,” J. of Theoretical and AppliedInformation Technology, vol. 4, no. 5, pp. 450–458, 2008.

[5] S. Frank, I. Steponavice, and S. Rebennack, “Optimal power flow: a bibliographic survey, I: formulations anddeterministic methods,” Energy Systems, vol. 3, pp. 221–258, September 2012.

[6] M. B. Cain, R. P. O’Neill, and A. Castillo, “History of optimal power flow and formulations (OPF Paper 1),”US FERC, Tech. Rep., December 2012.

[7] A. Castillo and R. P. O’Neill, “Survey of approaches to solving the ACOPF (OPF Paper 4),” US FERC, Tech.Rep., March 2013.

[8] R. Jabr, “Radial Distribution Load Flow Using Conic Programming,” IEEE Trans. on Power Systems, vol. 21,no. 3, pp. 1458–1459, Aug 2006.

[9] X. Bai, H. Wei, K. Fujisawa, and Y. Wang, “Semidefinite programming for optimal power flow problems,”Int’l J. of Electrical Power & Energy Systems, vol. 30, no. 6-7, pp. 383–392, 2008.

[10] J. Lavaei and S. H. Low, “Zero duality gap in optimal power flow problem,” IEEE Transactions on PowerSystems, vol. 27, no. 1, pp. 92–107, 2012.

[11] S. H. Low, “Convex relaxation of optimal power flow: a tutorial,” in IREP Symposium – Bulk Power SystemDynamics and Control (IREP), Rethymnon, Greece, August 2013.

[12] W. H. Kersting, Distribution systems modeling and analysis. CRC, 2002.

[13] E. Dall’Anese, H. Zhu, and G. B. Giannakis, “Distributed optimal power flow for smart microgrids,” IEEETransactions on Smart Grid, 2012.

[14] R. Grone, C. R. Johnson, E. M. Sa, and H. Wolkowicz, “Positive definite completions of partial Hermitianmatrices,” Linear Algebra and its Applications, vol. 58, pp. 109–124, 1984.

[15] M. Fukuda, M. Kojima, K. Murota, and K. Nakata, “Exploiting sparsity in semidefinite programming viamatrix completion i: General framework,” SIAM Journal on Optimization, vol. 11, no. 3, pp. 647–674, 2001.

[16] X. Bai and H. Wei, “A semidefinite programming method with graph partitioning technique for optimal powerflow problems,” Int’l J. of Electrical Power & Energy Systems, vol. 33, no. 7, pp. 1309–1314, 2011.

[17] R. A. Jabr, “Exploiting sparsity in sdp relaxations of the opf problem,” Power Systems, IEEE Transactions on,vol. 27, no. 2, pp. 1138–1139, 2012.

[18] D. Molzahn, J. Holzer, B. Lesieutre, and C. DeMarco, “Implementation of a large-scale optimal power flowsolver based on semidefinite programming,” IEEE Transactions on Power Systems, 2013.

[19] M. Farivar and S. H. Low, “Branch flow model: relaxations and convexification (parts I, II),” IEEE Trans. onPower Systems, vol. 28, no. 3, pp. 2554–2572, August 2013.

[20] IEEE distribution test feeders, available at http://ewh.ieee.org/soc/pes/dsacom/testfeeders/.

[21] Sedumi, http://coral.ie.lehigh.edu/ newsedumi/.

[22] Sdpt3, http://www.math.nus.edu.sg/ mattohkc/sdpt3.html.

Page 33: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Sij =ViIij*Vj =Vi − zij Iij

branch'flow'model'

Sij − zij Iij2( )

i→ j∑ − Sjk

j→k∑ = sj

OPF: branch flow model

min f x( )over x := (S, I,V, s)s. t. s j ≤ sj ≤ sj v j ≤ vj ≤ vj

•  numerically more stable •  better linear approximation for tree networks

Page 34: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

W+ Wc(G )+

SOCP in branch flow model

WG+

V W Wc(G ) WG

Theorem WG ≡X and WG

+ ≡X+

X+

X

Page 35: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Examples: radial unbalanced

Branch flow model is much more numerically stable, but more variables !

5.2 Simulation results

All simulations are done on a laptop, with Intel Core2 Duo CPU at 2.66GHz, 4G RAM, and Windows 7 Pro-fessional O.S., and the results are summarized in Tables 1and 2. The “–” entries are filled in if a relaxation cannotbe solved to the default numerical precision 10

�7.

network BIM-SDP BFM-SDPtime ratio time ratio

13-bus 1.7s 5.7e-11 1.5s 8.2e-1134-bus – – 3.1s 6.6e-1237-bus 4.6s 1.0e-11 2.7s 3.8e-12

123-bus 9.3s 9.5e-8 6.8s 6.1e-121982-bus – – 320s 4.9e-8

Table 1: Simulation results using convex programming solver sedumi.

network BIM-SDP BFM-SDPtime ratio time ratio

13-bus 2.6s 1.1e-8 2.6s 4.6e-834-bus – – 4.6s 1.2e-837-bus 4.6s 1.9e-8 5.5s 4.5e-9

123-bus 8.4s 1.1e-8 8.1s 4.0e-91982-bus – – 398s 5.0e-11

Table 2: Simulation results using convex programming solver sdpt3.

Table 1 summarizes simulation results using the con-vex programming solver sedumi, while Table 2 summa-rizes simulations results using sdpt3 instead. Both ta-bles are formatted in the same way: each table containsthe running results of BIM-SDP and BFM-SDP over fivetest networks. For each (relaxation, network) pair, twonumbers—time and ratio—are recorded. For example, inTable 1, for the (BIM-SDP, 13-bus networks) pair, time is1.7s and ratio is 5.7e-11.

Time refers to the CPU time spent on interior pointmethod for solving convex relaxations. In the example wegave, it takes 1.7s for sedumi to solve BIM-SDP for the13-bus network.

Ratio quantifies how exact a relaxation is. Due tofinite numerical precision, even if BIM-SDP/BFM-SDPis exact, the solution will only approximately satisfy(10g)/(12h), i.e., the matrices in (10g)/(12h) will only beapproximately rank one. To quantify how close is a pos-itive semidefinite hermitian matrix to rank one, we cancompute the top two eigenvalues �1, �2 (�1 � �2 � 0)and look at their ratio �2/�1. The smaller ratio �2/�1,the closer the matrix is to rank one. The maximum ra-tio �2/�1 over all matrices in (10g)/(12h) is filled in the“ratio” columns. In the example we gave, at the BIM-SDP solution for the 13-bus network, the ratio �2/�1 5.7 ⇥ 10

�11 for all matrices in (10g). Hence, BIM-SDP isconsidered exact.

5.3 Discussion

BFM-SDP can be solved by sdpt3 for all test networks,and solutions are all numerically rank-1, indicating thatBFM-SDP is exact for all test networks. Since BFM-SDP

is exact if and only if BIM-SDP is exact (Theorem 4),BIM-SDP is also exact for all test networks.

BFM-SDP is numerically more stable than BIM-SDP:while BIM-SDP cannot be solved for the 34-bus and 1982-bus networks, BFM-SDP can be solved for all networks.

6 Conclusions

Two convex relaxations—BIM-SDP and BFM-SDP—of the optimal power flow problem in multiphase radialnetworks have been presented. BIM-SDP explores theradial network topology to improve computational andmemory efficiency of a relaxation proposed in literature,and BFM-SDP avoids ill-conditioned operation to im-prove numerical stability of BIM-SDP. We have provedthat BIM-SDP is exact if and only if BFM-SDP is exact.Case studies show that BFM-SDP is exact for the IEEE13-, 34-, 37-, 123-bus networks and a real-world 1982-busnetwork.

REFERENCES[1] J. Carpentier, “Contribution to the economic dispatch problem,” Bulletin de la Societe Francoise des Elec-

triciens, vol. 3, no. 8, pp. 431–447, 1962, in French.

[2] M. Huneault and F. D. Galiana, “A survey of the optimal power flow literature,” IEEE Trans. on Power Sys-tems, vol. 6, no. 2, pp. 762–770, 1991.

[3] J. A. Momoh, M. E. El-Hawary, and R. Adapa, “A review of selected optimal power flow literature to 1993.Part I: Nonlinear and quadratic programming approaches,” IEEE Trans. on Power Systems, vol. 14, no. 1, pp.96–104, 1999.

[4] K. S. Pandya and S. K. Joshi, “A survey of optimal power flow methods,” J. of Theoretical and AppliedInformation Technology, vol. 4, no. 5, pp. 450–458, 2008.

[5] S. Frank, I. Steponavice, and S. Rebennack, “Optimal power flow: a bibliographic survey, I: formulations anddeterministic methods,” Energy Systems, vol. 3, pp. 221–258, September 2012.

[6] M. B. Cain, R. P. O’Neill, and A. Castillo, “History of optimal power flow and formulations (OPF Paper 1),”US FERC, Tech. Rep., December 2012.

[7] A. Castillo and R. P. O’Neill, “Survey of approaches to solving the ACOPF (OPF Paper 4),” US FERC, Tech.Rep., March 2013.

[8] R. Jabr, “Radial Distribution Load Flow Using Conic Programming,” IEEE Trans. on Power Systems, vol. 21,no. 3, pp. 1458–1459, Aug 2006.

[9] X. Bai, H. Wei, K. Fujisawa, and Y. Wang, “Semidefinite programming for optimal power flow problems,”Int’l J. of Electrical Power & Energy Systems, vol. 30, no. 6-7, pp. 383–392, 2008.

[10] J. Lavaei and S. H. Low, “Zero duality gap in optimal power flow problem,” IEEE Transactions on PowerSystems, vol. 27, no. 1, pp. 92–107, 2012.

[11] S. H. Low, “Convex relaxation of optimal power flow: a tutorial,” in IREP Symposium – Bulk Power SystemDynamics and Control (IREP), Rethymnon, Greece, August 2013.

[12] W. H. Kersting, Distribution systems modeling and analysis. CRC, 2002.

[13] E. Dall’Anese, H. Zhu, and G. B. Giannakis, “Distributed optimal power flow for smart microgrids,” IEEETransactions on Smart Grid, 2012.

[14] R. Grone, C. R. Johnson, E. M. Sa, and H. Wolkowicz, “Positive definite completions of partial Hermitianmatrices,” Linear Algebra and its Applications, vol. 58, pp. 109–124, 1984.

[15] M. Fukuda, M. Kojima, K. Murota, and K. Nakata, “Exploiting sparsity in semidefinite programming viamatrix completion i: General framework,” SIAM Journal on Optimization, vol. 11, no. 3, pp. 647–674, 2001.

[16] X. Bai and H. Wei, “A semidefinite programming method with graph partitioning technique for optimal powerflow problems,” Int’l J. of Electrical Power & Energy Systems, vol. 33, no. 7, pp. 1309–1314, 2011.

[17] R. A. Jabr, “Exploiting sparsity in sdp relaxations of the opf problem,” Power Systems, IEEE Transactions on,vol. 27, no. 2, pp. 1138–1139, 2012.

[18] D. Molzahn, J. Holzer, B. Lesieutre, and C. DeMarco, “Implementation of a large-scale optimal power flowsolver based on semidefinite programming,” IEEE Transactions on Power Systems, 2013.

[19] M. Farivar and S. H. Low, “Branch flow model: relaxations and convexification (parts I, II),” IEEE Trans. onPower Systems, vol. 28, no. 3, pp. 2554–2572, August 2013.

[20] IEEE distribution test feeders, available at http://ewh.ieee.org/soc/pes/dsacom/testfeeders/.

[21] Sedumi, http://coral.ie.lehigh.edu/ newsedumi/.

[22] Sdpt3, http://www.math.nus.edu.sg/ mattohkc/sdpt3.html.

Page 36: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Examples: radial balanced

0

20

40

60

80

100

120

140

160

180

0 200 400 600 800 1000 1200 1400 1600 1800 2000

CVX IPM

# buses

solution time (sec)

radial network balanced, BFM

Page 37: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

OPF2socp'

OPF'solu6on'

Recover'V* cycle'condi6on'

Y'

rank21'

OPF2ch' OPF2sdp'

Y'

WG* Wc(G )

* W *

Y,'mesh'

2x2'rank21'

Y'radial'

OPF2socp'

cycle'condi6on'Y'

x*

equality'

Y'radial'

Y,'mesh'

Page 38: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

OPF2socp'

OPF'solu6on'

Recover'V* cycle'condi6on'

Y'

rank21'

OPF2ch' OPF2sdp'

Y'

WG* Wc(G )

* W *

Y,'mesh'

2x2'rank21'

Y'radial'

OPF2socp'

cycle'condi6on'Y'

x*

equality'

Y'radial'

Y,'mesh'

Page 39: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

OPF2socp'

OPF'solu6on'

Recover'V* cycle'condi6on'

Y'

rank21'

OPF2ch' OPF2sdp'

Y'

WG* Wc(G )

* W *

Y,'mesh'

2x2'rank21'

Y'radial'

OPF2socp'

cycle'condi6on'Y'

x*

equality'

Y'radial'

Y,'mesh'

Page 40: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

When will SOCP be exact?

Page 41: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Exactness

Bus injection model !  Jabr 2006, Bai et al 2008, Lavaei & Low 2012 !  Bose et al 2011, Zhang & Tse 2011, Sojoudi &

Lavaei 2012, Bose et al 2012, … !  Lesieutre et al 2011, …

Branch flow model !  Baran & Wu 1989, Chiang & Baran 1990, Taylor

2011, Farivar et al SGC2011, … !  Farivar et al TPS2013, Gan et al TAC2014, Bose et

al TAC2014

•  For tree networks, SOCP always exact practically •  For general networks, often exact empirically but no theory

Page 42: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

sec min 5 min 60 min day year

voltage regulation

freq control

Caltech research

volt/var EV charging

storage

demand response (e.g. DC)

control and

optimization

economics and

regulations

DER adoption

market power

OPF

freq control

Page 43: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

dynamic model e.g. swing eqtn

sec min 5 min 60 min day year

primary freq control

secondary freq control

power flow model e.g. DC/AC power flow

Frequency control

economic dispatch

unit commitment

Frequency control is traditionally done on generation side

Page 44: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

model can be formulated as a minimum variance controllerthat computes changes in thermostat setpoint required toachieve desired aggregated power responses.

Fig. 7 depicts one of the central results of the paper.The top panel of the figure shows two lines. The first is thezero-mean high-frequency component of a wind plant’soutput plus a direct current (dc) shift equal to the averagedemand of the TCL population under control. The secondline is aggregate demand from the controlled population(in this case, 60 000 air conditioners), where they aresubjected to shifts in their temperature setpoint as shownin the bottom panel of the figure (these shifts are dictatedby the minimum variance controller). The middle panel ofthe figure shows the controller error, which is relativelysmall.

In Section III-D, load controllability was discussed inthe context of availability and willingness to participate.These concepts are implicitly taken into account in thehysteretic form of control associated with thermostats. Asthe temperature nears either end of the deadband, a TCLbecomes available for control. It becomes increasinglywilling to participate in control as the temperatureapproaches the switching limit. However, once the TCLhas switched state (encountered the deadband limit), it istemporarily no longer available for control.

Assuming relatively constant ambient temperature, thecontrollability of a large population of TCLs will vary littleover time. However, large temperature changes affect the

availability of TCLs for control. For example, a significantdrop in ambient temperature would eventually result in farfewer air conditioning loads. System operations wouldneed to take account of such temporal changes in loadcontrollability.

B. Plug-In Electric VehiclesPEVs are expected to comprise around 25% of all

automobile sales in the United States by 2020 [59]. Atthose penetration levels, PEVs will account for 3%–6% oftotal electrical energy consumption. It is anticipated thatmost vehicles will charge overnight, when other loads areat a minimum. The proportion of PEV load during thatperiod will therefore be quite high. Vehicle charging tendsto be rather flexible, though must observe the owner-specified completion time. PEVs therefore offer anotherexcellent end-use class for load control.

Motivated by the control strategy for TCLs developedin [33], a hysteretic form of local control can be used toestablish system-level controllability of PEV chargingloads. The proposed local control strategy is illustrated inFig. 8. The nominal SoC profile is defined as the linearpath obtained by uniform charging, such that the desiredtotal energy Etot is delivered to the PEV over the perioddefined by owner-specified start and finish times. Thenominal SoC profile lies at the center of a deadband; forthis example, the deadband limits are given by

!!"t# $ SoC"t# ! 0:05Etot

!%"t# $ SoC"t# % 0:05Etot (1)

where SoC"t# is the nominal SoC at time t.When the charger is turned on, the SoC actually

increases at a rate that is faster than the nominal profile, so

Fig. 7. Load control example for balancing variability from

intermittent renewable generators, where the end-use functionVin

this case, thermostat setpointVis used as the input signal.

See [33] for more details.

Fig. 8. Hysteresis-based PEV charging scheme.

Callaway and Hiskens: Achieving Controllability of Electric Loads

Vol. 99, No. 1, January 2011 | Proceedings of the IEEE 195

Callaway, Hiskens (2011) Callaway (2009)

Can household Grid Friendly appliances follow its own PV production?

Dynamically adjust thermostat setpoint

•  60,000 AC •  avg demand ~ 140 MW •  wind var: +- 40MW •  temp var: 0.15 degC

Page 45: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

swing dynamics

Network model Generator bus (may contain load): ωi = −

1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

Pij = bij ωi −ω j( ) ∀ i→ j

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Load bus (no generator):

Real branch power flow:

Page 46: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Frequency control

ωi = −1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Pij = bij ωi −ω j( ) ∀ i→ j

Suppose the system is in steady state and suddenly …

ωi = 0 Pij = 0

Page 47: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Given: disturbance in gens/loads Current: adapt remaining generators

!  to re-balance power !  restore nominal freq and inter-area flows

(zero ACE) Our goal: adapt controllable loads

!  … same as above … !  while minimizing disutility of load control

Frequency control

Pim

di

Page 48: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Frequency control

ωi = −1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Pij = bij ωi −ω j( ) ∀ i→ j

current approach

proposed approach

Page 49: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

How to design feedback control law

Load-side controller design

ωi = −1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Pij = bij ωi −ω j( ) ∀ i→ j

di = Fi ω(t),P(t)( )

Page 50: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Control goals

!  Rebalance power !  Resynchronize/stabilize frequency !  Restore nominal frequency !  Restore scheduled inter-area flows

Load-side controller design

ωi = −1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Pij = bij ωi −ω j( ) ∀ i→ j

Page 51: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Design approach: forward engineering

!  formalize control goals as OLC !  derive local control as distributed solution

Load-side controller design

ωi = −1Mi

di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

$

%&&

'

())

0 = di +Diωi −Pim + P ij− Pji

j→i∑

i→ j∑

Pij = bij ωi −ω j( ) ∀ i→ j

Page 52: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Optimal load control (OLC)

demand = supply per bus

mind,d,P,R

ci di( )+ 12Di

di2

!

"#

$

%&

i∑

s. t. di + di = Pim − Cie

e∈E∑ Pe

di = Pim − Li

j∑ vj

Cv = P

restore nominal frequency

restore inter-area flows

Page 53: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Primary frequency control !  Completely decentralized load control works

!  network dynamics + active load control = primal-dual algorithm for OLC

!  Feedback system is GAS

Secondary frequency control !  Each load maintains internal dynamic vars

and communicates with neighbors !  … same as above

Summary

Load-side frequency control works !

di = Fi ωi (t)( )

Page 54: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Simulations

59.964 Hz ERCOT threshold for freq control

load-side participation improves transient as well as steady state

Page 55: Computing + Math Sciences Electrical Engineeringcds20.caltech.edu/pdf/CDS20-low_steven.pdf · Smart Grid Steven Low Computing + Math Sciences Electrical Engineering August 2014

Simulations

24

0 20 40 60 8059.92

59.94

59.96

59.98

60

60.02

60.04

Time (s)

Freq

uenc

y (H

z)

AGC onlyOLC onlyAGC+OLC

Fig. 8. Frequency at bus 12, with AGC only, with OLC only, or with both of them.

0 20 40 60 80

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

0.25

Time (s)

Powe

r (pu

)

AGC onlyOLC onlyAGC+OLC

Fig. 9. Total mismatch between electric power and mechanic power, with AGC only, with OLC only, or with both of them.

oscillations in both frequency and electric-mechanic power mismatch. With OLC only, electric

power and mechanic power are balanced in a short time, and the frequency is quickly driven to

some value close to 60 Hz, but will not be driven to 60 Hz. When OLC is implemented together

with AGC, the frequency can be driven to 60 Hz and electric power is balanced with mechanic

power. Moreover, compared to the case of using AGC only, the settling time is decreased, and

the overshooting in frequency and the oscillations in both frequency and electric-mechanic power

mismatch are significantly alleviated. The result shows that adding OLC can improve the transient

performance of AGC.

VI. CONCLUSION

We proposed an optimal load control (OLC) problem in power transmission networks. The

objective of OLC is to minimize a measure of disutility of participation in load control, subject

September 12, 2012 DRAFT

load-side participation improves transient as well as steady state