Chance-Constrained AC Optimal Power Flow: Modelling and Solution - - PowerPoint PPT Presentation

chance constrained ac optimal power flow modelling and
SMART_READER_LITE
LIVE PREVIEW

Chance-Constrained AC Optimal Power Flow: Modelling and Solution - - PowerPoint PPT Presentation

Chance-Constrained AC Optimal Power Flow: Modelling and Solution Approaches Line A. Roald UW Madison ICERM, June 27, 2019 Power Line! Power Line. Joint work with Sidhant Misra (LANL), Tillmann Mhlpfordt (KIT) and Gran Andersson (ETH)


slide-1
SLIDE 1

Line A. Roald UW Madison ICERM, June 27, 2019

Power Line! Power Line.

Chance-Constrained AC Optimal Power Flow: Modelling and Solution Approaches

slide-2
SLIDE 2

Joint work with Sidhant Misra (LANL), Tillmann Mühlpfordt (KIT) and Göran Andersson (ETH)

slide-3
SLIDE 3

Wind power in Germany

4 GW

4 days

slide-4
SLIDE 4

Impact of uncertainty

Non-Linear Network

slide-5
SLIDE 5

What’s the problem?

Chance-constrained AC Optimal Power Flow

slide-6
SLIDE 6

What’s the problem?

Chance-constrained AC Optimal Power Flow

security against uncertain injections

slide-7
SLIDE 7

What’s the problem?

Chance-constrained AC Optimal Power Flow

accurate system model non-linear equations → non-convex constraints security against uncertain injections

slide-8
SLIDE 8

What’s the problem?

Chance-constrained AC Optimal Power Flow

accurate system model non-linear equations → non-convex constraints

  • ptimality =

economic efficiency security against uncertain injections

slide-9
SLIDE 9

What’s the problem?

Chance-constrained AC Optimal Power Flow

  • ptimality =

economic efficiency security against uncertain injections

Methods to guarantee both chance-constraint feasibility and optimality subject to non-linear AC constraints?

slide-10
SLIDE 10

What’s the problem?

Robust and Stochastic AC Optimal Power Flow

  • ptimality =

economic efficiency security against uncertain injections

Methods to guarantee both chance-constraint feasibility and optimality subject to non-linear AC constraints?

scalable!

slide-11
SLIDE 11

A brief overview of literature on AC OPF with uncertainty

  • Worst-case scenario for non-convex AC OPF
  • No guarantees due to non-convexity
  • Linearization of AC power flow equations
  • Accurate only close to linearization point
  • Chance-constrained polynomial chaos expansion
  • Scalability and good reformulations
  • SDP-based chance-constraint reformulations
  • Scalability !!!
  • Convex relaxation + linearization of voltage products
  • Are not exact
  • Convex inner approximations
  • Does not handle equality constraints = requires controllable injections at every bus
  • Convex relaxation + two/multi-stage robust program
  • Lower bound (no guarantees)
  • Robust bounds on uncertainty impact
  • Upper bounds (?)

[Dall’Anese, Baker & Summers ‘16], [Roald & Andersson ‘17], [Lubin, Dvorkin, Roald, ‘19] … [Vrakopoulou at al, ‘13], [Venzke et al ‘17] [Louca & Bitar ‘17], [Misra et al, 2017] [Nasri, Kazempour, Conejo, & Ghandhari ‘16] [Phan & Ghosh ‘14], [Lorca & Sun ‘17] [Capitanescu, Fliscounakis, Panciatici, & Wehenkel ‘12] [Molzahn and Roald ‘18], [Molzahn and Roald ‘19] [Mühlpfort, Roald, Hagenmeyer, Faulwasser & Misra, preprint] [Weisser, Roald & Misra, preprint]

(There is not a lot…)

slide-12
SLIDE 12

Outline

  • A complicated model
  • A simple chance constraint
  • Solution approaches
slide-13
SLIDE 13

Renewable energy uncertainty

  • Changes in power generation 𝒒𝒋𝒐𝒌

