Top Banner
Optimal Demand Response and Power Flow Steven Low Computing + Math Sciences Electrical Engineering Caltech March 2012
77

Optimal Demand Response and Power Flow

Feb 23, 2016

Download

Documents

Jariah

Optimal Demand Response and Power Flow. Steven Low Computing + Math Sciences Electrical Engineering Caltech. March 2012. Worldwide e nergy demand: 16 TW electricity demand: 2.2 TW wind capacity (2009) : 159 GW grid-tied PV capacity ( 2009) : 21 GW. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimal Demand Response and Power Flow

Optimal Demand Responseand Power Flow

Steven LowComputing + Math Sciences

Electrical Engineering Caltech

March 2012

Page 2: Optimal Demand Response and Power Flow

Source: Renewable Energy Global Status Report, 2010Source: M. Jacobson, 2011

Wind power over land (exc. Antartica) 70 – 170 TW

Solar power over land340 TW

Worldwide

energy demand:16 TW

electricity demand:2.2 TW

wind capacity (2009):159 GW

grid-tied PV capacity (2009):21 GW

Page 3: Optimal Demand Response and Power Flow

High Levels of Wind and Solar PV Will Present an Operating Challenge!

Source: Rosa Yang, EPRI

Uncertainty

Page 4: Optimal Demand Response and Power Flow

ImplicationsCurrent control paradigm works well today

Low uncertainty, few active assets to control Centralized, open-loop, human-in-loop, worst-case

preventive Schedule supplies to match loads

Future needs Fast computation to cope with rapid, random, large

fluctuations in supply, demand, voltage, freq Simple algorithms to scale to large networks of

active DER Real-time data for adaptive control, e.g. real-time

DR

Page 5: Optimal Demand Response and Power Flow

Outline

Optimal demand response With L. Chen, L. Jiang, N. Li

Optimal power flow With S. Bose, M. Chandy, C. Clarke, M.

Farivar, D. Gayme, J. Lavaei

Page 6: Optimal Demand Response and Power Flow

Source: Steven Chu, GridWeek 2009

Page 7: Optimal Demand Response and Power Flow

Optimal demand responseModelResults

Uncorrelated demand: distributed alg Correlated demand: distributed alg Impact of uncertainty

Some refs:• Kirschen 2003, S. Borenstein 2005, Smith et al 2007• Caramanis & Foster 2010, 2011• Varaiya et al 2011• Ilic et al 2011

Page 8: Optimal Demand Response and Power Flow

Optimal demand responseModelResults

Uncorrelated demand: distributed alg Correlated demand: distributed alg Impact of uncertainty

• L Chen, N. Li, L. Jiang and S. H. Low, Optimal demand response. In Control & Optimization Theory of Electric Smart Grids, Springer 2011

• L. Jiang and S. H. Low, CDC 2011, Allerton 2011

Page 9: Optimal Demand Response and Power Flow

Features to captureWholesale markets

Day ahead, real-time balancing Renewable generation

Non-dispatchableDemand response

Real-time control (through pricing)

day ahead balancing renewable

utility

users

utility

users

Page 10: Optimal Demand Response and Power Flow

Model: userEach user has 1 appliance (wlog)

Attains utility ui(xi(t)) when consumes xi(t)

Demand at t:

Page 11: Optimal Demand Response and Power Flow

Model: LSE (load serving entity)

Power procurement Day-ahead power:

Control, decided a day ahead Renewable power:

