AnyLearn
All lessons
Scienceintermediate

The grid: frequency, dispatch, and variability

Why an electrical grid is one giant synchronous machine, what frequency stability and rotational inertia actually mean, how dispatch ordering and ancillary services keep the lights on, and why variable renewable integration is fundamentally an engineering problem at the system level.

Not signed in — your progress and quiz score won't be saved.
Lesson progress1 / 8

One big synchronous machine

A regional electrical grid is, electromechanically, one synchronous machine spanning hundreds or thousands of kilometers. Every generator connected to it must rotate in lock-step with every other generator, at a system-wide frequency — 50 Hz in Europe and most of Asia, 60 Hz in the Americas and parts of East Asia.

The synchronous frequency is set by the rotation rate of large turbines. A 60 Hz synchronous generator has its rotor spinning at exactly 6060/p=3600/p60 \cdot 60 / p = 3600/p revolutions per minute, where pp is the number of pole pairs.

This tight synchronization has structural consequences:

  • Real-time supply-demand balance. Electricity is consumed essentially the moment it is generated. The grid does not store significant amounts of energy in itself; instead, the rotational inertia of all spinning machines absorbs short-term mismatches.
  • Frequency as the balance signal. When demand exceeds generation, the spinning machines slow down (give up kinetic energy to the load); frequency falls. When generation exceeds demand, frequency rises. Holding frequency within ±0.05\pm 0.05 Hz of nominal is the grid operator's continuous task.
  • Cascading failures. If a fault forces a generator off-line, the system frequency starts to fall; if it falls too far, protective relays start to disconnect more generators in a cascade. The 2003 Northeast US blackout and the 2025 Iberian peninsula blackout are examples of cascading collapses triggered by initial small disturbances.

The grid as one machine is what makes electricity simultaneously reliable and fragile. Understanding it operationally requires distinguishing what happens on second timescales from what happens on minute and hour timescales.

Full lesson text

All 8 steps on one page — for reading, reference, and search.

Show

1. One big synchronous machine

A regional electrical grid is, electromechanically, one synchronous machine spanning hundreds or thousands of kilometers. Every generator connected to it must rotate in lock-step with every other generator, at a system-wide frequency — 50 Hz in Europe and most of Asia, 60 Hz in the Americas and parts of East Asia.

The synchronous frequency is set by the rotation rate of large turbines. A 60 Hz synchronous generator has its rotor spinning at exactly 6060/p=3600/p60 \cdot 60 / p = 3600/p revolutions per minute, where pp is the number of pole pairs.

This tight synchronization has structural consequences:

  • Real-time supply-demand balance. Electricity is consumed essentially the moment it is generated. The grid does not store significant amounts of energy in itself; instead, the rotational inertia of all spinning machines absorbs short-term mismatches.
  • Frequency as the balance signal. When demand exceeds generation, the spinning machines slow down (give up kinetic energy to the load); frequency falls. When generation exceeds demand, frequency rises. Holding frequency within ±0.05\pm 0.05 Hz of nominal is the grid operator's continuous task.
  • Cascading failures. If a fault forces a generator off-line, the system frequency starts to fall; if it falls too far, protective relays start to disconnect more generators in a cascade. The 2003 Northeast US blackout and the 2025 Iberian peninsula blackout are examples of cascading collapses triggered by initial small disturbances.

The grid as one machine is what makes electricity simultaneously reliable and fragile. Understanding it operationally requires distinguishing what happens on second timescales from what happens on minute and hour timescales.

2. Inertia and frequency stability

When grid frequency starts to deviate, the first response comes from rotational inertia of spinning machines. A large turbine-generator combination holds substantial rotational kinetic energy (KE=12Iω2KE = \frac{1}{2} I \omega^2, where II is moment of inertia and ω\omega is angular velocity). A frequency dip pulls energy out of this rotational store; the generators slow down, but slowly.

The rate of frequency change df/dtdf/dt after a sudden generation loss is roughly

dfdtΔP2HSsysfnom\frac{df}{dt} \approx -\frac{\Delta P}{2 H \cdot S_{\text{sys}}} \cdot f_{\text{nom}}