due to renewable forecast errors 𝝏:

𝒒𝒋𝒐𝒌 𝝏 = ' 𝒒𝒋𝒐𝒌 + 𝝏

  • Assumptions on 𝜕 :
  • Known and finite

𝜈,, Σ,

mean and covariance

  • Reactive power changes:

𝒓𝒋𝒐𝒌 𝝏 = ' 𝒓𝒋𝒐𝒌 + 𝜹𝝏

slide-14
SLIDE 14

Network model

  • AC power flow equations: Conservation of power at each node

𝑞2 𝜕 , 𝑟2 𝜕 𝑤 𝜕 , 𝜄2 𝜕

slide-15
SLIDE 15
  • Affine recourse policy for

active power balancing

  • Constant voltage magnitudes

at generators

Recourse actions

(we would like to optimize 𝛽)

slide-16
SLIDE 16

AC Optimal Power Flow Formulation

Cost for expected operating point Generation and voltage control policies Generation, voltage and transmission limits AC power flow equations

slide-17
SLIDE 17

Chance-constrained AC Optimal Power Flow

Cost for expected operating point ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 Single chance constraints for generation, voltage and transmission limits AC power flow equations Robust Generation and voltage control policies

slide-18
SLIDE 18

Chance-constrained AC Optimal Power Flow

AC power flow equations Robust

Why robust power flow equations?

If the power flow equations are not satisfied, the model does not make sense.

slide-19
SLIDE 19

Chance-constrained AC Optimal Power Flow

AC power flow equations Robust

How robust power flow equations?

slide-20
SLIDE 20

Chance-constrained AC Optimal Power Flow

Convex restriction = convex inner approximation Convex quadratic constraints

D Lee, HD Nguyen, K Dvijotham, K Turitsyn, “Convex restriction of AC power flow feasibility set”, arXiv preprint arXiv:1803.00818 D Lee, K Turitsyn, D K Molzahn, L Roald, “Feasible Path Identification in Optimal Power Flow with Sequential Convex Restriction”, https://arxiv.org/abs/1906.09483

How robust power flow equations?

slide-21
SLIDE 21

Chance-constrained AC Optimal Power Flow

Cost for expected operating point ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 Single chance constraints for generation, voltage and transmission limits AC power flow equations Robust Generation and voltage control policies

slide-22
SLIDE 22

Chance-constrained AC Optimal Power Flow

ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 Single chance constraints for generation, voltage and transmission limits

Why single chance constraints?

Modelling perspective:

Joint – probability of having a peaceful afternoon at work Single – easier to assign risk to certain components

Solution perspective:

Joint – computational tractability, conservativeness Single – easier, less safe

slide-23
SLIDE 23

Chance-constrained AC Optimal Power Flow

ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 ℙ ≥ 1 − 𝜻 Single chance constraints for generation, voltage and transmission limits

Why single chance constraints?

Many constraints

~ 16 million for a realistic system (Polish test case with security constraints)

High dimensional 𝝏

~ 941 uncertain loads (Polish test case)

Possible to control joint violation probability using single constraints

slide-24
SLIDE 24

Outline

  • A complicated model
  • A simple chance constraint
  • Solution approaches
slide-25
SLIDE 25

Moment-based Reformulation

ℙ 𝑗 𝑦, 𝜕 ≤ 𝑗?@A ≥ 1 − 𝜗 𝝂𝒋(𝒚, 𝝏) + 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏) ≤ 𝑗?@A Exact reformulation if 𝜕 ~ 𝒪 𝜈, , Σ, and 𝜍 𝜗 = ΦLM(1 − 𝜗)

slide-26
SLIDE 26

Moment-based Reformulation

ℙ 𝑗 𝑦, 𝜕 ≤ 𝑗?@A ≥ 1 − 𝜗 𝝂𝒋(𝒚, 𝝏) + 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏) ≤ 𝑗?@A Exact reformulation if 𝜕 ~ 𝒪 𝜈, , Σ, and 𝜍 𝜗 = ΦLM(1 − 𝜗)

