Solar and Wind Power Forecasting: A Comparative Review of LSTM, Random Forest, and XGBoost Models

Afsaneh Mollasalehi, Armin Farhadi

Published: 2025/9/28

Abstract

Rising global energy demand from population growth raises concerns about the sustainability of fossil fuels. Consequently, the energy sector has increasingly transitioned to renewable energy sources like solar and wind, which are naturally abundant. However, the periodic and unpredictable nature of these resources pose significant challenges for power system reliability. Accurate forecasting is essential to ensure grid stability and optimize energy management. But due to the high variability in weather conditions which directly affected wind and solar energy, achieving precise predictions remains difficult. Advancements in Artificial Intelligence (AI), particularly in Machine Learning (ML) and Deep Learning (DL), offer promising solutions to improve forecasting accuracy. The study highlights three widely used algorithms for solar and wind energy prediction: Long Short-Term Memory (LSTM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost). These models are capable of learning complex patterns from historical and environmental data, enabling more accurate forecasts and contributing to the enhanced efficiency and reliability of renewable energy systems. This review aims to provide an overview on RF, XGBoost, and LSTM by conducting a comparative analysis across three essential criteria: research prevalence, model complexity, and computational execution time.

Solar and Wind Power Forecasting: A Comparative Review of LSTM, Random Forest, and XGBoost Models | SummarXiv | SummarXiv