Sub topic 13
Nodal, Mesh, Superposition and Thevenin in AC
This chapter assumes you can convert sinusoids to phasors, compute impedances of R, L and C, and apply KVL, KCL and dividers in phasor form. It also assumes you know the DC versions of nodal analysis, mesh analysis, superposition and Thevenin's theorem.
The core idea: same methods, complex numbers
Every DC network theorem depends only on linear equations: KVL, KCL and Ohm's law. In phasor form, Ohm's law is V = ZI and KVL and KCL still hold for phasors. So each method carries over with three substitutions:
- Resistance R becomes impedance Z.
- Conductance G becomes admittance Y = 1/Z.
- Real arithmetic becomes complex arithmetic.
The results are complex phasors, which you convert back to time-domain sinusoids at the end.
Nodal analysis
Pick a reference node, write KCL at each other node, and express each branch current as (Vnode − Vneighbor)/Z. For a node with admittances, the equation takes the form:
Σ Yk (Vn − Vk) = Isource
For N unknown nodes you solve an N×N complex linear system. The matrix entries are admittances, so the diagonal holds the sum of admittances at each node.
import numpy as np
w = 1000.0
# Node 1: source 10 A-phasor current injection (5 at 0 deg) through R=10 to ground,
# coupled to node 2 by C=100 uF; node 2 has L=20 mH to ground.
Y_R = 1 / 10
Y_C = 1j * w * 100e-6
Y_L = 1 / (1j * w * 20e-3)
Y = np.array([[Y_R + Y_C, -Y_C],
[-Y_C, Y_C + Y_L]])
I = np.array([5, 0], dtype=complex)
V = np.linalg.solve(Y, I)
for k, v in enumerate(V, start=1):
print(f"V{k}: {abs(v):.3f} at {np.degrees(np.angle(v)):.2f} deg")Mesh analysis
Assign a clockwise current to each loop and write KVL around it. A mesh equation sums the impedances in the loop times the loop current, minus the shared impedances times neighboring mesh currents. The matrix entries are impedances, and the unknowns are the mesh current phasors.
Superposition
Superposition applies because the circuit is linear. It is the one method with an AC-specific trap.
- Turn off one source at a time (voltage sources become shorts, current sources become opens).
- Solve for the phasor response to each source.
- Add the phasors only if all sources have the same frequency.
If the sources have different frequencies, a single phasor analysis is not possible. You must solve each frequency separately with its own impedances (jωL and 1/(jωC) change with ω), and add the time-domain results, never the phasors.
Thevenin and Norton equivalents
At a pair of terminals, a linear AC network reduces to a phasor source Vth in series with an impedance Zth.
- V_th is the open-circuit voltage phasor at the terminals.
- Z_th is the impedance seen into the terminals with independent sources turned off.
- Norton: IN = Vth / Zth, with Zth in parallel.
For a load ZL, the current is I = Vth / (Zth + ZL). Z_th is generally complex and valid only at the analysis frequency. At a different frequency, recompute it.
Choosing a method
| Situation | Best method |
|---|---|
| Few nodes, several current sources | Nodal |
| Few loops, several voltage sources | Mesh |
| Sources at different frequencies | Superposition |
| Varying load on a fixed network | Thevenin |
Common errors
- Mixing peak and RMS values within one problem.
- Forgetting that Z_C = 1/(jωC) = −j/(ωC), so its imaginary part is negative.
- Using one impedance value at two different frequencies.
- Dropping the angle when reading results from a calculator.
Exercise
A network has Vth = 12∠0° V and Zth = 3 + j4 Ω. A load Z_L = 3 − j4 Ω is connected. Find the current phasor.
Show answer
Zth + ZL = (3 + j4) + (3 − j4) = 6 Ω, so I = 12∠0° / 6 = 2∠0° A. The reactances cancel, so the current is in phase with V_th.
Exercise
A circuit has a 5 V, 50 Hz source and a 2 V, 100 Hz source. Can you add the two phasor responses to get the total voltage across a resistor?
Show answer
No. The phasors belong to different frequencies. Solve each frequency with its own impedances, convert each result to a time-domain sinusoid, and add those.