Random variable, realized in real-time Real-time balancing power:

)()()()( tPtPtDtP drb

0)( ),( tPctP rrr

)( ),( tPctP bbb

capacity

energy

Page 12: Optimal Demand Response and Power Flow

Model: LSE (load serving entity)

Power procurement Day-ahead power:

Control, decided a day ahead Renewable power:

Random variable, realized in real-time Real-time balancing power:

)()()()( tPtPtDtP drb

0)( ),( tPctP rrr

)( ),( tPctP bbb

capacity

energy

Page 13: Optimal Demand Response and Power Flow

Model: LSE (load serving entity)

Power procurement Day-ahead power:

Control, decided a day ahead Renewable power:

Random variable, realized in real-time Real-time balancing power:

)()()()( tPtPtDtP drb

0)( ),( tPctP rrr

)( ),( tPctP bbb

capacity

energy

Page 14: Optimal Demand Response and Power Flow

Model: LSE (load serving entity)

Power procurement Day-ahead power:

Control, decided a day ahead Renewable power:

Random variable, realized in real-time Real-time balancing power:

)()()()( tPtPtDtP drb

0)( ),( tPctP rrr

)( ),( tPctP bbb

• Use as much renewable as possible• Optimally provision day-ahead power• Buy sufficient real-time power to balance demand

capacity

energy

Page 15: Optimal Demand Response and Power Flow

Simplifying assumption

No network constraints

Page 16: Optimal Demand Response and Power Flow

ObjectiveDay-ahead decision

How much power should LSE buy from day-ahead market?

Real-time decision (at t-) How much should users consume, given

realization of wind power and ?How to compute these decisions distributively?How does closed-loop system behave ?

dP

ixrP

t-t – 24hrs

available info:

decision: *dP *

ix

dP

Page 17: Optimal Demand Response and Power Flow

ObjectiveReal-time (at t-)

Given and realizations of , choose optimal to max social welfare

Day-ahead Choose optimal that maximizes expected

optimal social welfare*

dP

t-t – 24hrs

available info:

decision: *dP *

ix

Page 18: Optimal Demand Response and Power Flow

Optimal demand responseModel

Results Uncorrelated demand: distributed alg Correlated demand: distributed alg Impact of uncertainty

Page 19: Optimal Demand Response and Power Flow

Uncorrelated demand: T=1Each user has 1 appliance (wlog)

Attains utility ui(xi(t)) when consumes xi(t)

Demand at t:

drop t for this case

Page 20: Optimal Demand Response and Power Flow

Welfare functionSupply cost

Welfare function (random)

excess demand

user utility supply cost

Page 21: Optimal Demand Response and Power Flow

Welfare functionSupply cost

Welfare function (random)

excess demand

user utility supply cost

Page 22: Optimal Demand Response and Power Flow

Optimal operationWelfare function (random)

Optimal real-time demand response

Optimal day-ahead procurement

given realization of

Overall problem:

Page 23: Optimal Demand Response and Power Flow

Optimal operationWelfare function (random)

Optimal real-time demand response

Optimal day-ahead procurement

given realization of

Overall problem:

Page 24: Optimal Demand Response and Power Flow

Optimal operationWelfare function (random)

Optimal real-time demand response

Optimal day-ahead procurement

given realization of

Overall problem:

Page 25: Optimal Demand Response and Power Flow

Real-time DR vs scheduling Real-time DR:

Scheduling:

TheoremUnder appropriate assumptions:

benefit increases with• uncertainty • marginal real-time cost

Page 26: Optimal Demand Response and Power Flow

Algorithm 1 (real-time DR)

Active user i computes Optimal consumption

LSE computes Real-time “price” Optimal day-ahead energy to use Optimal real-time balancing energy

real-time DR

Page 27: Optimal Demand Response and Power Flow

Active user i :

inc if marginal utility > real-time price

LSE :

inc if total demand > total supply

Algorithm 1 (real-time DR)

• Decentralized• Iterative computation at t-

Page 28: Optimal Demand Response and Power Flow

Theorem: Algorithm 1Socially optimal

Converges to welfare-maximizing DR Real-time price aligns marginal cost of supply

with individual marginal utility

Incentive compatible max i’s surplus given price

Algorithm 1 (real-time DR)

Page 29: Optimal Demand Response and Power Flow

Algorithm 2 (day-ahead procurement)

Optimal day-ahead procurement

LSE:

calculated from Monte Carlo simulation of Alg 1

(stochastic approximation)

Page 30: Optimal Demand Response and Power Flow

Theorem

Algorithm 2 converges a.s. to optimal for appropriate stepsize

Algorithm 2 (day-ahead procurement)

Page 31: Optimal Demand Response and Power Flow

Optimal demand responseModel

Results Uncorrelated demand: distributed alg Correlated demand: distributed alg Impact of uncertainty

Page 32: Optimal Demand Response and Power Flow

Impact of renewable on welfare

mean

Renewable power:

zero-mean RV

Optimal welfare of (1+T)-period DP

Page 33: Optimal Demand Response and Power Flow

Impact of renewable on welfare

Theorem increases in a, decreases in b increases in s (plant size)

Page 34: Optimal Demand Response and Power Flow

With ramp rate costsDay-ahead ramp cost

Real-time ramp cost

Social welfare

Theorem increases in a, decreases in b increases in s (plant size)

Page 35: Optimal Demand Response and Power Flow

Outline

Optimal demand response With L. Chen, L. Jiang, N. Li

Optimal power flow With S. Bose, M. Chandy, C. Clarke, M.

Farivar, D. Gayme, J. Lavaei

Page 36: Optimal Demand Response and Power Flow

Optimal power flow (OPF) OPF is solved routinely to determine

How much power to generate where Market operation & pricing Parameter setting, e.g. taps, VARs

Non-convex and hard to solve Huge literature since 1962 In practice, operators often use heuristics to

find a feasible operating point Or solve DC power flow (LP)

Page 37: Optimal Demand Response and Power Flow

Optimal power flow (OPF)Problem formulation

Carpentier 1962Computational techniques:

Dommel & Tinney 1968 Surveys: Huneault et al 1991, Momoh et al 2001,

Pandya et al 2008Bus injection model (SDP formulation):

Bai et al 2008, 2009, Lavaei et al 2010 Bose et al 2011, Sojoudi et al 2011, Zhang et al 2011 Lesieutre et al 2011

Branch flow model Baran & Wu 1989, Chiang & Baran 1990, Farivar et al

2011

Page 38: Optimal Demand Response and Power Flow

Models

i j k

i j k

branchflow

bus injection

Page 39: Optimal Demand Response and Power Flow

Models: Kirchhoff’s law

linear relation:

Page 40: Optimal Demand Response and Power Flow

Outline: OPF

SDP relaxation Bus injection model

Conic relaxation Branch flow model

Application

Page 41: Optimal Demand Response and Power Flow

Bus injection model

Nodes i and j are linked with an admittance

Kirchhoff's Law:

Page 42: Optimal Demand Response and Power Flow

Classical OPFGeneration cost

Generation power constraints

Voltage magnitude constraints

Kirchhoff law

Power balance

Page 43: Optimal Demand Response and Power Flow

Classical OPFIn terms of V:

Key observation [Bai et al 2008]: OPF = rank constrained SDP

Page 44: Optimal Demand Response and Power Flow

Classical OPF

convex relaxation: SDP

Page 45: Optimal Demand Response and Power Flow

Semi-definite relaxationNon-convex QCQP

Rank-constrained SDP

Relax the rank constraint and solve the SDP

Does the optimal solution satisfy the rank-constraint?

We are done! Solution may notbe meaningful

yes no

Page 46: Optimal Demand Response and Power Flow

SDP relaxation of OPF

Lagrangemultipliers

Page 47: Optimal Demand Response and Power Flow

Sufficient conditionTheorem

If has rank n-1 then has rank 1, SDP relaxation is exact Duality gap is zero A globally optimal can be recovered

optA

All IEEE test systems (essentially) satisfy the condition!

J. Lavaei and S. H. Low: Zero duality gap in optimal power flow problem. Allerton 2010, TPS 2011

Page 48: Optimal Demand Response and Power Flow

OPF over radial networksSuppose tree (radial) network no lower bounds on power injectionsTheorem

always has rank n-1 always has rank 1 (exact relaxation) OPF always has zero duality gap Globally optimal solvable efficiently

optA

S. Bose, D. Gayme, S. H. Low and M. Chandy, OPF over tree networks.Allerton 2011

Page 49: Optimal Demand Response and Power Flow

OPF over radial networksSuppose tree (radial) network no lower bounds on power injectionsTheorem

always has rank n-1 always has rank 1 (exact relaxation) OPF always has zero duality gap Globally optimal solvable efficiently

optA

Also: B. Zhang and D. Tse, Allerton 2011 S. Sojoudi and J. Lavaei, submitted 2011

Page 50: Optimal Demand Response and Power Flow

QCQP over tree

graph of QCQP

QCQP

QCQP over tree

Page 51: Optimal Demand Response and Power Flow

QCQP over tree

Semidefinite relaxation

QCQP

Page 52: Optimal Demand Response and Power Flow

QCQP over tree

Key assumption

QCQP

Theorem Semidefinite relaxation is exact for QCQP over tree S. Bose, D. Gayme, S. H. Low and

M. Chandy, submitted March 2012

Page 53: Optimal Demand Response and Power Flow

OPF over radial networks

Theorem

always has rank n-1 always has rank 1 (exact relaxation) OPF always has zero duality gap Globally optimal solvable efficiently

optA

“no lower bounds”removes these

Page 54: Optimal Demand Response and Power Flow

OPF over radial networks

Theorem

always has rank n-1 always has rank 1 (exact relaxation) OPF always has zero duality gap Globally optimal solvable efficiently

optA

bounds on constraintsremove these

Page 55: Optimal Demand Response and Power Flow

Outline: OPF

SDP relaxation Bus injection model

Conic relaxation Branch flow model

Application

Page 56: Optimal Demand Response and Power Flow

Kirchhoff’s Law:

load - genlineloss

i j k

branch power

Branch flow model

Page 57: Optimal Demand Response and Power Flow

Kirchhoff’s Law:

i j k

branch power

Branch flow model

Ohm’s Law:

Page 58: Optimal Demand Response and Power Flow

Kirchoff’s Law:

Ohm’s Law:

OPF using branch flow model

real power loss CVR (conservationvoltage reduction)

Page 59: Optimal Demand Response and Power Flow

Kirchhoff’s Law:

Ohm’s Law:

OPF using branch flow model

Page 60: Optimal Demand Response and Power Flow

Kirchhoff’s Law:

Ohm’s Law:

OPF using branch flow model

demands

Page 61: Optimal Demand Response and Power Flow

Kirchhoff’s Law:

Ohm’s Law:

OPF using branch flow model

generationVAR control

Page 62: Optimal Demand Response and Power Flow

Solution strategyOPF

nonconvex

OPF-arnonconvex

OPF-crconvex

exactrelaxation

inverseprojection

for tree

anglerelaxation

conicrelaxation

Page 63: Optimal Demand Response and Power Flow

Ohm’s Law:

Angle relaxation

Kirchhoff’s Law:

Baran and Wu 1989for radial networks

Angles of Iij , Vi eliminated !Points relaxed to circles

Page 64: Optimal Demand Response and Power Flow

Baran and Wu 1989for radial networks

Angle relaxation

Page 65: Optimal Demand Response and Power Flow

OPF-ar

• Linear objective• Linear constraints• Quadratic equality

Page 66: Optimal Demand Response and Power Flow

Quadratic inequality

OPF-cr

Page 67: Optimal Demand Response and Power Flow

TheoremBoth relaxation steps are exact

OPF-cr is convex and exact Phase angles can be uniquely determined

OPF-ar has zero duality gap

M. Farivar, C. Clarke, S. H. Low and M. Chandy, Inverter VAR control for distribution systems with renewables. SmartGridComm 2011

OPF over radial networks

Page 68: Optimal Demand Response and Power Flow

What about mesh networks ??

M. Farivar and S. H. Low, submitted March 2012

Page 69: Optimal Demand Response and Power Flow

Solution strategyOPF

nonconvex

OPF-arnonconvex

OPF-crconvex

exactrelaxation

inverseprojection

for tree

anglerelaxation

conicrelaxation

??

Page 70: Optimal Demand Response and Power Flow

Kirchoff’s Law:

Ohm’s Law:

OPF using branch flow model

Page 71: Optimal Demand Response and Power Flow

Convexification of mesh networksOPF

OPF-ar

OPF-ps

Theorem• • Need phase shifters only outside spanning tree

Page 72: Optimal Demand Response and Power Flow

Key messageRadial networks computationally simple

Exploit tree graph & convex relaxation Real-time scalable control promising

Mesh networks can be convexified Design for simplicity Need few phase shifters (sparse topology)

Page 73: Optimal Demand Response and Power Flow

Application: Volt/VAR controlMotivation

Static capacitor control cannot cope with rapid random fluctuations of PVs on distr circuits

Inverter control Much faster & more frequent IEEE 1547 does not optimize

VAR currently (unity PF)

Page 74: Optimal Demand Response and Power Flow

Load and Solar Variation

Empirical distribution of (load, solar) for Calabash

Page 75: Optimal Demand Response and Power Flow

Improved reliabilityfor which problem is feasible

Implication: reduced likelihood of violating voltage limits or VAR flow constraints

Page 76: Optimal Demand Response and Power Flow

Energy savings

Page 77: Optimal Demand Response and Power Flow

Summary

• More reliable operation• Energy savings