Skip to content
Research Article Open access CC BY 4.0

Application of LSTM and Transformer Hybrid Model for Electricity Consumption Forecasting

Yaling Zhang

Journal of Energy Research and Reviews · pp. 71–87 · Published 16 May 2025

10.9734/jenrr/2025/v17i6423

Abstract

With the growing energy demand and the increasing intelligence of power systems, accurate electricity load forecasting is crucial for grid scheduling and energy management. In recent years, deep learning methods have made significant progress in time series forecasting, with Transformer and LSTM structures gaining attention for their powerful sequence modeling capabilities. Therefore, this study proposes three different combinations of LSTM and Transformer: (1) Parallel Fusion Model ; (2) LSTM - Transformer; and (3) Transformer -LSTM.  Additionally, the Particle Swarm Optimization (PSO) algorithm is employed to optimize the model hyperparameters. The experimental dataset consists of hourly electricity consumption data from Romania, and multi-step forecasting is performed based on the Nonlinear AutoRegressive with Exogenous inputs (NARX) model. The predictive performance of these three hybrid models is compared with traditional machine learning models. The experimental results show that different combinations exhibit varying performances in short-term, mid-term, and long-term forecasting tasks. Specifically, the LSTM-Transformer model performs better in midterm forecasting, while the Transformer-LSTM model excels in long-term forecasting.Since this study compares hybrid models for multi-step electricity load forecasting in a specific country, it can reveal the effectiveness at different time scales. This provides new insights for electricity load forecasting and offers valuable references for subsequent research and practical applications.

Transformer LSTM particle swarm optimization electricity load forecasting

Cited by 2

2 citations reported by external sources — individual citing-article records aren't available to list yet.

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

2

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.