Data is NOT normally distributed…

[Roald, Oldewurtel, Van Parys & Andersson, arxiv ‘15]

Bad news!

slide-27
SLIDE 27

Moment-based Reformulation

ℙ 𝑗 𝑦, 𝜕 ≤ 𝑗?@A ≥ 1 − 𝜗 𝝂𝒋(𝒚, 𝝏) + 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏) ≤ 𝑗?@A Exact reformulation if 𝜕 ~ 𝒪 𝜈, , Σ, and 𝜍 𝜗 = ΦLM(1 − 𝜗) In practice, normal distributions seem to provide very reasonable approximations

Concentration (?)

Good news!

[Roald, Misra, Krause Andersson, 2017]

slide-28
SLIDE 28

Moment-based Reformulation

ℙ 𝑗 𝑦, 𝜕 ≤ 𝑗?@A ≥ 1 − 𝜗 𝝂𝒋(𝒚, 𝝏) + 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏) ≤ 𝑗?@A Exact reformulation if 𝜕 ~ 𝒪 𝜈, , Σ, and 𝜍 𝜗 = ΦLM(1 − 𝜗) We can derive (conservative) values for 𝜍(𝜗) for (families of) non-normal distributions which share the mean and covariance 𝜈, , Σ,

Unimodality, …

Good news!

slide-29
SLIDE 29

Interpretability

𝝂𝒋(𝒚, 𝝏) + 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏) ≤ 𝑗?@A 𝝂𝒋 𝒚, 𝝏 ≤ 𝑗?@A − 𝜍(𝜗)𝝉𝒋(𝒚, 𝝏)

deterministic constraint “uncertainty margin”

How do I find 𝝂𝒋 𝒚, 𝝏 and 𝝉𝒋(𝒚, 𝝏)?

slide-30
SLIDE 30
  • 1. Linearize the AC power flow

Determininistic AC OPF solution Linearization

[Dall’Anese, Baker & Summers ‘16], [Lubin, Dvorkin & Roald ‘18], …

𝑤 𝑦, 𝜕 ≈ 𝑤 𝑦O, 0 +

QR QA | AT,O (𝑦 − 𝑦O) + QR Q, | AT,O 𝜕

𝜈R 𝑦, 𝜕 ≈ 𝑤 𝑦O, 0 +

QR QA | AT,O (𝑦 − 𝑦O)

𝜏R 𝑦, 𝜕 ≈

QR Q, | AT,O

Σ,

QR Q, | AT,O V

Taylor expansion for 𝑦 and 𝜕

slide-31
SLIDE 31
  • 2. Partially linearize the AC power flow

AC OPF solution for 𝜕 = 0 Linearization

[Schmidli, Roald, Chatzivasileiadis and Andersson ‘16] [Roald and Andersson ‘18]

𝑤 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 +

QR Q, | AT,O 𝜕

𝜈R 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 𝜏R 𝑦, 𝜕 ≈

QR Q, | AT,O

Σ,

QR Q, | AT,O V

Taylor expansion for 𝑦 and 𝜕

slide-32
SLIDE 32
  • 2. Partially linearize the AC power flow

AC OPF solution for 𝜕 = 0

[Schmidli, Roald, Chatzivasileiadis and Andersson ‘16] [Roald and Andersson ‘18]

𝑤 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 +

QR Q, | AT,O 𝜕

𝜈R 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 𝜏R 𝑦, 𝜕 ≈

QR Q, | AT,O

Σ,

QR Q, | AT,O V

Taylor expansion for 𝑦 and 𝜕 Linearization

slide-33
SLIDE 33
  • 2. Partially linearize the AC power flow

AC OPF solution for 𝜕 = 0

[Schmidli, Roald, Chatzivasileiadis and Andersson ‘16] [Roald and Andersson ‘18]

𝑤 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 +

QR Q, | AT,O 𝜕

