BTP Report 1
BTP Report 1
Dynamics
Saumya Raj Satyam Kumar Subham Kumar Singh
Department of Electrical Engineering Department of Electrical Engineering Department of Electrical Engineering
Indian Institute of Technology Roorkee Indian Institute of Technology Roorkee Indian Institute of Technology Roorkee
s [email protected] s [email protected] s [email protected]
Abstract—We propose an Adaptive Gaussian Sum Unscented of smaller-variance Gaussians, which improves the accuracy
Kalman Filter (AGS-UKF) for estimating dynamic states and of the Unscented Transform while maintaining computational
quasi-static parameters in nonlinear power system models. These efficiency.
parameters are typically unobservable under normal conditions
but become identifiable during specific excitation events, resulting Once the refined Gaussians converge, they are merged back
in both persistent modeling drift and occasional abrupt shifts. into a single Gaussian, thereby maintaining computational effi-
To capture this behavior, the AGS-UKF models the process noise ciency. This approach enables the filter to remain robust across
using a two-component Gaussian mixture: one low-variance com- a wide range of operating conditions, accurately tracking both
ponent for gradual changes and one high-variance component for
slow dynamics and sudden changes in system parameters.
sudden jumps. A Bayesian scheme dynamically adjusts the con-
tribution of each component based on measurement likelihoods. The remainder of this report is organized as follows. Section
Additionally, the filter refines high-variance distributions using a 2 formulates the state-space model and outlines the assump-
set of smaller-sigma Gaussians to improve Unscented Transform tions underlying the proposed approach. Section 3 provides
accuracy without sacrificing efficiency too much. Simulations an overview of the AGS-UKF algorithm, highlighting its key
on a three-machine nine-bus system and a DFIG-based wind
turbine demonstrate the algorithm’s improved performance and steps. Section 4 elaborates on the algorithmic framework and
robustness compared to the standard UKF implementation details. Section 5 presents simulation results
on a three-machine nine-bus system and a DFIG-based wind
I. I NTRODUCTION turbine system. Finally, Section 6 concludes the report.
Robust, real-time estimation of power system dynamic
states—such as rotor angles and speeds—as well as quasi- II. P ROBLEM F ORMULATION
static parameters—such as inertia constants and governor
gains—is essential for ensuring reliable and secure system Consider a continuous-time nonlinear state-space model
operation. However, this task is complicated by the presence augmented with quasi-static parameters w whose values be-
of both small modeling inaccuracies and rare but abrupt come identifiable only during particular excitation events. The
changes due to events such as faults or control switching. evolution of w thus exhibits both small, persistent modeling
Traditional nonlinear filters, such as the Extended Kalman errors and occasional large shifts when these events occur. We
Filter (EKF) and Unscented Kalman Filter (UKF), typically model this heavy-tailed behavior by approximating the process
assume Gaussian process noise, making them ill-suited for sce- noise on x and w with a two-component Gaussian mixture:
narios involving heavy-tailed disturbances or discontinuities in one component with low variance to capture gradual drift, and
system behavior. another with high variance to capture abrupt parameter jumps.
To address this limitation, we propose the Adaptive Gaus-
sian Sum Unscented Kalman Filter (AGS-UKF), designed to xk f (xk−1 , wk−1 , u) r
= + x (1)
operate effectively under both gradual and abrupt parameter wk wk−1 rw
variations. The core innovation lies in modeling the pro- yk = h(xk , wk , u) + q (2)
cess noise of quasi-static parameters using a two-component
Gaussian mixture: one low-variance component to capture where,
continuous modeling drift, and one high-variance component
to represent sudden jumps that occur during periods of pa- rx
∼ πdrif t Ndrif t (0, Rdrif t ) + πjump Njump (0, Rjump )
rameter observability. The AGS-UKF further adapts to high- rw
variance scenarios by refining the state distribution using a set q ∼ N (0, Q)
III. A LGORITHM OVERVIEW 2) Splitting into sigma-distributions: The key innovation in
this approach is the decomposition of the prior state distribu-
This section provides an overview of the key components
tion into multiple Gaussian components. This decomposition
underlying the proposed AGS-UKF algorithm. We begin with
allows the filter to capture complex, multimodal behaviors
a brief review of the Unscented Transform (UT), which forms
that are often observed in nonlinear systems with uncertain
the basis for nonlinear propagation in the filtering framework.
parameters. The half-decomposition can be done as follows:
A. Unscented Transform √
Xi = (U s)i , i = 0, ..., r − 1 (12)
Sigma point generation: a set of (2n+1) vectors are cal- 1
culated using the mean value of the state vector, x and its α0 = (13)
2r
covariance matrix, P as follows: 1 − α0
αi = (14)
X0 = xk−1 (3) 2r
p m0 = x̂ (15)
Xi = xk−1 + ( (n + µ)Pk−1 )i , i = 1, ..., n (4) r
ra
p
Xi = xk−1 − ( (n + µ)Pk−1 )i , i = n + 1, ..., 2n (5) mi = x̂ − Xi−1 · , i = 1, ..., r (16)
1 − α0
r
where µ = α2 (n + ν) − n, n is the number of states, α decides ra
mi = x̂ + Xi−r · , i = r, ..., 2r (17)
the spread of sigma points, β represents the prior knowledge 1 − α0
of the distribution of states around x and ν is a scaling factor. Σi = Σx − Σm , i = 0, ..., 2r (18)
The distribution after transformation, f (x), is now approx-
imated by the gaussian: where,
2n
X Σx = U sU T (19)
x̂ = Wim xi (6) 2r−1
i=0 1 X
2n
Σm = (mi − x̂)(mi − x̂)T (20)
X 2r i=0
Σx = Wic (xi − x̂)(xi − x̂)T (7)
i=0 with orthonormal U ; singular values diagonal matrix s; a is the
where, ratio of variance of means to total variance; αi are component
µ weights; r is the number of dimensions in which we wish to
W0m = (8) decompose the distribution.
n+µ
1 The UKF (with Long-tailed process noise approximation)
Wim = i = 1, ..., 2n (9) is then run in parallel on each of the decomposed Gaussian
2(n + µ)
µ distributions. As the estimation process progresses, these dis-
W0c = + 1 − α2 + β (10) tributions gradually converge. Once they become sufficiently
n+µ
close, they are merged back into a single Gaussian distribution.
1
Wic = i = 1, ..., 2n (11)
2(n + µ)
IV. A LGORITHMIC F RAMEWORK
B. Adaptive Gaussian Sum Unscented Kalman Filter
1) Long-tailed process noise approximation: The process This section presents a detailed formulation of the Adaptive
noise is modeled as a Gaussian mixture, with component Gaussian Sum Unscented Kalman Filter (AGS-UKF). The
weights updated after each measurement using a Bayesian algorithm operates in a recursive predict-update framework,
inference scheme. with modifications to account for heavy-tailed process noise
and dynamically adaptive distribution refinement. Each step
y y
of the algorithm is described in sequence, including mixture
y P(y|Ndrif t )P(Ndrif t ) weight estimation, Gaussian merging, adaptive sigma splitting,
P(Ndrif t |y) = and measurement updates. The formulation emphasizes both
P(y)
y y accuracy in nonlinear regimes and computational efficiency.
y P(y|N jump )P(Njump )
P(Njump |y) =
P(y) 1) Each component of the prior state distribution GMM is
y y y y propagated through the system dynamics f , separately
P(y) = P(y|Ndrif t )P(Ndrif t ) + P(y|N jump )P(Njump )
for each component of the noise GMM. The resulting
where, Niy is the measurement distribution when the process intermediate distributions are then passed through the
noise distribution is Ni . The propagated state distribution is measurement function h to obtain the corresponding
obtained by merging the individual state distributions from output distributions of y. The propagated state distribu-
each mixture component, weighted according to their respec- tion for each prior GMM component is constructed by
tive probabilities. aggregating these noise-conditioned sub-components.
f +rdrif t fx
Nix −−−−−−→ FX i|drif t → Ni|drif t
UT
fx h+q y
Ni|drif t −−→ Yi|drif t → Ni|drif t
UT
x f +rjump fx
Ni −−−−−−→ FX i|jump → Ni|jump
UT
fx h+q y
Ni|jump −−→ Yi|jump → Ni|jump
UT
y y
P(y|Ni|drif t )P(Ni|drif t )
αdrif t =
P(y)
y y
P(y|Ni|jump )P(Ni|jump )
αjump =
P(y)
[f x,y] [f x,y] [f x,y]
Ni ∼ N (αdrif t µdrif t + αjump µjump ,
[f x,y] [f x,y]
αdrif t Σdrif t + αjump Σjump )
Ki = Σfi x,y Σy−1
i
V. E XPERIMENTS
′
Eds
Iqr = − − km Iqs Fig. 3. Inertia constants, Ht and Hg , estimates
ws Lm
′
Eqs
Iqr = − − km Ids
ws Lm remained at 0 p.u. for 2 seconds and then returned to 1 p.u.
4) Estimation: The extended state vector and measurement at t=3 s, restoring normal operation. This abrupt fluctuation
is taken as: posed a significant challenge to state estimation, as the system
T dynamics changed drastically within a short period.
x = Iqs , Ids , Eq′ , Ed′ , wr , wt , θd , δ, Hg , Ht
T
y = Pe Qe B. Three Machine Nine Bus Power System
5) Simulation studies and results: To evaluate the perfor- 1) State space model: A simple state space model for
mance of the proposed Adapted Gaussian Sum Unscented general constant impedance load power system is developed
Kalman Filter (AGS-UKF), simulation studies were conducted as:
on a doubly fed induction generator (DFIG) connected to an Hg d2 δg dδg
infinite bus through a transmission line and transformer. The = Pgm − Pge − Df
2ws dt2 dt
system’s dynamic response was analyzed under varying wind out
power conditions to assess the accuracy and robustness of the Pge = re(Sbus,g )
state estimation process.
out
Sbus = Vbus ◦ (Ybus Vbus )∗
A critical test scenario was introduced where the wind Vbus,l = −(Ybus,l,l + Yl )−1 (Ybus,l,s Vbus,s + Ybus,l,g Vbus,g )
power, Pt , experienced a sudden drop to 0 per unit (p.u.) at
t=1 s, simulating a complete loss of wind input. The power where, s is slack, g is generator and l is load bus.
T
x = δg δ̇g Yl Df Hg
T
y = S1 S6 S8
where, Si is complex power output by bus i; Yl is the load
admittances.
Fig. 4. WECC 3-machine, 9-bus system; the value of Y is half the line
charging (Copyright 1977. Electric Power Research Institute. EPRI EL-0484.
Power System Dynamic Analysis, Phase I. Reprinted with Permission.) [5]
VI. C ONCLUSION