generate/transmit/distribute operation: hierarchical & based on bulk generation things are changing . . . tems are changing . . . installations EVs ng share of renewables e changes uilding control mechanism changes 2 / 32
Goal: optimize operation Strategy: centralized & forecast 2. Secondary control (slower) Goal: maintain operating point Strategy: centralized 1. Primary control (fast) Goal: stabilization & load sharing Strategy: decentralized Is this top-to-bottom architecture based on bulk generation control still appropriate in tomorrow’s grid? 3 / 32
electronics scaling distributed generation transmission! distribution! generation! other paradigm shifts ems are changing ... nstallations Vs g share of renewables e changes ilding control echanism changes 4 / 32
uncertainty & less inertia more volatile & faster fluctuations pportunities re-instrumentation: comm & sensors and actuators throughout grid advances in control of cyber- physical & complex systems break vertical & horizontal hierarchy plug’n’play control: fast, model-free, & without central authority Power System 5 / 32
time-scale separations, & model-free . . . source # 1 … … … Power System source # n source # 2 Secondary Control Tertiary Control Primary Control Transceiver Secondary Control Tertiary Control Primary Control Transceiver Secondary Control Tertiary Control Primary Control Transceiver 6 / 32
circuit with harmonic waveforms Ei ei(θi +ω∗t) 2 loads demand constant power 3 coupling via Kirchhoff & Ohm Gij + i Bij i j P∗ i + i Q∗ i i injection = power flows 4 identical lines G/B = const. (equivalent to lossless case G/B = 0) 5 decoupling: Pi ≈ Pi (θ) & Qi ≈ Qi (E) (for simplicity of presentation) active power: Pi = j Bij Ei Ej sin(θi − θj ) + Gij Ei Ej cos(θi − θj ) reactive power: Qi = − j Bij Ei Ej cos(θi − θj ) + Gij Ei Ej sin(θi − θj ) 7 / 32
circuit with harmonic waveforms Ei ei(θi +ω∗t) 2 loads demand constant power 3 coupling via Kirchhoff & Ohm Gij + i Bij i j P∗ i + i Q∗ i i injection = power flows 4 identical lines G/B = const. (equivalent to lossless case G/B = 0) 5 decoupling: Pi ≈ Pi (θ) & Qi ≈ Qi (E) (for simplicity of presentation) trigonometric active power flow: Pi (θ) = j Bij sin(θi − θj ) polynomial reactive power flow: Qi (E) = − j Bij Ei Ej (not today) 7 / 32
arbitrarily detailed) 1 synchronous machines (swing dynamics) Mi ¨ θi = P∗ i + Pc i − Pi (θ) 2 DC & variable AC sources interfaced with voltage-source converters P∗ i + Pc i = Pi (θ) 3 controllable loads (voltage- and frequency-responsive) P∗ i + Pc i = Pi (θ) mech. torque electr. torque Eei(θ+ωt) Pi (θ) , Qi (E) Pi + i Qi Eei(θ+ωt) 8 / 32
coupled synchronous machines: Mi ¨ θ + Di ˙ θi = P∗ i − j Bij sin(θi − θj ) Conventional wisdom: physics are naturally stable & sync fre- quency reveals power imbalance P/ ˙ θ droop control: (ωi − ω∗) ∝ (P∗ i − Pi (θ)) Di ˙ θi = P∗ i − Pi (θ) Hz power supplied power consumed 50 49 51 52 48 ωsync = i P∗ i / i Di ωsync 9 / 32
physics Di ˙ θi = (P∗ i − Pi (θ)) droop control power balance: Pmech i = P∗ i + Pc i − Pi (θ) power flow: Pi (θ) = j Bij sin(θi − θj ) synchronous machines: Mi ¨ θi + Di ˙ θi = P∗ i − j Bij sin(θi − θj ) inverter sources: Di ˙ θi = P∗ i − j Bij sin(θi − θj ) controllable loads: Di ˙ θi = P∗ i − j Bij sin(θi − θj ) passive loads/inverters: 0 = P∗ i − j Bij sin(θi − θj ) 10 / 32
[J. Simpson-Porco, FD, & F. Bullo, ’12] ∃ unique & exp. stable frequency sync ⇐⇒ active power flow is feasible Main proof ideas and some further results: • synchronization frequency: ωsync = ω∗ + sources P∗ i + loads P∗ i sources Di (∝ power balance) • steady-state power injections: Pi = P∗ i (#i passive) P∗ i − Di (ωsync −ω∗) (#i active) (depend on Di & P∗ i ) • stability via incremental Lyapunov [Zhao, Mallada, & FD ’14, J. Schiffer & FD ’15] V(x) = kinetic energy + DAE potential energy + ε · Chetaev cross term 11 / 32
variations possible) minimize θ∈Tn , u∈RnI J(u) = sources αi u2 i subject to source power balance: P∗ i + ui = Pi (θ) load power balance: P∗ i = Pi (θ) branch flow constraints: |θi − θj | ≤ γij < π/2 Unconstrained case: identical marginal costs αi ui = αj uj at optimality In conventional power system operation, the economic dispatch is solved offline, in a centralized way, & with a model & load forecast In a grid with distributed energy resources, the economic dispatch should be solved online, in a decentralized way, & without knowing a model 13 / 32
algorithm Theorem: optimal droop [FD, Simpson-Porco, & Bullo ’13, Zhao, Mallada, & FD ’14] The following statements are equivalent: (i) the economic dispatch with cost coefficients αi is strictly feasible with global minimizer (θ , u ). (ii) ∃ droop coefficients Di such that the power system possesses a unique & locally exp. stable sync’d solution θ. If (i) & (ii) are true, then θi ∼θ i , ui =−Di (ωsync −ω∗), & Di αi = Dj αj . similar results for non-quadratic (strictly convex) cost & constraints similar results in transmission ntwks with DC flow [E. Mallada & S. Low, ’13] & [N. Li, L. Chen, C. Zhao, & S. Low ’13] & [X. Zhang & A. Papachristodoulou, ’13] & [M. Andreasson, D. V. Dimarogonas, K. H. Johansson, & H. Sandberg, ’13] & . . . 14 / 32
centralized automatic generation control (AGC) control area remainder control areas PT PL Ptie PG compatible with econ. dispatch [N. Li, L. Chen, C. Zhao, & S. Low ’13] isolated systems • decentralized PI control 342 − − − − + + + R ωref ∆ω ω Pm Pref KA ∆Pω Kω s 1 s Σ Σ Σ Figure 9.8 Supplementary control added to the turbine gover shown by the dashed line, consists of an integrating element which adds a c proportional to the integral of the speed (or frequency) error to the load ref modifies the value of the setting in the Pref circuit thereby shifting the sp in the way shown in Figure 9.7. Not all the generating units in a system that implements decentralized c with supplementary loops and participate in secondary control. Usually is globally stabilizing [C. Zhao, E. Mallada, & FD, ’14] 15 / 32
centralized automatic generation control (AGC) control area remainder control areas PT PL Ptie PG compatible with econ. dispatch [N. Li, L. Chen, C. Zhao, & S. Low ’13] isolated systems • decentralized PI control 342 − − − − + + + R ωref ∆ω ω Pm Pref KA ∆Pω Kω s 1 s Σ Σ Σ Figure 9.8 Supplementary control added to the turbine gover shown by the dashed line, consists of an integrating element which adds a c proportional to the integral of the speed (or frequency) error to the load ref modifies the value of the setting in the Pref circuit thereby shifting the sp in the way shown in Figure 9.7. Not all the generating units in a system that implements decentralized c with supplementary loops and participate in secondary control. Usually is globally stabilizing [C. Zhao, E. Mallada, & FD, ’14] centralized & not applicable to DER does not maintain economic optimality Distributed energy resources require distributed (!) secondary control. 15 / 32
distributed DAPI control decentralized PI control distributed DAPI control droop control decentralized PI & DAPI control regulate frequency 0 1 2 3 4 5 0 0.005 0.01 0.015 0.02 0.025 Time (sec) Total cost (pu) minimum integral control DAI distributed DAPI control decentralized PI control global minimum DAPI control minimizes cost with little effort ⇒ strictly convex & differentiable cost J(u) = sources Ji (ui ) ⇒ non-linear frequency droop curve Ji −1( ˙ θi ) = P∗ i − Pi (θ) ⇒ include dead-bands, saturation, etc. Å Å ã ã −1 −0.5 0 0.5 1 0 5 10 15 20 25 di ci (di ) −10 −5 0 5 10 −1 −0.5 0 0.5 1 ωi + λi di (ωi + λi ) injection droop c′ i −1(·) frequency cost ci (·) cost Ji (·) droop J′ i −1(·) 17 / 32
source # 1 … … … Power System source # n source # 2 Secondary Control Tertiary Control Primary Control Transceiver Secondary Control Tertiary Control Primary Control Transceiver Secondary Control Tertiary Control Primary Control Transceiver 18 / 32
@ Aalborg University DC Source LCL filter DC Source LCL filter DC Source LCL filter 4 DG DC Source LCL filter 1 DG 2 DG 3 DG Load 1 Load 2 12 Z 23 Z 34 Z 1 Z 2 Z 20 / 32
22s: load # 2 unplugged t = 36s: load # 2 plugged back t ∈ [0s, 7s]: primary & tertiary control t = 7s: secondary control activated ! "! #! $! %! &! "!! "&! #!! #&! $!! $&! %!! %&! &!! Reactive Power Injections Time (s) Power (VAR) ! "! #! $! %! &! #!! %!! '!! (!! "!!! "#!! A ctive Power Injection Time (s) Power (W) ! "! #! $! %! &! $!! $!& $"! $"& $#! $#& $$! Voltage Magnitudes Time (s) Voltage (V) ! "! #! $! %! &! %'(& %'() %'(* %'(+ %'(' &! &!(" Voltage Frequency Time (s) Frequency (Hz) DC Source LCL filter DC Source LCL filter DC Source LCL filter 4 DG DC Source LCL filter 1 DG 2 DG 3 DG Load 1 Load 2 12 Z 23 Z 34 Z 1 Z 2 Z 21 / 32
& phasor coordinates ⇒ future grids: more power electronics, more renewables, & less inertia ⇒ Virtual Oscillator Control: control inverters as limit cycle oscillators [Torres, Moehlis, & Hespanha ’12, Johnson, Dhople, Hamadeh, & Krein ’13] −4 −2 0 2 4 −4 −2 0 2 4 Voltage, v Current, i VOC stabilizes arbitrary waveforms to sinusoidal steady state Droop control only acts on sinusoidal steady state R C L g(v) v + - PWM oscillations stable sustained digitally implemented VOC 22 / 32
i = v C d dt v = −Rv − g(v) − i − igrid ⇒ normalized coordinates ¨ v +v +εk1g (v)· ˙ v = εk2u Li´ enard’s limit cycle condition for virtual oscillator with u = 0: if ε = L/C → 0 ⇒ O(ε) close to harmonic oscillator if damping g (v) is negative near origin & positive elsewhere ⇒ unique & stable limit cycle − + v v R L C ) v ( g deadzone Van der Pol v ˙ !" # # !" " " #$" % & !% !& " = 3 ǫ v ˙ !" # # !" " $ % !$ !% " g g 24 / 32
S. Dhople, ’14] −4 −2 0 2 4 −4 −2 0 2 4 Voltage, v Current, i VOC stabilizes arbitrary waveforms to sinusoidal steady state Droop control only acts on sinusoidal steady state − + v v R L C ) v ( g ⇒ transf. to polar coordinates, averaging, & generalized power definitions Thm: in vicinity of the limit cycle: VOC ⊃ droop: ˙ θ = constant · reactive power r − r∗ = constant · P∗ − active power 25 / 32
A. Hamadeh ’13] Nonlinear oscillators: passive circuit impedance zckt(s) active current source g(v) Co-evolving network: RLC network & loads are LTI Kron reduction: eliminate loads Stability analysis: homogeneity assumption: identical reduced oscillators Lure system formulation incremental IQC analysis sync for strong coupling ckt z − + ≡ g i ) v ( g v i 14 z 24 z Kron reduction 34 z 3 3 2 2 3 i 2 i − + 4 3 v − + 2 v 1 1 1 i 2 i 1 i 3 i − + 1 v − + 1 v − + 2 v − + 3 v 13 z 12 z 23 z F(Zckt (s), Yred (s)) g - v i 28 / 32
Competitive spot market: 1 given a prize λ, player i bids ui = argmin ui {Ji (ui ) − λui } = Ji −1(λ) 2 market clearing prize λ from 0 = i P∗ i + ui = i P∗ i + Ji −1(λ ) Auction (dual decomposition): 1 u+ i = argmin ui {Ji (ui ) − λui } = Ji −1(λ) 2 λ+ = λ− i P∗ i + u+ i = λ− ·ωsync ⇒ converges to optimal economic dispatch Broadcast controller: 1 convex measurement: k · ˙ λ(t) = i Ci ˙ θi (t) 2 local allocation: ui (t) = Ji −1(λ(t)) Time in [s] 2 4 6 8 10 Decentralized : Frequency Time in [s] 0 2 4 6 8 10 Frequency in [Hz] 59.2 59.4 59.6 59.8 60 60.2 60.4 60.6 60.8 DAI : Frequency Time in [s] 0 2 4 6 8 10 Frequency in [Hz] 59.2 59.4 59.6 59.8 60 60.2 60.4 60.6 60.8 Dual-Decomposition : Frequency Frequency in [Hz] 5 5 5 5 6 6 6 6 29 / 32
• economic dispatch optimization • experimental validation • beyond emulation & PID strategies ◦ primary virtual oscillator control ◦ markets turned into controllers ◦ control via online optimization Ongoing work & next steps • better models & sharper analysis • optimize transient control behavior • alternatives not based on emulation of synchronous machines & PID … … … source # i Secondary Control Tertiary Control Primary Control Transceiver … … … Power System 32 / 32