Skip to content
Open access

Residential photovoltaic generation forecast via long short-term memory and transformer

Jul 2026 · e+i Elektrotechnik und Informationstechnik · Vol 143, pp. 476 - 487 · 0 citations · 44 references

TL;DR

A systematic comparison of Long Short-Term Memory and transformer-based architectures for deterministic short-term PV power forecasting using publicly accessible data from multiple climatic regions highlights the advantages of attention-based sequence modeling for PV applications and offers practical guidance on feature design, input horizon selection, and hyperparameter ranges for future data-driven PV forecasting studies.

Abstract

Accurate short-term photovoltaic (PV) power forecasting is increasingly important for maximizing on-site self-consumption and ensuring reliable grid integration as decentralized PV deployment grows. This paper presents a systematic comparison of Long Short-Term Memory (LSTM) and transformer-based architectures for deterministic short-term PV power forecasting using publicly accessible data from multiple climatic regions. The dataset combines multi-year 15-minute PV power measurements from nine plants with corresponding meteorological variables, and it is followed by a unified preprocessing pipeline that includes outlier treatment, interpolation, feature scaling, and correlation-based feature selection. Several feature subsets and input window lengths are evaluated, and Bayesian hyperparameter optimization is employed to refine model configurations for both architectures. The results indicate that using all meteorological variables except cloud coverage with a 2-day input window yields the best performance. Under this configuration, the transformer model outperforms the LSTM model, achieving on average test errors of MSE = 0.0038 and MAE = 0.0265, compared to 0.0055 and 0.0343 for the LSTM, respectively. An analysis of time-resolved residuals shows that both models exhibit the largest errors around noon, while the transformer provides a consistently narrower error distribution over the diurnal cycle. These findings highlight the advantages of attention-based sequence modeling for PV applications and offer practical guidance on feature design, input horizon selection, and hyperparameter ranges for future data-driven PV forecasting studies.

Read PDF

Similar papers

Open access Aug 2026

Short-term forecasting of rooftop photovoltaic energy generation using machine learning techniques

The results demonstrate that incorporating physically meaningful orientation-aware features substantially improves forecasting accuracy for heterogeneous rooftop PV systems and can improve the accuracy of distributed PV generation forecasts and net demand forecasts at the distribution level compared to traditional aggr...

H. Çevik, Mustafa Arslan, Mehmet Çunkaş · 0 citations
Conference Jul 2026

Simulation-Driven Short-Term Solar Power Forecasting using LSTM Neural Networks

The large-scale integration of photovoltaic (PV) systems into modern power grids impacts operational challenges in reducing the intermittency of solar irradiance. Short-term forecasting, especially with accurate result is essential for grid stability, economic dispatch, and demand-side management. However, the developm...

I. D. Saputra, Nicola Schulz, I Nyoman Kusuma Wardana et al. · 0 citations
Conference Jul 2026

Short-Term Rooftop Photovoltaic Power Forecasting for Energy System Management: A CMDHOLE-Optimized Transformer-LSTM Framework

Accurate short-term rooftop photovoltaic (PV) power forecasting is important for energy system management because forecasting errors directly affect local scheduling, reserve coordination, and distributed PV balancing under rapidly changing meteorological conditions. This paper proposes a CMDHOLE-Transformer-LSTM frame...

Rui Tian, Gang Liu · 0 citations
Open access Aug 2026

Short-term PV power forecasting under real-world data constraints: a benchmark study of neural networks with uncertainty quantification

This study provides an in-depth comparative analysis of four state-of-the-art neural architectures, confirming that high-fidelity point forecasts and rigorously quantified uncertainty can be achieved simultaneously, providing a clear path toward more dependable PV dispatch, reserve allocation, and market participation.

Saloni Dhingra, G. Gruosso, G. Storti Gajani · 0 citations
Conference Open access 2026

Hybrid Stacking with Targeted Residual Learning for PV Forecasting

A hybrid PV forecasting framework that combines stacking ensemble learning with a targeted residual correction strategy, and demonstrates that analyzing error distribution and forecasting robustness provides valuable insights beyond conventional aggregate metrics, contributing to the development of more reliable photov...

Khawla Oufrit, A. Mouadili, M. Zazoui · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.