tabSutra

Case study · Energy and utilities

Load and generation forecasting

Grid operators, utilities, traders and renewable generators forecast demand and output from minutes to days ahead. This page shows how these forecasts are built today, and how tabSutra builds them from meter, plant and weather data as it is.

IndustryGrid operators, utilities, energy traders, solar and wind generators
QuestionLoad or output per site and interval, from 15 minutes to 7 days ahead
DataMeter and plant readings, weather forecasts, calendar, plant details
OutputA forecast with a range for every site and interval

The business problem

Electricity has to be balanced every minute. Grid operators forecast load to schedule generation. Generators forecast output to bid into markets. Traders forecast both to take positions.

Errors cost money. Too little scheduled means expensive balancing power. Too much means energy wasted or sold at a loss.

What makes it hard

  • Weather drives most of it. Temperature drives heating and cooling load. Cloud cover drives solar output. Wind speed drives wind output.
  • The inputs are themselves forecasts. Tomorrow's temperature is a forecast, with its own error, at the time the load forecast is made.
  • Several cycles at once. Load follows the hour of the day, the day of the week and the season at the same time, plus holidays.
  • Many sites, many horizons. A utility may forecast thousands of feeders and plants, at 15-minute, hourly and daily steps, for several horizons.
  • New sites have little history. A solar plant or wind farm commissioned last month has a few weeks of output.

The data a utility usually has

Readings come from meters and plant control systems. Weather forecasts come from one or more providers.

DataExampleWhen it is known
Meter or plant readingsLoad or output every 15 minutes or hourPast only
Weather forecastsTemperature, cloud cover, wind speedAhead, updated several times a day
Measured weatherMeasured temperature and sunlightPast only
CalendarHolidays, school terms, daylight saving changesKnown ahead
Plant detailsCapacity, panel tilt, turbine model, locationFixed
Market and grid dataDay-ahead prices, planned outagesAhead, for the next day

How it is solved today

The usual approach is a model per site, or per group of sites.

  1. A separate model is built for each site or group of sites, and often for each horizon.
  2. Features are built by hand: lagged load, temperature terms for heating and cooling, hour and weekday flags, holiday flags.
  3. A regression or boosted tree model is fitted on history, with measured weather in place of the weather forecast.
  4. For solar and wind, a physical model of the plant turns weather forecasts into output, and a statistical model corrects its errors.
  5. Models are retrained when the weather provider, the plant or the demand pattern changes. New sites wait for enough history.

Where it falls short

  • Thousands of site models have to be built, monitored and retrained.
  • A model trained on measured weather but used with forecast weather is too confident, because it never sees the weather error in training.
  • Hand-built calendar features miss combinations, such as a holiday that falls on a hot day.
  • A new plant has no model until it has months of history.
  • Ranges, when they exist, often come from a separate method.

How tabSutra solves it

Weather forecasts go in as known-ahead inputs

You send each site's readings with its weather and calendar columns, and rows for the coming intervals with the weather forecast for each. You name the target, the site column, the time column and the horizon.

Readings and weather

FeederTimeLoadTemp.Holiday
F-121 Dec 18:00412 MW4.1 °Cno
F-121 Dec 19:00438 MW3.6 °Cno
F-122 Dec 18:00?1.2 °Cno
F-122 Dec 19:00?0.8 °Cno

Future rows carry the weather forecast for each interval.

tabSutra

  • Reads all the sites of a region together
  • Uses weather forecasts as known-ahead inputs and readings as past-only inputs
  • Forecasts every interval of the horizon in one pass
  • Forecasts a new site from sites like it

Forecast for 2 December

TimeMedian80% range
17:00431 MW409 to 455
18:00455 MW430 to 482
19:00468 MW441 to 497
20:00452 MW426 to 480

Feeder F-12. Every site and interval gets a range.

Known-ahead and past-only inputs

Some inputs are known for the future: weather forecasts, holidays, planned outages. Others are known only for the past: measured sunlight, turbine sensor readings, the actual load on other feeders.

tabSutra takes both kinds and keeps them apart. Future rows carry only what is known ahead. Past-only inputs are read from the history.

For the past, you can send the weather forecasts that were available at the time, instead of the measured weather. The model then sees how far to trust a weather forecast, and its ranges include the weather error.

One model for every site and horizon

The sites of a region are read together in one call. A feeder with a noisy history draws on feeders like it. Every interval of the horizon is forecast in one pass, so there is no model per horizon.

The same model serves load, solar and wind. What changes is the data sent to it.

New plants and new feeders

A new solar plant is forecast from plants with a similar capacity, location and panel setup, with its own weather forecast as input. As its own readings build up, the forecast relies on them more.

The same holds for a new feeder, a new large customer, or a wind farm with new turbines.

Public data with the same shape

These public datasets have the same shape as the problem. They are listed so that the approach can be checked on open data.

DatasetSourceWhat it tests
GEFCom 2012, 2014 and 2017fev-benchLoad forecasting with temperature as a known-ahead input
Solar with Weatherfev-benchSolar output with weather forecasts, and measured weather for the past
EPF (electricity prices)fev-benchDay-ahead prices, with forecasts of load and generation as inputs
KDD Cup 2022 wind powerfev-bench134 wind turbines, with past-only sensor readings
ERCOT loadfev-benchLoad of the Texas grid at hourly to monthly steps
Electricity, Solar, ETTGIFT-EvalLoad per customer, solar output, and transformer load and temperature, from history alone

The fair test of the weather inputs is to run the same tasks with and without them. A new site is tested by holding out sites and giving the model only their first weeks.

Side by side

A model per site compared with tabSutra

A model per sitetabSutra
ModelsOne per site or group, often per horizonOne pretrained model for all
Weather in trainingMeasured weatherThe forecasts as they were known at the time
Calendar effectsFlags built by handRead from the calendar columns
New sitesNo model until months of historyForecast from sites like it
RangesA separate method, if anyFor every site and interval
Change of provider or plantRetrainNew rows in the next call

Benefits

What the business gets

Every site from one model

There are no per-site or per-horizon models to build and retrain.

New plants forecast early

A new site gets a forecast from its first day, from sites like it.

Ranges that include weather error

Schedules and bids can be set against an honest range.

All horizons in one pass

From the next interval to days ahead, in a single call.

Weather providers as columns

Several providers can be sent side by side. Switching provider needs no retraining.

Reasons for each forecast

Each forecast shows which inputs moved it, such as temperature or a holiday.

Questions

How far ahead can it forecast?

From the next interval to several days ahead. The horizon is set in each call, and every step comes back together.

Can it use several weather providers?

Yes. Each provider's forecast is sent as its own column.

Do we need measured weather for the past?

It helps, but it is not needed. If you keep the weather forecasts that were made at the time, send those for the past, so that the model sees the weather error.

What about missing readings and clock changes?

Missing readings are read as missing. Timestamps do not have to be evenly spaced, so a daylight saving change is handled like any other timestamp.

How is our data handled?

Your rows are used only to answer your request. They are not used to train the model. A context you send is kept for a limited time, so that you can predict again without sending it, and you can delete it at any time.

Forecast every site from one model

API access is open to teams on request. The documentation explains forecasting with known-ahead inputs.