optimal power flow (opf) in large-scale power grid simulation wang... · contingency equipment...

52
Optimal Power Flow (OPF) in Large-scale Power Grid Simulation 06/24/2010 Cong Liu ([email protected]), Jianhui Wang, Jiaxin Ning Decision and Information Sciences Division Argonne National Laboratory

Upload: others

Post on 17-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Optimal Power Flow (OPF) in Large-scale Power Grid Simulation

06/24/2010

Cong Liu ([email protected]), Jianhui Wang, Jiaxin NingDecision and Information Sciences Division

Argonne National Laboratory

Page 2: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

2

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 3: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Introduction to optimal power flow

3

Decision and Information System Division

Applications Optimal production cost simulation with network

constraints Minimal network loss in power grid Market clearing and locational marginal price calculation

Mathematical formulation Continuous linear or nonlinear optimization problem Stochastic optimization

Algorithms Linear programming and successive linear programming Interior point method Quadratic programming Heuristic method

6/24/2010

Page 4: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Three challenges in optimal power flow

4

Decision and Information System Division

6/24/2010

Optimal power flow with post-contingency correction Difficulties: Huge number of contingency cases N-1…N-k

Optimal power flow with discrete control variables and two-stage mixed integer linear and nonlinear problem (MIP) Quick start units Discrete control variables in networks Smart grid operations (energy storages, transmission

switching) Optimal power flow considering other energy

infrastructures Security interdependency (eg., natural gas network) Coordinated operation and planning

Page 5: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

5

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 6: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Corrective and preventive actions in power system operations

