[Paper Review] Electricity Demand Forecasting with Hybrid Statistical and Machine Learning Algorithms: Case Study of Ukraine
This paper proposes a novel hybrid forecasting model for national electricity demand in Ukraine, integrating macroeconomic, temperature, and calendar regressors with ARIMA and LSTM models to predict hourly demand across long-, mid-, and short-term horizons. The model achieves 96.83% accuracy over 17,520 hourly out-of-sample forecasts, demonstrating superior performance by combining interpretable statistical structures with deep learning for residual correction.
This article presents a novel hybrid approach using statistics and machine learning to forecast the national demand of electricity. As investment and operation of future energy systems require long-term electricity demand forecasts with hourly resolution, our mathematical model fills a gap in energy forecasting. The proposed methodology was constructed using hourly data from Ukraine's electricity consumption ranging from 2013 to 2020. To this end, we analysed the underlying structure of the hourly, daily and yearly time series of electricity consumption. The long-term yearly trend is evaluated using macroeconomic regression analysis. The mid-term model integrates temperature and calendar regressors to describe the underlying structure, and combines ARIMA and LSTM ``black-box'' pattern-based approaches to describe the error term. The short-term model captures the hourly seasonality through calendar regressors and multiple ARMA models for the residual. Results show that the best forecasting model is composed by combining multiple regression models and a LSTM hybrid model for residual prediction. Our hybrid model is very effective at forecasting long-term electricity consumption on an hourly resolution. In two years of out-of-sample forecasts with 17520 timesteps, it is shown to be within 96.83 \% accuracy.
Motivation & Objective
- To address the lack of accurate long-term electricity demand forecasting at hourly resolution for national energy planning.
- To develop a multi-horizon forecasting framework that integrates statistical and machine learning techniques for improved accuracy.
- To model the interplay of macroeconomic, climatic, and temporal drivers on electricity consumption in Ukraine.
- To evaluate the performance of hybrid models combining classical statistics and deep learning for residual error correction.
- To provide an open-source, automated framework for reproducible electricity demand forecasting in other countries.
Proposed method
- The model decomposes electricity demand into long-term, mid-term, and short-term components based on time scale.
- Long-term forecasting uses linear regression on macroeconomic and demographic variables to capture yearly trends.
- Mid-term forecasting combines temperature and calendar regressors with ARIMA and LSTM models to capture structural patterns and residual errors.
- Short-term forecasting employs calendar-based regressors and multiple ARMA models to model hourly seasonality and residual dynamics.
- The hybrid approach uses ARIMA for structured time series components and LSTM for nonlinear residual patterns, enhancing forecast accuracy.
- All models are implemented in R and Python, with full code and data pipelines available as open-source software for automation and reuse.
Experimental results
Research questions
- RQ1How can a hybrid statistical and machine learning model improve long-term electricity demand forecasting at hourly resolution?
- RQ2To what extent do macroeconomic, temperature, and calendar variables explain national electricity demand trends in Ukraine?
- RQ3Can combining ARIMA and LSTM models for residual prediction significantly enhance forecasting accuracy compared to standalone models?
- RQ4How does the model perform under real-world disruptions such as the onset of the COVID-19 pandemic?
- RQ5Can the proposed methodology be automated and generalized for application in other national energy systems?
Key findings
- The hybrid model achieved a mean absolute percentage error (MAPE) of 3.17% over 17,520 hourly forecasts for 2019 and 2020, with a 96.83% accuracy rate.
- The model's accuracy declined slightly in 2020 (MAPE 3.56%) due to the onset of the COVID-19 pandemic, indicating sensitivity to exogenous shocks.
- The integration of LSTM with ARIMA for residual modeling significantly improved forecast accuracy compared to individual models.
- The short-term model effectively captured daily and weekly seasonal patterns, as confirmed by visual inspection of sample weeks in 2019 and 2020.
- The long-term model based on macroeconomic variables successfully captured the underlying yearly trend in electricity consumption from 2013 to 2020.
- The model’s open-source implementation enables automation and reuse for national energy planning in other countries with similar data availability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.