The Demand Forecast That Keeps the Lights On

Photo: Unsplash

Energy Forecasting

The Demand Forecast That Keeps the Lights On

Energy demand prediction is one of AI's most consequential real-world deployments. It runs silently, and when it fails, the consequences are immediate.
energy-forecastinggrid-managementai-energydemand-predictionpower-systems

At 4:10 PM on August 14, 2003, the Western Area Power Administration’s 345 kilovolt transmission line in northeastern Ohio came into contact with a tree that had grown into the right-of-way. The line tripped. Over the next ninety minutes, a cascading sequence of line trips, generator trips, and islanding events propagated across the northeastern United States and Ontario. At 4:11 PM on August 15, fifty-five million people had no electricity. It was the largest blackout in North American history.

The immediate trigger was a tree. The underlying cause was a grid operating without adequate visibility into its own state—the real-time monitoring system that should have shown grid operators the developing stress conditions had a software bug that suppressed alarm notifications. Operators didn’t know the system was operating close to its stability limits until the cascade was already underway.

The 2003 blackout accelerated investment in energy management systems and state estimation software. It also established, in expensive physical terms, why accurate, real-time knowledge of grid conditions—including demand forecasts that let operators anticipate where the stress will develop—is not an academic exercise.


Electricity demand forecasting operates at multiple time horizons, and each serves a different operational purpose. Very short-term forecasting (minutes to hours ahead) feeds into automatic generation control and real-time economic dispatch—the continuous optimization of output from every generator on the grid. Short-term forecasting (day-ahead) drives the unit commitment decisions: which generating units to start up, which to keep in reserve, and how much interruptible load contracts to activate. Medium-term forecasting (weeks to months) informs maintenance scheduling—when to take units offline for planned maintenance without compromising reliability. Long-term forecasting (years) drives capacity planning and transmission infrastructure investment.

Errors at each horizon have specific costs. A day-ahead forecast that underestimates peak demand by 5% may force grid operators to start expensive peaking units on short notice, paying emergency capacity prices that can be ten to twenty times the standard rate. A forecast that overestimates demand leads to unnecessary unit commitments and spinning reserve costs. Neither error is free.

Traditional demand forecasting used regression models with weather inputs as the primary drivers—temperature is the dominant variable for most grid regions, because heating and cooling load swings with temperature in predictable ways. The models worked well for their purpose: under normal weather conditions, with stable demand patterns, temperature-driven regression captured most of the variance.

The failure modes are instructive. The 2003 blackout happened in August, a period of high air conditioning demand. The models understood high air conditioning demand. What they didn’t handle well was the spatial concentration of stress on specific transmission paths when demand in specific areas exceeded generation local to those areas, creating the thermal overloads that tripped the Ohio lines.


Modern AI demand forecasting is substantially more sophisticated. The improvement comes from three directions: richer input data, more flexible model architectures, and better uncertainty quantification.

On inputs: traditional models used temperature, day of week, and holidays as primary inputs. Current models integrate weather station data at high spatial resolution, building permit and occupancy data, economic indicators, real-time traffic patterns (which correlate with commercial and industrial activity), satellite-detected light emissions (a proxy for industrial activity at night), EV charging adoption rates, and historical demand at substation level. The signal set is richer by orders of magnitude.

On architecture: gradient boosting (XGBoost, LightGBM) and deep learning approaches—particularly temporal convolutional networks and transformer architectures applied to time series—substantially outperform classical regression on complex patterns. Demand forecast accuracy improvements of 20-30% over classical regression methods have been reported across multiple utility deployments.

The National Grid ESO in the UK publishes open-access demand forecast data, and their published accuracy statistics show day-ahead forecast errors of around 1-2% mean absolute percentage error under normal conditions, down from 3-4% a decade ago. In absolute terms, that difference on a 35-40 GW peak demand system translates to roughly 700 MW of forecast error reduction—equivalent to a large power station.

The uncertainty quantification improvement is arguably more important than the point estimate accuracy. A system that tells you “expected demand is 38.2 GW, with 90% confidence between 37.1 and 39.4 GW” gives the dispatch operator different decision support than one that says “demand will be 38.2 GW.” The operator can see the upside risk and pre-position reserve accordingly.


The new complications in demand forecasting reflect the changing grid. EV charging is now the most significant new demand source in markets with high penetration, and it’s more difficult to forecast than traditional residential load. EV charging behavior is partly price-responsive (if smart charging is enabled), partly habitual (people plug in when they get home), and partly stochastic (range anxiety charging events that are hard to predict). The 2030 demand profile in California, where EV adoption targets are aggressive, will look fundamentally different from 2020, and models trained on 2020 data will underperform.

Distributed solar—rooftop panels on residential and commercial buildings—creates a “demand” signal in grid monitoring that is actually a combination of true consumption and embedded generation. The net load visible to the utility (consumption minus distributed generation) can swing dramatically with cloud cover in ways that look nothing like historical demand patterns. Forecasting net load in a high-solar market requires forecasting the distributed generation accurately, which requires fine-scale weather prediction at resolutions finer than most numerical weather models provide.

California ISO’s duck curve—the pattern where net load drops steeply through midday as solar output peaks, then ramps sharply in the evening when solar drops and demand remains high—has been getting more extreme with each year of solar deployment. The evening ramp rate in 2025 reached approximately 11 GW per hour at its steepest, requiring grid operators to have substantial dispatchable resources ready to increase output rapidly. Forecasting when the ramp will start, how steep it will be, and how long it will last is a new problem that traditional demand forecasting methodologies weren’t designed to solve.

AI forecasting of the combined solar-thermal demand pattern—treating net load as the forecast target rather than gross demand—has been the approach deployed at CAISO since 2019. The models have improved noticeably year over year as the training data accumulates, but the underlying physical challenge of forecasting cloud cover at fine spatial and temporal resolution remains a hard meteorological problem.


The geopolitical dimension of demand forecasting received unexpected attention in 2022, when Russia’s invasion of Ukraine created an energy supply crisis in Europe that generated demand-side responses (conservation measures, industrial curtailment, fuel switching) that temporarily made demand forecasts less accurate because the behavioral responses were outside the historical training data.

European transmission system operators reported that demand in Germany, France, and Italy dropped 5-10% faster than historical weather-adjusted models predicted in the autumn and winter of 2022-2023, as industrial consumers voluntarily curtailed and households responded to energy price signals more aggressively than price elasticity estimates had suggested. The models that used historical price sensitivity parameters were too slow to update.

This is the fundamental limitation of AI demand forecasting: it learns from history and extrapolates. When behavior changes discontinuously—because of a geopolitical shock, a major economic disruption, a pandemic that shifts work patterns, or a technology adoption wave that changes consumption profiles—the models lag. The grid operators who understand this limitation manage it through conservative margin requirements and active monitoring for model deviation. Those who treat AI forecasts as ground truth are one novel scenario away from an expensive surprise.

The 2003 blackout happened because operators didn’t see the stress developing. Twenty-two years later, the monitoring is better, the forecasting is better, and the market mechanisms for managing uncertainty are more sophisticated. The grid is also more complex, with more variable generation, more distributed resources, and more interdependencies with neighboring systems.

The forecast that keeps the lights on has to be right about the average and right about the tails. The average is the part AI has largely solved. The tails—the events that are unprecedented in the training data, the ones that actually threaten the system—remain the hard problem.

The tree grew into the right-of-way. The alarm system failed. The cascade propagated. Better forecasting would not have prevented any of those specific events. Better situational awareness—knowing the grid was operating close to its limits—might have prompted preventive action before the tree and the bug combined into fifty-five million people in the dark.

That’s the real argument for investment in AI grid intelligence. Not that algorithms will prevent every failure, but that they make the bad scenarios more visible before they become catastrophes.

Get the next live webinar in your inbox

One email a month: the upcoming live event + free recording access for subscribers. No spam, unsubscribe anytime.