Decision and Information System Division

)(xfMin

bxA S.t.

0),( yxg

0),( ccg yx

cxx

Unit commitment and economic dispatch constraints

Network constraints in normal state

Objective

Network constraints in each contingency

Transfer distance constraints (e.g. ramp rate limit)

0x*x

Xc

Xc

Xc

X 0

X*

Infeasible corrective action

Feasible corrective action

Preventive action

66/24/2010

Page 7: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

7

OPF for network check

OPF for network check

OPF for post-contingency correction

OPF for post-contingency correction

Unit CommitmentUnit Commitment

Contingency screening

Contingency screening

6/24/2010

Contingency Cases NumberWECC N-1 ~ 20,000

WECC N-2 ~154,000

WECC N-3 ~108

WECC N-4 ~1012

Huge number of contingencies Contingency screening (CS) Degree of severity

Inclusion of probability into CS Probability of outage

Optimal power flow (OPF) with post-contingency correction

Page 8: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Contingency screening

Decision and Information System Division

8

Extensive use of sparse linear algebra

Fast decoupled AC power flow

Compensation theory Branch outages can be considered as minor change of Y (B’ or B’’)

matrices. An efficient way is to add additional elements into matrices B’ and B’’.

UQBU

UPBθ 1)(1)( ][ ,][ kk

TMyMδBB

UPBMMBMyδMB

UPBθ 111111)( ][)][]([][][ TTk

6/24/2010

LDUY =

Page 9: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Contingency screening (CS)

Decision and Information System Division

9

Concentric relaxation or bounding An outage only has a limited geographical effect on steady-state

power flow.

1P1Q or 2P2Q method Multi-area power flow

Partitioning of admittance matrix

Consider probability of outage into CS It is difficult to consider all N-1 to N-k contingencies. We can define the better contingency list by considering

probability of outage. The probability of N-2 may be higher than some N-1 contingency.

Layer 0

Layer 1Layer 2

6/24/2010

Page 10: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

10

Calculate performance index and select contingencies

Calculate performance index and select contingencies

Parallelism for contingency screening

6/24/2010

Page 11: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Parallelism of OPF after dual or L-shaped decomposition

Decision and Information System Division

11

Contingency check can be implemented in a parallel way

Multi-area optimal power flow Relax power flow in the tie-line or voltage variables in the

boundary bus Dual decomposition by Lagrangian relaxation

6/24/2010

Area 1 Area 2

OPF or UCOPF or UC

OPF for post-contingency 1OPF for post-contingency 1

OPF for post-contingency 2OPF for post-contingency 2

OPF for post-contingency NOPF for post-contingency N

Page 12: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

12

Decision and Information System Division

I. Introduction and challenges in optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work at Argonne

6/24/2010

Page 13: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Optimal power flow with discrete variables

Decision and Information System Division

13

Discrete control variables in power network Quick- start unit, Transmission switching, transformer tap-changer,

capacitors, Smart grid flexible operations

Mixed integer linear or nonlinear programming (MIP) Optimal power flow with discrete control variables has a

similar mathematic structure to the unit commitment problem. Both of them are MIP.

Branch and cut method Mathematic decomposition (e.g. Benders decomposition)

6/24/2010

Page 14: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Two stage MIP

Decision and Information System Division

146/24/2010

OPF for network and contingency

OPF for network and contingency

Unit CommitmentUnit Commitment

Traditional Current

MIP MIP

Continuous linear or nonlinear programming

MIP

xc MinbxA

ccc hyFxE

First-stage constraints

Second-stage constraints for each contingency

Objective

S.t.

Original Problem

{ } { }n2m2cn1m1 0,1Ry0,1Rx ∈∈

Cuts

Page 15: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

L-shaped structure and decomposition

6/24/2010

Decision and Information System Division

15

Initial master problem (MIP)

Feasibility of corrective action check subproblems for each contingency

cTc S1xw ˆMin

S.t. xEhSyF ccccc ˆ≤ --

xc MinbxA S.t. A

E1

Ec

F1

Fc

x

y1

yc

b

g1

gc

L-shaped structure

Decomposition

Page 16: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Without quick-start units, second-stage subproblems are LP (or successive LP)

S.t. kc,kccccc πxEhSyF ˆ≤ --

cTkkc, S1xw ˆMin

0x-xEπxw kcTkc,kkc, ˆˆ

With quick-start units, second-stage subproblems are MIP, and its feasible region is non-convex.

0Iquick

1Iquick

Decision and Information System Division

6/24/2010

Global optimal solution

Page 17: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

With quick-start units, second-stage subproblems are MIP A straightforward approach is to enumerate all possible

combinations of quick-start units’ commitments in each contingency subproblem If the objective value is zero for at least one combination, this

subproblem is feasible, and no feasibility cut is necessary If objective values for all combinations are non-zero, this

subproblem is infeasible, and feasibility cuts are generated

S.t. kc,kccccc πxEhSyF ˆ≤+ -

cTkkc, S1xw ˆMin

n2cI

cI

cI 0,1yyy ˆ

0δ1Mx-xEπxw nkcTkc,kkc, ˆˆ

0Iquick

1Iquick

6/24/2010

Decision and Information System Division

Extended Benders decomposition for SCUC with post-contingency correction

1δn

n

Page 18: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Since the second stage subproblems may be feasible after post-contingency corrections, feasibility cuts are formed only in infeasibility case. Optimality cuts are not required in this two-stage MIP.

The process can be accelerated by using branch and cut method

0δ1Mx-xEπxw nkcTkc,kc, ˆˆ

1δn

n

Decision and Information System Division

6/24/2010

Extended Benders decomposition for SCUC with post-contingency correction (continued)

Page 19: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

A simple example

G310MW~40MW

G415MW~40MW

90MW

G140MW~80MW

G2 15MW~ 40MW

System

Contingency Equipment Outage Load (MW)

1 G3 85

2 L2 93L1 75MW

L2 75MW

Three different models and solutions for quick-start units in post-contingency correction subproblems

1) MIP-LP model: Relax integer variables in the second stage (approximation model). G2 and G4 (0~40MW)

2) Two-stage MIP model: solve MIP in the second stage. Then fix integer variables in thesecond stage and form cuts from resulted LP.

3) Two-stage MIP model: Extended Benders decomposition

Results:1) Infeasible for contingency correction 2) Suboptimal 3) Global optimal

Contingency

G1 and G3: they can be re-dispatched by 5 MW

G2 and G4: 30MW quick-start capability

1 2

Decision and Information System Division

6/24/2010

Page 20: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Other two stage MIP in power grid simulation

Decision and Information System Division

20

Dual decomposition and L-shaped (Benders) decomposition: pros and cons

Problem First Stage Second StageUC with network constraints UC Transmission constraints

Contingency-based SCUC UC with pre-contingency transmission constraints

Post- contingency transmission constraints

Two-stage stochastic SCUC Decision costs and constraints

Recourse costs and constraints

Two stage distribution network expansion

Decision of building new distribution line Reconfiguration

6/24/2010

Decompose by scenarios L-shaped decomposition

Page 21: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

21

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 22: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

22

Optimal power flow with other energy infrastructures