𝜈R 𝑦, 𝜕 ≈ 𝑤 𝑦, 0 𝜏R 𝑦, 𝜕 ≈

QR Q, | AT,O

Σ,

QR Q, | AT,O V

Taylor expansion for 𝑦 and 𝜕 Linearization

slide-34
SLIDE 34
  • 3. Polynomial Chaos Expansion

AC OPF solution 𝑞(𝜕)

[Mühlpfort, Roald, Hagenmeyer, Faulwasser and Misra, accepted, ‘19]

  • 1. Build a polynomial basis based on
  • rthogonal polynomials from random

variables

  • 2. Express power flow and decision

variables in terms of basis polynomials with unknown coefficients

  • 3. Truncate at finite dimension
  • 4. Solve optimal power flow with

polynomials as constraints

slide-35
SLIDE 35
  • 3. Polynomial Chaos Expansion

[Mühlpfort, Roald, Hagenmeyer, Faulwasser and Misra, accepted ‘19]

  • 1. Build a polynomial basis based on
  • rthogonal polynomials from random

variables

  • 2. Express power flow and decision

variables in terms of basis polynomials with unknown coefficients

  • 3. Truncate at finite dimension
  • 4. Solve optimal power flow with

polynomials as constraints Similar structure as power flow equations… JUST MANY MORE!

When can we truncate?

slide-36
SLIDE 36
  • 3. Polynomial Chaos Expansion
  • 1. Build a polynomial basis based on
  • rthogonal polynomials from random

variables

  • 2. Express power flow and decision

variables in terms of basis polynomials with unknown coefficients

  • 3. Truncate at finite dimension
  • 4. Solve optimal power flow with

polynomials as constraints

[Mühlpfort, Roald, Hagenmeyer, Faulwasser and Misra, accepted ‘19]

PCE bases of degree 2 (quadratic polynomials) already provide good results.

slide-37
SLIDE 37

Comparison

1. Linearize the AC power flow

++ Computational speed

  • -

Inaccuracy

2. Partially linearize the AC power flow

+

Easy to compute moments, + Computational speed

  • (less) inaccuracy

3. Polynomial Chaos Expansion

+

Efficient computation of moments + Accuracy

  • -

Computational tractability (limited to small systems/ few uncertainty sources)

slide-38
SLIDE 38

Comparison

1. Linearize the AC power flow

++ Computational speed

  • -

Inaccuracy

2. Partially linearize the AC power flow

+

Easy to compute moments, + Computational speed

  • (less) inaccuracy

3. Polynomial Chaos Expansion

+

Efficient computation of moments + Accuracy

  • -

Computational tractability (limited to small systems/ few uncertainty sources)

Provide good approximations. Linearization error ≈ Distribution error

In-sample testing (normal distribution) Out-of-sample testing (non-normal)

slide-39
SLIDE 39

Comparison

1. Linearize the AC power flow

++ Computational speed

  • -

Inaccuracy

2. Partially linearize the AC power flow

+

Easy to compute moments, + Computational speed

  • (less) inaccuracy

3. Polynomial Chaos Expansion

+

Efficient computation of moments + Accuracy

  • -

Computational tractability (limited to small systems/ few uncertainty sources)

Provide good approximations. How much better is Polynomial Chaos Expansion?

slide-40
SLIDE 40

Errors in Polynomial Chaos and Linearized AC

Linearized AC generally at least one order of magnitude larger errors. Linearized AC introduces errors in estimating the mean!

slide-41
SLIDE 41

Errors in Polynomial Chaos and Linearized AC

Linearized AC generally at least one order of magnitude larger errors. Linearized AC introduces errors in estimating the mean! Polynomial chaos provides better (but not perfect) approximation of chance constraints.

slide-42
SLIDE 42

Outline

  • A complicated model
  • A simple chance constraint
  • Solution approaches
slide-43
SLIDE 43

Interpretation as constraint tightening