where ΔP\Delta P is the power deficit, HH is system inertia constant (seconds), SsysS_{\text{sys}} is system rated capacity, and fnomf_{\text{nom}} is nominal frequency. Higher HH (more spinning mass) gives a slower frequency drop, buying time for primary response (generators automatically increasing output) to act.

Traditional grids dominated by synchronous machines (coal, gas, nuclear, hydro) have H4H \approx 466 seconds. Inverter-based resources (solar PV, wind, batteries) are connected through power electronics that do not contribute physical rotational inertia. As the share of inverter-based resources grows, system inertia falls. Low-inertia systems experience faster frequency excursions for the same disturbance.

The engineering responses:

  • Synthetic inertia. Wind turbines can be controlled to temporarily release rotational energy from their blades; batteries can be programmed to mimic an inertial response.
  • Grid-forming inverters. Power electronics that voltage-source the AC waveform, providing virtual inertia at much faster timescales than synchronous machines.
  • Synchronous condensers. Spinning machines (no fuel input) deployed solely to provide inertia and reactive power.
  • Faster-acting reserves. Demand response, batteries, fast generators that respond within milliseconds.

Low-inertia operation is feasible but requires explicit engineering. The transition has been a major research area for grid operators in regions where inverter-based shares routinely exceed 50% of instantaneous generation.

3. Dispatch and the merit order

On a typical grid, many generators are available at any moment, each with its own cost of producing the next MWh. The grid operator dispatches generation in merit order — from cheapest marginal cost to most expensive — until the demand is met.

A conventional merit order ranks roughly as:

  1. Wind and solar — zero marginal cost (fuel is free). Dispatched whenever available.
  2. Nuclear — low marginal cost, designed for baseload, usually running near full output.
  3. Hydro — low marginal cost where water is available; reservoir hydro can be cycled for value rather than baseload.
  4. Combined-cycle gas — moderate marginal cost depending on gas price.
  5. Coal — moderate to high marginal cost depending on coal price and emissions costs.
  6. Open-cycle gas / oil — high marginal cost; reserved for peak demand or as backup.

The clearing price in a wholesale market is the marginal cost of the most expensive generator needed to meet demand in that interval. All generators that bid in below this price are paid the clearing price (single-clearing-price markets). The clearing price sets the time-varying value of electricity that drives investment decisions.

Merit-order changes structurally with renewable penetration:

  • High wind/solar pushes higher-cost generation off the merit order.
  • The clearing price falls (sometimes to zero or negative) during high-renewable hours.
  • The fewer hours that gas and coal run, the harder it is for them to recover capital costs.
  • 'Capacity markets' that pay generators for availability (not just energy) emerge as a response.

The merit-order analysis is a useful framework, but it abstracts from system constraints (transmission limits, ramping limits, must-run requirements) that real dispatch must satisfy. Modern grid optimizers solve unit commitment and economic dispatch as a constrained optimization in 5-minute increments.

4. Transmission: the geographic problem

Generation and demand are not located at the same places. A 1 GW wind farm in West Texas needs to deliver power to the load center of Dallas or Houston; a 1 GW solar farm in the desert Southwest needs to reach Los Angeles. Transmission is the high-voltage infrastructure that carries bulk power across distances.

Key concepts:

  • Voltage levels. Long-distance bulk transmission runs at 230, 345, 500, 765 kV AC, or ±320, 525, 800 kV HVDC (high-voltage direct current). Higher voltage = lower current for the same power, less resistive loss.
  • AC vs DC. AC for shorter distances and easier connection to AC grid; HVDC for very long distances (lower losses) and for connecting asynchronous grids (different frequencies or weak ties between AC systems).
  • Losses. Resistive losses scale with I2RI^2 R; line capacity falls with distance. A typical 1000-km HVDC line loses about 3% of transmitted power; equivalent AC at lower voltage loses more.
  • Capacity factor. Transmission lines also have capacity factors. A line designed for a peak hour can sit underutilized most of the year. Costs are amortized over total energy delivered.

Transmission constraints frequently bind in practice:

  • Curtailment. When wind is producing more than the line out of the wind region can carry, output is reduced. Texas curtailed wind production during much of the 2010s before transmission expansions caught up.
  • Long permitting timelines. Major transmission projects take 10–15 years from planning to operation in many jurisdictions, much of it in environmental review and route negotiation. New generation can be built faster than transmission.
  • Geographic asymmetry. The best wind sites and the best solar sites are often far from load centers, requiring transmission build-out specifically to monetize them.

