State estimation [23][24][26], part of system monitoring, is the process using mea-surements to best estimate the smart grid status. The estimates are state variables including bus voltage magnitudes and angles. In this thesis, we consider steady-state DC power system with n + 1 buses, where one of buses is set to reference bus and the rest n buses are with n unknown state variables. We assume the bus voltage magnitudes are given, and the state variable of each bus i is simply a bus voltage angle denoted as xi, i = 1, ..., n. There are m measurements consisting of the measurements of real power flows along branches and the measurements of real injections at buses. Each measure-ment is denoted as zi, i = 1, ..., m. Note that, in DC power flow model, we don’t consider reactive power flows and injections.
Figure 2.3: Two-port π−model of a branch [26]
According to the two-port π-model shown in Fig. 2.3 [26], the real power flow from bus i to bus j is given by
Pi,j = Vi2(gsi+ gij)− ViVj(gijcos(xi− xj) + bijsin(xi− xj)), (2.1) and the real power injection at bus i is
Pi = Vi ∑
j∈Ni
Vj(Gijcos(xi− xj) + Bijsin(xi− xj)), (2.2) where Vi, xi is bus voltage magnitude and angle at bus i, Gij + jBij is the ijth element of the complex bus admittance matrix, gij + jbij is the admittance of the series branch
between bus i and bus j, gsi+ jbsi is the admittance of the shunt branch linked at bus i, and Ni is the set of all buses linked to bus i.
We apply several assumptions for DC model:
• We ignore the shunt admittance.
• In steady-state DC power system, the phase angle difference xi− xj is small, ∀i, j.
• The resistance of each branch is typically smaller than its reactance.
• There are no losses.
The simplified real power flow from bus i to bus j becomes
Pi,js = ViVjbij(xi− xj), (2.3) and the simplified real power injection at bus i becomes
Pis = Vi ∑
j∈Ni
Vjbij(xi− xj) = ∑
j∈Ni
Pi,js . (2.4)
In the control center, we assume both bus voltage magnitudes and branch reactance are given or can be measured. According to (2.3) and (2.4), the linear equations between measurements Pi,js , Pis and bus voltage angles xi are derived.
The DC state estimation can be formulated as matrix form as follow:
z = Hx + e, (2.5)
where x = (x1, x2, ..., xn+1)T, z = (z1, z2, ..., zm)T is a measurement vector consisting of Pis and Pi,js , e = (e1, e2, ..., em)T is a random measurement error vector with zero mean Gaussian Distribution, and H is a m× (n + 1) Jacobian matrix derived from (2.3) and (2.4). In the matrix H, the columns correspond to the measurements and the rows correspond to the state variables (buses).
It is typically that the number of measurements is greater than the number of state variables, i.e., m > n; thus, the state estimation problem is over determined equations.
We want to minimize the sum of the square errors with different weight wias the function of x
minx J (x) =
∑m i=1
wie2i = eTR−1e = (z− Hx)TR−1(z− Hx), (2.6) where R−1 = diag(w1, w2, ..., wm).
We perform noise whitening and choose the weight wi = σi−2, i = 1, ..., m so that R is covariance matrix of e and the one step solution of weighted least-square (WLS) problem above [25] is
ˆ
xr = (HTrR−1Hr)−1HTrR−1z, (2.7) where Hris derived by removing last column of H by assuming that last bus is reference bus. The state estimates xr = [ˆxTr 0]T are then used to smart grid configuration. We assume the smart grid network is observable (Rank(H) = Rank(Hr) = n), i.e., ˆx can be uniquely determined by (2.7). Note that the identical estimator can be proved using maximum likelihood criterion and minimum variance criterion under the the assumption that measurement errors are Gaussian distributed with zero mean [25].
We give two examples of a 5-bus power system to illustrate how to derive Jacobian matrix H and determine if the network is observable. Consider the 5-bus power network in Fig. 2.4. where we assume that the network operates in steady-state and calculate the Jacobian matrix of DC model. For simplification, without loss of generality, we assume all bus voltages Vi and all admittances bi,j be 1. For the first example in Fig. 2.5, the network contains two meters, one injection meter and one branch meter.
The measurements reported by those meters are as follow:
z1 = P2s = ∑
j∈N2={1,4}
(x2− xj) = 2x2− x1− x4 (2.8)
z2 = P1,2s = x1− x2 (2.9)
Figure 2.4: An example of 5-bus power network. Each bus owns a voltage Vi and a
Using the last bus as the reference bus is equivalent to removing last column of Hex1
to get Hr,ex1. Since HTr,ex1Hr,ex1 is not invertible, the state estimator can not to obtain an unique state estimate ˆx. Therefore, we call the network configuration of Fig. 2.5 unobservable.
For the second example shown in Fig. 2.6, by following the same procedure above, we have
Figure 2.5: An unobservable example with two meters in the network.
Again, since HTr,ex2Hr,ex2 is invertible, there exists an unique state estimate. In other words, the network of Fig. 2.6 is observable.
Another way to define the Jacobian matrix is by using a graph model [14]. Regarding the buses in the network as as nodes and transmission lines as edges, we convert a power grid into a graph with n nodes and maedges. Note that mais the number of transmission lines and in general ma ̸= m. Define the incidence matrix A ∈ Rn×ma representing the graph (network) as
A(i, j) =
1 if jth edge starts at ith node
−1 if jth edge ends at ith node 0 otherwise
,∀j = 1, . . . , ma. (2.12)
Use the diagonal matrix D ∈ Rma×ma to describe the reactance of transmission lines whose diagonal entries are the reciprocal of the reactance of the edges. As a result, the Jacobian matrix H can now be expressed as
H,
P1DAT
−P2DAT P3ADAT
m×n+1
, m = 2ma+ n, (2.13)
Figure 2.6: An observable example with six meters in the network.
where P1, P2 and P3 consist of subsets of rows of identity matrices of proper dimensions, indicating which measurements are actually taken. The sub-matrix P1DAT represents the measurements putting on the same direction of the directed edge. Similarly, the sub-matrix −P2DAT represents the measurements putting on opposite direction of the directed edge. The sub-matrix P3ADAT represents the injection measurements putting on the buses. In the rest of this paper, we use this representation of Jacobian matrix, and select measured meters by setting P1, P2 and P3.