ECE 5314: Power System Operation & Control: Vassilis Kekatos
ECE 5314: Power System Operation & Control: Vassilis Kekatos
Vassilis Kekatos
Lecture 11 V. Kekatos 1
Power system monitoring
Critical for
• situational awareness
• contingency analysis
• load forecasting
• economic operations
• billing
Lecture 11 V. Kekatos 2
Power system state estimation (PSSE)
Problem: given meter readings and grid parameters, find actual state v
Figure: Left: actual state. Right: Measurements in red; use only {P12 , P32 } to find
state (θ̂1 , θ̂2 ) via PF equations; estimated quantities in blue.
zm = hm (v) + m , m = 1, . . . , M
• M : number of measurements
Lecture 11 V. Kekatos 4
Introduction to estimation theory
2 2
e.g., if m ∼ N 0, σm =⇒ zm ∼ N hm (v), σm
(zm − hm (v))2
1
p(zm ) = √ · exp − 2
2
2πσm 2σm
• If {m }M M
m=1 are independent, then {zm }m=1 are independent
M
Y
p(z; v) = p(zm ; v)
m=1
Lecture 11 V. Kekatos 5
Maximum Likelihood Estimator (MLE)
Find the v that maximizes the likelihood function for the observed z
M
Y
max p(z; v) = p(zm ; v)
v
m=1
2
For Gaussian noise m ∼ N (0, σm ), the MLE becomes
M
X 1
v̂ = arg min 2
(zm − hm (v))2
v
m=1
2σm
Lecture 11 V. Kekatos 6
Weighted least-squares (WLS)
M
X 1
v̂WLS = arg min 2
(zm − hm (v))2
v
m=1
2σm
>
with h(v) := [h1 (v) . . . hM (v)]
zm hm (v)
• Let us ignore weights wlog; replace zm → σm
and hm (v) → σm
F. C. Schweppe et al, “Power System Static-State Estimation, Part I-III,” IEEE Trans. Power
Apparatus and Systems, Vol. PAS-89, No. 1, Jan. 1970.
Lecture 11 V. Kekatos 7
Phasor measurement units (PMUs)
PMUs are linear functions of the state v (if state in rectangular coordinates)!
zk = Vn + k = e>
n v + k
P
• Measurement of injection current Im = n∼m Imn
zk = h>
k v + k
A. Phadke – J. Thorp, ‘Synchronized phasor measurements and their applications.’ Springer, 2008.
Lecture 11 V. Kekatos 8
Linear WLS estimator
• Collect measurement vectors hk ’s as rows of matrix H
z = Hv +
min kz − Hvk22
v
Lecture 11 V. Kekatos 9
SCADA measurements
Lecture 11 V. Kekatos 10
Gauss-Newton method
vk+1 = vk + (J>
k Jk )
−1 >
Jk (z − h(vk ))
Lecture 11 V. Kekatos 11
Solvers using QR decomposition*
Inverting J>
k Jk is sensitive to its condition number
Lecture 11 V. Kekatos 12
Semidefinite program relaxation
hm (V) = Tr(Mm V) + m , m = 1, . . . , M
M
X
min (zm − Tr(Mm V))2
V
m=1
s.to V 0, rank(V) = 1
H. Zhu and G. B. Giannakis, “Power system nonlinear state estimation using distributed
semidefinite programming,” IEEE J. of Sel. Topics in Signal Processing, Vol. 8, No. 6, Dec. 2014.
Lecture 11 V. Kekatos 13
More on semidefinite program relaxation
V0
R. Madani, A. Ashraphijuo, J. Lavaei, and R. Baldick, “Power System State Estimation with a
Limited Number of Measurements,” in Proc. IEEE Conf. on Decision and Control, Dec. 2016.
Lecture 11 V. Kekatos 14
Fast decoupled solver
• approximate (J>
k Jk )
−1
at flat voltage profile v = 1 + j0
A. Abur and A. Gomez-Exposito, “Power system state estimation: theory and implementation,”
CRC Press, 2004.
Lecture 11 V. Kekatos 15
SCADA vs. PMU measurements
SCADA:
PMUs:
Lecture 11 V. Kekatos 16
Circuit breakers
Lecture 11 V. Kekatos 17
Generalized state estimation
x̂ = arg min 1
2
kz − Hxk22
x
s.to Cx = 0
Lecture 11 V. Kekatos 18
Observability (identifiability) analysis
• runs online to cope with meter failures, meter delays, and grid changes
X
Pm = bmn (θm − θn )
n6=m
Lecture 11 V. Kekatos 19
Numerical observability
Lecture 11 V. Kekatos 20
Topological observability
• Graph-theoretic approach that studies the sparsity pattern of H rather
Lecture 11 V. Kekatos 21
Topological vs. numerical observability
A. Monticelli, “Electric power system state estimation,” Proc. of the IEEE, Feb. 2000.
Lecture 11 V. Kekatos 22
Bad data
z = Hx + , H ∈ RM ×N
Lecture 11 V. Kekatos 23
Revealing outliers
• Because r ∼ N (0, P⊥ 2 2
H ), then krk2 ∼ χM −N
|ri |
• If maxi √ > t, measurement zi for maximizing i is deemed bad
Pii
Lecture 11 V. Kekatos 24
Least Absolute Deviations (LAV) for robustness
s.to − t ≤ z − Hx ≤ t
• LAV with SDP relaxation for robust nonlinear PSSE
min t> 1
V0,t
s.to − tm ≤ zm − Tr(Mm V) ≤ tm , m = 1, . . . , M
Lecture 11 V. Kekatos 25
Huber estimator
Lecture 11 V. Kekatos 26
Reformulating Huber’s estimator
min 1
2
kz − Hx − ok22 + λkok1
x,o
z = Hx + + o
V. Kekatos and G. B. Giannakis, “Distributed Robust Power System State Estimation,” IEEE
Trans. on Power Syst., Vol. 28, No. 2, May 2013.
Lecture 11 V. Kekatos 27
Critical measurements
• Claim: column i of P⊥ ⊥
H is zero; hence, ri = 0 (r = PH )
|ri |
• For critical measurement: undefined √ , impossible cross-validation
Pii
O. Kosut, L. Jia, R. J. Thomas, and L. Tong, “Malicious data attacks on the smart grid,” IEEE
Trans. on Smart Grid, Vol. 2, No. 4, Dec. 2011.
Lecture 11 V. Kekatos 28
Cyber attacks
z = Hx + + a
Y. Liu, P. Ning, and M. K. Reiter, “False data injection attacks against state estimation in electric
power grids,” ACM Trans. Info. and System Security, May 2011.
Lecture 11 V. Kekatos 29
Topics not covered
• Decentralized solvers
• Measurement placement
Lecture 11 V. Kekatos 30