IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i18p5036-d1755072.html
   My bibliography  Save this article

Virtual Energy Replication Framework for Predicting Residential PV Power, Heat Pump Load, and Thermal Comfort Using Weather Forecast Data

Author

Listed:
  • Daud Mustafa Minhas

    (Industrial Security Lab, ZeMA—Center for Mechatronics and Automation Technology, D-66121 Saarbrucken, Germany)

  • Muhammad Usman

    (Mechanical Engineering Department, University of Engineering and Technology Taxila, Taxila 47050, Pakistan)

  • Irtaza Bashir Raja

    (College of Electrical and Mechanical Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan)

  • Aneela Wakeel

    (Mechanical Engineering Department, University of Engineering and Technology Taxila, Taxila 47050, Pakistan)

  • Muzaffar Ali

    (Mechanical Engineering Department, Faculty of Engineering, Kocaeli University, 41001 Kocaeli, Türkiye)

  • Georg Frey

    (Chair of Automation and Energy Systems, Saarland University, D-66123 Saarbrücken, Germany)

Abstract

It is essential to balance energy supply and demand in residential buildings through accurate forecasting of energy use due to varying daily and seasonal residential building loads. This study demonstrates a data-driven Virtual Energy Replication Framework (VERF) to predict the behavior of residential buildings using weather forecast data. The framework integrates supervised machine learning models and time-ahead weather parameters to estimate photovoltaic (PV) power production, heat pump energy consumption, and indoor thermal comfort. The accuracy of prediction models is validated using TRNSYS simulations of a typical household in Saarbrucken, Germany, a temperate oceanic climate region. The XGBoost model exhibits the highest reliability, achieving a root mean square error (RMSE) of 0.003 kW for PV power generation and 0.025 kW for heat pump energy use, with R 2 scores of 0.94 and 0.87, respectively. XGBoost and random forest regression models perform well in predicting PV generation and HP electricity load, with mean prediction errors of 5.27–6% and 0–7.7%, respectively. In addition, the thermal comfort index (PPD) is predicted with an RMSE of 1.84 kW and an R 2 score of 0.80 using the XGBoost model. The mean prediction error remains between 2.4% (XGBoost regression) and −11.5% (lasso regression) throughout the forecasted data. Because the framework requires no real-time instrumentation or detailed energy modelling, it is scalable and adaptable for smart building energy systems, and has particular value for Building-Integrated Photovoltaics (BIPV) demonstration projects on account of its predictive load-matching capabilities. The research findings justify the applicability of VERF for efficient and sustainable energy management using weather-informed prediction models in residential buildings.

Suggested Citation

  • Daud Mustafa Minhas & Muhammad Usman & Irtaza Bashir Raja & Aneela Wakeel & Muzaffar Ali & Georg Frey, 2025. "Virtual Energy Replication Framework for Predicting Residential PV Power, Heat Pump Load, and Thermal Comfort Using Weather Forecast Data," Energies, MDPI, vol. 18(18), pages 1-20, September.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:18:p:5036-:d:1755072
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/18/5036/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/18/5036/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:18:p:5036-:d:1755072. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.