S12 · Lesson 44 · Machine dynamics lab
Simulating an induction motor in the dq frame and checking it against the equivalent circuit, the torque pulsations and run-up time of a direct-on-line start, a synchronous generator's short-circuit current with its DC offset, and the dq0 transformation's power invariance
The equivalent circuits of lessons 20 to 24 describe machines in steady state. Starting a motor, or shorting a generator, is anything but: fluxes have to build or collapse, and the currents carry transients at line frequency and decaying offsets. The dq model of lesson 39 handles both. In this lab you'll write an induction motor's dq equations, check that they reproduce the equivalent circuit's torque exactly, then let the motor start from rest and watch its torque swing above the static breakdown value before it settles. You'll finish with a generator's short-circuit current and a check on the dq0 transformation itself.
- The curve is a generator's phase-a short-circuit current in per unit after a fault at a voltage zero (α = 0), with lesson 40's reactances and time constants: subtransient and transient AC components plus a DC offset decaying with the armature time constant on the slider.
- The first peak, half a cycle in, nearly doubles the symmetrical subtransient peak.
- A shorter armature time constant lets the offset fade within a few cycles.
Predict
Lesson 20's 460 V motor (4 poles, 0.1 kg·m² of inertia, no load) is switched straight onto the line. Its static breakdown torque is 446 N·m. What peak torque does it actually develop during the start?
The static curve assumes the air-gap flux is already established and rotating. At switch-on it has to build, and the stator's transient currents make the torque oscillate at line frequency around its static value, swinging up to 521 N·m in the dq simulation of task 2. Shafts and couplings must be designed for these peaks, which for large motors can reach several times the rated torque.
Name it
The induction machine in the stationary frame
With flux linkages as states and the rotor shorted (all rotor quantities referred to the stator), in a frame fixed to the stator:
with and on each axis (, ), so the currents follow from the fluxes by inverting a 2 × 2 matrix. The torque is and , with . A balanced supply of peak is , .
The short-circuit current
From open circuit at 1 pu, the phase-a current after a fault at angle α is
with the RMS envelope of lesson 40.
Power in dq0
With the amplitude-invariant transformation, at every instant.
Check
Write im_torque_at_slip(s, T=1.0, dt=1e-4): simulate lesson 20's motor (460 V, 60 Hz, 4 poles, = 0.2, = 0.15, = 0.5, = 20 Ω) in the stationary dq frame with its rotor held at slip s, by RK4 from zero flux, and return the average torque over the last 0.2 s.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Using the same model, write free_start(J, dt=1e-4): start the motor from rest and zero flux with no load, and return (time to reach 95% of synchronous speed, peak torque during the run).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write short_circuit(t, Xd, Xd1, Xd2, Td1, Td2, Ta, f, alpha): the phase-a short-circuit current in per unit from 1 pu open circuit, and first_peak(...) with the same parameters: its largest magnitude in the first cycle, sampled every microsecond.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write dq0(a, b, c, theta) (amplitude-invariant Park transformation, returning (d, q, 0)) and power_abc_dq0(va, vb, vc, ia, ib, ic, theta) returning the instantaneous power computed both ways.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does an induction motor's torque briefly exceed its static breakdown torque when it is switched onto the line?
The static torque–speed curve assumes the machine is in sinusoidal steady state, with its air-gap flux already rotating at full strength. At the instant of switching, the fluxes are zero and must build up, and since flux can't change instantly, the stator currents contain decaying DC components alongside the AC ones. Those DC components create a stationary field that interacts with the rotating one, producing a torque that oscillates at line frequency around the steady value and decays with the machine's electrical time constants. The peaks of that oscillation can exceed the breakdown torque, which is why shafts, couplings and driven equipment must be designed for the starting transient, not just the static curve.