Natural gas transmission system Texas: 70% electricity are

generated by natural gas units Coordination between peaking

units and renewable energy

River and cascaded hydropower station Hydrothermal coordinated

scheduling

Transportation PHEV, Vehicle to Grid Coal, Oil transportation

Electricity infrastructure Smart grid Renewable energy

6/24/2010

Page 23: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Coupled energy flow

6/24/2010

Decision and Information System Division

23

Steady-state integrated model have been proposed in the last decade

Different energy flows travel via different speed through infrastructures Power flow: very small time constant Water flow: large time constant Natural gas flow: medium time constant transportation flow: medium time constant

Potential application: security monitoring, reliability evaluation, planning

Use dynamic model instead of steady-state linear or nonlinear algebraic equations

Page 24: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

24

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 25: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Summary and future work at Argonne Three challenges of optimal power flow in power grid

simulation are addressed.

Contingency screening method is nested into unit commitment and optimal power flow with post-corrective action. Contingency analysis and optimal power flow study can be extended to a large-scale power system with parallel computing. Probability of outage cloud be included into contingency screening process.

Decision and Information System Division

256/24/2010

Page 26: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Summary and future work at Argonne Discrete variables will bring more difficulties in

solving optimal power flow especially for two-stage MIP problems. Dual decomposition and L-shaped (Benders) decomposition techniques can be used to divide the original problem into several small-scale subproblems.

Energy infrastructures are highly coupled, it is envisioned that using an integrated method to model optimal power flow and other energy flows together is necessary.

Decision and Information System Division

266/24/2010

Page 27: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Reference

Decision and Information System Division

276/24/2010

[1] Jianhui Wang, Mohammad Shahidehpour, and Zuyi Li, “Contingency- Constrained Reserve Requirements in Joint Energy and Ancillary Services Auction,” IEEE Transactions on Power Systems, Vol.24, No.3, pp.1457-1468, Aug. 2009[2] Cong Liu, Mohammad Shahidehpour, Yong Fu and Zuyi Li “Security-Constrained Unit Commitment with Natural Gas Transmission Constraints,” IEEE Transactions on Power Systems, Vol. 24, No. 3, Aug. 2009.[3] Lei Wu, Mohammad Shahidehpour, and Cong Liu “MIP-based Post-Contingency Corrective Action with Quick-Start Units,” IEEE Transactions on Power Systems, Vol. 24, No. 4, Nov. 2009.[4] Cong Liu, Mohammad Shahidehpour, and Lei Wu, “Extended Benders Decomposition for Two-Stage SCUC,” IEEE Transactions on Power Systems, Vol. 25, No. 2, May. 2010.

Page 28: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Thank You for Attention!

Question?

Page 29: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

29

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 30: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Corrective and preventive actions in power system operations

