Electromagnetic transients (EMT) simulation computes the instantaneous voltages and currents of a power network, one small time step after another. It shows what happens in the microseconds and milliseconds after a breaker opens, a fault strikes or a converter switches: the surges, oscillations and travelling waves that a phasor study averages away.
EMT simulation or a phasor study?
Load-flow, short-circuit and transient-stability (RMS) programs describe each voltage and current by a phasor at the fundamental frequency. That is fast, and right for studies of seconds to minutes, but it cannot show anything that is not a slowly changing 50 or 60 Hz sine wave. EMT simulation solves the network's differential equations directly, with waveforms that can contain any frequency. You need it for:
- Switching surges: energising lines, capacitor banks and transformers, and breaker reclosing
- Lightning and fault transients, and the sizing of surge arresters
- Transient recovery voltage across a breaker after it clears a fault
- Transformer inrush and saturation, and ferroresonance
- Power electronics: rectifiers, HVDC converters, and grid-following and grid-forming inverters
- Control interactions, harmonics and sub-synchronous oscillations
How an EMT program works: Dommel's method
Almost every EMT program, the EMTP family included, uses the nodal method published by Hermann Dommel in 1969. Each element's differential equation is discretised with the trapezoidal rule, which turns the element into a conductance in parallel with a current source that carries its history: its companion model. For an inductance L and a time step Δt:
and for a capacitance C the conductance is 2C/Δt. With every element replaced by its companion model, the network at each step is a set of resistors and current sources, solved by nodal analysis:
The conductance matrix G stays the same from step to step, so it is factorised once and reused. It changes only when a switch, diode or other non-linear element changes state, and then only the affected part needs refactorising.
Transmission lines and travelling waves
A long line delays a wave by its travel time. The Bergeron model represents a lossless line exactly by its surge impedance and travel time, as two companion models whose current sources are fed by the other end's history from one travel time earlier. Real lines lose more at higher frequencies; a frequency-dependent model (J. Marti's) fits rational functions to the line's characteristic impedance and propagation, computed from the tower geometry and the conductors.
Choosing the time step
The time step limits the highest frequency the simulation can follow. Studies of power-frequency behaviour and controls typically use 20 to 50 µs; power electronics and fast fronts need a few microseconds or less. The trapezoidal rule is stable at any step, but a step that is too long smears the fast parts of the waveform.
Switching and numerical chatter
A switch rarely changes state exactly at a time step. A simple program switches at the next step, which shifts the event and, with power electronics, adds false harmonics. Good EMT programs interpolate back to the exact switching instant. The trapezoidal rule also has a weakness: when the current in an inductor or the voltage on a capacitor is forced to change abruptly, it produces a sustained step-by-step oscillation called numerical chatter. It is removed by taking short backward-Euler steps after the switching (critical damping adjustment), or by root matching.
EMT programs
The best-known EMT programs are PSCAD/EMTDC and the EMTP family (EMTP, ATP). All are built on Dommel's method. EMTSim is an independent program of the same kind; here is how it compares.
Simulating with EMTSim
EMTSim implements all of this in a fast C++ solver with a circuit editor: draw the network, press Run, and zoom into every voltage and current. It interpolates switching instants and removes chatter, includes Bergeron and frequency-dependent lines, saturating transformers, synchronous and induction machines, converters and more than 100 control blocks, and every model is checked against its analytical solution.
Further reading: H. W. Dommel, “Digital computer solution of electromagnetic transients in single- and multiphase networks”, IEEE Transactions on Power Apparatus and Systems, 1969; N. Watson and J. Arrillaga, Power Systems Electromagnetic Transients Simulation, IET.