hig.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluating Domain-Aware Random Forests for Short-Term Photovoltaic Power Forecasting
Research Informatics Unit, Zambart, Zambia; The Copperbelt University, Zambia.
University of Namibia, Namibia.ORCID iD: 0000-0003-4703-0760
The Copperbelt University, Zambia.
University of Gävle, Faculty of Engineering and Sustainable Development, Department of Building Engineering, Energy Systems and Sustainability Science, Energy Systems and Building Technology.ORCID iD: 0000-0002-2171-3013
2026 (English)In: Energies, E-ISSN 1996-1073, Vol. 19, no 19, article id 4504Article in journal (Refereed) Published
Abstract [en]

Data-driven machine learning (ML) models forecast photovoltaic (PV) power accurately, but the conventional Random Forest (RF) samples candidate predictors uniformly and therefore ignores established physical knowledge about how meteorological variables drive PV generation. This paper proposes the Domain-Aware Random Forest (DARF), a mechanism that converts expert structural knowledge into pre-training feature sampling priors. Expert PV knowledge is represented as a directed acyclic graph (DAG), the strength of each edge is estimated from training data using multivariate ridge regression (MVRR), and the edge strengths are propagated through the graph to yield Domain Prior Weights (DPWs) that bias the feature sampling step of RF construction. The method is evaluated on six months of 30 min operational data from a 34 MWp PV plant in Kitwe, Zambia, for a short-term (h < 1 h) power forecasting task, against a conventional RF and an Extreme Gradient Boosting (XGBoost) model trained under identical conditions over 60 seeded runs. Three alternative expert graphs are tested. With the graph that emphasizes direct physical relationships with PV power, DARF reduces MAE by 6.69%, RMSE by 8.85% and MAPE by 1.11% relative to RF and raises R2 from 0.773 to 0.812; the differences are statistically significant (Wilcoxon signed-rank test, p < 0.05) with large effect sizes (rank–biserial r > 0.5) for all metrics except MAPE (r = 0.3). Feature selection frequencies confirm that the mechanism shifts tree construction toward predictors with higher DPWs, at a training-time cost of 6.7% relative to RF and no change in inference time. XGBoost remains more accurate overall, indicating that the contribution of DARF lies in a transparent, knowledge-guided improvement of the RF rather than in state-of-the-art accuracy.

Place, publisher, year, edition, pages
MDPI , 2026. Vol. 19, no 19, article id 4504
Keywords [en]
machine learning; photovoltaic power forecasting; random forest; knowledge-guided machine learning; directed acyclic graph; domain-aware
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Research subject
Sustainable Urban Development
Identifiers
URN: urn:nbn:se:hig:diva-51109DOI: 10.3390/en19194504ISI: 001903743600001Scopus ID: 2-s2.0-105053662895OAI: oai:DiVA.org:hig-51109DiVA, id: diva2:2104318
Available from: 2026-09-23 Created: 2026-09-23 Last updated: 2026-10-26Bibliographically approved

Open Access in DiVA

fulltext(6418 kB)51 downloads
File information
File name FULLTEXT01.pdfFile size 6418 kBChecksum SHA-512
de2a928da54df15d4ac53c8d6125ac8db0e84c62ec4e6d18f8c3d0ed1a0a7945970ef4e9130ac3909a696e79c55c806abda44253d80f96a11f74575a54f1d828
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Kabanshi, Alan

Search in DiVA

By author/editor
Ndiaye, MusaKabanshi, Alan
By organisation
Energy Systems and Building Technology
In the same journal
Energies
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 51 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 2568 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf