Load forecasting

Also known as: electricity load forecasting

On this page 7

Load forecasting is the prediction of future electricity demand on a power system, a feeder or a single building, expressed in kilowatts or megawatts for each interval of a chosen horizon. Within Time series & forecasting, it is one of the oldest and most commercially important applications, because every generation schedule, market bid and grid investment depends on how much power customers will draw.

Artificial intelligence has changed the practice from regression tables and expert judgment to gradient-boosted trees, deep-learning forecasters and probabilistic models that ingest weather forecasts, calendars and smart-meter data. Also called electricity load forecasting, the discipline is judged by a simple standard: errors translate directly into reserve costs, imbalance penalties or blackout risk.

What drives electricity load and how models capture it

Electricity demand is driven by a small set of dominant explanatory factors. Temperature is usually the strongest, because heating and cooling respond to it in a nonlinear, U-shaped relationship: load rises both in cold and in hot weather, with a comfort zone in between.

Human routines create multiple overlapping seasonalities: a daily cycle, a weekly cycle that separates workdays from weekends, and an annual cycle tied to daylight and climate. Holidays, school breaks and special events produce irregular calendar effects that a model must learn from explicit calendar features.

DriverTypical effectHow models represent it
Air temperatureStrongest single driverHeating and cooling degree terms, splines
Time of dayMorning and evening peaksHour features or Fourier terms
Day typeLower load on weekends and holidaysCalendar features and holiday flags
Solar irradianceReduces net load behind the meterWeather covariates, PV estimates
Recent loadStrong persistenceLag and rolling window features
Economic activityLong-term level shiftsTrend terms, industrial indices
Main drivers of electricity load

Because weather is itself forecast, a load model inherits weather forecast error. Operational systems therefore feed numerical weather prediction outputs, not observed weather, into the model during training as well as in production, so that the learned relationships reflect real forecasting conditions.

Forecast horizons and their purposes

Load forecasting is usually divided by forecast horizon, because each horizon serves a different decision and uses different inputs. The boundaries vary between utilities, but the classification below is widely used.

Horizon classTypical rangeMain useKey inputs
Very short-termMinutes to one hourReal-time balancing, frequency controlRecent load, nowcasting
Short-termOne hour to two weeksUnit commitment, day-ahead tradingWeather forecasts, calendar
Medium-termWeeks to one yearMaintenance, fuel planningClimate scenarios, trends
Long-termOne to thirty yearsGrid and capacity investmentEconomy, population, electrification
Load forecasting horizons

Short-term forecasting attracts most machine learning effort because it is data-rich and directly monetized. The day-ahead forecast is typically a multi-step forecast of 24 to 96 intervals produced each morning, and many systems train separate models per hour, a form of the direct forecasting strategy.

Models used for load forecasting

No single model dominates every setting. Classical approaches such as multiple linear regression with temperature terms, ARIMA and exponential smoothing remain strong baselines, while machine learning models now win most competitions at the short-term horizon.

Model familyStrengthsWeaknesses
Linear regressionInterpretable, robust, fastNeeds manual nonlinear terms
ARIMA and ETSGood for short univariate horizonsWeak with complex weather effects
Gradient-boosted treesHandles nonlinearity and interactionsPoor extrapolation beyond training range
Recurrent and convolutional networksLearn sequence patterns directlyNeed much data and tuning
Temporal Fusion Transformer, N-HiTSMulti-horizon, many covariatesHigher cost, harder to explain
Time series foundation modelsZero-shot use on new seriesLimited weather awareness
Model families compared

In practice, gradient-boosted trees such as LightGBM or XGBoost with carefully engineered weather and calendar features are the most common production choice. Ensembles that average several models usually beat any single member, and global forecasting models trained on thousands of smart-meter series help at the household or substation level.

Operators increasingly require probabilistic forecasting, not only a point value. Quantile forecasts evaluated with pinball loss let a system operator size reserves for, say, the 95th percentile of demand instead of the mean.

Evaluating and deploying load forecasts

Accuracy is most often reported with MAPE, because system loads never approach zero. Day-ahead errors for a national system are typically around 1 to 3 percent MAPE, while forecasts for a single building or feeder often show 10 percent or more, since individual behavior is far less smooth than aggregate demand.

Reliable evaluation requires time series cross-validation with rolling origins and weather forecasts as they were available at the time. Using observed weather in backtests produces optimistic error estimates that do not hold in operation.

MistakeConsequenceFix
Training on observed weatherUnderestimated live errorUse archived weather forecasts
Ignoring holidaysLarge errors on special daysAdd holiday flags or separate models
Random train-test splitLeakage from the futureUse chronological splits
Ignoring rooftop solarBiased midday forecastsModel net and gross load separately
Static modelsDrift after structural changeRetrain and monitor forecast bias
Common mistakes and their fixes

Why load forecasting is getting harder

The energy transition is changing the shape of demand. Behind-the-meter solar hides part of consumption from the grid, while heat pumps and electric vehicles make load more sensitive to temperature and to charging behavior. These changes create structural breaks that historical data cannot fully describe.

Extreme weather adds further risk, because rare cold snaps or heat waves sit outside the training distribution where tree-based models extrapolate poorly. Robust systems combine machine learning with physically motivated temperature terms, scenario analysis and human review during unusual events.

Data quality is a further constraint. Meter outages, estimated readings and load shedding events leave gaps and anomalies that must be repaired with time series imputation before training. Distribution utilities also face hierarchical forecasting problems, where forecasts for substations, regions and the whole system must add up consistently, which calls for forecast reconciliation methods. Teams that treat these steps as routine engineering, rather than afterthoughts, usually see larger accuracy gains than from switching to a more complex model.

The simple explanation

Power stations must produce exactly as much electricity as people use. They cannot store much of it. So the grid needs to know in advance how much power will be needed. Load forecasting is that advance estimate.

The forecast looks at past usage, the weather and the calendar. Cold mornings and hot afternoons push demand up. Holidays and weekends pull it down. A good forecast keeps the lights on and avoids wasting money on unneeded power.

How it is used in practice

A regional transmission operator serving about four million customers prepares a day-ahead forecast every morning at 9:00 for each of the next day’s 96 fifteen-minute intervals. Its model is an ensemble of gradient-boosted trees and a linear temperature model, fed with weather forecasts for 40 stations, holiday flags and estimated rooftop solar output.

During a forecast heat wave, the median prediction for the evening peak is 11,200 megawatts, while the 95th percentile reaches 11,900 megawatts. The operator schedules reserves to cover the upper quantile and buys extra capacity in the day-ahead market at lower prices than real-time balancing would cost. The actual peak arrives at 11,650 megawatts, within the planned range, and the grid stays balanced without emergency measures.