What's new¶
8.0: response, the evening premium, zones and the investment case¶
OpenEnergy 8.0 completes the comparison with real batteries, tests what the cost-based model misses, and asks whether a battery pays. No default of the battery backtest or the system model changes; the saturation study is re-run on more weather years (below).
- Frequency response for real batteries (guide): what NESO
paid each battery unit in the response auctions, from September 2021
(
data/fleet/battery_response_daily.csv,scripts/fetch_fleet_response.py). It added £20,093 per MW-year in 2023, £7,751 in 2024 when response prices collapsed, and £20,176 in 2025. With it, real batteries made £23,973–36,864 per MW-year from 2023 to 2025, more than a 1-hour optimiser with perfect foresight earns on the day-ahead market alone. - The evening premium and supply tightness (system model):
NESO's loss-of-load probability and de-rated margin for every half-hour from July 2018
(
data/scarcity/). The gap between real and modelled prices rises steadily as the margin falls, from −£8.9/MWh with over 15 GW spare to £108.5 at 2–4 GW, and the evening is when the margin is thinnest. The market's own scarcity price (loss-of-load probability times £6,000) is a small part of it and makes the backcast worse, so no scarcity price is added to the model. - A live forecast (research, web app):
openenergy forecast liveforecasts tomorrow's prices from the morning's data, and a scheduled workflow runs it every day and keeps the record on thelivebranch, scored as prices are published. Prices arrive two to four days late, which on 2025 raises the forecast's error from £10.65 to £13.97–14.28/MWh, still well under last week's prices (£21.81). - Two zones (constraints):
openenergy system zonessplits the system into Scotland and England and Wales, joined at NESO's day-ahead SCOTEX limit, with plant by zone from DUKES (data/zones/plant_by_zone.csv). The modelled transfer follows the recorded one (correlation 0.63–0.79) and the boundary is full in 34–36% of hours in 2024 and 2025, as NESO's own data say; under zonal prices a battery in Scotland would earn £16,500–18,900 per MW-year from the boundary alone. - The saturation study on seven weather years (forward scenarios): weather years before 2024 are scaled from FES's 2024 figures by each year's own capacity and generation, so the study now averages 2019 to 2025 instead of 2024 and 2025. A battery joining Falling Behind's 2035 fleet earns £13,595 per MW-year against £39,421 for the first battery, and each MW of the FES fleet replaces 0.13–0.20 MW of firm capacity in the pathways that need it. More weather years need more firm capacity (Holistic Transition 13.25 GW with no batteries, from 11.25 GW); with the FES fleet, almost all the hours of shortfall come in 2019's weather.
- An investment case (guide):
openenergy investvalues a 1 MW / 2 MWh battery over 15 years on each year seen or modelled, with the Capacity Market's latest four-year-ahead price and de-rating (NESO register) and NREL's US battery costs (data/invest/). It reports the build cost at which each case breaks even: £101,000 to £218,000 per MW for real batteries' 2023–2025 revenue at 7%, far below NREL's £866,000. - The web app gains a Tomorrow tab (the live forecast, its plan and track record), and the Real batteries tab shows response per unit and the total with it.
- Docs: links to the docs from the web app open in a new tab, and the docs site now
shows the latest release only (older versioned addresses such as
/7.0/no longer exist).
7.0: from the model to the real grid¶
OpenEnergy 7.0 checks its optimiser against what GB's real batteries did and adds the data for Scotland and England & Wales. No model default changes; every 6.x result stands.
- Real batteries (guide, web app):
every GB grid battery's physical notifications, metered output and Balancing Mechanism
volumes and cashflows from Elexon, January 2021 to October 2026 (
data/fleet/,scripts/fetch_fleet.py,openenergy.data.batteries). In 2024 and 2025 the real fleet discharged about 400 full-power hours a year at the hours the optimiser uses, but its metered energy was worth 17–23% of a 1-hour optimiser's day-ahead revenue on OpenEnergy's forecast; with contracts priced at the day-ahead price, the BM and imbalance it made an estimated £16,200–16,700 per MW-year, before frequency response. A physical notification turned out not to be what a battery did (one unit notified 1,262 MWh out and metered 615 in a week), so physical operation comes from the meter. - Scotland and England & Wales (constraints):
zonal demand and the transfer across the B6 boundary from NESO, and grid-scale capacity
by zone and year from DESNZ's project register (
data/zones/,scripts/fetch_zones.py). Scotland sent power south in 86% of half-hours in 2025 (19.3 TWh), up from 71% in 2023. Scottish batteries make about the same per MW as English and Welsh ones, by selling ahead and being paid less in the BM. - The web app gains a Real batteries tab (each year's fleet against the optimiser, its average day, every unit by zone) and shows the real fleet's output each hour in the simulator.
- Numbers checked on every test run:
tests/test_docs_numbers.pyrecomputes the headline tables (saturation, the Scottish transfer, real batteries) from their source files. Its first run found two errors in the docs, both fixed: Ten Year Forecast was called a pathway with no shortfall (it needs 0.75 GW of firm capacity without batteries), and a transfer maximum was mis-rounded.
6.1: the web app becomes a simulator¶
OpenEnergy 6.1 changes only the web app and its data; the library, the API and every model result are as in 6.0.
- One simulator instead of pages. open-energy-eight.vercel.app opens on Britain's grid hour by hour: each fuel flows into the GB node with a band as wide as its output, the node shows the day-ahead price, and your battery charges and discharges on a plan the optimiser makes in the browser. Play at 1, 4 or 24 hours a second, step with the arrow keys, or click a day on the year strip (each day coloured by its price spread). A side panel sets the battery, the forecast it plans with and the day, and shows the day and the whole year for all three forecasts.
- Four tabs: Simulator, Play, 2035 and Research. Play lets you paint a day's plan,
then run the day and watch actual prices and the scores come in; it keeps the engine's
rule that the battery starts and ends the day half full. 2035 counts the saturation
study's value up and down as you add batteries. Research holds the analyst pages
(
/run,/result,/explore,/compare,/scenarios), unchanged. - Revenue after wear in the browser. The 6.0 Battery Lab compared revenue before wear, so on days when a forecast's plan traded more it could show more than perfect foresight (on 20 October 2026 a 1 MW / 2 MWh battery on OpenEnergy's forecast showed 113%). The simulator now compares revenue less wear, the quantity the optimiser maximises, so perfect foresight is the most any plan earns (90% that day). The Python backtest and the API's year results are unchanged.
- 2026 on the grid. NESO's generation mix now runs to 29 October 2026; the rows to 2025 are unchanged, and the system model still uses 2015–2025.
- Addresses.
/laband/replayopen the simulator with their day and battery, so 6.0 links keep working; sources are one click away under each view. The app and the docs use the README's logo.
6.0¶
OpenEnergy 6.0 makes the model more accurate, answers a research question, and puts the battery optimiser in the browser. Three defaults changed, and one bug was fixed that moves results; this section lists each with what it does to the numbers, measured by re-running every result in these docs.
New¶
- A day-ahead forecast built on fundamentals (
forecast: fundamentals): NESO's day-ahead demand forecast, Elexon's day-ahead wind forecast, the daily gas price and recent prices, each only as published by the decision time, in a model retrained every month. From 2023 it halves the error of last week's prices, and a 1 MW / 2 MWh battery planning on it keeps 86–89% of the perfect-foresight revenue instead of 74–81% (Research). The forecast for every hour since 2019 is bundled (data/forecasts/). - How much storage can GB use?
openenergy system saturationscales each FES 2035 battery fleet from none to three times FES's figure on a secure system: the first half of the fleet takes half or more of a battery's value away, and each MW of FES batteries replaces only 0.09–0.16 MW of firm capacity in a cold, still spell (Forward scenarios). - The optimiser in your browser: the web app gains a live home page, the Battery Lab (any day, battery and forecast, with the whole year solved in the background), Grid replay, the 2035 study and Beat the battery. They run the same daily programme in TypeScript on HiGHS compiled to WebAssembly, tested against the Python backtest. Concepts has a widget to drag prices and watch the plan.
- A reinforcement-learning environment (
openenergy.rl,pip install 'openenergy[rl]'): a Gymnasium environment with the optimiser as the baseline. An agent trained in the design work kept 27–38% of perfect-foresight revenue where the optimiser kept 78–83%, so "forecast, then optimise" stays (Research). - Data: the daily System Average Price of gas (ONS), NESO's day-ahead demand forecast
and Elexon's day-ahead wind forecast, each with issue times (
data/fundamentals/,openenergy data update --fundamentals; Data).
Changed defaults¶
| Setting | Before | 6.0 | To keep the old behaviour |
|---|---|---|---|
| Gas price in the system model | DESNZ quarterly price paid | Daily System Average Price from 2018 | system.gas_price: quarterly |
| What a forecaster knows at the decision time | Prices for hours before it | Every day whose auction had cleared (at noon on D−1, all of D−1) | information: decision |
| FES systems | As FES gives them | Least firm capacity added to meet 3 hours' loss of load | fes.adequacy: as_modelled |
Daily gas. The backcast follows the gas crisis much better: the merit order's error falls by 31–42% in 2021–2024 and its correlation with actual prices rises from 0.40 to 0.81 in 2022 and from 0.10 to 0.53 in 2024. Before the crisis the change is mixed (the 2019 mean is £4.2 lower, now £4.8 below actual), and the missing daily spread is unchanged (System model). FES results and every system scenario from 2018 change with it.
Auction information. Last week's prices, perfect foresight and the gradient-boosting forecaster never used the previous afternoon's prices, so their results do not change. The fundamentals forecaster uses them.
Secure FES systems. Holistic Transition, Electric Engagement and Hydrogen Evolution 2035 get 6.25–9.25 GW of firm capacity, and their unserved energy falls from 215–715 GWh to 7–13 GWh. Their mean prices fall from £120–211/MWh to £73–76/MWh, and a battery's perfect-foresight value on them from 1.8–2.7 times the model's own 2025 to about it or below (Forward scenarios).
Fixed: the end-of-day energy target¶
The daily plan required the battery to end each day with at least the energy it began with. When the last hour was cheap, a plan could end fuller, and the next day's target was then that fuller level, so the battery kept ratcheting up and holding energy it could have sold. The plan now ends exactly at the target (\(E_T = E_{target}\), Concepts).
The effect depends on how often the last hour is cheap on the forecast:
- Last week's prices: under 0.3% a year (2017: £20,682 to £20,633 per MW-year; 2019: £13,936 to £13,943).
- Revenue stacking: up to 2% (2025 with DC, DM and DR, energy unpaid: £89,807 to £90,766; with energy at day-ahead prices, £127,976 to £125,634).
- Re-planning every half-hour on imbalance prices, where each re-plan set a new target: the result changed sign in three of four years, from losing 6–39% against day-ahead to +18%, +17%, +1% and −12% (Revenue stacking).
- The fundamentals forecast in its design stage: a 2024 capture ratio of 73.7% became 85.3%.
The web app¶
The year form moved from / to /run; /result, /explore, /compare and
/scenarios keep their addresses, so shared links still work. The app offers the
fundamentals forecast for historic years from 2019, and the FES table shows the firm
capacity each pathway needed.
Numbers re-run¶
Every table and number in these docs was re-run for 6.0 with the commands and scripts named next to it. The ones that moved by more than rounding are on the pages linked above; the Research and Revenue stacking tables move by under 2% except where noted.