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 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 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 and the fault current at bus 3 against z, from one update formula applied to the old , 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 and 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?
Eliminating a bus connects all of its neighbors to each other, so the 20 become a complete network with 20 × 19/2 = 190 new branches. Eliminating the 20 outer buses first creates no new entries at all. The order of elimination decides whether a sparse matrix stays sparse.
Name it
Kron reduction
A bus with no current injection can be removed from the nodal equations . Solving its row for its voltage and substituting leaves a smaller matrix with
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 (for a symmetric Y, ). 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 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
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
can be built one branch at a time without inverting anything. Adding a branch of impedance :
- from a new bus p to the reference: a new diagonal entry ;
- from a new bus p to existing bus k: a new row and column copying bus k's, with ;
- from existing bus k to the reference: ;
- between existing buses j and k: .
Rules 3 and 4 are rank-one updates, the same kind of correction the contingency lesson uses to remove a line: adding in parallel takes a branch out.
Worked example
Kron-reduce the three-bus network to buses 1 and 3.
Show the solution
- The matrix. In susceptances,
- Eliminate bus 2. With = 14:
- 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.
- 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
- Invert. Inverting the 2 × 2 gives = 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 = 0.327 as before.
Worked example
Build for the three-bus network branch by branch, then add a generator with z = j0.4 at bus 2.
Show the solution
- Generator to bus 1 (rule 1). The matrix starts as [0.2]. All entries are imaginary; the j is left off.
- Line 1–2 to new bus 2 (rule 2). Bus 2's row copies bus 1's, with
- Line 1–3 to new bus 3 (rule 2). with = 0.2.
- 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
- Update the entries. matching the inverse of in lesson 10.
- Add the generator at bus 2 (rule 3). It's a branch from bus 2 to the reference:
- 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 = 0.2818, = 0.3273 and = 0.2364, as in lesson 10; the new generator lowers 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
- Star to mesh. Kron reduction of a star gives a mesh with
- The three branches.
- 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 = −6, = −3, = −4 and = 14. Eliminating bus k, what does 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 ( = j0.25 pu) through a branch of j0.1 pu. What's the new , in per unit?
Check
A generator of j0.2 pu is connected at bus k, where was j0.25 pu. What's the new , in per unit?
Check
A line of j0.4 pu is added between existing buses j and k, where = j0.25, = j0.35 and = j0.2. What's the new , 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 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°.
Step 2
Of a and c?
Step 3
Of b and c?
Explain why
Why do power-system programs factor instead of inverting it, even when they need entries of ?
is extremely sparse, because each bus connects to only a few neighbors, while its inverse is full: every bus's voltage responds to a current injected anywhere. Storing and computing a full 50,000-bus inverse would take billions of entries and an enormous amount of arithmetic. Factoring Y into triangular parts, with the buses eliminated in an order that keeps fill-in small, produces factors only a little denser than Y itself. Any column of is then a forward and back substitution away, so a program computes exactly the impedances it needs. The same factors solve power-flow corrections and contingency cases, and branch changes can be handled by low-rank updates instead of starting again.
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.