---
title: "Induction motor lab: performance, breakdown and parameters"
heading: Solving an induction motor's full equivalent circuit in Python with complex numbers, finding its breakdown torque by Thévenin reduction and checking it against a direct search, and recovering the circuit from DC, no-load and blocked-rotor test data
eyebrow: S12 · Lesson 50 · Induction motor lab
xp: 60
---

::: hook
Lessons 20 to 24 worked the 460 V motor by hand, one operating point at a time. In this lab you'll write the three functions a motor engineer actually uses: one that solves the equivalent circuit at any slip and returns everything on the nameplate, one that finds the breakdown point in closed form, and one that turns three bench tests into the circuit's parameters. Each is checked against the numbers the lessons computed.
:::

::: predict
## Your breakdown function uses the Thévenin formula, and the test compares it with a brute-force search of the full circuit. Should they agree exactly?

- [x] Yes: the Thévenin equivalent is exact for the rotor branch, so its peak is the true peak
- [ ] Only approximately, since Thévenin neglects the magnetizing branch
- [ ] Only at small slips
- [ ] No, the search will find a higher torque

::: reveal
The Thévenin equivalent of the stator and magnetizing branch, seen from the rotor, is exact for a linear circuit: it reproduces the rotor current at every slip. The breakdown formula then maximizes power into $R_2/s$ exactly. Only the grid spacing of the search limits the agreement. The approximation lesson 21's problems used, moving the magnetizing branch to the terminals, is a different and inexact shortcut.
:::
:::

::: nameit
## The circuit in code

Complex arithmetic does the work: $Z_2 = R_2/s + jX_2$, $Z_p = jX_m \parallel Z_2$, $I_1 = V/(R_1 + jX_1 + Z_p)$, $I_2 = I_1Z_p/Z_2$. Air-gap power $3|I_2|^2R_2/s$, torque $P_\text{ag}/\omega_s$, input $3V\,\text{Re}(I_1)$, output $(1 - s)P_\text{ag} - P_\text{rot}$.

## Breakdown

$Z_\text{th} = jX_m(R_1 + jX_1)/(R_1 + j(X_1 + X_m))$, $V_\text{th} = |V\,jX_m/(R_1 + j(X_1 + X_m))|$; then $s_{\max T}$ and $T_\max$ from lesson 23.

## Parameters from tests

DC: $R_1 = V/2I$. No load: $X_\text{nl} = V_\phi/I$, $P_\text{rot} = P - 3I^2R_1$. Blocked rotor: $R_1 + R_2 = P/3I^2$, $X_1 + X_2 = \sqrt{Z^2 - R^2} \times f_\text{rated}/f_\text{test}$, split by class; $X_m = X_\text{nl} - X_1$.
:::

::: example
## What should `performance(0.02)` return for the 460 V motor?

::: solution
1. **At 2% slip.** $I_1$ = 36.47 A at 0.892 power factor, T = 133.28 N·m, $P_\text{out}$ = 24,120 W and efficiency 0.9305, the numbers of lesson 20.
2. **At standstill.** At s = 1 it should give 253.8 A and 146.3 N·m, the starting values.

**Answer:** 36.47 A at 0.892 power factor, 133.28 N·m, 24,120 W of output and an efficiency of 0.9305.
:::
:::

::: example
## What should `extract` recover from lesson 24's test data?

::: solution
1. **The circuit.** $R_1$ = 0.200, $R_2$ = 0.150, $X_1 = X_2$ = 0.500 Ω (class A), $X_m$ = 19.93 Ω and 498.6 W of rotational loss.
2. **Why $X_m$ comes out low.** The magnetizing reactance comes out 0.07 Ω below the motor's true 20 Ω, because the no-load test sees $X_1 + X_m$ in parallel with a very large but finite rotor branch; the error is 0.35%, small enough to ignore.

