S1011 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S10 · Lesson 11 · Kron reduction, sparsity and building the impedance matrix

Eliminating buses that have no injection, triangular factors that solve the network for any set of currents, fill-in and the ordering that avoids it, and building or modifying the bus impedance matrix one branch at a time

A regional grid model has 50,000 buses. Its admittance matrix has 2.5 billion entries, of which fewer than 200,000 are nonzero, because each bus connects to only a handful of others. Its inverse, the impedance matrix whose diagonal gives every bus's fault level, is completely full. Nobody stores that. So how does a fault program find Zkk for the bus it needs, and how does a planner see what a new generator does to the fault levels without starting over?

  • The three-bus network of lesson 10: a generator behind j0.2 at bus 1, lines j0.1 (1–2), j0.2 (1–3) and j0.25 (2–3). Its Z33 is j0.327, so a fault at bus 3 draws 3.06 pu.
  • Now a second generator, with reactance z, is connected at bus 2. The plot shows the new Z33 and the fault current at bus 3 against z, from one update formula applied to the old Zbus, with no new inversion.
  • A stiff generator (small z) raises the fault current at bus 3 a lot; a weak one barely changes it. The readouts give the updated Z22 and Z23 too.

Predict

In a radial network, one hub bus connects to 20 others that don't connect to each other. Gaussian elimination removes the hub first. How many new nonzero entries (new connections) appear among the other 20?

Name it

Kron reduction

A bus with no current injection can be removed from the nodal equations I=YV. Solving its row for its voltage and substituting leaves a smaller matrix with

Y′ij=Yij−YikYkjYkk

for the eliminated bus k. Physically it's the star–mesh transformation: the branches that met at bus k are replaced by an equivalent mesh among its neighbors. Reducing a whole external system this way, keeping only the boundary buses, gives a Ward equivalent, which a utility uses to represent its neighbors in its own studies.

Triangular factors

Gaussian elimination of every bus in turn factors the matrix as Y=LDU (for a symmetric Y, U=LT). Once factored, any set of injections is solved by a forward and a back substitution, at a fraction of the cost of the factorization. A single column of Zbus is the solution for a unit current injected at one bus, so a fault program gets exactly the columns it needs this way. Factorization is also what's inside every Newton power-flow iteration (lesson 19).

Sparsity and ordering

Ybus has N diagonal entries plus two off-diagonal entries per branch. Elimination creates fill-in: a new nonzero for every pair of neighbors of the eliminated bus that weren't already connected. Tinney's ordering rules keep it small. The simplest, still the workhorse, eliminates at each step the bus with the fewest remaining connections. With good ordering, the factors of a power network have only a few times as many nonzeros as Y itself.

Building and modifying Zbus

Zbus can be built one branch at a time without inverting anything. Adding a branch of impedance zb:

  1. from a new bus p to the reference: a new diagonal entry Zpp=zb;
  2. from a new bus p to existing bus k: a new row and column copying bus k's, with Zpp=Zkk+zb;
  3. from existing bus k to the reference: Z′=Z−Z⋅kZk⋅Zkk+zb;
  4. between existing buses j and k: Z′=Z−(Z⋅j−Z⋅k)(Zj⋅−Zk⋅)Zjj+Zkk−2Zjk+zb.

Rules 3 and 4 are rank-one updates, the same kind of correction the contingency lesson uses to remove a line: adding −zb in parallel takes a branch out.

Worked example

Kron-reduce the three-bus network to buses 1 and 3.

Show the solution
  1. The matrix. In susceptances, Ybus=−j(20−10−5−1014−4−5−49)
  2. Eliminate bus 2. With B22 = 14: B′11=20−(−10)(−10)14=12.857B′13=−5−(−10)(−4)14=−7.857B′33=9−(−4)(−4)14=7.857
  3. Read the reduced network. It's a branch of susceptance 7.857 (reactance 0.1273) from bus 1 to bus 3, and 12.857 − 7.857 = 5 (the generator's j0.2) from bus 1 to the reference.
  4. Compare with series–parallel. That's the series–parallel answer: the path 1–2–3, 0.35 pu, in parallel with the direct 0.2 pu is 0.35∥0.2=0.1273pu
  5. Invert. Inverting the 2 × 2 gives Z33 = 0.327 again.