Decision and Information System Division

)(xfMin

bxA S.t.

0),( yxg

0),( ccg yx

cxx

Unit commitment and economic dispatch constraints

Network constraints in normal state

Objective

Network constraints in each contingency

Transfer distance constraints (e.g. ramp rate limit)

0x*x

Xc

Xc

Xc

X 0

X*

Infeasible corrective action

Feasible corrective action

Preventive action

306/24/2010

Page 31: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

31

OPF for network check

OPF for network check

OPF for post-contingency correction

OPF for post-contingency correction

Unit CommitmentUnit Commitment

Contingency screening

Contingency screening

6/24/2010

Contingency Cases NumberWECC N-1 ~ 20,000

WECC N-2 ~154,000

WECC N-3 ~108

WECC N-4 ~1012

Huge number of contingencies Contingency screening (CS) Degree of severity

Inclusion of probability into CS Probability of outage

Optimal power flow (OPF) with post-contingency correction

Page 32: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Contingency screening

Decision and Information System Division

32

Extensive use of sparse linear algebra

Fast decoupled AC power flow

Compensation theory Branch outages can be considered as minor change of Y (B’ or B’’)

matrices. An efficient way is to add additional elements into matrices B’ and B’’.

UQBU

UPBθ 1)(1)( ][ ,][ kk

TMyMδBB

UPBMMBMyδMB

UPBθ 111111)( ][)][]([][][ TTk

6/24/2010

LDUY =

Page 33: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Contingency screening (CS)

Decision and Information System Division

33

Concentric relaxation or bounding An outage only has a limited geographical effect on steady-state

power flow.

1P1Q or 2P2Q method Multi-area power flow

Partitioning of admittance matrix

Consider probability of outage into CS It is difficult to consider all N-1 to N-k contingencies. We can define the better contingency list by considering

probability of outage. The probability of N-2 may be higher than some N-1 contingency.

Layer 0

Layer 1Layer 2

6/24/2010

Page 34: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

34

Calculate performance index and select contingencies

Calculate performance index and select contingencies

Parallelism for contingency screening

6/24/2010

Page 35: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Parallelism of OPF after dual or L-shaped decomposition

Decision and Information System Division

35

Contingency check can be implemented in a parallel way

Multi-area optimal power flow Relax power flow in the tie-line or voltage variables in the

boundary bus Dual decomposition by Lagrangian relaxation

6/24/2010

Area 1 Area 2

OPF or UCOPF or UC

OPF for post-contingency 1OPF for post-contingency 1

OPF for post-contingency 2OPF for post-contingency 2

OPF for post-contingency NOPF for post-contingency N

Page 36: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

36

Decision and Information System Division

I. Introduction and challenges in optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work at Argonne

6/24/2010

Page 37: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Optimal power flow with discrete variables

Decision and Information System Division

37

Discrete control variables in power network Quick- start unit, Transmission switching, transformer tap-changer,

capacitors, Smart grid flexible operations

Mixed integer linear or nonlinear programming (MIP) Optimal power flow with discrete control variables has a

similar mathematic structure to the unit commitment problem. Both of them are MIP.

Branch and cut method Mathematic decomposition (e.g. Benders decomposition)

6/24/2010

Page 38: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Two stage MIP

Decision and Information System Division

386/24/2010

OPF for network and contingency

OPF for network and contingency

Unit CommitmentUnit Commitment

Traditional Current

MIP MIP

Continuous linear or nonlinear programming

MIP

xc MinbxA

ccc hyFxE

First-stage constraints

Second-stage constraints for each contingency

Objective

S.t.

Original Problem

{ } { }n2m2cn1m1 0,1Ry0,1Rx ∈∈

Cuts

Page 39: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

L-shaped structure and decomposition

6/24/2010

Decision and Information System Division

39

Initial master problem (MIP)

Feasibility of corrective action check subproblems for each contingency

cTc S1xw ˆMin

S.t. xEhSyF ccccc ˆ≤ --

xc MinbxA S.t. A

E1

Ec

F1

Fc

x

y1

yc

b

g1

gc

L-shaped structure

Decomposition

Page 40: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Without quick-start units, second-stage subproblems are LP (or successive LP)

S.t. kc,kccccc πxEhSyF ˆ≤ --

cTkkc, S1xw ˆMin

0x-xEπxw kcTkc,kkc, ˆˆ

With quick-start units, second-stage subproblems are MIP, and its feasible region is non-convex.

0Iquick

1Iquick

Decision and Information System Division

6/24/2010

Global optimal solution

Page 41: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

With quick-start units, second-stage subproblems are MIP A straightforward approach is to enumerate all possible

combinations of quick-start units’ commitments in each contingency subproblem If the objective value is zero for at least one combination, this

subproblem is feasible, and no feasibility cut is necessary If objective values for all combinations are non-zero, this

subproblem is infeasible, and feasibility cuts are generated

S.t. kc,kccccc πxEhSyF ˆ≤+ -

cTkkc, S1xw ˆMin

n2cI

cI

cI 0,1yyy ˆ

0δ1Mx-xEπxw nkcTkc,kkc, ˆˆ

0Iquick

1Iquick

6/24/2010

Decision and Information System Division

Extended Benders decomposition for SCUC with post-contingency correction

1δn

n

Page 42: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Since the second stage subproblems may be feasible after post-contingency corrections, feasibility cuts are formed only in infeasibility case. Optimality cuts are not required in this two-stage MIP.

The process can be accelerated by using branch and cut method

0δ1Mx-xEπxw nkcTkc,kc, ˆˆ

1δn

n

Decision and Information System Division

6/24/2010

Extended Benders decomposition for SCUC with post-contingency correction (continued)

Page 43: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

A simple example

G310MW~40MW

G415MW~40MW

90MW

G140MW~80MW

G2 15MW~ 40MW

System

Contingency Equipment Outage Load (MW)

1 G3 85

2 L2 93L1 75MW

L2 75MW

Three different models and solutions for quick-start units in post-contingency correction subproblems

1) MIP-LP model: Relax integer variables in the second stage (approximation model). G2 and G4 (0~40MW)

2) Two-stage MIP model: solve MIP in the second stage. Then fix integer variables in thesecond stage and form cuts from resulted LP.