**Answer:** $R_1$ = 0.200 Ω, $R_2$ = 0.150 Ω, $X_1 = X_2$ = 0.500 Ω, $X_m$ = 19.93 Ω, and 498.6 W of rotational loss.
:::
:::

::: check
kind: python

## Step 1. Write `performance(s)`: the full equivalent circuit at any slip.

```python starter
import numpy as np

# A 460 V (line), 4-pole, 60 Hz, Y-connected induction motor; ohms per phase.
V = 460/np.sqrt(3)
R1, X1, XM, R2, X2 = 0.2, 0.5, 20.0, 0.15, 0.5
WS = 4*np.pi*60/4          # synchronous speed, rad/s
PROT = 500.0               # friction, windage and core loss, W

def performance(s):
    # Solve the full equivalent circuit at slip s. Return a dict with the stator current
    # magnitude 'I1' (A), power factor 'pf', torque 'T' (N·m, from the air-gap power),
    # output power 'Pout' (W, mechanical power less PROT) and efficiency 'eff' (Pout over input).
    return {'I1': 0.0, 'pf': 0.0, 'T': 0.0, 'Pout': 0.0, 'eff': 0.0}

print(performance(0.02))
```

```python solution
import numpy as np

# A 460 V (line), 4-pole, 60 Hz, Y-connected induction motor; ohms per phase.
V = 460/np.sqrt(3)
R1, X1, XM, R2, X2 = 0.2, 0.5, 20.0, 0.15, 0.5
WS = 4*np.pi*60/4          # synchronous speed, rad/s
PROT = 500.0               # friction, windage and core loss, W

def performance(s):
    Z2 = R2/s + 1j*X2
    Zp = 1j*XM*Z2/(1j*XM + Z2)
    I1 = V/(R1 + 1j*X1 + Zp)
    I2 = I1*Zp/Z2
    Pag = 3*abs(I2)**2*R2/s
    Pin = 3*V*I1.real
    Pout = (1 - s)*Pag - PROT
    return {'I1': abs(I1), 'pf': I1.real/abs(I1), 'T': Pag/WS, 'Pout': Pout, 'eff': Pout/Pin}

print(performance(0.02))
```

```python tests
r = performance(0.02)
for k, want, tol in (('I1', 36.4705, 1e-3), ('pf', 0.892040, 1e-5), ('T', 133.2790, 1e-3), ('Pout', 24120.05, 0.05), ('eff', 0.930537, 1e-5)):
    assert abs(r[k] - want) < tol, f"At 2% slip, {k} should be {want}; got {r[k]}."
r = performance(1.0)
assert abs(r['T'] - 146.318) < 1e-2 and abs(r['I1'] - 253.763) < 1e-2, f"At standstill the motor draws 253.76 A and makes 146.32 N·m; got {r['I1']:.2f} A and {r['T']:.2f} N·m."
```

::: right
Right. Your circuit reproduces lesson 20's operating point and the starting values.
:::
:::

::: check
kind: python

## Step 2. Write `breakdown()`: the Thévenin closed form for the peak.

```python starter
import numpy as np

# A 460 V (line), 4-pole, 60 Hz, Y-connected induction motor; ohms per phase.
V = 460/np.sqrt(3)
R1, X1, XM, R2, X2 = 0.2, 0.5, 20.0, 0.15, 0.5
WS = 4*np.pi*60/4          # synchronous speed, rad/s
PROT = 500.0               # friction, windage and core loss, W

def breakdown():
    # Reduce the stator and magnetizing branch to a Thevenin source and return (s_max, T_max):
    # the slip of maximum torque and the breakdown torque in N·m.
    return 0.0, 0.0

print(breakdown())
```

