TExcelTAD
Home › Power Systems: Three-Phase, Generation, Grids & Protection › Complex Power Flow and Power-Factor Correction at System Scale

Complex Power Flow and Power-Factor Correction at System Scale

A factory takes 4 MW4\ \text{MW} at 11 kV11\ \text{kV} with a power factor of 0.780.78. Its supplier bills reactive energy above a threshold, its incoming cable runs warm, and the voltage at its busbar sags whenever the big compressors start. A capacitor bank of about 2 Mvar2\ \text{Mvar} fixes all three. This lesson sizes that bank and shows what it does to the current, the voltage, the losses and, if you are careless, the harmonics. Complex power S=P+jQ\mathbf{S} = P + jQ, the power triangle and correction of a single load are in Complex Power, Power Factor and Correction; here they are applied to a supply network.

Safety: medium-voltage capacitor banks store lethal energy and stay charged after disconnection (they have discharge resistors that take minutes). This lesson is calculation and simulation only.

Conservation of complex power

In any network, the complex power delivered by the sources equals the sum of the complex powers absorbed by all elements (Tellegen's theorem). For each element:

Element PP QQ
resistor RR I2RI^2R 00
inductor XLX_L 00 +I2XL+I^2X_L (absorbs)
capacitor XCX_C 00 −V2/XC-V^2/X_C (supplies)
induction motor, transformer magnetising load absorbs
over-excited synchronous machine either supplies

So reactive power can be "booked" like real power: a bus whose loads absorb 3.16 Mvar3.16\ \text{Mvar} and whose capacitor supplies 1.97 Mvar1.97\ \text{Mvar} imports only the difference, 1.19 Mvar1.19\ \text{Mvar} (the factory below, with its bank in service). The supply network itself absorbs I2XI^2X in its reactance, which grows with the square of the current: reactive power does not travel well, and the best place to produce it is close to where it is used.

Why correct the power factor

For the same real power, a lower pf means more current: I=P/(3VL pf)I = P/(\sqrt{3}V_L\,\text{pf}). More current means

  • losses 3I2R3I^2R in every cable and transformer upstream, which scale as 1/pf21/\text{pf}^2;
  • capacity used up: a transformer or cable is rated in kVA or amperes, not in kW;
  • voltage drop ΔV≈(RP+XQ)/V\Delta V \approx (RP + XQ)/V; in networks where X≫RX \gg R, reactive power dominates the drop;
  • charges: many tariffs bill reactive energy (kvarh) beyond a limit, often set somewhere between pf 0.90.9 and 0.950.95 (tariff details vary by country and change; check the current rules).

The bank size for a target power factor follows from the power triangle:

QC=P (tan⁡ϕ1−tan⁡ϕ2),Cper phase (star)=QC3 ω Vph2=QCωVL2Q_C = P\,(\tan\phi_1 - \tan\phi_2), \qquad C_\text{per phase (star)} = \frac{Q_C}{3\,\omega\,V_\text{ph}^2} = \frac{Q_C}{\omega V_L^2}

Installing it raises the bus voltage by roughly ΔV/V≈QC/Ssc\Delta V/V \approx Q_C/S_\text{sc}, where SscS_\text{sc} is the short-circuit power (fault level) at the bus, a handy rule because the fault level is the one number every network operator can give you.

Worked example: the factory bank

Given: a factory at an 11 kV11\ \text{kV} bus, P=4 MWP = 4\ \text{MW}, pf 0.780.78 lagging; the supply has a three-phase fault level of 150 MVA150\ \text{MVA} at the bus (treat it as a pure reactance behind 11 kV11\ \text{kV}). Target pf 0.950.95. (Calculation only.)

Find: the bank rating, its capacitance, the current and voltage before and after, and the parallel-resonance harmonic order.

Solve:

Q1=4 MW⋅tan⁡(arccos⁡0.78)=3.209 Mvar,Q2=4 MW⋅tan⁡(arccos⁡0.95)=1.315 MvarQC=1.894 Mvar  →  choose 2.0 Mvar (four steps of 0.5 Mvar)C=2.0×106 var2π⋅50 Hz⋅(11 000 V)2=52.6 μF per phase in starXs=(11 kV)2150 MVA=0.807 Ω,hres=SscQC=1502=8.66\begin{aligned} Q_1 &= 4\ \text{MW} \cdot \tan(\arccos 0.78) = 3.209\ \text{Mvar}, \qquad Q_2 = 4\ \text{MW} \cdot \tan(\arccos 0.95) = 1.315\ \text{Mvar} \\ Q_C &= 1.894\ \text{Mvar} \;\rightarrow\; \text{choose } 2.0\ \text{Mvar (four steps of } 0.5\ \text{Mvar)} \\ C &= \frac{2.0 \times 10^6\ \text{var}}{2\pi \cdot 50\ \text{Hz} \cdot (11\,000\ \text{V})^2} = 52.6\ \mu\text{F per phase in star} \\ X_s &= \frac{(11\ \text{kV})^2}{150\ \text{MVA}} = 0.807\ \Omega, \qquad h_\text{res} = \sqrt{\frac{S_\text{sc}}{Q_C}} = \sqrt{\frac{150}{2}} = 8.66 \end{aligned}

Modelling the factory as a constant impedance (the R and L that draw 4 MW+j3.21 Mvar4\ \text{MW} + j3.21\ \text{Mvar} at 11 kV11\ \text{kV}), the program below finds the line current falling from 263.4 A263.4\ \text{A} to 217.5 A217.5\ \text{A} and the bus voltage rising from 10.7710.77 to 10.91 kV10.91\ \text{kV}; the pf seen from the supply rises to 0.9570.957.

Check: the voltage rise is 1.32 %1.32\ \%, matching QC/Ssc=2/150=1.33 %Q_C/S_\text{sc} = 2/150 = 1.33\ \%. Upstream losses scale with I2I^2: (217.5/263.4)2=0.68(217.5/263.4)^2 = 0.68, a 32 %32\ \% reduction. The resonance check is the warning: with the bank in service, the supply inductance and the capacitors resonate near the 8.7th harmonic, between the 7th and the 11th that rectifier loads produce. Practical banks with harmonic-producing loads nearby are detuned: a series reactor (for example 7 %7\ \% of the capacitor reactance) moves the resonance down to about h=1/0.07=3.8h = 1/\sqrt{0.07} = 3.8, below the 5th harmonic (Power Quality).

In Python: sizing and checking the bank

python · try it yourself
import numpy as np

w, VL, Ssc = 2 * np.pi * 50, 11e3, 150e6
P, pf1, pf2 = 4e6, 0.78, 0.95
Q1, Q2 = P * np.tan(np.arccos(pf1)), P * np.tan(np.arccos(pf2))
print(f"Q1 = {Q1/1e6:.3f} Mvar, Q2 = {Q2/1e6:.3f} Mvar, needed Qc = {(Q1 - Q2)/1e6:.3f} Mvar")
Qc = 2.0e6                                         # next standard size: 4 x 0.5 Mvar
C = Qc / (w * VL**2)
print(f"bank {Qc/1e6:.1f} Mvar -> C = {C*1e6:.1f} uF per phase (star)")

# per-phase circuit: source behind Xs, factory as constant R || jX, bank in parallel
V = VL / np.sqrt(3)
Xs = VL**2 / Ssc
R, X = V**2 / (P / 3), V**2 / (Q1 / 3)
for label, Cb in (("without bank", 0.0), ("with bank", C)):
    Yload = 1 / R + 1 / (1j * X) + 1j * w * Cb
    I = V / (1j * Xs + 1 / Yload)
    Vb = I / Yload
    S = 3 * Vb * np.conj(I)
    print(f"{label:12s}: I = {abs(I):6.1f} A, V_bus = {abs(Vb)*np.sqrt(3)/1e3:6.3f} kV,"
          f" P = {S.real/1e6:.3f} MW, Q = {S.imag/1e6:.3f} Mvar, pf = {S.real/abs(S):.3f}")
print(f"voltage-rise rule Qc/Ssc = {100*Qc/Ssc:.2f} %")
print(f"parallel resonance at harmonic {np.sqrt(Ssc/Qc):.2f} ({50*np.sqrt(Ssc/Qc):.0f} Hz)")
print(f"detuned with a 7 % reactor: series resonance at harmonic {1/np.sqrt(0.07):.2f}")
Q1 = 3.209 Mvar, Q2 = 1.315 Mvar, needed Qc = 1.894 Mvar
bank 2.0 Mvar -> C = 52.6 uF per phase (star)
without bank: I =  263.4 A, V_bus = 10.766 kV, P = 3.832 MW, Q = 3.074 Mvar, pf = 0.780
with bank   : I =  217.5 A, V_bus = 10.908 kV, P = 3.934 MW, Q = 1.189 Mvar, pf = 0.957
voltage-rise rule Qc/Ssc = 1.33 %
parallel resonance at harmonic 8.66 (433 Hz)
detuned with a 7 % reactor: series resonance at harmonic 3.78

A constant-impedance load takes less than its nominal 4 MW4\ \text{MW} when the voltage sags, so the "without bank" power is 3.83 MW3.83\ \text{MW}; with the bank the voltage recovers and so does the power. Real loads lie between constant impedance and constant power (motors hold their power), which is why load models matter in Voltage Stability.

Interactive: switch the bank in

The netlist lab is the per-phase circuit: 6351 V6351\ \text{V} behind the supply inductance (0.807 Ω0.807\ \Omega is 2.568 mH2.568\ \text{mH}), the factory as 30.25 Ω30.25\ \Omega in parallel with 120 mH120\ \text{mH}, and the bank C1. Its plot sweeps frequency; read the values at the 50 Hz50\ \text{Hz} cursor. With C1 at 1 μF1\ \mu\text{F} (practically no bank) it shows the supply current I(LS) at 262.3 A∠−39.9∘262.3\ \text{A}\angle -39.9^\circ and the bus b at 6.217 kV6.217\ \text{kV} (10.77 kV10.77\ \text{kV} line). Slide C1 to 53 μF53\ \mu\text{F} and the current falls to 217.3 A∠−18.1∘217.3\ \text{A}\angle -18.1^\circ and the bus rises to 6.299 kV6.299\ \text{kV}. Keep going: the current reaches its minimum, about 210 A210\ \text{A}, near 82 μF82\ \mu\text{F} (unity pf at the supply), and beyond that the factory over-compensates. At 100 μF100\ \mu\text{F} the current leads (213.0 A∠6.9∘213.0\ \text{A}\angle 6.9^\circ, larger again), the bus climbs to 6.374 kV6.374\ \text{kV}, and the factory exports reactive power. On the frequency plot, notice the bus-voltage peak that moves down in frequency as C1 grows: that is the parallel resonance.

0200040006000100m1101001k10kf (Hz)|V| (V)0 A50 kA|I| (A)|V(b)||I(LS)|phasors at f = 50.00 Hz (magnitude @ phase)V(s)6.35 kV @ 0.0 degV(b)6.22 kV @ -1.5 degI(V1)262 A @ 140.1 degI(LS)262 A @ -39.9 degI(RP)206 A @ -1.5 degI(LP)165 A @ -91.5 degI(C1)1.95 A @ 88.5 deg

Guided lab: power-factor correction at signal level

Hand calculation. A function generator at 5 V5\ \text{V} rms, 50 Hz50\ \text{Hz} drives a 100 Ω100\ \Omega resistor in parallel with a 0.5 H0.5\ \text{H} inductor (or, more practically at this frequency, scale everything to 1 kHz1\ \text{kHz}: 100 Ω100\ \Omega in parallel with 22 mH22\ \text{mH}). Compute the pf and the capacitor for unity pf: C=1/(ω2L)C = 1/(\omega^2 L).

Simulation. Reproduce the circuit in the netlist lab (change the values) and sweep the capacitor.

What you would measure. With a 1 Ω1\ \Omega sense resistor in the supply lead and a two-channel oscilloscope (a common ground at the generator, so both channels are referenced correctly), measure the phase between voltage and current and the supply-current amplitude. Expect the current to fall to the resistor's 50 mA50\ \text{mA} at the optimal capacitor, within the components' tolerances (±5\pm 5 to 10 %10\ \% for typical capacitors and inductors, so the minimum may be at a capacitor value 10 %10\ \% off the calculated one).

Hazards and safe setup. Function generator only. Do not use a mains-frequency power transformer to get "more volts".

Pitfalls

  • Sizing on the wrong voltage. QC=ωCV2Q_C = \omega C V^2: a bank rated 2 Mvar2\ \text{Mvar} at 11 kV11\ \text{kV} gives only 1.96 Mvar1.96\ \text{Mvar} at 10.9 kV10.9\ \text{kV} and 1.65 Mvar1.65\ \text{Mvar} at 10 kV10\ \text{kV}.
  • Over-compensation at light load. A fixed bank sized for full load drives the pf leading and the voltage up at night; use automatic stepped banks.
  • Ignoring resonance. Check h=Ssc/QCh = \sqrt{S_\text{sc}/Q_C} against the harmonics present; detune where needed.
  • Switching transients. Energising a bank draws a large inrush, especially back-to-back with another energised bank; banks use current-limiting reactors or controlled switching.

Practice

  1. A 630 kVA630\ \text{kVA} transformer supplies 500 kW500\ \text{kW} at pf 0.750.75. Is it overloaded? What bank brings the pf to 0.950.95, and what is the transformer loading then?
  2. Where does a bus with a fault level of 40 MVA40\ \text{MVA} and a 1.5 Mvar1.5\ \text{Mvar} bank resonate?
  3. Why does QQ cause most of the voltage drop on a transmission line but less on a low-voltage cable?
Answer
  1. S=500/0.75=667 kVAS = 500/0.75 = 667\ \text{kVA}: 106 %106\ \%, overloaded. QC=500(tan⁡41.41∘−tan⁡18.19∘)=500(0.882−0.329)=277 kvarQ_C = 500(\tan 41.41^\circ - \tan 18.19^\circ) = 500(0.882 - 0.329) = 277\ \text{kvar}; then S=526 kVAS = 526\ \text{kVA}, 84 %84\ \%.
  2. h=40/1.5=5.16h = \sqrt{40/1.5} = 5.16: right on the 5th harmonic, a bad choice without detuning.
  3. ΔV≈(RP+XQ)/V\Delta V \approx (RP + XQ)/V. Overhead lines have X/RX/R of about 55 to 1010 or more, so XQXQ dominates; LV cables have X/RX/R well below 1, so RPRP dominates.

Test yourself

A load of 1 MW at pf 0.8 lagging is corrected to unity pf. The capacitor bank supplies…

  1. 0.6 Mvar
  2. 0.75 Mvar
  3. 0.8 Mvar
  4. 1.25 Mvar

Installing a 3 Mvar bank on a bus with a 200 MVA fault level raises its voltage by about…

  1. 0.15 %
  2. 1.5 %
  3. 6.7 %
  4. 15 %

Raising a load's power factor from 0.7 to 1.0 at the same real power reduces upstream I2RI^2R losses to…

  1. 70 %
  2. 49 %
  3. 30 %
  4. 100 %

Why are capacitor banks near rectifier loads often fitted with series reactors?

  1. to raise their kvar
  2. to detune the resonance below the 5th harmonic
  3. to limit the 50 Hz current to zero
  4. to make the pf leading