EventsThe 1st International Online Conference on Designs
Published
This submission belongs to the session S1. Artificial Intelligence for Renewable Energy Systems and Optimization of the event The 1st International Online Conference on Designs
Published date
06 Feb, 2026
Academic Editor
author-avatarZiliang Wang
Citation
Thiago Ferro de Oliveira, Andre Luiz Lins de Aquino, Fabiane da Silva Queiroz, The Role of Attention Mechanisms in Deep Learning for Hourly Solar Forecasting: A Case Study in Tropical Brazil, in Proceedings of The 1st International Online Conference on Designs, 9 February–10 February 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

The Role of Attention Mechanisms in Deep Learning for Hourly Solar Forecasting: A Case Study in Tropical Brazil

image
Fabiane da Silva Queiroz 2,4,5
Andre Luiz Lins de Aquino 2,4,6
1. Institute of Mathematics, Federal University of Alagoas, Av. Lourival Melo Mota, S/N, Tabuleiro do Martins, Maceió - AL, 57072-970, Brazil, Brazil
2. Postgraduate Program in Renewable Energies, Federal University of Alagoas, BR-104, Km 85, s/n, Rio Largo - AL , 57100-000, Brazil
3. Orion Laboratory, Federal University of Alagoas, R. Melo Póvoas, 110, Jaraguá, Maceió - AL, 57022-230, Brazil
4. Orion Laboratory, Federal University of Alagoas, R. Melo Póvoas, 110, Jaraguá, Maceió - AL, 57022-230, Brazil, Brazil
5. Engineering and Agricultural Sciences Campus, Federal University of Alagoas, BR-104, Km 85, s/n, Rio Largo - AL , 57100-000, Brazil
6. Institute of Computing, Federal University of Alagoas, Av. Lourival Melo Mota, S/N, Tabuleiro do Martins, Maceió - AL, 57072-970, Brazil
Abstract

Accurate solar irradiance forecasting is essential for the secure integration of photovoltaic energy into power grids, especially in tropical regions with high intermittency [1]. While deep learning models like Long Short-Term Memory (LSTM) networks have been applied to this task, the potential of enhanced architectures, specifically Bidirectional LSTM (BiLSTM) and models incorporating attention mechanisms, for univariate hourly forecasting in tropical climates remains a significant research gap. This study addresses this gap by investigating whether these advanced AI architectures improve prediction accuracy in the context of Northeastern Brazil. We developed and rigorously compared four deep recurrent neural network models: LSTM, LSTM with attention, BiLSTM, and BiLSTM with attention. The models were trained on hourly data (2022–2024, 7:00–22:00 UTC) from João Pessoa, PB, preprocessed with Min-Max normalization [0.1, 0.9], and evaluated using standard metrics (RMSE, MAE, and R²) [2]. Performance was assessed robustly through 10 executions per model with 12- and 24-hour lookback windows. Contrary to expectations from recent AI trends, the results demonstrate that while BiLSTM architectures consistently outperformed standard LSTM, the integration of attention mechanisms degraded forecast performance across all configurations. This key finding suggests that for univariate solar irradiance series in tropical Brazil, the added complexity of attention gates may not capture beneficial additional temporal dependencies. This study provides empirical evidence for optimal model selection (BiLSTM) in regional grid integration applications and challenges the assumed universal utility of attention mechanisms in time-series forecasting for renewable energy.

References:

[1] Ministério de Minas e Energia. Plano Nacional de Energia 2050. Empresa de Pesquisa Energética: Brasília, Brazil, 2020.
[2] de O. Santos, D.S., Jr.; et al. Solar Irradiance Forecasting Using Dynamic Ensemble Selection. Appl. Sci. 2022, 12 (7), 3510.

Keywords
Renewable power integration
Grid stability
Recurrent Neural Networks (RNN)
Time series analysis
Model comparison
Poster
sciforum-159137.pdf
Optimal Power Sharing Between Multi-Microgrids To Improve Electrical Grid Resilience After Disconnection
Evolution of Smart and Micro-Grid Laboratories toward Real-Time Co-Simulation and Digital Twin Testbeds