# Electricity Load Diagrams (2015)

> The power use of 370 Portuguese clients every 15 minutes for four years, with clear daily and weekly rhythms.

Page: https://mralbu.github.io/ai-datasets/d/electricity

## Key facts

- Category: Time series
- Task: Multi-series forecasting of electricity demand
- Creators: Artur Trindade (donated to the UCI Machine Learning Repository)
- Size: 370 clients × 140,256 readings (2011–2014); the copy here has 2012–2014
- Splits: train 370
- Input: Timestamp, every 15 minutes
- Labels: Each client's consumption in kW over the 15 minutes
- License: CC BY 4.0
- Homepage: https://archive.ics.uci.edu/dataset/321/electricityloaddiagrams20112014
- Hugging Face: [autogluon/chronos_datasets](https://huggingface.co/datasets/autogluon/chronos_datasets)
- Sampled at Hub revision eeecad0b82a8c237e212ce6f8d1abecb513e2cec (2026-11-14)

## Why it matters

The workhorse of deep forecasting. DeepAR, LSTNet and the Transformer forecasters were all tested on it, usually as "Electricity" or "ECL": an hourly version with the 321 clients that have data for the whole period. It is big enough to train neural networks, and its clear daily and weekly seasonality, holidays and changes of regime make it a good test of global models that learn from many series at once.

## Worth knowing

- Values are kW averaged over 15 minutes; divide by 4 for kWh.
- Times are Portuguese local time. On the March daylight-saving day one hour is missing (zeros); in October the extra hour is summed into another.
- Clients that joined after 2011 have zeros before their start, which is why the benchmark version keeps 321 of the 370.
- The samples show a random two weeks (1,344 readings) of each client.

## Get the data

The Chronos copy: one row per client, 2012–2014 (a full row is about 105,000 readings). The hourly 321-client version is the monash_electricity_hourly config; the original file, with 2011, is on UCI.

```bash
# pip install -U huggingface_hub
hf download autogluon/chronos_datasets --repo-type dataset \
  --local-dir electricity
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("autogluon/chronos_datasets", "electricity_15min")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/autogluon/chronos_datasets@~parquet/electricity_15min/train/*.parquet")
print(df.shape)
```

## Related datasets

- ETT: the other half of the long-horizon benchmark (on this site: https://mralbu.github.io/ai-datasets/d/ett)
- [London smart meters](https://data.london.gov.uk/dataset/smartmeter-energy-use-data-in-london-households): 5,567 households, half-hourly, 2011–2014

## Landmark papers

- [DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networks](https://arxiv.org/abs/1704.04110) (2017)
- [Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks (LSTNet)](https://arxiv.org/abs/1703.07015) (2018)

## Papers on this site that use it

- [DeepAR (2017)](https://mralbu.github.io/ai-datasets/p/deepar.md): One recurrent network trained across thousands of related series, forecasting a full distribution instead of one number.
- [Informer (2020)](https://mralbu.github.io/ai-datasets/p/informer.md): A Transformer made cheap enough to forecast hundreds of steps ahead, and the paper that introduced the ETT dataset.
- [PatchTST (2022)](https://mralbu.github.io/ai-datasets/p/patchtst.md): Cut each series into patches and treat them like words, and Transformers forecast better than the linear models that had just beaten them.
- [Chronos (2024)](https://mralbu.github.io/ai-datasets/p/chronos.md): Turn numbers into tokens, train an unmodified language model on them, and forecast series it has never seen.
