A hybrid monthly electricity demand forecasting model combining an Hodrick-Prescott filter, recurrent neural networks, and autoregressive integrated moving average
IF 9.6 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
{"title":"A hybrid monthly electricity demand forecasting model combining an Hodrick-Prescott filter, recurrent neural networks, and autoregressive integrated moving average","authors":"Zhenyu Su, Juan Zhang, Zhehan Yang, Leihao Ma","doi":"10.1016/j.egyai.2025.100600","DOIUrl":null,"url":null,"abstract":"<div><div>The coexistence of growth trends and seasonal fluctuations in monthly electricity demand presents significant forecasting challenges. Therefore, this study proposes a univariate time series forecasting approach that applies the Hodrick-Prescott (HP) filter to decompose the demand series into trend and seasonal components. Autoregressive integrated moving average (ARIMA) is used to forecast the trend, while recurrent neural networks (RNNs) handle the periodic component. The final prediction is obtained by combining the forecasts of both components. The model’s predictive performance is evaluated using Guangzhou’s total electricity consumption data. Compared to traditional methods such as Holt-Winters, Seasonal ARIMA, and error-trend-seasonal (ETS), the proposed HP_RNN_ARIMA hybrid model reduces mean absolute percentage error (MAPE), root mean square error (RMSE), and mean absolute error (MAE) by approximately 9.70 % to 35.66 %, 14.18 % to 35.06 %, and 20.01 % to 41.92 %, respectively. Compared to standalone neural networks such as backpropagation (BP), RNNs, and long short-term memory (LSTM), the proposed model lowers MAPE, RMSE, and MAE by approximately 9.05 % to 44.02 %, 20.88 % to 51.74 %, and 29.53 % to 56.23 %, respectively. Against other hybrid models, it reduces these metrics by 3.60 % to 33.39 %, 4.27 % to 36.67 %, and 4.43 % to 44.87 %. It also achieves the highest Willmott’s index (WI) and Legates and McCabe’s index (LMI) scores, reflecting superior model fit. Moreover, applying the HP filter for decomposition and modeling each component individually significantly improves forecasting accuracy.</div></div>","PeriodicalId":34138,"journal":{"name":"Energy and AI","volume":"22 ","pages":"Article 100600"},"PeriodicalIF":9.6000,"publicationDate":"2025-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy and AI","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666546825001326","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
The coexistence of growth trends and seasonal fluctuations in monthly electricity demand presents significant forecasting challenges. Therefore, this study proposes a univariate time series forecasting approach that applies the Hodrick-Prescott (HP) filter to decompose the demand series into trend and seasonal components. Autoregressive integrated moving average (ARIMA) is used to forecast the trend, while recurrent neural networks (RNNs) handle the periodic component. The final prediction is obtained by combining the forecasts of both components. The model’s predictive performance is evaluated using Guangzhou’s total electricity consumption data. Compared to traditional methods such as Holt-Winters, Seasonal ARIMA, and error-trend-seasonal (ETS), the proposed HP_RNN_ARIMA hybrid model reduces mean absolute percentage error (MAPE), root mean square error (RMSE), and mean absolute error (MAE) by approximately 9.70 % to 35.66 %, 14.18 % to 35.06 %, and 20.01 % to 41.92 %, respectively. Compared to standalone neural networks such as backpropagation (BP), RNNs, and long short-term memory (LSTM), the proposed model lowers MAPE, RMSE, and MAE by approximately 9.05 % to 44.02 %, 20.88 % to 51.74 %, and 29.53 % to 56.23 %, respectively. Against other hybrid models, it reduces these metrics by 3.60 % to 33.39 %, 4.27 % to 36.67 %, and 4.43 % to 44.87 %. It also achieves the highest Willmott’s index (WI) and Legates and McCabe’s index (LMI) scores, reflecting superior model fit. Moreover, applying the HP filter for decomposition and modeling each component individually significantly improves forecasting accuracy.