Enhancing Photovoltaic Energy Forecasting with Machine Learning: A Comparison Study of XGBoost, LightGBM and LSTM Models
This paper investigates the integration of machine learning (ML) models—XGBoost, LightGBM, and LSTM—in forecasting photovoltaic (PV) energy generation. The study highlights the advancements in photovoltaic technology and the role of automation in enhancing system efficiency and reliability. By leveraging historical data on photovoltaic energy generation and relevant meteorological conditions, the research evaluates the performance of the three ML models using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and R-squared (R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>) metrics. The results show that XGBoost provides the most accurate forecasts, followed by LightGBM, while the LSTM model underperforms in comparison. These findings underscore the potential of ML techniques in improving energy forecasting accuracy, supporting better grid integration and energy management. The study also suggests that future work should explore hybrid methods to further optimize model parameters and enhance predictive performance. Historical and projected values are presented, along with detailed analysis, to offer a comprehensive understanding of the models’ capabilities. The implementation code used in this study is referenced for reproducibility and further research.
Authors
- Jose D. Vargas (ORCID: https://orcid.org/0000-0002-2005-567X)
- Roger Martínez
- Luis Loo (ORCID: https://orcid.org/0009-0003-2375-522X)
Institutions
- Universidad Tecnológica de Honduras (HN)
Publication Details
- Published
- 2024-11-13
- DOI
- https://doi.org/10.1109/la-cci62337.2024.10814763
- Citations
- 5
- Primary Topic
- Energy Load and Power Forecasting
- Type
- article
- Field-Weighted Citation Impact
- 1.04