A Hybrid Approach for Electricity Demand Forecasting for the City of Windhoek

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

Namibia University of Science and Technology

Abstract

The accurate forecasting of electricity demand is essential for effective energy management, urban planning, and sustainable resource allocation. Traditional statistical methods and modern machine learning techniques are integrated to leverage their respective strengths, thereby enhancing both accuracy and interpretability of forecasts. This study presents a hybrid approach for electricity demand forecasting. The research explored electricity consumption trends over the past decade (2014-2023) for the City of Windhoek, through analysing the impact of economic growth, population dynamics, and renewable energy integration by examining a comprehensive dataset that includes historical electricity consumption and factors such as population and economic indicators. Additionally, the study analysed the variance between the City's notified maximum demand (NMD) and actual electricity demand (AD) using the City of Windhoek (CoW) historical data and assessed the financial implications of discrepancies. The analysis shows that the City frequently overestimates its NMD, resulting in significant financial losses due to paying for unused capacity. Although the penalty charges for exceeding NMD are relatively minor, the study shows that positive variance, where AD is below the NMD leads to substantial long-term costs. Six (6) forecasting models, namely Autoregressive Integrated Moving Average (ARIMA), Seasonal Autoregressive Integrated Moving Average (SARIMA), Long Short-Term Memory (LSTM), Random Forest (RF), Gradient Boosting Regression (GBR), and LightGBM, were evaluated for their performance in forecasting electricity demand. Among these, Random Forest and ARIMA models performed superiorly across multiple metrics, namely, Mean Absolute Percentage Error (MAPE), Root Mean Square Error (RMSE) and R² score. These best-performing models were then hybridised using a stacking ensemble approach, with Gradient Boosting Regressor (GBR) as the meta-learner, resulting in a hybrid model that outperformed all individual models in terms of forecast accuracy. Based on the comparative analysis, hybrid models were found to be more accurate than individual models in terms of MAPE, RMSE and R² score. The study demonstrates that the hybrid forecast approach can be employed to minimize the discrepancies between the NMD and AD. Besides the forecasting model performance evaluation, the exploratory analysis of historical data uncovered valuable insights for policymakers and energy managers, thereby aiding in the formulation of strategies for efficient energy consumption and sustainable urban development. Furthermore, the study highlights the potential of integrating hybrid forecasting models into real-world energy management systems to enhance decision-making processes and improve electricity procurement efficiency. The findings underscore the importance of adaptive forecasting techniques in mitigating financial risks associated with demand estimation errors.

Description

Thesis Submitted in partial fulfilment of the requirements for the degree of Master of Data Science at Namibia University of Science and Technology.

Citation

Nambahu, N. D.T. (2025). A Hybrid Approach for Electricity Demand Forecasting for the City of Windhoek [Master’s thesis, Namibia University of Science and Technology].

Endorsement

Review

Supplemented By

Referenced By