Hasnain Iftikhar, Justyna Zywiołek, Javier Linkolk López-Gonzales, Olayan Albalawi
{"title":"Electricity consumption forecasting using a novel homogeneous and heterogeneous ensemble learning","authors":"Hasnain Iftikhar, Justyna Zywiołek, Javier Linkolk López-Gonzales, Olayan Albalawi","doi":"10.3389/fenrg.2024.1442502","DOIUrl":null,"url":null,"abstract":"In today’s world, a country’s economy is one of the most crucial foundations. However, industries’ financial operations depend on their ability to meet their electricity demands. Thus, forecasting electricity consumption is vital for properly planning and managing energy resources. In this context, a new approach based on ensemble learning has been developed to predict monthly electricity consumption. The method divides electricity consumption time series into deterministic and stochastic components. The deterministic component, which consists of a secular long-term trend and an annual seasonality, is estimated using a multiple regression model. In contrast, the stochastic part considers the short-run random fluctuations of the consumption time series. It is forecasted by four different time series, four machine learning models, and three novel proposed ensemble models: the time series homogeneous ensemble model, the machine learning ensemble model, and the heterogeneous ensemble model. The study analyzed data on Pakistan’s monthly electricity consumption from 1991-January to 2022-December. The evaluation of the forecasting models is based on three criteria: accuracy metrics (including the mean absolute percent error (MAPE), the mean absolute error (MAE), the root mean squared error (RMSE), and the root relative squared error (RRSE)); an equality forecast statistical test (the Diebold and Mariano’s test); and a graphical assessment. The heterogeneous ensemble model’s forecasting results show lower error values compared to the homogeneous ensemble models and the singles models, with accuracy metrics measured by MAPE, MAE, RMSE, and RRSE at 5.0027, 460.4800, 614.5276, and 0.2933, respectively. Additionally, the heterogeneous ensemble model is statistically significant (p <jats:inline-formula><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"><mml:mo><</mml:mo></mml:math></jats:inline-formula> 0.05) and superior to the rest of the models. Also, the heterogeneous ensemble model demonstrates considerable performance with the least mean error, which is comparatively better than the individual and best models reported in the literature and are considered baseline models. Further, the forecast values’ monthly behavior depicts that electricity consumption is higher during the summer season, and this demand will be highest in June and July. The forecast model and graph reveal that electricity consumption rapidly increases with time. This indirectly indicates that the government of Pakistan must take adequate steps to improve electricity production through different energy sources to restore the country’s economic status by meeting the country’s electricity demand. Despite several studies conducted from various perspectives, no analysis has been undertaken using an ensemble learning approach to forecast monthly electricity consumption for Pakistan.","PeriodicalId":12428,"journal":{"name":"Frontiers in Energy Research","volume":null,"pages":null},"PeriodicalIF":2.6000,"publicationDate":"2024-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Energy Research","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.3389/fenrg.2024.1442502","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0
Abstract
In today’s world, a country’s economy is one of the most crucial foundations. However, industries’ financial operations depend on their ability to meet their electricity demands. Thus, forecasting electricity consumption is vital for properly planning and managing energy resources. In this context, a new approach based on ensemble learning has been developed to predict monthly electricity consumption. The method divides electricity consumption time series into deterministic and stochastic components. The deterministic component, which consists of a secular long-term trend and an annual seasonality, is estimated using a multiple regression model. In contrast, the stochastic part considers the short-run random fluctuations of the consumption time series. It is forecasted by four different time series, four machine learning models, and three novel proposed ensemble models: the time series homogeneous ensemble model, the machine learning ensemble model, and the heterogeneous ensemble model. The study analyzed data on Pakistan’s monthly electricity consumption from 1991-January to 2022-December. The evaluation of the forecasting models is based on three criteria: accuracy metrics (including the mean absolute percent error (MAPE), the mean absolute error (MAE), the root mean squared error (RMSE), and the root relative squared error (RRSE)); an equality forecast statistical test (the Diebold and Mariano’s test); and a graphical assessment. The heterogeneous ensemble model’s forecasting results show lower error values compared to the homogeneous ensemble models and the singles models, with accuracy metrics measured by MAPE, MAE, RMSE, and RRSE at 5.0027, 460.4800, 614.5276, and 0.2933, respectively. Additionally, the heterogeneous ensemble model is statistically significant (p < 0.05) and superior to the rest of the models. Also, the heterogeneous ensemble model demonstrates considerable performance with the least mean error, which is comparatively better than the individual and best models reported in the literature and are considered baseline models. Further, the forecast values’ monthly behavior depicts that electricity consumption is higher during the summer season, and this demand will be highest in June and July. The forecast model and graph reveal that electricity consumption rapidly increases with time. This indirectly indicates that the government of Pakistan must take adequate steps to improve electricity production through different energy sources to restore the country’s economic status by meeting the country’s electricity demand. Despite several studies conducted from various perspectives, no analysis has been undertaken using an ensemble learning approach to forecast monthly electricity consumption for Pakistan.
期刊介绍:
Frontiers in Energy Research makes use of the unique Frontiers platform for open-access publishing and research networking for scientists, which provides an equal opportunity to seek, share and create knowledge. The mission of Frontiers is to place publishing back in the hands of working scientists and to promote an interactive, fair, and efficient review process. Articles are peer-reviewed according to the Frontiers review guidelines, which evaluate manuscripts on objective editorial criteria