EconPapers    
Economics at your fingertips  
 

Deep learning for solar power forecasting: A robust stacked LSTM algorithm for operational applications

Seyed Ahmadreza Dehghanian (), Sahand Heidary (), Danial Shams (), Ali Mastali Pour () and Rahim Zahedi ()

Edelweiss Applied Science and Technology, 2025, vol. 9, issue 10, 1591-1600

Abstract: Accurate short-term forecasting of photovoltaic (PV) power is essential for reliable grid operation and renewable integration. We propose a stacked Long Short-Term Memory (LSTM) network to predict one-hour-ahead PV output for a 1 kWp crystalline-silicon system using PVGIS-SARAH3 hourly data (2005–2023) at a central Iran location. After timestamp parsing, hourly resampling, interpolation, and min–max normalization, 24-hour sliding windows form the model inputs. Our architecture two LSTM layers of 50 units each followed by a single Dense output neuron, was trained (20 epochs, batch ≈ 3000, early stopping patience = 0) on 70% of the data and tested on the remaining 30%. Evaluation on unseen data yields RMSE = 0.084 kWp, MAE = 0.065 kWp, MAPE = 11.7%, and R² = 0.88, corresponding to a 22% RMSE reduction versus a persistence baseline. Detailed error analysis (scatter, residual histogram, hourly MAE) highlights systematic underestimation at high irradiance and late-afternoon variability. These results demonstrate that our simple, easily-implemented LSTM achieves performance on par with more complex deep-learning frameworks, making it suitable for rapid deployment in operational forecasting systems.

Keywords: Deep learning; Error analysis; LSTM; PVGIS-SARAH3; Photovoltaic; Solar forecasting; Time series. (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://learning-gate.com/index.php/2576-8484/article/view/10722/3467 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:ajp:edwast:v:9:y:2025:i:10:p:1591-1600:id:10722

Access Statistics for this article

More articles in Edelweiss Applied Science and Technology from Learning Gate
Bibliographic data for series maintained by Melissa Fernandes ().

 
Page updated 2025-10-28
Handle: RePEc:ajp:edwast:v:9:y:2025:i:10:p:1591-1600:id:10722