Answer a j0.1273 branch from bus 1 to bus 3 and the generator's j0.2 from bus 1 to the reference, with Z33 = 0.327 as before.

Worked example

Build Zbus for the three-bus network branch by branch, then add a generator with z = j0.4 at bus 2.

Show the solution
  1. Generator to bus 1 (rule 1). The matrix starts as [0.2]. All entries are imaginary; the j is left off.
  2. Line 1–2 to new bus 2 (rule 2). Bus 2's row copies bus 1's, with Z22=0.2+0.1=0.3
  3. Line 1–3 to new bus 3 (rule 2). Z33=0.2+0.2=0.4 with Z13=Z23 = 0.2.
  4. Line 2–3 closes a loop (rule 4). The difference of columns 2 and 3 is (0, 0.1, −0.2), and the denominator is 0.3+0.4−2(0.2)+0.25=0.55
  5. Update the entries. Z22=0.3−0.01/0.55=0.2818Z33=0.4−0.04/0.55=0.3273Z23=0.2+0.02/0.55=0.2364 matching the inverse of Ybus in lesson 10.
  6. Add the generator at bus 2 (rule 3). It's a branch from bus 2 to the reference: Z′33=0.3273−0.236420.2818+0.4=0.2453
  7. Fault current at bus 3. It rises from 3.06 to 4.08 pu, which is the kind of check a planner runs to see whether existing breakers can still interrupt their faults.

Answer the branch-by-branch build reaches Z22 = 0.2818, Z33 = 0.3273 and Z23 = 0.2364, as in lesson 10; the new generator lowers Z33 to 0.2453 and raises bus 3's fault current from 3.06 to 4.08 pu.

Worked example

A hub bus with no load connects to three buses through j0.1, j0.2 and j0.4 pu, which aren't otherwise connected. Eliminate the hub.

Show the solution
  1. Star to mesh. Kron reduction of a star gives a mesh with zij=zi+zj+zizj/zk
  2. The three branches. x12=0.1+0.2+0.02/0.4=0.35x13=0.1+0.4+0.04/0.2=0.70x23=0.2+0.4+0.08/0.1=1.40pu
  3. In general. Three branches become three, but eliminating a bus with k neighbors creates up to k(k − 1)/2 branches: the fill-in that ordering tries to minimize.

Answer branches of j0.35 between buses 1 and 2, j0.70 between 1 and 3, and j1.40 between 2 and 3.

Check

A susceptance matrix has B1k = −6, B3k = −3, B13 = −4 and Bkk = 14. Eliminating bus k, what does B13 become?

Check

A bus with no load or generation sits between two lines of j0.1 and j0.08 pu and nothing else. Eliminating it by Kron reduction leaves one branch. What's its reactance, in per unit?

Check

A new bus p is connected to existing bus k (Zkk = j0.25 pu) through a branch of j0.1 pu. What's the new Zpp, in per unit?

Check

A generator of j0.2 pu is connected at bus k, where Zkk was j0.25 pu. What's the new Zkk, in per unit?

Check

A line of j0.4 pu is added between existing buses j and k, where Zjj = j0.25, Zkk = j0.35 and Zjk = j0.2. What's the new Zjj, in per unit?

Check

A hub bus connects to 10 buses that aren't connected to each other. Eliminating the hub first, how many fill-in entries appear (counting each new branch once)?

Check

A network has 5000 buses and 1.4 times as many branches. What percentage of its Ybus entries are nonzero?

Check

A load-free hub connects to three otherwise unconnected buses through j0.1, j0.1 and j0.5 pu. Eliminate it.

(a)

What reactance joins the first two buses?

(b)

And the second and third?

Check

A star of reactances a, b and c is converted to a mesh.

Step 1

What joins the ends of a and b?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why do power-system programs factor Ybus instead of inverting it, even when they need entries of Zbus?

Practice

Keep practicing

12 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.