PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
August 18, 2025Energies7 citationsOpen Access

Forecasting Short-Term Photovoltaic Energy Production to Optimize Self-Consumption in Home Systems Based on Real-World Meteorological Data and Machine Learning

View Full Paper
PKPaweł KutRzeszów University of TechnologyKPKatarzyna Pietrucha-UrbanikRzeszów University of Technology

Key Points

  • XGBoost achieved the highest accuracy in forecasting short-term photovoltaic energy production, significantly reducing error rates.
  • The mean absolute error (MAE) for XGBoost was 1.25 kWh, representing a 66% reduction compared to linear regression.
  • This approach employs real meteorological data and compares multiple forecasting models including Random Forest and XGBoost.
  • The findings support energy management strategies for residential photovoltaic systems, particularly without energy storage.

Abstract

Given the growing number of residential photovoltaic installations and the challenges of self-consumption, accurate short-term PV production forecasting can become a key tool in supporting energy management. This issue is particularly significant in systems without energy storage, where excess production is fed back into the grid, reducing the profitability of prosumer investments. This paper presents an approach to forecasting short-term energy production in residential photovoltaic installations, based on real meteorological data and the use of machine learning methods. The analysis is based on measurement data from a functioning PV installation and a local weather station. This study compares three models: classical linear regression, Random Forest and the XGBoost algorithm. The method of data preparation, the model training process and the assessment of their effectiveness based on real energy production measurements are presented. This paper also includes a practical calculation example and an analysis of selected days in order to compare the forecast results with the actual production. Of the three models compared, the highest accuracy was achieved for XGBoost, with an MAE = 1.25 kWh, RMSE = 1.93 kWh, and coefficient of determination R2 = 0.94. Compared to linear regression, this means a 66% reduction in MAE and a 41% reduction in the Random Forest model, confirming the practical usefulness of this method in a real-world environment. The proposed approach can be used in energy management systems in residential buildings, without the need to use energy storage, and can support the development of a more conscious use of energy resources on a local scale.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Kut et al. (2025) studied this question.

synapsesocial.com/papers/68af4551ad7bf08b1ead36b1https://doi.org/10.3390/en18164403
Ask AI
Helpful
Bookmark
Share
View Full Paper