Low 201801 SimonsBootcamp
Low 201801 SimonsBootcamp
Steven Low
deregulation
IoT
Tesla: multi-phase AC started
convergence
1969: DARPAnet to Internet
Watershed moment
Source:
USEPA
petroleum 34%
coal 29%
gas 23%
renewable (elec) 8%
nuclear 5%
petroleum 34%
coal 29%
gas 23%
renewable (elec) 8%
nuclear 5%
Electricity generation
and transportation are
top-two GHG emitters
(56% total)
quadrillion BTU
Conversion loss:
63%
Fossil : 65% Plant use: 2%
T&D losses: 2.4%
gas
1
nuclear
hydro
oil wind
solar
coal
all fossils
billion kWh
gas
nuclear
hydro
Source:
US EIA
US renewable generations
750 billion kWh
nuclear
500
hydro
250
wind solar
12%
10% hydro
8%
6%
4%
wind
2%
solar
0%
4 5 6 7 8 9 0 1 2 3 4
-0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1
ct ct ct ct ct ct ct ct ct ct ct
Source: US EIA O O O O O O O O O O O
US wind capacity
Federal
incentives
extended
to 2023
line flow
injection limits
line limits
voltage limits
transmission
substation [Sascha von Meier]
distribution
substation
Voltage
nominal frequency
US: 60 Hz
EU: 50 Hz
Steady state: frequencies at all points are nominal
Reasonable model at timescale of minute and up
Mathematical model
Quantities of interest
Voltage, current, power, energy
All are sinusoidal functions of time
Voltage
nominal frequency
North/Central Americas: 60 Hz
Most other major countries: 50 Hz
Voltage
amplitude phase
voltage
phasor
Phasor representation
Quantities of interest
Voltage, current, power, energy
All are sinusoidal functions of time
Voltage
voltage
phasor
Phasor representation
Quantities of interest
Voltage, current, power, energy
All are sinusoidal functions of time
Voltage
voltage
phasor
Phasor representation
Voltage
Current
Linear circuit elements
Resistor R
Inductor L
Capacitor C
Inductor L
Capacitor C
−1
𝑉 =( 𝑗 𝜔 𝐶 ) ∙𝐼
Linear circuit elements
time
domain
phasor
domain
Complex power
Quantities of interest
Voltage, current, power, energy
All are sinusoidal functions of time
Instantaneous power
average power
Complex power
Quantities of interest
Voltage, current, power, energy
All are sinusoidal functions of time
Instantaneous power
average power
Circuit analysis
Voltages and currents are linear
Delta-configuration:
3-phase AC system
Y-configuration:
Balanced 3p source
Equal in magnitude, 120 deg difference in phase
Delta-configuration:
Balanced 3-phase system
transmission line
voltage impedance
source load
Balanced 3p operation
Balanced 3p sources
Balanced 3p loads
Balanced (identical) transmission lines
Advantages
1-phase
3-phase
Advantages
1-phase
3-phase
Advantages
1-phase
3-phase
...
...
Delta-Wye transformation
Equivalent 3p sources: same external behavior
line-to-line voltages:
Delta-Wye transformation
Equivalent 3p sources: same external behavior
line-to-line voltages:
Delta-Wye transformation
Equivalent 3p sources: same external behavior
same terminal currents on same line-to-line voltages
Per-phase analysis
transmission line
voltage impedance
source load
voltage impedance
source load
phase-a
circuit
Per-phase analysis
transmission line
voltage impedance
source load
phase-a
circuit
Recap: basic concepts
3-phase AC transmission system
Phasor representation
Balanced operation
Per-phase analysis
shunt
admittance
Terminal behavior
What do line parameters depend on ?
What about a 3-phase line ?
What are some implications ?
Transmission line model
Line inductance l
total flux linkages
Multiple conductors
Multiple conductors
“self-inductance”
Multiple conductors
Multiple conductors
“self-capacitance”
shunt
admittance
Transmission line model
Long line (l>150mi):
per-phase properties
Transformer model
3-phase ideal transformer
per-phase properties
Transformer model
3-phase ideal transformer
per-phase properties
Transformer model
3-phase ideal transformer
per-phase properties
Transformer model
Per-phase equivalent circuit
Transformer model
Recap
3p generator
(terminal 3p transformer 3p transmission 3p transformer
voltage) (stepup) line (stepdown)
Putting everything together
i j k
admittance matrix:
graph G: undirected
Kirchhoff law
power balance
admittance matrix:
Bus injection model
Kirchhoff law
power balance
Eliminate I :
Bus injection model
Complex form:
Polar form:
Cartesian form:
Bus injection model
DC power flow
Assumptions:
• Lossless short line
• Small angle difference
• Fixed voltage magnitude
• Ignore reactive power
The flow of power II
Power flow and optimization
Network models (10mins)
Admittance matrix
Power flow models
line flow
injection limits
line limits
voltage limits
line flow
injection limits
line limits
voltage limits
Linearization
DC approximation
Convex relaxations
Semidefinite relaxation (Lasserre hierarchy)
QC relaxation (van Hentenryck)
Strong SOCP (Sun)
Dealing with nonconvexity
Linearization
DC approximation
Convex relaxations
Semidefinite relaxation (Lasserre hierarchy)
QC relaxation (van Hentenryck)
Strong SOCP (Sun)
Realtime OPF
Online algorithm, as opposed to offline
Also tracks time-varying OPF
Relaxations of AC OPF
dealing with nonconvexity
Bose (UIUC) Chandy Farivar (Google) Gan (FB) Lavaei (UCB) Li (Harvard)
quadratic in V
linear in W
Equivalent problem:
convex in W
except this constraint
Solution strategy
Theorem
Radial G: SOCP is equivalent to SDP ( )
Mesh G: SOCP is strictly coarser than SDP
graph of QCQP
Key condition
Theorem
SOCP relaxation is exact for
QCQP over tree Bose et al 2012, 2014
Sojoudi, Lavaei 2013
Implication on OPF
Not both lower & upper bounds on real & reactive powers at both ends
of a line can be finite
Example
Real Power Reactive Power
SOCP Y
SDP Y
baseline optimized
See also: Dall’Anese et al, Bernstein et al, Gan & L, JSAC 2016
Hug & Dorfler et al, Callaway et al Tang et al, TSG 2017
Motivations
Simplify OPF simulation/solution
Solving static OPF with simulator in the loop
Avoid modifying GridLab-D during ARPA-E GENI (2012-15)
Linearization
DC approximation
Convex relaxations
Semidefinite relaxation (Lasserre hierarchy)
QC relaxation (van Hentenryck)
Strong SOCP (Sun)
Realtime OPF
Online algorithm, as opposed to offline
Also tracks time-varying OPF
Literature
Static OPF:
Gan and Low, JSAC 2016
Dall’Anese, Dhople and Giannakis, TPS 2016
Arnold et al, TPS 2016
A. Hauswirth, et al, Allerton 2016
Time-varying OPF:
Dall’Anese and Simonetto, TSG 2016
Wang et al, TPS 2016
Tang, Dvijotham and Low, TSG 2017
Tang and Low, CDC 2017
operational constraints
controllable uncontrollable capacity limits
devices state
OPF
operational constraints
capacity limits
OPF
operational constraints
capacity limits
OPF: eliminate y
f: nonconvex
Online (feedback) perspective
cyber
network
measurement,
control communication
x(t) y(t)
physical
network
active control
law of physics
Theorem
Theorem
static
OPF
drifting
OPF
Drifting OPF
Quasi-Newton algorithm:
active control
law of physics
control error
Theorem
Theorem
Theorem
Theorem
“condition number”
of Hessian
[Tang, Dj, & Low, TSG 2017]
Implementation
Implement L-BFGS-B
More scalable
Handles (box) constraints X
Simulations
IEEE 300 bus
Tracking performance
Examples
Slow timescale: OPF
Fast timescale: frequency control