The structural lesson: transmission is often the binding constraint on integrating new generation, not the cost of the generation itself. Grid-scale clean-energy build-out has been transmission-paced in many regions for the past decade.

5. Reserves and ancillary services

Beyond the energy market, grid operators procure several categories of ancillary services — capabilities that keep the system stable on different timescales.

  • Primary frequency response (seconds). Generators that automatically increase or decrease output when frequency deviates. Governor-based response in synchronous machines, droop-controlled response in inverters.
  • Secondary regulation (seconds to minutes). Automatic generation control (AGC) that sends dispatch signals every few seconds to selected generators to follow load minute by minute. Closed-loop control via SCADA.
  • Tertiary reserves (10 minutes to hours). Generators that can ramp up within 10–30 minutes after a major contingency (a generator trip, a transmission loss). Spinning reserves (online, partially loaded) vs non-spinning (offline, fast-startable).
  • Reactive power and voltage support. Maintaining voltage within bounds throughout the network; requires capacitor banks, reactor banks, synchronous condensers, or smart inverters with reactive control.
  • Black-start capability. Generators that can start from a completely de-energized grid (no external power available). Hydro and some gas turbines have this capability; most do not.

Each service has its own market or compensation mechanism. Generators can earn revenue from energy sales plus capacity payments plus several streams of ancillary-service compensation. The 'value stack' for a generator (or battery) is the sum of all the markets it can participate in.

Batteries have become especially valuable in ancillary services because they can switch from charging to discharging within milliseconds, providing fast frequency response, regulation, and reactive support far more responsively than any spinning machine. Many early grid-scale battery business cases were built primarily on ancillary-service revenue rather than energy arbitrage.

6. Why variability is an engineering problem

The phrase 'variable renewable energy' (VRE) is often used as if intermittency were a separate problem from intermittent grid behavior. From an engineering view, every grid has variability — demand fluctuates, generators fail, transmission lines trip. The question is the scale and timescale of the variability and how easily the grid handles it.

Solar variability.

  • Diurnal cycle: 24-hour predictable. Manageable with day-ahead planning.
  • Cloud cover: minutes to hours, partially predictable. Manageable with reserves and ramping resources.
  • Seasonal cycle: predictable but large. Winter generation is 30–50% of summer in mid-latitudes.

Wind variability.

  • Hourly: weather-driven. Day-ahead forecasts have improved substantially since 2010 but still miss substantial events.
  • Weather-week: multi-day low-wind periods ('Dunkelflaute' in German wind discussion) occur regularly.
  • Annual: capacity factors vary by 10–20% from year to year.

High shares of VRE require the grid to handle these variabilities at scale. The response toolkit:

  • Forecasting improves with sensors, machine learning, and weather modeling; the operating cost of forecast error falls as forecasts improve.
  • Geographic diversity smooths wind and solar over wide areas. A continent-spanning interconnection sees less aggregate variability than a single state.
  • Storage absorbs short-term variations (hours) and weather-week variations (multi-day).
  • Demand response shifts consumption to match supply — flexible EV charging, industrial process scheduling, building thermal mass.
  • Sector coupling uses electricity to make hydrogen, synthetic fuels, or heat that can be stored long-term and used outside the power sector.
  • Backup generation that runs few hours per year ('peakers' or 'firm dispatchable' resources) covers the residual demand.

The full system cost of high-VRE penetration is the cost of generation plus the cost of these integration measures. Cost-effective decarbonization minimizes the total, not the LCOE of generation alone.

7. Reading grid-decarbonization claims

A structural framework for interpreting any claim about grid decarbonization or generation mix.

  • What is the share being measured? Generation in a year? Capacity? Instantaneous output? A grid at 30% wind capacity may average 12% wind output (capacity factor) but might exceed 100% instantaneous wind on some hours.
  • What is the geographic scope? A single state, a country, an interconnection? Larger geographies have more diversity and less integration cost.
  • Are the integration costs counted? Levelized cost of energy excludes integration; full-system cost includes it. Both numbers can be quoted for the same technology.
  • What is the comparison? Replacement of coal differs from replacement of gas. Both replace something; the avoided emissions differ.
  • What does 'firm' or 'baseload' mean? A baseload plant historically meant a generator that ran near full output. With high VRE, the relevant category is 'firm dispatchable' — capacity available on demand, regardless of weather, contributing capacity value beyond average energy. Nuclear, gas, hydro reservoir, long-duration storage all qualify under different conditions.
  • What is the system inertia situation? A grid at 70% inverter-based instantaneous penetration faces different stability challenges than one at 20%. Mature regions are handling this with explicit engineering; emerging regions are learning as they scale.

