Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power...

31
Fast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31

Transcript of Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power...

Page 1: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Fast Fingerprints for Power System Events

David Bindel

4 Aug 2016

David Bindel LBNL 4 Aug 2016 1 / 31

Page 2: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Reminder: AC Power

Voltages V (t) =√

2Vavg cos(ωt)

Currents I (t) =√

2Iavg cos(ωt + φ)

Power Pavg = VavgIavg cosφ

David Bindel LBNL 4 Aug 2016 2 / 31

Page 3: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Biggest Machine(s) in the World

David Bindel LBNL 4 Aug 2016 3 / 31

Page 4: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

SCADA: Supervisory Control and Data Acquisition

Non-synchronized measurements every 2–10 seconds

Report digital status and power flows

Complete observability in transmission grid

Voltages/currents inferred from power flows (state estimation)

Topology estimation co-evolved with state estimation

David Bindel LBNL 4 Aug 2016 4 / 31

Page 5: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Synchrophasors / Phasor Measurement Units (PMUs)

GPS-synchronized measurements and 10-30 reports per second

Directly report voltage and current angles/magnitudes

Really now coming into their own

First commercial PMU in 1992

Funding from American Recovery and Reinvestment Act of 2008

Now enough for partial observability in most places

We’re still figuring out what to do with them!

Model free system identification approaches (PMU only)

Dynamic state estimation / data fusion (PMUs + SCADA)

Today: topology update estimation from PMUs + SCADA

David Bindel LBNL 4 Aug 2016 5 / 31

Page 6: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Best of Both Worlds

Combine model-driven state estimates with PMU observations

Goal: Identify system (topology change) events(line outages, substation change, generator trips, ...)

Idea: Match PMU measurements E∆v to model predictions δvc

Need predictions for many possible changes c!

Each δvc depends on current state – constantly changing.

How can we do this fast?

David Bindel LBNL 4 Aug 2016 6 / 31

Page 7: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Power Flow Basics

Abstract power flow equation

H(v ;Y )− s = 0

In polar form: [H`

Hn+`

]=

n∑h=1

