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.
| Driver | Typical effect | How models represent it |
|---|---|---|
| Air temperature | Strongest single driver | Heating and cooling degree terms, splines |
| Time of day | Morning and evening peaks | Hour features or Fourier terms |
| Day type | Lower load on weekends and holidays | Calendar features and holiday flags |
| Solar irradiance | Reduces net load behind the meter | Weather covariates, PV estimates |
| Recent load | Strong persistence | Lag and rolling window features |
| Economic activity | Long-term level shifts | Trend terms, industrial indices |
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 class | Typical range | Main use | Key inputs |
|---|---|---|---|
| Very short-term | Minutes to one hour | Real-time balancing, frequency control | Recent load, nowcasting |
| Short-term | One hour to two weeks | Unit commitment, day-ahead trading | Weather forecasts, calendar |
| Medium-term | Weeks to one year | Maintenance, fuel planning | Climate scenarios, trends |
| Long-term | One to thirty years | Grid and capacity investment | Economy, population, electrification |
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 family | Strengths | Weaknesses |
|---|---|---|
| Linear regression | Interpretable, robust, fast | Needs manual nonlinear terms |
| ARIMA and ETS | Good for short univariate horizons | Weak with complex weather effects |
| Gradient-boosted trees | Handles nonlinearity and interactions | Poor extrapolation beyond training range |
| Recurrent and convolutional networks | Learn sequence patterns directly | Need much data and tuning |
| Temporal Fusion Transformer, N-HiTS | Multi-horizon, many covariates | Higher cost, harder to explain |
| Time series foundation models | Zero-shot use on new series | Limited weather awareness |
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.
| Mistake | Consequence | Fix |
|---|---|---|
| Training on observed weather | Underestimated live error | Use archived weather forecasts |
| Ignoring holidays | Large errors on special days | Add holiday flags or separate models |
| Random train-test split | Leakage from the future | Use chronological splits |
| Ignoring rooftop solar | Biased midday forecasts | Model net and gross load separately |
| Static models | Drift after structural change | Retrain and monitor forecast bias |
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.