Balancing the Grid: Fifty Hertz and the Markets That Keep It
In brief. The grid stores almost no energy, so supply must match demand every second. This essay follows it from the spinning generators to the markets that decide which plants run and what they are paid.
The surprise. On Sunday 22 March 2026, wind and solar supplied 63 per cent of Texas’s electricity over the day, and 85 per cent of it at ten in the morning.
The grid stores almost no energy. Every second, the power going in must match the power coming out, across a whole continent, and the only buffer is the spin of the generators themselves.
We now have the machine and the wires. Who decides, from moment to moment, which machines run, and what does everyone pay? In the first seconds the answer is physics. Over hours it is a rule, the merit order, and that rule is the third piece of our answer: the price of electricity is set by the last plant needed, so when its fuel gets dearer, every kilowatt-hour does.
- 1Fifty hertz, or sixty
- 2Grid-forming inverters
- 3The merit order: the last plant sets the price
- 4A day on the grid
- 5Markets in time
- 6Markets in space
- ·Notes and sources
1Fifty hertz, or sixty
Continental Europe, from Portugal to Turkey, is a single synchronous machine, as are India and the eastern two-thirds of North America: thousands of generators like the one in essay 3, turning in lockstep.
At every instant, generation must equal consumption plus losses. In the first seconds any difference comes from the kinetic energy of the spinning rotors: if consumption wins, they slow and the frequency falls, so frequency is a live measurement of balance, reported by every socket. Europe, India and China run at 50 Hz, most of the Americas at 60 Hz; the model below runs at 50.1
The figure opens as a one-gigawatt power station drops off the grid without warning. Several things happen, on different clocks.
In the first instant only physics responds: the missing power is drawn from the rotating mass of every machine on the grid, and the frequency falls at a rate set by that mass, the inertia. Within seconds the primary reserve, plants and batteries that measure frequency locally, raises output in proportion to the deviation, with no instruction from anyone. The fall stops at the nadir, about 49.92 Hz in this model (49.76 Hz for the 3 GW design incident). Over minutes the secondary reserve, dispatched by the grid operator, brings the frequency back to exactly 50.000 Hz, and slower reserves and the market then replace the lost plant.
Continental Europe is designed to survive the sudden loss of three gigawatts, roughly two large nuclear units. Lose fifteen and the frequency falls through 49.0 Hz, and automatic relays disconnect slices of customers so the rest can survive, as they did when Europe split into three islands in November 2006.
Texas came closer in February 2021. During Winter Storm Uri, frozen gas supply and frozen plants took so much generation off its small grid that the frequency fell to about 59.3 Hz, and operators cut demand by up to 20 GW to hold it there. More than 4.5 million people lost power in freezing weather, some for four days, and more than two hundred died.3 Reserves catch a lost plant; they cannot catch a fleet that fails together.
2Grid-forming inverters
Wind, solar and batteries connect through inverters, most of them today grid-following: they measure the grid’s voltage and frequency and inject current to match, adding no inertia, so as they replace coal and gas a trip like the one in section 1 makes the frequency fall faster and deeper. A grid-forming inverter sets its own voltage and frequency and pushes back at once, like a synchronous machine, if it has stored energy, typically a battery.
In the second step of the figure above, with enough inverters and no grid-forming plant the frequency hits the load-shedding threshold before reserves respond; add grid-forming capacity, or batteries that inject power within a second, and stability returns, mostly without fuel. That is why Britain and Australia, with high wind and solar shares on smallish grids, buy inertia and grid-forming capability, and why grid codes increasingly demand it.
Spinning machines also held voltage steady for free. On 28 April 2025 mainland Spain and Portugal blacked out within seconds, Europe’s first overvoltage blackout. ENTSO-E’s expert panel found no single cause: too little dynamic voltage control and renewable plants set not to respond to voltage, among other weaknesses, let voltage climb until plants tripped in a cascade. It recommends requiring new generators, wind and solar included, to control voltage actively.4 The inverters can do it; until recently the rules did not ask them to.
3The merit order: the last plant sets the price
Most of the matching is arranged in advance. In most liberalised markets, from Europe to Texas and Australia, every generator offers, for every hour (or quarter-hour) of tomorrow, how much it will produce at what price, and every buyer bids for what it wants. An algorithm stacks the offers from cheapest to dearest, the merit order, and finds where supply meets demand.5
In a competitive market a plant offers roughly its short-run marginal cost, what one more megawatt-hour costs it to make: close to zero for wind and solar (below zero for plants paid a subsidy whatever the price), low for nuclear, and for a fossil plant mostly fuel, plus carbon permits where carbon is priced. A model grid’s offers for one hour, in the order they arrived:
Sorted cheapest first, the offers form a staircase, the supply curve; demand is a vertical line. Every plant to the left of it runs, and everyone who runs is paid the same price, the offer of the last plant needed. This is uniform pricing, or pay-as-clear. When demand crosses the edge of a block, the price jumps for all the megawatt-hours, not just the extra ones.
Now let the wind blow (step 2). A wind farm’s offer sits at the bottom of the stack, so more wind widens a block at the bottom and pushes every other plant to the right, and demand crosses the staircase at a cheaper plant. This is the merit-order effect: wind and solar lower the price in the hours they produce, for everyone who sells in those hours, themselves included.
Last, the fuel (step 3). Lignite burns cheap fuel but emits about twice as much CO₂ per unit of heat as gas, so its block climbs steeply with the carbon price. At low carbon prices lignite and coal undercut gas; as carbon rises, gas slides ahead of coal. This fuel switch is how a carbon price changes what burns, hour by hour.
Now raise the gas price. The costs of the wind farms, the nuclear units and the coal plants do not move, but as long as a gas plant is the last one needed, the price paid to all of them rises by the full amount: a fuel that supplies a fraction of the energy sets the price of all of it. With gas at around $170 per megawatt-hour of heat, where it stood in Europe for much of 2022, gas was marginal in most hours, and every plant below it kept the gap between the clearing price and its own running cost. This infra-marginal rent is normally how plants with low running costs pay back the cost of building them; in 2022 it was extraordinary, and governments taxed it.
The same rule, in a cruder form, is why 1973–74 hit so hard. American utilities then were regulated monopolies that charged their average cost rather than the last plant’s, but they too dispatched cheapest first, and most passed fuel costs straight into bills through fuel-adjustment clauses. When the price of oil quadrupled and other fuels rose with it, the increase reached every kilowatt-hour within months.8 Essay 9 sets that shock beside the stalled engine of essay 3.
The merit order does not pay for being there. A peaker needed fifty hours a year earns only in those hours, so reliability is bought separately, through scarcity prices, capacity auctions or a regulated reserve margin.9 Either way, the cost of firm capacity sits beside the energy price, not inside it, one of the costs essay 8 adds up.
4A day on the grid
Over a whole day, demand is low at night and peaks in the early evening; solar is a hump at noon and wind wanders over hours and days. What they don’t cover, the residual load (demand minus wind and solar), something else must.
The figure opens at 13:00 with 110 GW of solar panels installed, about Germany’s fleet in mid-2025 (117 GW by the end of the year) and more than twice the Sunday demand: the residual load has all but vanished, the price sits below zero, and some wind and solar is switched off. As the sun sets the residual load ramps steeply back up, the thermal plants return, and the evening price climbs to what gas costs.
The shapes are stylised but not invented: hourly output from the Texas grid operator, ERCOT, shows the same pattern on a real grid of about the same size.
On Sunday 22 March 2026, wind and solar supplied 63 per cent of Texas’s electricity over the day and 85 per cent of it at ten in the morning; batteries soaked up part of the surplus and returned it at sunset, when gas generation more than doubled. On 22 July demand reached 91 GW, and after sunset batteries supplied 11 GW, about an eighth of demand. Whenever gas is the last plant needed, its fuel sets the price for every megawatt-hour in Texas.
Negative prices are not a glitch either. Germany’s day-ahead market had 573 negative hours in 2025, up from 457 the year before.11 Producers on fixed feed-in tariffs and plants that are expensive to stop and restart will pay to keep producing.
The noon dip has an awkward consequence for solar itself: every panel produces in the same hours, so the more there are, the lower the price in exactly those hours, and the less each new panel earns. Essay 6 measures that fall for solar and essay 7 for wind: the engine that makes energy cheaper also makes cheap energy worth less.
5Markets in time
The day-ahead auction clears once, around noon, for all of tomorrow, but a wind portfolio that sold 9 GW for 18:00 may learn by morning that the wind will be weaker. So electricity is traded in a sequence of markets, each closer to real time.12 The day-ahead auction sets most of tomorrow’s schedule and the price quoted in the news; the intraday market lets traders adjust until shortly before delivery; then the grid operator activates balancing reserves and charges each party an imbalance price for its error.
American markets, ERCOT among them, follow their day-ahead market with a real-time market that clears every five minutes.13
Two extremes bracket everything else: a sunny, windy holiday, when prices go negative, in Europe down to the auction floor of about −$570/MWh, and a cold, dark, windless week, when the price is set by the dearest peakers or by what buyers will accept to stop consuming. Both are becoming more frequent, and a market of mostly zero-cost wind and solar is increasingly decided by them. We return to the dark week in essay 9.
6Markets in space
The merit order treats the grid as a copper plate; essay 4 showed it isn’t. Once a line fills, one price no longer fits the whole network.
The figure opens in nodal mode, with the northern wind just filling the West–South line, so the four prices have split; more wind traps power in the north, where it is curtailed and the price can fall to zero, while in the south a local peaker must run. These locational marginal prices, used by ERCOT and the other large US markets at each of thousands of nodes, show where new generation, storage or demand is worth most.14
Europe, Australia’s NEM and Japan are zonal. Germany and Luxembourg form one bidding zone, from the North Sea coast to the Alps. The market clears as if the grid were a copper plate, and the operators fix the resulting overloads afterwards by redispatch, whose cost is spread over everyone’s network charges rather than the wholesale price: one of the ways the cost of the energy transition has moved into the regulated part of the bill.
Nodal pricing is efficient but makes customers in some places pay more; zonal pricing keeps one price but hides the cost of the grid in a shared charge and blunts the signal for where to build. Splitting Germany into a northern and a southern zone is a live debate; for now Berlin has chosen one zone and more lines.
Most of the world’s electricity is not sold on a spot exchange at all. India’s state distribution companies buy most of their power under long-term contracts and schedule it cheapest first, a merit order without an auction. China’s provincial dispatch centres long gave each coal plant a roughly equal quota of operating hours; since 2017 provincial spot markets that clear by merit order have started, with pilots such as Guangdong and Shanxi.9
| Design | Examples | How it works |
|---|---|---|
| Vertically integrated, state-owned | China (State Grid, CSG, provincial dispatch), Saudi Arabia, most of Africa (Eskom, KPLC), Vietnam (EVN) | One company, usually the state, owns generation, the grid and retail. Tariffs are set by government; plants run in an order chosen by the operator or by quota, not by bids. |
| Single buyer | India (state distribution companies buying under long-term contracts), Indonesia (PLN), Malaysia, Gulf independent producers (UAE, Oman) | Private plants sell under long contracts to one state-owned buyer, which passes costs on through regulated tariffs. India adds exchanges (IEX) for a small share of power. |
| Regulated utilities (cost of service) | US South-east and West outside the market operators, Japan before 2016, South Korea (KEPCO) | Investor- or state-owned monopolies earn a regulated return on assets; regulators approve rates and investment. |
| Energy-only market | Texas (ERCOT), Australia (NEM) | Generators are paid only for energy. High price caps (US$5,000/MWh in ERCOT; A$20,300/MWh in the NEM for 2025–26) must fund new capacity through rare scarcity hours. |
| Energy market plus capacity market | PJM and other US eastern market operators, Great Britain, Italy, Japan (auction since 2020) | A separate auction pays plants to be available years ahead, on top of energy revenues. |
| Zonal pricing | EU (Germany–Luxembourg is one zone; Italy and the Nordics are split), Australia’s NEM (five regions), Japan (JEPX areas) | One price per large zone; congestion inside a zone is fixed afterwards by redispatch. |
| Nodal pricing | ERCOT, PJM, CAISO, MISO, New Zealand, Singapore, Chile (cost-based) | Each substation has its own price, including the cost of congestion and losses. |
Whatever the design, the last plant needed sets the price, so the price follows its fuel, while being there for the worst hour is paid for some other way. For most of the twentieth century that plant burned coal, oil or gas. Essay 6 follows a plant whose running cost is zero and whose building cost has fallen faster than anything since the steam turbine: the engine restarts, with solar.
Notes and sources
- In the model, primary reserve delivers its full ±3 GW at a 200 mHz deviation, secondary reserve slowly restores 50 Hz, and below 49.0 Hz automatic load shedding disconnects blocks of customers; Europe’s rules allow at most 800 mHz of instantaneous deviation. North America, most of South America, Saudi Arabia, Korea, Taiwan and western Japan run at 60 Hz; Europe, India, China, most of Africa and Australia at 50 Hz. India’s southern grid was synchronised with the rest of the country in December 2013 (Grid Controller of India). Frequency containment, restoration and replacement reserves (FCR, aFRR, mFRR) and the Continental Europe reference incident are defined in the EU system operation guideline administered by ENTSO-E: entsoe.eu. Live data: ENTSO-E Transparency Platform. The simulation’s inertia, damping and controller gains are simplified.
- Frequency model: synchronous generators contribute an inertia constant of 5 s, grid-forming inverters a virtual 4 s, grid-following inverters nothing. Frequency containment reserve of 1.5 GW is fully active at 200 mHz, ramping over about 20 s (Continental Europe requires full activation within 30 s); load falls about 2 per cent per hertz; optional fast frequency response delivers 0.6 GW within a second.
- FERC, NERC and Regional Entity Staff, The February 2021 Cold Weather Outages in Texas and the South Central United States (November 2021): frequency, load shed and causes of the generation outages; “More than 4.5 million people in Texas lost power during the Event, and some went without power for as long as four days”; “ERCOT set an all-time winter peak record for system load of 69,871 MW” on 14 February; deaths: Texas Department of State Health Services, final count of deaths related to the February 2021 winter storm.
- ENTSO-E Expert Panel, Grid incident in Spain and Portugal on 28 April 2025 — Final report.
- EPEX SPOT, “Basics of the power market”, epexspot.com. The coupled European day-ahead auction (SDAC) runs the Euphemia algorithm; the harmonised price floor is −€500/MWh, about −$570/MWh.
- The fleet and its regional presets: the model grid has no nuclear, a carbon price at the EU ETS level (about $85/t, its 2025 level) and part of its wind and solar on fixed tariffs. The other presets rescale the same fleet to the 2025 generation mix of coal-heavy (India, China), gas-heavy (Texas, the Gulf), hydro-heavy (Brazil, Norway) and solar-heavy (California, Australia) regions (Ember, note 7), with no carbon price. World Bank, Commodity Markets “Pink Sheet”, 2025 annual averages: US natural gas (Henry Hub) $3.53/MMBtu, Europe (TTF) $11.96, Japan LNG $12.04, Australian coal $108.4/t. The merit-order model works in euros at the ECB 2025 average of US$1.13/€ and displays US dollars; coal at 6,000 kcal/kg. The “2025 gas price” in the readout is the preset’s.
- Ember, Yearly Electricity Data (global release, downloaded 10 October 2026, CC BY 4.0): generation by source and demand for every country and Ember region, 2000–2025.
- On fuel-adjustment clauses and the 1970s: Richard F. Hirsh, Technology and Transformation in the American Electric Utility Industry (Cambridge University Press, 1989), and Paul L. Joskow, “Inflation and Environmental Concern: Structural Change in the Process of Public Utility Price Regulation”, Journal of Law and Economics 17 (1974).
- ERCOT system-wide offer cap of US$5,000/MWh (PUCT, 2023); NEM market price cap A$20,300/MWh for 2025–26: AEMC, “AEMC updates market price cap for 2025-26” (27 February 2025); PJM Reliability Pricing Model and the GB Capacity Market. India: Ministry of Power, merit order despatch portal (MERIT), and Indian Energy Exchange. China: “Opinions on Further Deepening the Reform of the Electric Power System” (State Council Document No. 9, 2015), NDRC and NEA spot-market pilots (2017); IEA, Electricity Market Report.
- US EIA, Form EIA-930 Hourly Electric Grid Monitor, balancing authority ERCO, net generation by energy source, demand and interchange, via Catalyst Cooperative PUDL (downloaded October 2026). Hourly energy in MWh is the average power over the hour. Battery charging and discharging are reported separately from October 2024; “other” (hydro, biomass, oil) and net imports over the DC ties are a few hundred megawatts and are drawn together. The record searched runs from January 2024 to September 2026. EIA-930 has no prices. Data file:
scripts/make_ercot_data.py. - FfE, “German electricity prices on EPEX Spot 2024”, ffe.de, and “… in 2025”, ffe.de; Bundesnetzagentur SMARD, day-ahead price DE-LU (filter 4169), smard.de.
- EPEX SPOT (note 5); Bundesnetzagentur and SMARD: smard.de; ACER: acer.europa.eu. The forecast fan in the timeline figure is synthetic.
- FERC, Energy Primer, ferc.gov (PDF); Understanding energy markets.
- FERC, Energy Primer (note 13), on locational marginal pricing in the US organised markets; ERCOT moved from a zonal to a nodal market in December 2010. Redispatch and congestion management in Germany: Bundesnetzagentur; on zonal and nodal design and the German bidding-zone debate, see ACER (note 12).