These questions don't have universal answers. They do let you separate carefully framed claims from less carefully framed ones, and identify when an article or report has not specified the variables that determine its conclusions.

The energy cursus closes here. Six lessons of structural framework: units that fit on a single page; combustion and Rankine/Brayton/combined cycles; nuclear fission's chain reaction and fuel cycles; fusion's Lawson criterion and the engineering frontier; solar/wind/battery physics and learning curves; and grid integration as the system-level engineering problem. The specific generation mix any grid carries depends on geography, policy, market design, and time. The frameworks for thinking about it are the same across grids.

8. What this lesson establishes

Three structural points that tie the cursus together.

  • The grid is a system, not a portfolio of plants. A clean-energy decision affects frequency, voltage, transmission, dispatch, reserves, and ancillary services — not just the average cost of generation. System-level analysis is required for system-level questions.
  • Variability is an engineering problem with engineering solutions. Forecasting, geographic diversity, storage, demand response, sector coupling, and firm-dispatchable backup all address different timescales of variability. The right mix depends on the grid's geography, demand profile, and resources.
  • Reading energy claims requires asking specific questions. Share of what? Geographic scope? Integration costs? Comparison? Inertia regime? Most disagreements about energy futures dissolve into agreement once the specifics are pinned down.

The physics is bounded; the engineering is mature; the economics and politics are where the variation across countries and decades lives. The frameworks introduced in this cursus give you a structural reading of any current energy debate independent of the specific year's price and policy state.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. Why is rotational inertia of synchronous machines important for grid stability, and why does it matter that inverter-based resources do not provide it?
    • Inertia generates the AC waveform; without it, electricity does not flow.
    • Inertia absorbs short-term supply-demand mismatches by drawing on stored rotational kinetic energy, slowing frequency excursions and buying time for primary response. Inverter-based resources do not contribute physical inertia, so high-VRE grids must engineer synthetic inertia, grid-forming inverters, or synchronous condensers to compensate.
    • Inertia is the only source of electricity in the grid.
    • Inverter-based resources cannot be connected to the grid at all.
  2. What does the wholesale electricity 'clearing price' represent in a merit-order dispatch?
    • The average cost of all generators.
    • The marginal cost of the most expensive generator needed to meet demand in that interval; all generators bidding in below this price are paid this price.
    • A fixed price set by regulators.
    • The lowest bid across all generators.
  3. Why is transmission often the binding constraint on integrating new generation rather than the cost of generation itself?
    • Generators are always cheap to build.
    • Major transmission projects take 10–15 years from planning to operation in many jurisdictions; new generation (especially wind and solar) can be built much faster than the transmission to deliver it. Curtailment results when generation outpaces line capacity.
    • Transmission lines have zero capacity.
    • Generation cannot exist without transmission.
  4. Why have grid-scale batteries been deployed primarily for *short-duration* (2–4 hour) applications rather than weekly or seasonal storage?
    • Batteries cannot store energy for more than 4 hours by physics.
    • Their economics work best for daily cycles — charging during midday solar excess and discharging during evening demand peaks — capturing high price spreads. Long-duration storage requires different technologies (pumped hydro, compressed air, hydrogen) with different cost structures.
    • Long-duration storage is illegal.
    • Batteries last only 4 hours total.
  5. A claim states that 'wind generates 100% of electricity at certain hours' on a grid. Which question best clarifies what this means at the system level?
    • Whether the wind is offshore or onshore.
    • What is the geographic scope (one state vs interconnection), what fraction of *generation* over a year vs *instantaneous output* in some hours, how does the grid handle the residual when wind drops, and what is the system inertia under those conditions?
    • What color the turbines are painted.
    • Whether the wind farm uses NMC or LFP batteries.

Related lessons