CoChat

Multi-label machine learning for power forecasting of a grid-connected photovoltaic solar plant over multiple time horizons

Open access
Hassan, Amal A., Atia, Doaa M., El-Madany, Hanaa T., ElGhannam, Fatma · 2025 · Scientific Reports

The DOI matches its Crossref record; 50 of the 50 references it cites were found in a registry or an index; none of the 3 sources its claims cite is checked for support yet.

Abstract

Because of solar power’s inherent intermittency and stochastic nature, accurate photovoltaic (PV) generation forecasting is critical for the planning and operation of PV-integrated power systems. Thus, accurate power forecasting becomes vital for maintaining good power dispatch efficiency and power grid operational security. Several PV forecasting methods based on machine learning algorithms (MLAs) have recently emerged. This paper presents machine learning methods for multi-label forecasting of PV and AC power delivered to the grid of a building-applied PV plant. Various algorithms representing multiple groups are evaluated, including linear regression (LR), polynomial regression (PR), neural networks (NN), deep learning (DL), gradient-boosted trees (GBT), random forests (RF), decision trees (DT), k-nearest neighbor (k-NN), and support vector machines (SVM). The models use real-time collected data from sensors over one year for solar irradiance, ambient temperature, wind speed, and cell temperature to predict PV and AC power outputs. Forecast performance over multiple time horizons is validated using four datasets: 24 h, one week, one month, and sudden variations. Models are evaluated based on performance metrics such as absolute error (AE), root mean square error (RMSE), normalized absolute error (NAE), relative error (RE), relative root square error (RRSE), and correlation coefficient (R). Results show that RF, DT, and DL consistently achieved the highest accuracy (R ≈ 99.8–100%) with minimal errors (RMSE within 0.014–0.022, AE within 0.008–0.015) across various forecasting scenarios. These models demonstrated strong adaptability and predictive reliability across short-term, medium-term, and long-term forecasts, making them the most effective choices for PV and AC power prediction. The accurate forecasts generated in this study have the potential to aid grid operators in forecasting PV power output variability and planning for integrating intermittent PV power into the grid. Understanding how PV generation will fluctuate given different meteorological conditions allows operators to ensure the consistent integration of this weather-dependent power source. Moreover, multi-label prediction of DC and AC power enables inverter efficiency optimization and grid integration analysis. The average actual and predicted efficiencies of the inverter are 0.96688 and 0.9638, providing valuable insights.

Overview

CoChat Summary

TL;DR

This paper develops multi-label machine-learning models to forecast PV array and AC power for a 30.26 kW grid-connected BAPV plant in Cairo, Egypt, using one year of 5-minute meteorological and power data. Across 24-h, one-week, one-month, and sudden-variation horizons, RF, DT, and DL were generally most accurate, while PR and GBT were unstable.

Key findings

  • Overall test performance: RF, DT, and DL were top models with RMSE 0.022–0.023, AE 0.015–0.016, and R = 99.7%; DT had the fastest execution time (1 s) and lowest RE (6.04%), while PR performed worst (RMSE 0.238, RE 797.23%, R = 75.1%) and GBT had RE 665.77%.
  • Short-term horizons: on a sunny day, RF achieved RMSE 0.023 and AE 0.015, K-NN had the lowest RE (5.39%), and DT had RE 8.91%; on a cloudy day, LR and DT had the lowest RMSE (0.016 and 0.018) and AE (0.009), with DT RE 11.27% and RF RE 17.08%; under sudden irradiance variation, LR had RE 3.79%, NN 3.61%, and RF RMSE 0.017 with AE 0.012.
  • Medium- and long-term horizons: for one week, DT had the lowest RE (7.79%) at 1 s, while RF had RMSE 0.018 and AE 0.011; for one month, DT had the lowest RE (5.75%) at 1 s, RF and DL had AE 0.008 and RMSE 0.014, and SVM had RE 7.87% but required 193 s.
  • Inverter efficiency: the average actual and predicted inverter efficiencies were 0.96688 and 0.9638, respectively; multi-label prediction of DC and AC power is presented as useful for inverter efficiency optimization and grid integration analysis.

Methods

  • Data: a grid-connected BAPV plant in New Nozha, Cairo, Egypt, with 30.26 kW total capacity, two 15.13 kW sub-arrays, 445 W mono-crystalline modules, and an ABB 27.6 kW three-phase inverter; on-site weather station and Solar-Log Base 100 logger recorded 5-minute data from October 2022 to September 2023, comprising more than 105 K samples per parameter. Inputs were solar irradiance (Srad), ambient temperature (Tamb), wind speed (Ws), and cell temperature (Tcell); labels were PV array power (PPV) and AC power (PAC).
  • Modeling: RapidMiner Studio 10.1 Educational was used to implement LR, PR, NN, DL, GBT, RF, DT, k-NN, and SVM; pre-processing included outlier filtration and normalization (min-max for all models except SVM, which used z-score), feature selection used Pearson correlation, and data were split 70:30 for training/testing with hyper-parameter tuning on validation data.
  • Validation: models were tested for 24 h (sunny and cloudy days, 288 samples/parameter), one week (2016 samples/parameter), one month (7823 samples/parameter), and sudden variations (90 records); metrics were AE, RMSE, NAE, RE, RRSE, and R. For 2024 horizons, each model received actual measured weather inputs for the target periods, which were excluded from training, and predicted PV output solely from unseen meteorological data.

