Enhancing peak electricity demand forecasting for commercial buildings using novel LSTM loss functions

• LSTM model for electricity demand forecast relevant for flexibility management. • Novel loss functions enhance forecast accuracy and incorporate prediction uncertainty. • Simple model architectures sufficient for capturing key demand patterns. • Practical, real-world applications. The increasing integration of variable renewable energy necessitates new measures for grid balancing and cost optimization. Consumers can contribute through demand response, provided accurate predictions, particularly during peak periods. This study aims to enhance electricity demand forecasting using a Long Short-Term Memory (LSTM) neural network with two novel loss functions: Weighted Mean Squared Error (WMSE) and Negative Log Likelihood (NLL). WMSE emphasizes high-demand periods, while NLL captures prediction uncertainty. The model, trained on two years of hourly data for Oslo Airport Gardermoen (Norway), incorporates temporal features, historical demand, passenger numbers, and outdoor air temperature. Optimal model architecture is determined through grid search and cross-validation. Results reveal that top-performing model configurations have minimal architecture, suggesting that a simple model is sufficient for capturing temporal and seasonal demand variations. Models trained with WMSE and NLL demonstrate reliable peak predictions and valuable uncertainty estimations, with the top performing model achieving a Mean Absolute Percentage Error (MAPE) of 5.54 ± 1.00 %. Visual inspections confirm reproducible daily demand patterns, including characteristic dual peaks and weekday-weekend distinctions. This research demonstrates that LSTM models are effective and easy to use for electricity demand forecasts, empowering consumers in making informed decisions about flexibility management and demand response strategies.

Authors

Institutions

Publication Details

Journal
Electric Power Systems Research
Published
2025-04-19
DOI
https://doi.org/10.1016/j.epsr.2025.111722
Citations
6
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
4.38

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing peak electricity demand forecasting for commercial buildings using novel LSTM loss functions

Leonardo Rydin Gorjão, Heidi S. Nygård, Thomas Martinsen, Sigurd Grøtan et al.
6 citations
Electric Power Systems Research
Energy Load and Power Forecasting
4.38
article

Enhancing peak electricity demand forecasting for commercial buildings using novel LSTM loss functions

Leonardo Rydin Gorjão, Heidi S. Nygård, Thomas Martinsen, Sigurd Grøtan, Kjersti Rustad Kvisberg
article en
6 citations

Abstract

• LSTM model for electricity demand forecast relevant for flexibility management. • Novel loss functions enhance forecast accuracy and incorporate prediction uncertainty. • Simple model architectures sufficient for capturing key demand patterns. • Practical, real-world applications. The increasing integration of variable renewable energy necessitates new measures for grid balancing and cost optimization. Consumers can contribute through demand response, provided accurate predictions, particularly during peak periods. This study aims to enhance electricity demand forecasting using a Long Short-Term Memory (LSTM) neural network with two novel loss functions: Weighted Mean Squared Error (WMSE) and Negative Log Likelihood (NLL). WMSE emphasizes high-demand periods, while NLL captures prediction uncertainty. The model, trained on two years of hourly data for Oslo Airport Gardermoen (Norway), incorporates temporal features, historical demand, passenger numbers, and outdoor air temperature. Optimal model architecture is determined through grid search and cross-validation. Results reveal that top-performing model configurations have minimal architecture, suggesting that a simple model is sufficient for capturing temporal and seasonal demand variations. Models trained with WMSE and NLL demonstrate reliable peak predictions and valuable uncertainty estimations, with the top performing model achieving a Mean Absolute Percentage Error (MAPE) of 5.54 ± 1.00 %. Visual inspections confirm reproducible daily demand patterns, including characteristic dual peaks and weekday-weekend distinctions. This research demonstrates that LSTM models are effective and easy to use for electricity demand forecasts, empowering consumers in making informed decisions about flexibility management and demand response strategies.

Electric Power Systems ResearchVol. 246
Norwegian University of Life Sciences (NO)
Norges Forskningsråd
Openalex Percentile: Top 6%
Energy Load and Power Forecasting
4.38
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.