Skip to content
Open access

Open-Source Machine Learning Framework for Fully Electrified Residential Load Prediction: A Temperature-to-kWh Model Using XGBoost

Sep 2026 · Journal of Sustainability Research · Vol 8 · 0 citations · 61 references

TL;DR

An open-source, scalable temperature-driven extreme gradient boosting (XGBoost) algorithm model is developed to predict temperature-to-kWh for residential houses and showed the novel XGBoost configuration outperformed baseline methods and yielded accuracy comparable to or better than reported deep-learning implementations for similarly sized residential datasets.

Abstract

The accelerating shift toward renewable electrification of housing, demands accurate household energy forecasting for optimizing system design, lowering costs and environmental impacts, and optimizing demand-response. To overcome the limitations of existing models, in this study, an open-source, scalable temperature-driven extreme gradient boosting (XGBoost) algorithm model is developed to predict temperature-to-kWh for residential houses. The model captures nonlinear feature interactions and works efficiently with sparse, noisy data. It is trained and validated using a five-year dataset combining hourly household electricity consumption data from a fully solar-powered and electrified residential house in Toronto Canada. The system had solar photovoltaics, photovoltaic thermal and heat pump subsystems. The results showed the novel XGBoost configuration outperformed baseline methods such as linear regression, support vector regression, and random forest and yielded accuracy comparable to or better than reported deep-learning implementations (e.g., multivariate long-short term memory) for similarly sized residential datasets. The results for the model trained with 5-year datasets show RMSE of 0.13 and MAE of 0.06 with the spike handling process, which reflects the model’s reliability for fine-grained residential energy forecasting. This new model can be used to improve optimization and modelling tools to enable a wider deployment of solar-powered fully-electrified residences.

Read PDF

Similar papers

Open access Aug 2026

An integrated LSTM-MPA framework for intelligent hybrid renewable energy forecasting and charging optimization of campus electric bicycle and motorcycle systems

The increasing adoption of electric bicycles and motorcycles has intensified the demand for sustainable and reliable charging infrastructures, particularly in campus environments characterized by fluctuating mobility patterns and renewable energy variability. This study proposes an intelligent hybrid solar–wind renewab...

M. S. Mauludin, Yuki Trisnoaji, Arif Rifan Rudiyanto et al. · 0 citations
Open access Sep 2026

Residential Electrical Load, Solar Energy and Electricity Bill Forecasting Using Hybrid Machine Learning Models with Time-of-Use Tariffs: A Case Study of Durban, South Africa

The hybrid ensemble model accomplished the highest forecasting accuracy of the electricity bill with MAE, RMSE, MSE, MASE and R2 of 0.97978 when compared to other models.

T. Adefarati, Gulshan Sharma, P. Bokoro et al. · 0 citations
Open access Sep 2026

Peak-aware short-term household electricity consumption forecasting using deep learning and transformer-based architectures

A detailed deep learning analysis of the UCI household power consumption dataset, which includes minute-level measurements from French households over four years, demonstrates that the hybrid CNN-LSTM provide improved overall household load forecasting on RMSE and TFT-Lite is advantageous for peak-aware forecasting pea...

Ν. Nathan, Sriramakrishnan Pathmanaban · 0 citations
Open access Sep 2026

A Coordinated Strategy for Residential Energy Consumption and Photovoltaic Generation Based on Machine Learning and Multi-Objective Optimization: A Case Study of Lhasa

Lhasa combines abundant solar resources with a high heating demand and low winter solar altitude, making residential morphology simultaneously important to operational energy use and roof–façade photovoltaic (PV) generation. Based on a residential-area inventory covering more than 80 residential areas and 15 typical sl...

Ruo-Tong Zhao, Fei Yu, Guang-Tian Wang et al. · 0 citations
Open access Sep 2026

Machine learning framework for short- and medium-term building energy consumption forecasting

The LSTM model’s superior accuracy supports its integration into Building Energy Management Systems (BEMS) for demand response, anomaly detection, and predictive control, enabling professionals to reduce operational energy costs, enhance occupant comfort, and advance sustainability targets within modern building portfo...

Nadia Ahbab, Shahrad Samankan, Mustafa Berker Yurtseven · 0 citations
Conference Sep 2026

Comparative Analysis of Linear and Ensemble Models for Short-Term Residential Energy Forecasting Across Multiple Forecast Horizons

Accurate forecasting of household appliance energy consumption is essential for supporting smart-home energy management and residential electricity efficiency. This study compares the forecasting performance of Linear Models (LM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost) using a multivariate dataset....

Leyton Raynaldo Ozzora, Aaron Ng, Nicholas Reynard Kusuma et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.