Featured work · October 2026

Forecasting San Diego's
Electricity Demand
Under Uncertainty

A probabilistic forecasting engine for San Diego electricity demand, built from five years of public data. Instead of a single number, it gives the full range of likely outcomes for every hour, two days ahead.

87%
Of actual demand fell inside the 90% ranges
24
Bayesian models, one for each hour of the day
2 days
Ahead, a range for every hour
5 years
Of public data, 2021 to 2026

The question.

How much confidence should a planner place in a day-ahead load forecast? And can a probabilistic layer give a more honest picture of risk, especially on the hottest days, when the grid is under the most strain?

The hottest week of the test period, September 4 to 10, 2024: the forecast range, Bayesian median, published day-ahead forecast and actual load, hour by hour

The hottest week of the test period, September 4 to 10, 2024. Darker shading is more likely.

How it was built.

Three public sources, 2021 to 2026: hourly load and published forecasts for the SDG&E area from the California Independent System Operator, hourly temperatures from coastal and inland weather stations, and federal hourly demand as a cross-check.

01

Design

24 Bayesian dynamic linear models, one per hour of the day. Each learns how actual load relates to the published forecast, holidays, a day-ahead heat signal and the weekly cycle, and updates every day.

02

A fair test

Every forecast used only information available two days earlier. Observed weather was used to diagnose results, never as an input.

03

Full distributions

Each forecast is a set of posterior samples. From those come likely ranges for every hour and the odds a day's peak crosses a high-demand threshold.

04

Model comparison

A more complex multiscale design, with a daily model feeding the 24 hourly ones, did not improve accuracy. The simpler design stayed.

Why Bayesian.

It answers the questions planners actually ask, not just "what's the number?"

01

It says how sure it is.

Every forecast comes with a range and odds, such as a 70% chance tomorrow's peak tops 3,400 MW. A planner can act on odds.

02

It learns as it goes.

Each day's data updates the model, so it adjusts to new solar, electric vehicles and hotter summers without being rebuilt.

03

It works when data is thin.

Heat waves are rare. The model combines the little data on extreme days with what it knows about normal days.

04

It can be explained.

Every factor has a clear effect and a measure of how certain it is. That matters in front of a council, a board or a regulator.

Findings.

The test that counts is whether the stated odds hold up.

01

Calibrated uncertainty

Over the test period, the 90% ranges contained actual load about 87% of the time, close to their stated level. A planner can read the ranges at face value.

87% coverage
02

Hot days are harder

On the hottest 10% of days, coverage dropped to about 83%. The model widens its ranges after volatile periods but doesn't fully anticipate heat waves. That points to where better weather inputs would add the most value.

83% on hot days
03

Simpler won

The more complex multiscale model did not outperform 24 independent hourly models. Added complexity has to earn its place.

Model choice

What this means
for planners.

Independent analysis using public data from the California Independent System Operator, the US Energy Information Administration and NOAA weather stations. Not affiliated with SDG&E or the California Independent System Operator.

  • A forecast without a range hides the risk you most need to see.
  • Uncertainty should be checked, not assumed. Ranges are only useful if they are calibrated.
  • Before trusting any forecast comparison, check that both sides measure the same thing.

Want this for your forecasts?

The Forecast and Data Audit applies the same approach to your data: accuracy, calibration, data checks and a benchmark model.