```python solution
import numpy as np

# A 460 V (line), 4-pole, 60 Hz, Y-connected induction motor; ohms per phase.
V = 460/np.sqrt(3)
R1, X1, XM, R2, X2 = 0.2, 0.5, 20.0, 0.15, 0.5
WS = 4*np.pi*60/4          # synchronous speed, rad/s
PROT = 500.0               # friction, windage and core loss, W

def breakdown():
    Zth = 1j*XM*(R1 + 1j*X1)/(R1 + 1j*(X1 + XM))
    Vth = abs(V*1j*XM/(R1 + 1j*(X1 + XM)))
    Z = np.hypot(Zth.real, Zth.imag + X2)
    s_max = R2/Z
    T_max = 1.5*Vth**2/(WS*(Zth.real + Z))
    return s_max, T_max

print(breakdown())
```

```python tests
s_max, T_max = breakdown()
def torque(s):
    Z2 = R2/s + 1j*X2
    Zp = 1j*XM*Z2/(1j*XM + Z2)
    I2 = V/(R1 + 1j*X1 + Zp)*Zp/Z2
    return 3*abs(I2)**2*R2/s/WS
grid = np.linspace(0.05, 0.4, 70001)
k = int(np.argmax([torque(x) for x in grid[::100]]))*100
fine = grid[max(k - 200, 0):k + 200]
vals = [torque(x) for x in fine]
assert abs(s_max - fine[int(np.argmax(vals))]) < 2e-5, f"A direct search of the full circuit finds the peak at s = {fine[int(np.argmax(vals))]:.5f}; got {s_max:.5f}."
assert abs(T_max - max(vals)) < 1e-6*max(vals), f"The breakdown torque is {max(vals):.4f} N·m; got {T_max:.4f}."
```

::: right
Right. The closed form lands exactly on the full circuit's peak.
:::
:::

::: check
kind: python

## Step 3. Write `extract(dc, nl, br, f_test)`: the circuit from three tests.

```python starter
import numpy as np

def extract(dc, nl, br, f_test, split=0.5, f_rated=60.0):
    # dc = (V, I) between two terminals of the Y stator; nl = (V_line, I, P) on no load;
    # br = (V_line, I, P) with the rotor blocked at f_test hertz. split is the stator's share of
    # the leakage reactance (0.5 for classes A and D, 0.4 for B, 0.3 for C).
    # Return a dict with R1, R2, X1, X2, XM (ohms per phase at f_rated) and Prot (W).
    return {'R1': 0.0, 'R2': 0.0, 'X1': 0.0, 'X2': 0.0, 'XM': 0.0, 'Prot': 0.0}

print(extract((12, 30), (460, 13.0, 600), (26.8194, 36, 1360.8), 15))
```

```python solution
import numpy as np

def extract(dc, nl, br, f_test, split=0.5, f_rated=60.0):
    R1 = dc[0]/(2*dc[1])
    Vnl, Inl, Pnl = nl
    Xnl = Vnl/np.sqrt(3)/Inl
    Prot = Pnl - 3*Inl**2*R1
    Vbr, Ibr, Pbr = br
    Rbr = Pbr/(3*Ibr**2)
    Zbr = Vbr/np.sqrt(3)/Ibr
    Xbr = np.sqrt(Zbr**2 - Rbr**2)*f_rated/f_test
    X1 = split*Xbr
    return {'R1': R1, 'R2': Rbr - R1, 'X1': X1, 'X2': Xbr - X1, 'XM': Xnl - X1, 'Prot': Prot}

print(extract((12, 30), (460, 13.0, 600), (26.8194, 36, 1360.8), 15))
```

