Sub topic 9
The power triangle
This chapter assumes you can do phasor arithmetic and basic trigonometry. It also assumes you already know real power P (W), reactive power Q (var), and apparent power S (VA) as separate quantities. Here you combine them into one right triangle and use it to solve problems.
Why a triangle works
For a sinusoidal load with RMS voltage V, RMS current I, and phase angle φ between voltage and current, the three powers are:
- Real power: P = V I cos φ
- Reactive power: Q = V I sin φ
- Apparent power: S = V I
Squaring and adding the first two gives P² + Q² = (V I)² (cos² φ + sin² φ) = S². That is the Pythagorean theorem. So P and Q are the two legs of a right triangle, S is the hypotenuse, and φ is the angle between P and S.
φ is the impedance angle of the load. For a load with impedance Z = R + jX, φ = arctan(X/R). The power triangle is therefore the impedance triangle (R, X, |Z|) with every side multiplied by I². In a series circuit, P = I²R, Q = I²X, and S = I²|Z|.
The relationships you will use
| Known | Find | Formula |
|---|---|---|
| P and Q | S | S = √(P² + Q²) |
| P and Q | power factor | pf = P / S |
| P and Q | angle | φ = arctan(Q / P) |
| S and pf | P | P = S · pf |
| S and pf | Q | Q = ±√(S² − P²) = S sin φ |
| P and pf | Q | Q = P tan φ, with φ = arccos(pf) |
| P and S | Q | Q = ±√(S² − P²) |
Use a square root only when you can supply the sign of Q separately. The triangle gives magnitudes. The load type decides the sign.
Sign convention for Q
This tutorial uses the convention that an inductive load has positive Q and a capacitive load has negative Q. In the triangle, positive Q is drawn upward and negative Q downward.
- Inductive load: current lags voltage, φ > 0, Q > 0, lagging power factor.
- Capacitive load: current leads voltage, φ < 0, Q < 0, leading power factor.
- Resistive load: φ = 0, Q = 0, pf = 1, and the triangle collapses to a horizontal line with S = P.
The power factor cos φ is the same for φ = +45° and φ = −45°. A value like "pf = 0.7071" alone does not tell you whether the load is inductive or capacitive. Always state "lagging" or "leading" with it.
Worked example: a series R-L load
A 230 V RMS source drives a series load of R = 10 Ω and X_L = 10 Ω.
- Impedance magnitude: |Z| = √(10² + 10²) = 14.142 Ω.
- Current: I = 230 / 14.142 = 16.263 A.
- Angle: φ = arctan(10/10) = 45°, with current lagging.
- Real power: P = I²R = 16.263² × 10 = 2645 W.
- Reactive power: Q = I²X = 16.263² × 10 = 2645 var.
- Apparent power: S = V I = 230 × 16.263 ≈ 3741 VA.
- Check: √(2645² + 2645²) = 2645 × 1.4142 ≈ 3741 VA. The triangle closes.
- Power factor: pf = 2645 / 3741 = 0.7071 lagging.
The triangle has two equal legs because R = X, so it is a 45° right triangle. The source and wiring must carry 3741 VA, but only 2645 W does useful work.
Solving the triangle in code
The helper functions below handle the two most common starting points: P and Q known, or S and power factor known. The second one needs the lag/lead label to assign the sign of Q.
import math
def from_p_q(P, Q):
"""Return S, pf, and the angle in degrees from real and reactive power."""
S = math.hypot(P, Q)
pf = P / S
angle = math.degrees(math.atan2(Q, P))
return S, pf, angle
def from_s_pf(S, pf, lagging=True):
"""Return P and Q from apparent power and a labelled power factor."""
P = S * pf
Q = math.sqrt(S**2 - P**2)
if not lagging:
Q = -Q
return P, Q
S, pf, angle = from_p_q(2645, 2645)
print(f"S = {S:.0f} VA, pf = {pf:.4f}, angle = {angle:.1f} degrees")
P, Q = from_s_pf(5000, 0.8, lagging=True)
print(f"P = {P:.0f} W, Q = {Q:.0f} var")The first call reproduces the worked example. The second turns a 5 kVA load at 0.8 lagging into 4000 W and 3000 var, a 3-4-5 triangle scaled by 1000.
Adding loads: add P and Q, never S
Real power is conserved: the total P is the sum of each load's P. Reactive power is conserved too: the total Q is the sum of each load's Q, with signs. Apparent power is not conserved, because it is a magnitude and the loads usually have different angles.
Suppose a heater draws 4 kW with 0 var, and an ideal inductor draws 0 W with 3 kvar.
- Total P = 4 kW, total Q = 3 kvar.
- Total S = √(4² + 3²) = 5 kVA.
- Adding the individual apparent powers would give 4 + 3 = 7 kVA. That is wrong.
The procedure for any group of loads is:
- Convert each load to a (P, Q) pair, with the correct sign on Q.
- Sum the P values and sum the Q values.
- Build one triangle from the totals and read S, pf, and angle from it.
This is exactly why a capacitor helps. A capacitor contributes a negative Q, which shortens the vertical leg of the total triangle. P stays the same, S shrinks, and the angle φ gets smaller.
What the triangle tells you about current
Because S = V I, the apparent power directly gives the current the source must supply: I = S / V. In the worked example, I = 3741 / 230 = 16.26 A. If the same 2645 W were delivered at unity power factor, S would equal 2645 VA and I would be 11.5 A. The extra 4.76 A flows only because of the reactive leg. It heats the wiring (the loss is I²R_wire) and uses up breaker and transformer capacity. A steeper triangle means more current for the same useful power.
Common errors
- Adding apparent powers of different loads. Add P and Q instead.
- Dropping the sign of Q when combining inductive and capacitive loads. A capacitor's Q must be negative.
- Using the power factor alone to find Q and forgetting to choose the sign from lag or lead.
- Mixing peak and RMS values. The triangle assumes RMS voltage and current. With peak values, every side is doubled.
- Calling S "total power" and expecting P + Q = S. Only the squares add: P² + Q² = S².
- Using degrees in a calculator set to radians when computing cos φ or tan φ.
Edge cases
- Purely reactive load (ideal L or C): P = 0, S = |Q|, pf = 0. The triangle is a vertical line. No average power is delivered, yet current still flows.
- Zero-current case: if I = 0, all three powers are 0 and the angle is undefined. Guard against dividing P by S when S might be 0.
- Near-unity power factor: when φ is small, Q is small compared to P and S ≈ P. A small change in pf then changes Q by a large percentage, so compute Q from φ, not from rounded pf values.
- Non-sinusoidal waveforms: the simple triangle assumes pure sinusoids. With harmonics, S² = P² + Q² + D², where D is the distortion power. That case is treated in a later chapter.
Exercise
A load draws 8 kW at a power factor of 0.8 lagging. Find the apparent power S and the reactive power Q, and state the sign of Q.
Show answer
S = P / pf = 8 / 0.8 = 10 kVA. Q = √(S² − P²) = √(100 − 64) = 6 kvar. The load is lagging (inductive), so Q = +6 kvar.
Exercise
A 2645 W load is currently at pf 0.7071 lagging (Q = 2645 var). Find Q when the power factor is raised to 0.95 lagging, and the reactive power a capacitor must supply to get there.
Show answer
At pf 0.95, φ = arccos(0.95) = 18.19°, so Q = P tan φ = 2645 × 0.3287 ≈ 869 var. The capacitor must supply 2645 − 869 ≈ 1776 var, matching the value used for the capacitor sizing in a later chapter.
Exercise
A motor draws 6 kW and 4 kvar (lagging). A second load draws 2 kW and 1 kvar leading. Find the combined S and power factor, and say whether it is lagging or leading.
Show answer
Total P = 6 + 2 = 8 kW. Total Q = 4 − 1 = 3 kvar. S = √(8² + 3²) = √73 ≈ 8.54 kVA. pf = 8 / 8.544 ≈ 0.936. Since Q > 0, the combined load is lagging.