Energy Consumption Forecasting in Smart Grids Using LSTM

Electricity demand forecasting is the basis for unit commitment, reserve scheduling and demand-response signalling for a smart grid, which requires short-term forecasting.Short-term forecasting of electricity demand is fundamental to unit commitment, scheduling of reserves, and signalling of demand responses in a smart grid. The smoothing effect of aggregation will be lost at a single dwelling level and the load curve will be spiky and dominated by individual appliance switching, making forecasting much more difficult than at feeder level. A stacked Long Short-Term Memory (LSTM) network was developed and tested for predicting the household demand for one-hour-ahead. The 2,075,259 minute level measurements of Individual Household Electric Power Consumption were cleaned, aggregated to hourly means, supplemented with eighteen predictors that capture calendar structure, cyclical encodings, lagged demand and rolling statistics. An 80/20 split by strict chronology yielded 27,652 hours of training and 6,913 hours of testing, which were both organized into overlapping sequences of twenty-four hours. A three-layer LSTM with 128/64/32 neurons and dropout was trained with the Adam optimization algorithm and early stopping and adaptive learning-rate reduction, converging in thirty-seven epochs using the best weights at epoch twenty-two, which totalled 137,633 parameters. The model performance on the held-out partition was RMSE of 0.4625 kW, MAE of 0.3147 kW, R2 of 0.5992 and mean absolute percentage error of 39.79 per cent. This last number is a result of the skewed distribution of demand and not the quality of the forecast, as 46.5 per cent of the hourly observations are below 0.5 kW. Residual diagnostics show a symmetric but highly skewed error distribution, with a consistent under-prediction of peaks, as a result of the squared-error conditional-mean estimation. An experiment that lasts a whole day is described, and the results are presented with a bug in the feedback loop reported and eight suggestions for further work are made.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24568284
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Energy Consumption Forecasting in Smart Grids Using LSTM

Sahil Raj, Amit Kumar Sahu, Vivek Sharma
Zenodo (CERN European Organization for Nuclear Research)
Energy Load and Power Forecasting
article

Energy Consumption Forecasting in Smart Grids Using LSTM

Sahil Raj, Amit Kumar Sahu, Vivek Sharma
article en

Abstract

Electricity demand forecasting is the basis for unit commitment, reserve scheduling and demand-response signalling for a smart grid, which requires short-term forecasting.Short-term forecasting of electricity demand is fundamental to unit commitment, scheduling of reserves, and signalling of demand responses in a smart grid. The smoothing effect of aggregation will be lost at a single dwelling level and the load curve will be spiky and dominated by individual appliance switching, making forecasting much more difficult than at feeder level. A stacked Long Short-Term Memory (LSTM) network was developed and tested for predicting the household demand for one-hour-ahead. The 2,075,259 minute level measurements of Individual Household Electric Power Consumption were cleaned, aggregated to hourly means, supplemented with eighteen predictors that capture calendar structure, cyclical encodings, lagged demand and rolling statistics. An 80/20 split by strict chronology yielded 27,652 hours of training and 6,913 hours of testing, which were both organized into overlapping sequences of twenty-four hours. A three-layer LSTM with 128/64/32 neurons and dropout was trained with the Adam optimization algorithm and early stopping and adaptive learning-rate reduction, converging in thirty-seven epochs using the best weights at epoch twenty-two, which totalled 137,633 parameters. The model performance on the held-out partition was RMSE of 0.4625 kW, MAE of 0.3147 kW, R2 of 0.5992 and mean absolute percentage error of 39.79 per cent. This last number is a result of the skewed distribution of demand and not the quality of the forecast, as 46.5 per cent of the hourly observations are below 0.5 kW. Residual diagnostics show a symmetric but highly skewed error distribution, with a consistent under-prediction of peaks, as a result of the squared-error conditional-mean estimation. An experiment that lasts a whole day is described, and the results are presented with a bug in the feedback loop reported and eight suggestions for further work are made.

Zenodo (CERN European Organization for Nuclear Research)
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Energy Consumption Forecasting in Smart Grids Using LSTM — Sahil Raj, Amit Kumar Sahu, et al. · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS