Real-Time Distribution Grid State Estimation With Limited Sensors and Load Forecasting
Real-Time Distribution Grid State Estimation With Limited Sensors and Load Forecasting
ABSTRACT 1. INTRODUCTION
High penetration levels of distributed generation (DG)
and electric vehicles (EVs) diversify power flow and bring
uncertainty to distribution networks, making planning
1.1 Motivation
and control more involved for distribution system oper- Electric distribution grids deliver power to end cus-
ators (DSOs). The increased risk of constraint violation tomers, by connecting to the high voltage transmis-
triggers the need to augment forecasts with real-time sion grid at a substation and stepping down voltage to
state estimation. This is economically and technically medium and service levels. In distribution networks,
challenging since it requires investing in a large num- load forecasts and modeling were traditionally sufficient
ber of sensors and these have to communicate with of- to inform the planning of infrastructure updates and the
ten older and slower supervisory control and data ac- scheduling of control equipment. Rapid diversification
quisition (SCADA) systems. We address distribution of power flow now challenges this approach in two ways.
grid state estimation via combining only a limited set of First, the occurrence of bidirectional and intermittent
sensors with load forecast information. It revisits open power flow due to DG from wind and photovoltaics (PV)
problems in a recent paper that proposes a Bayesian es- causes rapid voltage fluctuations. These are increas-
timation scheme. We derive the estimator for balanced ingly harder to predict, and can result in protection is-
power networks via rigorous modeling. An off-line anal- sues, such as desensitization and unintended islanding
ysis of load aggregation, forecast accuracy and number or tripping [11]. This can lead to accelerated structural
of sensors provides concrete engineering trade-offs to de- damage and potentially cascading failures, and yields
termine the optimal number of sensors for a desired ac- economic burden due to accelerated wear [14]. Espe-
curacy. This estimation procedure can be used in real cially if DG is connected to more sensitive feeders with-
time as an observer for control problems or off-line for out proper monitoring functionality to assess its effect,
planning purposes to asses the effect of DG or EVs on cost of integration can easily multiply by a factor 3 to
specific network components. 4 [2,7]. The rapid adoption of EVs will further aggravate
this situation [10], especially if charging is optimized for
electricity prices [16]. In addition to challenges in oper-
ation, the inability to assess the impact of DG and EVs
on the physical network causes utilities to impose con-
servative caps on the allowable PV capacity and num-
ber of EVs, hindering the transition to renewable energy
sources. These concerns have mobilized many DSOs to
build a stronger information layer on top of their physi-
cal infrastructure that exploits recent advances in sens-
where superscript 𝑛 denotes net load. As a result, by In the sequel, we derive the parametrization for 𝑋 (esti-
combining (4) and (5), we can express voltage magni- mation quantities) and 𝑍 (measured quantities) in terms
tude and phasor difference over a branch as a function of of a shared set of random variables (forecasted load vec-
the net loads downstream of that branch. In the sequel, tor). We then derive the first and second order statistics
we will see that this allows us to transform the forecast on 𝑋 and 𝑍 from the available distributions in order to
statistics on loads into forecast statistics on voltage pha- implement the LLSE.
sor differences.
3.2 Parametrization of measured and estima-
3. CONSTRUCTING THE DISTRIBUTION tion quantities
GRID STATE ESTIMATOR Consider the vector with all the differences in squared
In this section, we introduce and prepare the imple- voltage magnitude stacked with the differences in volt-
mentation of the estimation scheme depicted in Fig- age angles over all the branches (i.e. for every set of
ure 1. First, we introduce the concept of MMSE and adjacent nodes) in the network:
LLSE. Second, we parametrize the measured and non- ⎡ ⎤
𝑦1 − 𝑦0
measured quantities as a function of the nodal net load ⎢ 𝑦2 − 𝑦1 ⎥
vector. Thirdly, it turns out, that for this estimator, ⎢ ⎥
⎢ .. ⎥
we require statistics on the measured and estimation ⎢ . ⎥
⎢ ⎥
quantities. These can be derived by transforming the ⎢ 𝑦𝑁 − 𝑦𝑁 −1 ⎥
Δy ≜ ⎢ ⎢ ⎥ ∈ ℝ2𝑁 (7)
available forecast statistics on the net load vector into 𝛿 − 𝛿 ⎥
⎢ 1 0 ⎥
forecast statistics on both the measured and to be es- ⎢ 𝛿2 − 𝛿1 ⎥
⎢ ⎥
timated quantities, using the linear model. Lastly, we ⎢ .. ⎥
⎣ . ⎦
present the analytical formulations for the distribution 𝛿𝑁 − 𝛿𝑁 −1
grid state estimator in the context of voltage magnitude
and angle estimation. Let r ≜ [𝑟0 ⋅ ⋅ ⋅ 𝑟𝑁 −1 ]⊤ and x ≜ [𝑥0 ⋅ ⋅ ⋅ 𝑥𝑁 −1 ]⊤ be vec-
tors with respectively resistances and reactances ordered
3.1 Minimum Mean Square Estimation for all the lines. Using Equation (4), we can build a
Consider (𝑋, 𝑍) to be a pair of random variables on model for all the voltage differences over wires through-
some probability space. Here, we are interested in es- out the network
timating 𝑋, given measurements 𝑍, i.e. we consider a ⎡ ⎤
𝑃0
Bayesian estimation formulation. Assume we are given ⎢ .. ⎥
a joint distribution of (𝑋, 𝑍). The idea is now to find ⎢ . ⎥
[ ]⎢ ⎥
an estimator 𝑌 = 𝑔(𝑍) that minimizes the mean square −diag(r) −diag(x) ⎢ ⎢ 𝑃 𝑁 −1 ⎥
⎥
Δy = ⎢ 𝑄0 ⎥
error 𝐸(∥𝑋 − 𝑌 ∥2 ). One can show that the minimum −diag(x) diag(r)
mean square estimate (MMSE) of 𝑋 given 𝑍 is equiva- ⎢ ⎢ ..
⎥
⎥ (8)
≜𝑍𝑏 ∈ℝ2𝑁 ×2𝑁 ⎣ . ⎦
lent to the conditional expectation 𝐸[𝑋∣𝑍] [18].
𝑄𝑁 −1
We consider the case in which both the estimator and
the measurements are linear in a shared set of vari- ≜S∈ℝ2𝑁
ables for which distributions are available. In this case, = 𝑍𝑏 S
where S is the vector with real and reactive branch flows refer to the placement of our sensors
stacked vertically. With Equation (5), we can expresses ⎡ ⎤
𝑦𝑚 2 − 𝑦𝑚 1
the branch flows S in terms of the nodal net loads, which ⎢ .. ⎥
yields ⎢ . ⎥
⎢ ⎥
⎢ 𝑦𝑚𝑀 − 𝑦𝑚𝑀 −1 ⎥
Δy𝑚 ≜ ⎢ ⎥
⎢ 𝛿𝑚 2 − 𝛿𝑚 1 ⎥ ∈ ℝ
2(𝑀 −1)
⎡ ⎤ ⎢ ⎥
1 1 ⋅⋅⋅ 1 0 ⋅⋅⋅ ⋅⋅⋅ 0 ⎡ ⎤ ⎢ .. ⎥
⎢ .. .. . . .. ⎥ 𝑝𝑛1 ⎣ ⎦
⎢ .
⎢ 0 1 1 . . . . ⎥⎥⎢
⎢ 𝑝𝑛2 ⎥
⎥
⎢ .. ⎥⎢ .. ⎥ 𝛿𝑚𝑀 − 𝛿𝑚𝑀 −1
⎢ .. .. ⎥⎢ ⎥
⎢ . . . ⎥⎢ . ⎥
⎢ with 𝑚1 , . . . , 𝑚𝑀 ∈ ℳ. We can now formulate the
0 0 ⋅⋅⋅ 1 0 ⋅⋅⋅ ⋅⋅⋅ 0 ⎥ ⎢ 𝑛 ⎥
𝑝𝑁 ⎥
S = ⎢
⎢
⎥⎢ equations, by adding up the differences of all individ-
⎢ 0 0 ⋅⋅⋅ 0 1 0 ⋅⋅⋅ 1 ⎥⎢⎥
⎢ 𝑞1𝑛 ⎥
⎥
⎢ ual lines in between the sensors. I.e., we can formulate
⎢ .. .. .. .. ⎥ ⎢ 𝑞2𝑛 ⎥
⎢ . . . 0 1 1 . ⎥⎢
⎥
⎢
⎥
.. ⎥
a permutation matrix such that Δy𝑚 = 𝒫𝑚 Δy, and
⎢ .. .. .. ⎥⎣ . ⎦ hence
⎣ . . . ⎦
𝑛
𝑞𝑁
0 ⋅⋅⋅ 0 0 0 ⋅⋅⋅ 1
≜ 𝒫𝑏 s𝑛 Δy𝑚 = 𝒫𝑚 𝑍𝑛 s𝑛 = 𝑍𝑚 s𝑛 (11)
(9) where 𝑍𝑚 ≜ 𝒫𝑚 𝑍𝑛 ∈ ℝ2(𝑀 −1)×2𝑁 . This gives us an
where s𝑛 ∈ ℝ2𝑁 is a vector with the nodal net loads, expression for the measured quantities as a function of
real and reactive stacked vertically. Note that for a line the nodal load vector.
feeder, 𝒫𝑏 has an upper triangular structure, which gen-
eralizes to any radial feeder with buses indexed from the 3.2.2 Non-measured quantities - Voltage Estimation
top of the network (feeder head) down to the leaf nodes, We are interested to estimate voltage magnitude and
be it that not all lower triangular entries will be equal angle at all the 𝑁 − 𝑀 buses in the network that are
to 1. not equipped with a sensor. We aim to do this given
We have now expressed the differences in voltage mag- a measurement of the voltage phasor y𝑚 at a limited
nitude and angle over all 𝑁 lines in terms of the nodal number of 𝑀 buses in the network, and forecast statis-
load vector, i.e. tics on the load vector s𝑛 . We consider the differences
in voltage between a location we want to estimate and a
Δy = 𝑍𝑏 𝒫𝑏 s𝑛 ≜ 𝑍𝑛 s𝑛 (10) nearby sensor location. These differences are collected
in a vector Δy𝑒 to be estimated as a function of the
load vector s𝑛 , similar to the construction of the mea-
where 𝑍𝑛 ∈ ℝ2𝑁 ×2𝑁 . surement equation in (11), i.e.
Δy𝑒 = 𝑍𝑒 s𝑛 ∈ ℝ2(𝑁 +1−𝑀 ) (12)
3.2.1 Measured quantities where 𝑍𝑒 ∈ ℝ 2(𝑁 +1−𝑀 )×2𝑁
is constructed in the same
In our actual setting, we do not directly measure volt- way as 𝑍𝑚 in (11). In order to retrieve an estimate
age differences over all individual wires. Instead, we of the absolute voltage value, we can simply take the
place the sensors over a distance, i.e. over a path going nearest sensor reading and add/subtract the estimated
through multiple nodes, with potentially branches going difference between the location and that sensor location.
off from the path. The voltage difference over the path
can be rewritten as the sum of the individual differences 3.3 Forecast Statistics
of the branches lying on the path. For example, for a We consider a setting in which we have access to a
path from bus 0 through bus 1 to bus 2, we have load forecast of the nodal net load vector s𝑛 . For now,
we assume that the forecast algorithm outputs a fore-
𝑦2 − 𝑦0 = (𝑦2 − 𝑦1 ) + (𝑦1 − 𝑦0 ) cast for nodal loads with a Gaussian distribution, i.e.
= (𝑟1 𝑃1 + 𝑥1 𝑄1 ) + (𝑟0 𝑃0 + 𝑥0 𝑄0 ) s𝑛 (𝑡) ∼ 𝒩 (𝜇𝑠 (𝑡), Σ𝑠 (𝑡)), with Σ𝑠 (𝑡) nonsingular. Note
= (𝑟1 (𝑝𝑛0 + 𝑝𝑛1 ) + 𝑥1 (𝑞0𝑛 + 𝑞1𝑛 )) + (𝑟0 𝑝𝑛0 + 𝑥0 𝑞0𝑛 ) that encode the changing nature of the forecast over
= (𝑟1 + 𝑟0 )𝑝𝑛0 + 𝑟1 𝑝𝑛1 + (𝑥1 + 𝑥0 )𝑞0𝑛 + 𝑥1 𝑞1𝑛 time 𝑡 in the statistics of s𝑛 .
We are interested in deriving a forecast statistic of the
variables that we want to monitor in the distribution
Notice that we can form this equation by doing a row grid. In this setting, these are voltage phasor differ-
operation on Equation (10), i.e. adding up rows 1 and ences as described in the former section. These forecast
2 of 𝑍𝑛 . Imagine that we have a set of differences that statistics are valuable by themselves as a prediction of
what the voltage phasor at a certain bus with or without topology and impedance information of the network.
a sensor might do at a certain point in time. Moreover,
we will use the forecast statistics to inform our LLSE 4. SIMULATION RESULTS
estimator. For the LLSE, we are interested in deriving In this paper, we apply the DGSE method on two
the first and second moment statistics of this forecast, simple single phase models. We first explain the ex-
i.e. the mean and covariance. perimental setup as done on a lateral line feeder to
In the previous subsection, we expressed different quan- assess the affect of sensor distance and aggregation of
tities that we can measure or would like to estimate as load/generation. We then apply the estimator on a ra-
linear expressions of the nodal net load vector. Since a dial IEEE test feeder model.
linear combination of Gaussian variables is a Gaussian
variable, we can derive the distributions for our esti- 4.1 Analysis on lateral line feeder
mation quantities. As a result, we have that 𝑥(𝑡) ∼ We assess the distribution grid state estimator through
𝒩 (𝜇𝑥 (𝑡), Σ𝑥 (𝑡)) and 𝑧(𝑡) ∼ 𝒩 (𝜇𝑧 (𝑡), Σ𝑧 (𝑡)), with Σ𝑧 (𝑡) a Monte Carlo simulation on a line feeder. Simula-
nonsingular. We derive these quantities in the setting tions are done with a full single-phase model, using
of voltage phasor estimation, the procedure can be fol- a forward-backward sweep algorithm. The structure
lowed for the other estimation procedures (power flow or of the line feeder allows for convenient analysis and
aggregate load). We now have that our measurements is a fair generalization for radial networks. We con-
are voltage phasor differences, i.e. 𝑧 = Δy𝑚 and the es- sider different length feeders, i.e. 𝑁 ∈ {20, 50}, to re-
timation quantities are other voltage phasor difference, semble the difference in geographic span found in real-
i.e. 𝑥 = Δy𝑒 . Given the linear relationships with the world circuits. For a given feeder we assign realistic
load vector s𝑛 , we can now derive the statistics on 𝑧. impedance values sampled from a uniform distribution
The mean of 𝑧 is at 𝑟𝑘 , 𝑥𝑘 ∼ 𝒰 (0.01, 0.11)Ω. The feeder is energized at
𝜇𝑧 (𝑡) = 𝐸(Δy𝑚 ) the substation, located at bus 𝑁 , at 𝑣0 = 12kV.
= 𝐸(𝑍𝑚 s𝑛 ) At each bus we consider the presence of an aggrega-
(13)
= 𝑍𝑚 𝐸(s𝑛 ) tion of typical residential houses. For each house 𝑖 we
= 𝑍𝑚 𝜇𝑠 (𝑡) will forecast the real power net load according to a nor-
mal distribution 𝑝𝑖 ∼ 𝒩 (𝜇𝑝𝑖 , 𝜎𝑖𝑝 ), 𝑞𝑖 ∼ 𝒩 (𝜇𝑞𝑖 , 𝜎𝑖𝑞 ). The
and similarly, we have that 𝜇𝑥 (𝑡) = 𝐸(Δy𝑒 ) = 𝑍𝑒 𝜇𝑠 (𝑡). mean values 𝜇𝑝𝑖 , 𝜇𝑞𝑖 for each house are drawn randomly
The covariance of 𝑧 is from a uniform distribution 𝜇𝑝𝑖 ∼ 𝒰 (−1, 1) kW. Recent
Σ𝑧 (𝑡) = 𝐸((𝑧 − 𝜇𝑧 )(𝑧 − 𝜇𝑧 )⊤ ) work on forecasting of individual homes reports a mean
= 𝐸((𝑍𝑚 s𝑛 − 𝑍𝑚 𝜇𝑠 (𝑡))(𝑍𝑚 s𝑛 − 𝑍𝑚 𝜇𝑠 (𝑡))⊤ ) absolute percentage error of 20 − 30% [15]. Hence, for
= 𝑍𝑚 𝐸((s𝑛 − 𝜇𝑠 (𝑡))(s𝑛 − 𝜇𝑠 )⊤ )𝑍𝑚⊤ our normally distributed forecast we introduce a con-
= 𝑍𝑚 Σ𝑠 (𝑡)𝑍𝑚⊤ servative variance, i.e. 𝜎𝑖𝑝 = 30% ⋅ 𝜇𝑝𝑖 (and similarly for
(14) reactive power). In this formulation, we can capture
⊤
denotes matrix transpose. Similarly, we have that the variance related to DG or EVs. Nevertheless, we
the cross-covariance of 𝑥 and 𝑧 is Σ𝑥,𝑧 (𝑡) = 𝑍𝑒 Σ𝑠 (𝑡)𝑍𝑚⊤
. realize that a normal distribution is not accurate in all
This yields all the statistics we need to construct the scenarios, hence we aim to generalize the estimator in
distribution grid state estimator. our future work.
In the simulation we vary the aggregation, by increas-
3.4 Distribution grid state estimator ing the number of houses 𝑐 connected at each bus, 𝑐 ∈
We can now analytically derive the LLSE of 𝑋 given {1, . . . , 50}. We do this uniformly across the feeder. We
𝑌 . For our voltage estimation setting this yields also vary the number of sensors placed, by populating
the feeder with a sensors placed at a fixed and increasing
𝐿[Δy𝑒 ∣Δy𝑚 ] = 𝐸(Δy𝑒 ) + . . . distance 𝑑 ∈ {1, . . . , 20}. Here, we consider two types
ΣΔy𝑒 ,Δy𝑚 Σ−1 Δy𝑚 (Δy𝑚 − 𝐸(Δy𝑚 )) of sensors, voltage magnitude sensors and PMUs (mea-
= 𝑍 𝑒 𝜇𝑠 + . . . suring voltage magnitude and angle). We perform 5000
⊤
( )
⊤ −1
𝑍𝑒 Σ𝑠 𝑍𝑚 𝑍𝑚 Σ𝑠 𝑍𝑚 (Δy𝑚 − 𝑍𝑚 𝜇𝑠 ) Monte Carlo simulations to achieve statistically relevant
(15) insights given the assumed uncertainty in load forecast.
We coin this method the Distribution Grid State Es-
timator (DGSE). Notice that it is written in the form 4.2 Results
Δŷ𝑒 = 𝑓 (Δy𝑚 ), as all of the other information needed The LLSE is used to estimate the voltage phasor dif-
to evaluate the estimator are forecast statistics, which ference vector Δy𝑒 , given a vector of measured volt-
are known a priori. As such, (15) uses the statistical in- age phasor differences Δy𝑚 . Figure 2 shows the re-
formation of the net loads s𝑛 , in combination with the sult of one sample simulation, with two different sen-
Voltage magnitude estimation with sensor at every 5-th bus casted voltage phasor differences. It is important to
1.08
note that the ARMSE is highly dependent on the un-
1.06 certainty as defined in the load forecast. Hence, we will
also analyze how well the LLSE does at improving the
|V|
1.04
accuracy of the forecasted values. Figure 3 shows the
Real voltage
Measured z
1.02 Forecasted x
Updated x Monte Carlo ARMSE results for varying levels of ag-
1
0 10 20 30 40 50 60
gregation and sensor distance. We first inspect the ac-
k curacy of the forecasted values. For all the scenarios
1.08
Voltage magnitude estimation with sensor at every 15-th bus
simulated, the ARMSE is bounded above by 0.008 p.u..
1.06
The ARMSE increases roughly linearly with sensor dis-
tance. It increases nonlinearly for smaller levels of load
aggregation, and then linearly for 𝑐 ≥ 12 houses/bus.
|V|
1.04
Real voltage
Measured z
1.02 Forecasted x
Updated x
1
0 10 20 30 40 50 60
k
MC ARMSE [V - p.u.]
0.003
% improvement estimate vs. forecast
0.0025
70
0.002
60
0.0015
2 4 6 8 10 12 14 16 18 20
50 Sensor distance - d [# buses]
40
Figure 5: ARMSE for varying sensor distance 𝑑, and
30 fixed aggregation (5 houses/bus). The error increases
linearly with sensor distance 𝑑.
20
20
15 50 Effect of aggregation for a sensor at every 10-th bus
40 0.003
MC ARMSE [V - p.u.]
10 30
5 20 0.0025
10
Sensor distance [# buses] 0 0
Aggregation [houses/bus] 0.002
0.0015
0.96
V
0.95
0.94
0.93
0.92
799 701 702 705 742 712 713 704 720 706 725 707 724 722 703 730 709 708 732 731 733 734 710 735 736 737 738 711 741 740 714 718 727 744 728 729 775
bus number
Figure 8: Example voltage profile with forecast and estimation update at all the buses, numbered as in Figure 7.
-3 ARMSE for each bus for sensors at 5 out of 37 buses
×10
4
Forecast
3 Estimation
ARMSE
0
701 702 705 742 712 713 704 706 725 707 724 722 703 730 708 732 731 733 734 710 735 736 738 711 741 740 714 718 727 744 728 775
bus number
California Energy Commission, Nov. 2013. [14] N. Seltenrich. The New Grid - Plugging into
[8] G. Giannakis, V. Kekatos, N. Gatsis, S.-J. Kim, California’s clean-energy future, 2013.
H. Zhu, and B. Wollenberg. Monitoring and [15] R. Sevlian and R. Rajagopal. Value of aggregation
Optimization for Power Grids: A Signal in smart grids. In 2013 IEEE International
Processing Perspective. IEEE Signal Processing Conference on Smart Grid Communications
Magazine, 30(5):107–128, Sept. 2013. (SmartGridComm), pages 714–719, Oct. 2013.
[9] M. Gol and A. Abur. A Hybrid State Estimator [16] E. Veldman and R. Verzijlbergh. Distribution
For Systems With Limited Number of PMUs. Grid Impacts of Smart Electric Vehicle Charging
IEEE Transactions on Power Systems, From Different Perspectives. IEEE Transactions
30(3):1511–1517, May 2015. on Smart Grid, 6(1):333–342, Jan. 2015.
[10] R. C. Green, L. Wang, and M. Alam. The impact [17] A. von Meier, D. Culler, A. McEachern, and
of plug-in hybrid electric vehicles on distribution R. Arghandeh. Micro-synchrophasors for
networks: A review and outlook. Renewable and distribution systems. In IEEE 5th Innovative
Sustainable Energy Reviews, 15(1):544–553, 2011. Smart Grid Technologies Conference, Washington,
[11] G. Kaur and M. Vaziri. Effects of distributed DC, 2014.
generation (DG) interconnections on protection of [18] J. Walrand. Probability in Electrical Engineering
distribution feeders. In IEEE Power Engineering and Computer Science: An Application-Driven
Society General Meeting, 2006, 2006. Course, volume 1. Quoi?, 1st edition, Mar. 2014.
[12] P. Rousseaux, T. Van Cutsem, and T. E. [19] B. Xu and A. Abur. Observability analysis and
Dy Liacco. Whither dynamic state estimation? measurement placement for systems with PMUs.
International Journal of Electrical Power & In Proc. 2004 IEEE Power Systtem Conf,
Energy Systems, 12(2):104–116, Apr. 1990. volume 2, pages 943–946. Citeseer, 2004.
[13] L. Schenato, G. Barchi, D. Macii, R. Arghandeh,
K. Poolla, and A. Von Meier. Bayesian linear
state estimation using smart meters and PMUs
measurements in distribution grids. In 2014 IEEE
International Conference on Smart Grid
Communications (SmartGridComm), pages
572–577, Nov. 2014.