Back to search

Faculty of Graduate Studies and Research, University of Regina

Modelling and prediction of solar energy generation and consumption in residential buildings using machine learning

Abstract

dc:description.abstract

Solar energy systems have a crucial part to play in enhancing the sustainability of residential buildings, especially in cold climates such as Regina, Saskatchewan. However, fluctuations in solar irradiation and highly variable patterns of energy demand make their practical integration complicated. This study investigates whether machine learning can solve these integration challenges. In Stage 1, an ensemble of XGBoost and LightGBM models was developed to forecast Global Horizontal Irradiance (GHI), achieving high accuracy (R² = 0.9975). Stage 2 employed a hybrid deep learning architecture—comprising convolutional layers, stacked long short-term memory (LSTM) units, and building ID embeddings—to predict hourly heating and cooling demand based on actual energy data from twelve residential buildings in North Dakota. The models performed robustly, with R² scores of 0.9730 for heating and 0.9140 for cooling. With the help of data-driven analysis and rule-based thresholds derived from solar engineering literature, Stage 3 incorporated a Random Forest classifier to assign operational mode states (SOLAR, GRID, or OFF). The classifier's accuracy in both heating and cooling conditions was almost flawless. The results demonstrate that a modular, data-driven machine learning framework can effectively enable intelligent solar management and decision-making in residential buildings. Future work may focus on real-time sensor integration and deployment in smart grid infrastructures. Keywords: Solar-Assisted Energy Systems, Machine Learning for Energy Prediction, Global Horizontal Irradiance (GHI) Forecasting, CNN-LSTM Hybrid Model, Residential Building Energy Management, Operational Mode Classification.

Degree

thesis:*
Name thesis:degree_name
Master of Applied Science (MASc)
Level thesis:degree_level
Master
Discipline thesis:degree_discipline
Engineering - Industrial Systems
Grantor dc:publisher
Faculty of Graduate Studies and Research, University of Regina
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Shahidpoorfalah, Behnoosh
Advisor dc:contributor.advisor
  • Peng, Wei
Contributors dc:contributor
  • Mehrandezh, Mehran
  • Khan, Sharfuddin

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Regina
Base URL
uregina.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Shahidpoorfalah, Behnoosh. Modelling and prediction of solar energy generation and consumption in residential buildings using machine learning. Master thesis, Faculty of Graduate Studies and Research, University of Regina, 2025. https://doi.org/10.82465/7661