Research on Solar Power Generation Prediction Model Based on Ensemble Learning and Feature Engineering
Abstract
With the transformation of the global energy structure, solar power generation prediction confronts technical challenges in extracting higher-order cyclical characteristics and enhancing seasonal adaptability. This paper proposes a solar power generation prediction model based on enhanced feature engineering and stacked ensemble learning. In terms of feature engineering, we comprehensively extract Fourier features of daily and annual cycles along with quadratic harmonics. We quantify the dynamic fluctuations of temperature and radiation through rolling statistical indicators and introduce seasonal correction factors to accurately characterize the illumination climate patterns of different seasons. On the model level, we employ stacked ensemble learning that integrates four regression models: Random Forest, Extremely Randomized Trees, Gradient Boosting Trees, and Support Vector Regression, with Ridge Regression as the meta-learner. Experimental results show that the proposed model performs excellently in solar power generation prediction, achieving a MAE of 9.30, an RMSE of 19.48, and an R² of 0.9897, significantly outperforming the comparison models. Feature importance analysis indicates that high-order Fourier features, rolling statistical features, and seasonal correction factors are key components for performance improvement. This method provides an effective technical solution for large-scale solar power generation prediction.
References
- IRENA. (2020). Renewable Power Generation Costs in 2019. International Renewable Energy Agency.
- Kalogirou, S. A. (2014). Solar Energy Engineering: Processes and Systems. Academic Press.
- Poncelet, K., et al. (2016). "A robust approach for short-term solar power forecasting." Solar Energy, 139, 73-83.
- Zhao, Q., et al. (2016). "Solar irradiance forecasting using ARIMA model." Renewable Energy, 91, 1-8.
- Díaz, J., et al. (2020). "Machine learning techniques for solar power forecasting: A review." IEEE Transactions on Sustainable Energy.
- Abdel-Ghany, A. M., et al. (2020). "Predicting solar energy production using machine learning: A review." Journal of Cleaner Production, 258, 120836.