Accurate Photovoltaic Power Prediction Using Machine Learning and Deep Learning: A Comparative Study Across Multiple Locations
Abstract
This work evaluates machine learning (ML) and deep learning (DL) models for Photovoltaic (PV) power output prediction based on two real-world datasets. Eight models – Support Vector Regression (SVR), K-Nearest Neighbors (KNN), Linear Regression (LR), Random Forest Regression (RFR), Gradient Boosting Regression (GBR), Decision Tree (DT), one Dimensional Convolutional Neural Network (1DCNN) and Artificial Neural Network (ANN) – were evaluated using Root Mean Squared Error (RMSE), R-squared (R²), Mean Absolute Error (MAE), and Mean Squared Error (MSE). For Dataset1 (region of Cacak) 1DCNN achieved the optimal performance, with the reduced errors and the largest R² values at three spatial locations, and it was closely followed by RFR and GBR. Likewise, in Dataset2 (region of Kraljevo), 1DCNN, ANN, and RFR give the best results. Conventional models, such as LR and DT, performed poorly in both data tribes. The results highlight the ability of state-of-the-art ensemble and DL models in learning nonlinear patterns in solar energy data and thus, the importance of choosing the right prediction tools to provide accurate and reliable PV power forecasts.
Downloads
Copyright (c) 2025 ITEGAM-JETIA

This work is licensed under a Creative Commons Attribution 4.0 International License.