Limitations

  • Stated: future work should incorporate additional variables and real-time data to enhance model robustness and create a generalized model effective under various weather conditions.
  • Evident from the text: the study uses one BAPV plant in Cairo and one year of training data; the 2024 horizon validations provide actual measured weather inputs for target periods, so the evaluation does not include errors from forecasting future weather.
  • Evident from the text: SVM modeling was restricted to a linear kernel in the mySVM Java implementation, and PR and GBT repeatedly showed extreme instability with very high relative errors, limiting their reliability for PV power forecasting.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1038/s41598-025-20251-y

Cites

50 of 50 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Fig. 1 (a) PV array at ERI rooftop, (b) Schematic diagram of the PV plant.
Fig. 1 (a) PV array at ERI rooftop, (b) Schematic diagram of the PV plant.CC BY · PubMed Central
Fig. 2 Flowchart of the proposed ML-based power forecasting methodology.
Fig. 2 Flowchart of the proposed ML-based power forecasting methodology.CC BY · PubMed Central
Fig. 3 Full-year meteorological data recordings (a) Srad (b) Tamb, (c) Ws, and (d) Tcell.
Fig. 3 Full-year meteorological data recordings (a) Srad (b) Tamb, (c) Ws, and (d) Tcell.CC BY · PubMed Central
Fig. 4 PV and AC power variation with environmental conditions based on RF algorithm prediction.
Fig. 4 PV and AC power variation with environmental conditions based on RF algorithm prediction.CC BY · PubMed Central
Fig. 5 Actual and predicted inverter efficiency based on the RF algorithm.
Fig. 5 Actual and predicted inverter efficiency based on the RF algorithm.CC BY · PubMed Central
Fig. 6 Short-term power forecasting of a sunny day (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.
Fig. 6 Short-term power forecasting of a sunny day (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.CC BY · PubMed Central
Fig. 7 Short-term power forecasting of a cloudy day (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.
Fig. 7 Short-term power forecasting of a cloudy day (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.CC BY · PubMed Central
Fig. 8 Short-term power forecasting with sudden variation (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.
Fig. 8 Short-term power forecasting with sudden variation (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.CC BY · PubMed Central
Fig. 9 Medium-term power forecasting for one week (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.
Fig. 9 Medium-term power forecasting for one week (a) solar radiation, (b) Temperature (cell and ambient), (c) PV power variation, and (d) AC power variation.CC BY · PubMed Central
Fig. 10 Long-term power forecasting for a month (a) solar radiation, (b) Temperature (cell and air), (c) PV power variation, and (d) AC power variation.
Fig. 10 Long-term power forecasting for a month (a) solar radiation, (b) Temperature (cell and air), (c) PV power variation, and (d) AC power variation.CC BY · PubMed Central

Verification

Claims the paper makes

0 Valid · 4 Not valid · 3 Not checked · 98 Own results and interpretations

34 more claims

Create a free account to see all 105 claims and to verify the 3 references still open.

See all claims — free account
  • It may state two separate claims as one. 47
  • The quote only partly states this claim. 6
  • Probably not a substantial claim. 22

Create a free account to see these claims.

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

3 of 3

Citations

Cites

Cited by

See all 15

Metadata

Authors
Hassan, A. A., Atia, D. M., El-Madany, H. T., & ElGhannam, F.
Affiliations
Electronics Research Institute (EG)
Corresponding author
Hassan, Amal A.
Venue
Scientific Reports
Published
2025-09-23
Volume
15
Issue
1
Pages
32676-32676
ISSN
2045-2322 (ISSN-L)
OpenAlex
W4414431312
Cited by
15
References
50
Citations by year
2026: 15
FWCI
1.76
Type
journal article
Language
en
Open access
Licence
Locations
  • Scientific Reports (publishedVersion, cc-by)
  • Europe PMC (PubMed Central) (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
Funders
Electronics Research Institute
Topics
  • Physical Sciences › Energy › Renewable Energy, Sustainability and the Environment › Solar Radiation and Photovoltaics
  • Physical Sciences › Engineering › Electrical and Electronic Engineering › Energy Load and Power Forecasting
  • Physical Sciences › Energy › Renewable Energy, Sustainability and the Environment › Photovoltaic System Optimization Techniques
Keywords
photovoltaic power forecasting, building-integrated photovoltaics, short-term and long-term forecasting, solar irradiance, ambient temperature, wind speed, cell temperature, random forest, decision tree, deep learning, gradient boosting decision tree, inverter efficiency

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-24, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-24 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.