```python tests
p = extract((12, 30), (460, 13.0, 600), (26.8194, 36, 1360.8), 15)
for k, want, tol in (('R1', 0.2, 1e-9), ('R2', 0.15, 1e-6), ('X1', 0.5, 1e-4), ('X2', 0.5, 1e-4), ('XM', 19.9292, 1e-3), ('Prot', 498.6, 1e-6)):
    assert abs(p[k] - want) < tol, f"For lesson 24's tests (class A), {k} should be {want}; got {p[k]}."
p = extract((12, 30), (460, 13.0, 600), (26.8194, 36, 1360.8), 15, split=0.4)
assert abs(p['X1'] - 0.4) < 1e-4 and abs(p['X2'] - 0.6) < 1e-4 and abs(p['XM'] - 20.0292) < 1e-3, f"Class B splits the leakage 40/60: X1 = 0.4, X2 = 0.6, XM = 20.03; got {p['X1']:.4f}, {p['X2']:.4f}, {p['XM']:.4f}."
p = extract((6, 40), (400, 9.0, 450), (40.0, 50, 2400), 20)
Rbr = 2400/(3*50**2); Zbr = 40/np.sqrt(3)/50; Xbr = np.sqrt(Zbr**2 - Rbr**2)*3
assert abs(p['R1'] - 0.075) < 1e-9 and abs(p['R2'] - (Rbr - 0.075)) < 1e-9 and abs(p['X1'] + p['X2'] - Xbr) < 1e-9, "Another motor: R1 = 6/(2·40), R2 = P/(3I²) − R1, X1 + X2 = √(Z² − R²) × 60/20."
```

::: right
Right. Three bench tests give back the motor's circuit, for any design class.
:::
:::

::: explain
## Why is the blocked-rotor test's reactance split between stator and rotor by a rule of thumb instead of measured?

::: model
The blocked-rotor test measures only the series combination $R_1 + R_2 + j(X_1 + X_2)$, because at standstill the magnetizing branch carries almost no current. There's no terminal measurement that separates the stator's leakage from the rotor's: both are in series in the same path. The split matters, since $X_1$ sits outside the magnetizing branch and $X_2$ inside it, which affects the Thévenin voltage, starting current and breakdown torque. So standards assign typical ratios by design class, from rotor geometry: deep-bar and double-cage rotors (classes B and C) have more rotor leakage. The resulting error in performance predictions is small because the total is right.
:::
:::

::: practice

::: check
given: V = 230 | 460; R = 0.1 | 0.3; X = 0.4 | 0.8; M = 12 | 30; r = 0.1 | 0.3; s = 0.02 | 0.04
answer: 3*(V/sqrt(3))^2*M^2/(R^2 + (X + M)^2)*(r/s)/(((R*M^2/(R^2 + (X + M)^2)) + r/s)^2 + (M*(R^2 + X*(X + M))/(R^2 + (X + M)^2) + X)^2)/(4*pi*60/4)
unit: N·m
tolerance: 0.5%

## Torque by Thévenin: {V} V line, $R_1$ = {R}, $X_1 = X_2$ = {X}, $X_m$ = {M}, $R_2$ = {r} Ω, slip {s}, 4 poles, 60 Hz?

::: misses
- [any] Thévenin voltage and impedance, then the torque formula.
:::
:::

::: check
given: I = 20 | 60; R = 0.05 | 0.25; r = 0.08 | 0.3; X = 0.6 | 2; f = 12 | 20; let P = 3*I^2*(R + r); let V = sqrt(3)*I*sqrt((R + r)^2 + (X*f/60)^2)
answer: sqrt((V/sqrt(3)/I)^2 - (P/(3*I^2))^2)*60/f
unit: Ω
tolerance: 0.5%

## Blocked rotor at {f} Hz: {V} V line, {I} A, {P} W. $X_1 + X_2$ at 60 Hz?

::: misses
- [any] $\sqrt{Z^2 - R^2} \times 60/f$.
:::
:::

::: check
given: r = 0.1 | 0.3; R = 0.1 | 0.3; X = 0.8 | 2
answer: r/sqrt(R^2 + X^2)
tolerance: 0.5%

## Slip at breakdown: $R_2$ = {r}, $R_\text{th}$ = {R}, $X_\text{th} + X_2$ = {X} Ω?

::: misses
- [any] $R_2/|Z|$.
:::
:::
:::
