Frequency: The Pulse of the Grid
Grid frequency is the most important real-time indicator of power system health. In a synchronous AC system, all generators rotate in lockstep at a speed directly proportional to frequency. When a large generator trips offline, the remaining generators must instantly supply the lost power — and the energy comes from their own rotational kinetic energy, causing them to slow down. This deceleration manifests as a frequency decline that propagates across the entire interconnected grid at nearly the speed of light.
The Swing Equation
The simulation is governed by the swing equation: 2H·d(Δf)/dt = ΔP_m − ΔP_e − D·Δf. The inertia constant H determines how quickly frequency changes for a given power imbalance. The mechanical power input ΔP_m represents governor response (increasing steam/water/gas to turbines), while D represents the natural load damping effect — motors and other frequency-sensitive loads naturally reduce their power consumption as frequency drops.
Three Phases of Frequency Response
The visualization shows three distinct phases after a generation loss. First, the inertial response (0-2 seconds): frequency declines at a rate determined by system inertia and the size of the disturbance. Second, primary frequency response (2-30 seconds): governors detect the frequency decline and increase generator output, arresting the decline at the frequency nadir. Third, secondary response (30 seconds to minutes): automatic generation control (AGC) restores frequency to its nominal value by adjusting setpoints.
The Low-Inertia Challenge
As power systems worldwide integrate more wind and solar generation — which connects through inverters rather than synchronous machines — total system inertia is declining. Ireland has already experienced inertia levels so low that the rate of frequency change after disturbances threatens to trigger anti-islanding relays on distributed generators, potentially cascading into wider outages. Solutions include synthetic inertia from wind turbines, grid-forming inverters on batteries, and synchronous condensers — flywheels that provide inertia without generating power.