𝑗 𝑦, 0 + 𝑔 1 − 𝜁 𝑒𝑗,Σ,𝑒𝑗, ≤ 𝑗?@A 𝑗 𝑦, 0 ≤ 𝑗?@A − 𝑔 1 − 𝜁 𝑒𝑗,Σ,𝑒𝑗,

Deterministic constraint “Uncertainty margin”

slide-44
SLIDE 44

Interpretation as constraint tightening

min

]^

∑2∈𝒣 𝑑c,2𝑞d,2

c + 𝑑M,2 𝑞d,2 + 𝑑O,2

s.t. 𝑔 𝜄, 𝑤, 𝑞, 𝑟 = 0, ∀ 𝜕 ∈ 𝑉

𝑞d ≤ 𝑞d

?@A − ΦLM(1 − 𝜗) ℎ](𝑦)ΣklRℎ] 𝑦 V

𝑞d ≥ 𝑞d

?2m + ΦLM(1 − 𝜗) ℎ] 𝑦 ΣklRℎ] 𝑦 V

𝑗 ≤ 𝑗?@A − ΦLM(1 − 𝜗) ℎn 𝑦 ΣklRℎn 𝑦 V 𝑤 ≤ 𝑤?@A − ΦLM(1 − 𝜗) ℎo 𝑦 ΣklRℎo 𝑦 V 𝑤 ≥ 𝑤?2m + ΦLM(1 − 𝜗) ℎo 𝑦 ΣklRℎo 𝑦 V

Deterministic constraints “Uncertainty margins”

slide-45
SLIDE 45

An efficient iterative algorithm

  • Main idea: Separate optimization and uncertainty assessment

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = 𝑔 1 − 𝜁 𝑒𝑗,Σ,𝑒𝑗, Tightening Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): Converged to safe solution when 𝜇2

q − 𝜇2 qLM ≤ 𝜃

Constraint

slide-46
SLIDE 46

An efficient iterative algorithm

  • Main idea: Separate optimization and uncertainty assessment

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = 𝑔 1 − 𝜁 𝑒𝑗,Σ,𝑒𝑗, Tightening Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): Converged to safe solution when 𝜇2

q − 𝜇2 qLM ≤ 𝜃

Use your favorite AC OPF solver!

slide-47
SLIDE 47

An efficient iterative algorithm

  • Main idea: Separate optimization and uncertainty assessment

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = Robust, Monte Carlo … Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): Converged to safe solution when 𝜇2

q − 𝜇2 qLM ≤ 𝜃

Use any method for uncertainty quantification! Robust bounds on uncertainty impact: 𝜇 = max

,∈u 𝑗(𝑦, 𝜕)

[Molzahn and Roald, PSCC ‘18], [Molzahn and Roald, HICSS ‘18]

slide-48
SLIDE 48

An efficient iterative algorithm

  • Main idea: Separate optimization and uncertainty assessment

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = Robust, Monte Carlo … Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): Converged to safe solution when 𝜇2

q − 𝜇2 qLM ≤ 𝜃

No guarantees for convergence

[Roald, Molzahn, Tobler ‘17]

No guarantees for optimality But works surprisingly well!

[Roald and Andersson ‘17]

slide-49
SLIDE 49

An efficient iterative algorithm

  • Main idea: Separate optimization and uncertainty assessment

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = Robust, Monte Carlo … Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): Converged to safe solution when 𝜇2

q − 𝜇2 qLM ≤ 𝜃

No guarantees for convergence

[Roald, Molzahn, Tobler ‘17]

No guarantees for optimality But works surprisingly well!

[Roald and Andersson ‘17]

slide-50
SLIDE 50

Practical chance constraint implementation

  • Implementation tested on the European Grid!

𝑗 𝒚, 0 ≤ 𝑗?@A − 𝜇2 𝜇2 = Monte Carlo … Initialize: 𝜇2 = 0 Solve deterministic AC OPF (𝜇2 fixed): Evaluate tightening 𝜇2 (𝑦 fixed): More safe solution than before!

www.e-umbrella.eu

slide-51
SLIDE 51