3) Two-stage MIP model: Extended Benders decomposition

Results:1) Infeasible for contingency correction 2) Suboptimal 3) Global optimal

Contingency

G1 and G3: they can be re-dispatched by 5 MW

G2 and G4: 30MW quick-start capability

1 2

Decision and Information System Division

6/24/2010

Page 44: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Other two stage MIP in power grid simulation

Decision and Information System Division

44

Dual decomposition and L-shaped (Benders) decomposition: pros and cons

Problem First Stage Second StageUC with network constraints UC Transmission constraints

Contingency-based SCUC UC with pre-contingency transmission constraints

Post- contingency transmission constraints

Two-stage stochastic SCUC Decision costs and constraints

Recourse costs and constraints

Two stage distribution network expansion

Decision of building new distribution line Reconfiguration

6/24/2010

Decompose by scenarios L-shaped decomposition

Page 45: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

45

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 46: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Decision and Information System Division

46

Optimal power flow with other energy infrastructures

Natural gas transmission system Texas: 70% electricity are

generated by natural gas units Coordination between peaking

units and renewable energy

River and cascaded hydropower station Hydrothermal coordinated

scheduling

Transportation PHEV, Vehicle to Grid Coal, Oil transportation

Electricity infrastructure Smart grid Renewable energy

6/24/2010

Page 47: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Coupled energy flow

6/24/2010

Decision and Information System Division

47

Steady-state integrated model have been proposed in the last decade

Different energy flows travel via different speed through infrastructures Power flow: very small time constant Water flow: large time constant Natural gas flow: medium time constant transportation flow: medium time constant

Potential application: security monitoring, reliability evaluation, planning

Use dynamic model instead of steady-state linear or nonlinear algebraic equations

Page 48: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Outline

48

Decision and Information System Division

I. Introduction and challenges of optimal power flow

II. Three topics on optimal power flow

Optimal power flow with post-contingency correction

Optimal power flow with discrete control variables and two stage MIP

Optimal power flow considering other energy infrastructures

III. Summary and future work

6/24/2010

Page 49: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Summary and future work at Argonne Three challenges of optimal power flow in power grid

simulation are addressed.

Contingency screening method is nested into unit commitment and optimal power flow with post-corrective action. Contingency analysis and optimal power flow study can be extended to a large-scale power system with parallel computing. Probability of outage cloud be included into contingency screening process.

Decision and Information System Division

496/24/2010

Page 50: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Summary and future work at Argonne Discrete variables will bring more difficulties in

solving optimal power flow especially for two-stage MIP problems. Dual decomposition and L-shaped (Benders) decomposition techniques can be used to divide the original problem into several small-scale subproblems.

Energy infrastructures are highly coupled, it is envisioned that using an integrated method to model optimal power flow and other energy flows together is necessary.

Decision and Information System Division

506/24/2010

Page 51: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Reference

Decision and Information System Division

516/24/2010

[1] Jianhui Wang, Mohammad Shahidehpour, and Zuyi Li, “Contingency- Constrained Reserve Requirements in Joint Energy and Ancillary Services Auction,” IEEE Transactions on Power Systems, Vol.24, No.3, pp.1457-1468, Aug. 2009[2] Cong Liu, Mohammad Shahidehpour, Yong Fu and Zuyi Li “Security-Constrained Unit Commitment with Natural Gas Transmission Constraints,” IEEE Transactions on Power Systems, Vol. 24, No. 3, Aug. 2009.[3] Lei Wu, Mohammad Shahidehpour, and Cong Liu “MIP-based Post-Contingency Corrective Action with Quick-Start Units,” IEEE Transactions on Power Systems, Vol. 24, No. 4, Nov. 2009.[4] Cong Liu, Mohammad Shahidehpour, and Lei Wu, “Extended Benders Decomposition for Two-Stage SCUC,” IEEE Transactions on Power Systems, Vol. 25, No. 2, May. 2010.

Page 52: Optimal Power Flow (OPF) in Large-scale Power Grid Simulation Wang... · Contingency Equipment Outage Load (MW) 1G3 85 2L2 93 L1 75MW L2 75MW Three different models and solutions

Thank You for Attention!

Question?