Transient stability with ANDES in Electrisim
Transient stability in Electrisim is an ANDES time-domain simulation: it shows whether synchronous machines stay in step after a bus fault or a line trip, and how bus voltage recovers. Open Simulate → Transient Stability (ANDES) on a diagram that already has at least one synchronous generator with dynamics. PSS/E .dyr files, including CMLD and PERC1 records, are not imported.
What the study does
Electrisim sends the diagram to the backend, builds an ANDES system, runs a power flow for the operating point, then integrates with TDS.run() out to the end time you set (default 10 s). You can apply a three-phase fault on a bus (fault_tf / fault_tc, default 1.0 s / 1.1 s) and optionally trip a line.
- Generator speed and rotor angle versus time
- Bus voltage and an approximate system frequency from mean speed
- Machine models GENROU or GENCLS, with EXDC2 or SEXS excitation and a TGOV1 governor
- Empty Dynamics-tab fields filled with textbook defaults, listed in the result
The same dynamic network, without a fault, is what eigenvalue analysis linearises. Use that when you want damping and mode frequency at the current dispatch, and time-domain when you want the swing after a specific event.
What the simulation is solving
Each synchronous machine is a rotating mass driven by its turbine and held back by the electrical power it delivers. When the two are equal the rotor turns at constant speed. A fault near the machine collapses the voltage, so the machine cannot deliver its power while the turbine keeps pushing. The rotor accelerates, and its angle moves ahead of the rest of the system:
(2H / ω0) · d2δ/dt2 = Pm − Pe
Here H is the inertia constant of the machine. When the fault is cleared, the machine can deliver power again and is pulled back. If the angle has not moved too far, it swings back and settles. If it has, the machine loses synchronism. The simulation integrates this equation for every machine, together with its excitation system and governor.
What to look for in the curves
- First swing. The rotor angles rise during the fault and must turn back after it is cleared. An angle that keeps rising means the machine has lost synchronism.
- Damping. After the first swing the oscillation should die out within a few seconds. Swings that stay the same size or grow point to poor damping, and eigenvalue analysis shows which mode is responsible.
- Voltage recovery. Bus voltages should return close to their value before the fault. A slow recovery stresses motors and can trip converter-connected plant.
- Frequency. After a generator trip, the lowest frequency and the speed of the fall show whether the remaining machines have enough inertia and reserve.
Finding the critical clearing time
The critical clearing time is the longest fault duration the system survives. With the default settings the fault is applied at 1.0 s and cleared at 1.1 s, which is 100 ms. To find the limit, run the study again with a later clearing time, in steps of 20 or 50 ms, until a machine loses synchronism. The last stable value is the critical clearing time for that fault. Compare it with the total clearing time of your protection, relay time plus breaker time, with a margin.
The limit gets shorter when the machine is loaded more heavily, when the fault is closer to it, and when the network behind it is weaker after the fault, for example because clearing the fault takes a line out.
How to run it
- Build the network with at least one synchronous generator, and fill its Dynamics tab. Empty fields get textbook defaults, which are listed in the result.
- Confirm that a load flow converges: it is the starting point of the simulation.
- Click Simulate → Transient Stability (ANDES).
- Choose the faulted bus, the times the fault is applied and cleared, and optionally a line to trip. Set the end time.
- Run, and read the rotor angles, speeds and bus voltages over time.
What it does not do
- No PSS/E
.rawor.dyrimport. Build the diagram in Electrisim, or start from an IEEE benchmark template. - Not the full ANDES model catalogue. Static generators, three-winding transformers, and DC lines are skipped or warned.
- Not EMT. This is RMS electromechanical simulation, not sub-cycle electromagnetic transients.
- An external grid by itself is not enough. You need at least one synchronous generator; mark one as slack, or pair generators with an external grid.
Parameter tables and the mapping steps are in the transient stability documentation. If you are comparing this with a transmission dynamics package, see the PSS/E alternative page. Cloud studies start at $10 per month.
Run the study in the browser: app.electrisim.com. A demo two-machine case can be imported from
transient_stability_two_machine_demo.py(File → Import).