Joint Multi-Horizon Forecasting of Residential Electricity Demand and Price Using an LSTM–Transformer for Smart-Grid Energy Management
Electronics · 17.11.2026 · 15 (22) · 5345
DOI: 10.3390/electronics15225345 ↗Kurz gefasst
Fachartikel in der Zeitschrift Electronics, online erschienen am 17.11.2026. Verfasst von Temesgen Teshager Gela und 4 weiteren Autor:innen. Die Arbeit nennt 21 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Deanship of Graduate Studies and Scientific Research at Qassim University.
Abstract (Originalsprache)
Accurate day-ahead forecasts of residential electricity demand and market prices are essential for demand response, economic scheduling, and reliable smart-grid operation. However, the nonlinear, nonstationary, and volatile dynamics of these variables make accurate joint forecasting challenging. This study develops and benchmarks an LSTM–Transformer hybrid for simultaneous 24-hour-ahead residential load and electricity-price forecasting. Six architectures—CNN, LSTM, Transformer, CNN–LSTM, CNN–Transformer, and LSTM–Transformer—were trained and evaluated under identical preprocessing, optimization, and chronological out-of-sample conditions using hourly data from 20 Pecan Street households in Austin, Texas, and ERCOT LZ-AEN real-time settlement-point prices from January 2018 to December 2022. A 24 h lookback window was used to predict the following 24 h, with the data divided chronologically into training, validation, and test sets in a 70:10:20 ratio. The proposed architecture combines stacked LSTM layers for sequential-memory representation with multi-head Transformer self-attention for capturing long-range temporal dependencies. On the test set, it achieved an MAE of 0.2771 kW, RMSE of 0.3573 kW, MAPE of 5.10%, and R2 of 0.9859 for load forecasting, and an MAE of 0.0176 $/kWh, RMSE of 0.0232 $/kWh, MAPE of 4.85%, and R2 of 0.9819 for price forecasting. Compared with the best-performing CNN–LSTM model, the proposed approach reduced RMSE by 15.8% for load and 27.7% for price. Residual diagnostics for the proposed model indicated low bias and stable error distributions, with near-zero mean residuals, low standard deviations, skewness close to zero, kurtosis near three, while strict normality is rejected because p is less than 0.001 and outlier rates are 0.34% for load and 0.28% for price. These results demonstrate that combining sequential memory with global attention improves forecasting accuracy and residual stability. The resulting forecasts can support flexible-load scheduling, EV charging, HVAC and water-heating control, battery peak shaving and arbitrage, and demand-response participation, thereby enabling more proactive, economical, and reliable demand-side energy management in smart grids.
Förderung
- Deanship of Graduate Studies and Scientific Research at Qassim University
Zitieren
APA
Gela, T. T., Zalhaf, A. S., Mohandes, M., Al-Shaikhi, A., & Aladhadh, S. (2026). Joint Multi-Horizon Forecasting of Residential Electricity Demand and Price Using an LSTM–Transformer for Smart-Grid Energy Management. Electronics, 15(22), 5345. https://doi.org/10.3390/electronics15225345
Vancouver
Gela TT, Zalhaf AS, Mohandes M, Al-Shaikhi A, Aladhadh S. Joint Multi-Horizon Forecasting of Residential Electricity Demand and Price Using an LSTM–Transformer for Smart-Grid Energy Management. Electronics. 2026;15(22):5345. doi:10.3390/electronics15225345
BibTeX
@article{Gela2026,
author = {Gela, Temesgen Teshager and Zalhaf, Amr S. and Mohandes, Mohamed and Al-Shaikhi, Ali and Aladhadh, Suliman},
title = {Joint Multi-Horizon Forecasting of Residential Electricity Demand and Price Using an LSTM–Transformer for Smart-Grid Energy Management},
journal = {Electronics},
year = {2026},
volume = {15},
number = {22},
pages = {5345},
doi = {10.3390/electronics15225345}
}
EUVIMED