|v`||vh|[g`h b`h−b`h g`h

] [cos(θ`h)sin(θ`h)

],

with θ`h = θ` − θh and

s =[P1 · · · Pn Q1 · · · Qn

]T.

David Bindel LBNL 4 Aug 2016 7 / 31

Page 8: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Power Flows and PMUs

Power flow equationH(v ;Y )− s = 0

Measure Ev via PMUs (E ∈ {0, 1}m×n).

Suppose Ev shifts to Ev ′ = Ev + E∆v .

Goal: Map E∆v to change in topology (e.g. ∆Y ).

David Bindel LBNL 4 Aug 2016 8 / 31

Page 9: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Breaker, Breaker!

More detailed: breaker-level formulation

H(v ;Y ) + Cλ− s = 0

CT v = b

Equations in CT v = b have the form

vi − vj = 0 Equal voltage on bus sections

vi = bk Specified voltage at PV node

Can eliminate constraints if desired – but we don’t want to!

David Bindel LBNL 4 Aug 2016 9 / 31

Page 10: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Breaker, Breaker!

Breaker-level formulation

H(v ;Y ) + Cλ− s = 0

CT v = b

Notation:

x =

[vλ

], A =

[∂H∂v (v ;Y ) C

CT 0

], E =

[E 0

].

David Bindel LBNL 4 Aug 2016 10 / 31

Page 11: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Augmented Systems

Consider several possible topology changes:

Breaker closes in a substation (bus merge)

Breaker opens in a substation (bus split)

Load or generator trip

Line trip

Write each as an augmented power flow system.

David Bindel LBNL 4 Aug 2016 11 / 31

Page 12: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Example: Breaker Opening

Add a multiplier to “delete” previous constraint in C :

H(v ′;Y ) + Cλ′ − s = 0

CT v ′ + Fγ − b = 0

FTλ′ = 0

where F ∈ {0, 1}n×2 indicates voltage for “breakaway” segment.

David Bindel LBNL 4 Aug 2016 12 / 31

Page 13: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Example: Line Trip

After trip Y ′ = Y + ∆Y . H linear in Y , so:

H(v ′;Y ) + Uw + Cλ′ − s = 0

CT v ′ − b = 0

w − UTH(v ′; ∆Y ) = 0

where U ∈ {0, 1}n×4 indicates equations for end-point buses.1

1Can actually use three rather than four slack variables – see paper.David Bindel LBNL 4 Aug 2016 13 / 31

Page 14: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Strawman Method 0

For each possible topology update (and base case):

Compute predicted change ∆vpred

Compute mismatch µ = `(E∆vpred − E∆v)

Report (mismatch, update) pairs in descending order by mismatch.

Problem: Too many possible updates!

David Bindel LBNL 4 Aug 2016 14 / 31

Page 15: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Fast Fingerprints

Post-update systems linearized about pre-update state look like:[A UV T D

] [δxγ

]=

[d1d2

]For each possible update, estimate change to be Eδx .

Core matrix A does not change with updates – factor once

Border matrix and RHS do depend on updates

Solve bordered systems via a few solves with A

David Bindel LBNL 4 Aug 2016 15 / 31

Page 16: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Strawman Method 1

Save factorization of core matrix A

For each possible topology update (and base case):

Get linearized predicted change δvpred

Compute mismatch µ = `(Eδvpred − E∆v)

Report (mismatch, update) pairs in descending order by mismatch.

Problem: Too many possible updates! And maybe approximation error?

David Bindel LBNL 4 Aug 2016 16 / 31

Page 17: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Filtering

Care about some loss `(Eδx − E∆x), where[A UV T D

] [δxγ

]=

[d1d2

]Rewrite as

Eδv = EA−1(d1 − Uγ)

andU narrow and sparse =⇒(EA−1)U involves only a few columns of EA−1

David Bindel LBNL 4 Aug 2016 17 / 31

Page 18: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Partial Predictions

E∆v

µ m

EδvV

Find subspace Vc containing predictions Eδvc

Bound: subspace distance µ(c) ≤ mismatch m(c)

Sort events by ascending µ(c)

Check c1, . . . , ck until µ(ck+1) ≤ min1≤j≤k m(cj)

David Bindel LBNL 4 Aug 2016 18 / 31

Page 19: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Filter Effectiveness (IEEE 57-bus, line trips only)

0 10 20 30 40 50 60 70 80

Line number (sorted)

10−4

10−3

10−2

10−1

100

Approxim

ationerror

Blue squares are filter scores, red squares are actual mismatches.

David Bindel LBNL 4 Aug 2016 19 / 31

Page 20: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

But is it right?

Test scenarios (IEEE 57-bus network)

Three PMU deployments: everywhere, sparse, and single

With no noise or Gaussian noise (σ = 0.0017)

Consistent with largest phase angle error allowed by the synchrophasorstandard (0.1 degree)

Will show behavior with bad data later

David Bindel LBNL 4 Aug 2016 20 / 31

Page 21: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Line Failure Diagnosis (sparse, no noise)

0 10 20 30 40 50 60 70 80

Line number (sorted)

10−5

10−4

10−3

10−2

10−1

100

Approxim

ationerror

Green/yellow: scores for correctly/incorrectly diagnosed tripped lines.Black crosses: scores for other lines.

David Bindel LBNL 4 Aug 2016 21 / 31

Page 22: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Example: Hard Case in IEEE 57-bus

2426

27

28

(24,26) tripped, (26,27) chosen. Color/thickness by mismatch−1/2.PMU locations are highlighted in blue.

David Bindel LBNL 4 Aug 2016 22 / 31

Page 23: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: Line Failures

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

Single BF

David Bindel LBNL 4 Aug 2016 23 / 31

Page 24: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: Substation Reconfigurations

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

Single BF

David Bindel LBNL 4 Aug 2016 24 / 31

Page 25: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: Generator Trips

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

David Bindel LBNL 4 Aug 2016 25 / 31

Page 26: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: Load Trips

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

Single BF

David Bindel LBNL 4 Aug 2016 26 / 31

Page 27: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: All Contingencies

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

All

Sparse

Single

Single BF

David Bindel LBNL 4 Aug 2016 27 / 31

Page 28: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Bad Data Robustness via Huber

Experiments so far reflect `2 loss.

With outliers/bad data: use a more robust loss!

We use Huber with scale parameter 1.365 · 0.0017.

David Bindel LBNL 4 Aug 2016 28 / 31

Page 29: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

IEEE 57-bus: All Contingencies

1 2 3 4 5 6 7 8 9 10

Rank

0.0

0.2

0.4

0.6

0.8

1.0

FractionofTests

L2 Loss

Huber Loss

One PMU delivers 5 degree errors (sparse PMU deployment) + Gaussiannoise on all readings.

David Bindel LBNL 4 Aug 2016 29 / 31

Page 30: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Ongoing Related Efforts

Spectroscopic event identification (Eric Lee, Nate Rogalskyj)

Goal: Identify state from ringdown/ambient oscillations

Approach: Residual + bound generation similar to FLiER

SECURED: Synthetic regulating reserves (Eaton, CMU, ANL, LLNL)

Goal: Reduce regulating reserve req’ts to offset VER

Approach: Fast distribution-level coordinated demand response

GridCloud (Birman, WSU)

Goal: Fast, reliable cloud infrastructure to communicate PMU data

Approach: Replication for performance and reliability

David Bindel LBNL 4 Aug 2016 30 / 31

Page 31: Fast Fingerprints for Power System Eventsbindel/present/2016-08-lbnl.pdfFast Fingerprints for Power System Events David Bindel 4 Aug 2016 David Bindel LBNL 4 Aug 2016 1 / 31 Reminder:

Acknowledgements

FLiER: Practical Topology Update Detection Using Sparse PMUs.Ponce and Bindel, arXiv:1409.6644

David Bindel LBNL 4 Aug 2016 31 / 31