Short-Term Forecasting of Hourly Electricity Power Demand

Reggresion and Cluster Methods for Short-Term Prognosis


  • S. K. Filipova-Petrakieva Department of Theory of Electrical Engineering, Technical University of Sofia, Bulgaria
  • V. Dochev Department of Computer Systems Faculty of Computer Systems and Technologies, Technical University of Sofia, Bulgaria


The optimal use of electric power consumption is a fundamental indicator of the normal use of energy resources. Its quantity depends on the loads connected to the electric power grid, which are measured on an hourly basis. This paper examines forecasting methods for hourly electrical power demands for 7 days. Data for the period of 1 January 2015 and 24 December 2020 were processed, while the models' forecasts were tested on actual power load data between 25 and 31 December 2020, obtained from the Energy System Operator of the Republic of Bulgaria. Two groups of methods were used for the prognosis: classical regression methods and clustering algorithms. The first group included "moving window" and ARIMA, while the second examined K-Means, Time Series K-Means, Mini Batch K-Means, Agglomerative clustering, and OPTICS. The results showed high accuracy of the forecasts for the prognosis period.


short-term prognosis, hourly electricity power demand, reggresion analysis, clustering methods


Download data is not yet available.


A. Tsolov and B. Marinova, "Optimal Power Factor for the Reactive Load of Small Hydro Power Plants," Engineering, Technology & Applied Science Research, vol. 8, no. 2, pp. 2755–2757, Apr. 2018. DOI:

A. Tsolov, "Precise Generators Synchronization a Small HPP with an Excitation System," Engineering, Technology & Applied Science Research, vol. 8, no. 2, pp. 2839–2846, Apr. 2018. DOI:

S. Filipova-Petrakieva and V. Dochev, "Short-Term Forecasts of the Electrical Energy Consumption in Republic of Bulgaria," in 2021 13th Electrical Engineering Faculty Conference (BulEF), Varna, Bulgaria, Sep. 2021, pp. 1–6. DOI:

W. C. Hong and G. F. Fan, "Hybrid Empirical Mode Decomposition with Support Vector Regression Model for Short Term Load Forecasting," Energies, vol. 12, no. 6, Jan. 2019, Art. no. 1093. DOI:

X. Shao, C. Pu, Y. Zhang, and C. S. Kim, "Domain Fusion CNN-LSTM for Short-Term Power Consumption Forecasting," IEEE Access, vol. 8, pp. 188352–188362, 2020. DOI:

R. Jin, Y. Lu, Y. Wang, and J. Song, "The Short-Term Power Consumption Forecasting Based on the Portrait of Substation Areas," in 2020 IEEE International Conference on Knowledge Graph (ICKG), Nanjing, China, Dec. 2020, pp. 649–653. DOI:

K. Yan, X. Wang, Y. Du, N. Jin, H. Huang, and H. Zhou, "Multi-Step Short-Term Power Consumption Forecasting with a Hybrid Deep Learning Strategy," Energies, vol. 11, no. 11, Nov. 2018, Art. no. 3089. DOI:

A. Agga, A. Abbou, M. Labbadi, and Y. El Houm, "Short-term self consumption PV plant power production forecasts based on hybrid CNN-LSTM, ConvLSTM models," Renewable Energy, vol. 177, pp. 101–112, Aug. 2021. DOI:

X. Shao and C. S. Kim, "Multi-Step Short-Term Power Consumption Forecasting Using Multi-Channel LSTM With Time Location Considering Customer Behavior," IEEE Access, vol. 8, pp. 125263–125273, 2020. DOI:

M. Khoobiyan, A. Pooya, A. Tavakkoli, and F. Rahimnia, "Taxonomy of Manufacturing Flexibility at Manufacturing Companies Using Imperialist Competitive Algorithms, Support Vector Machines and Hierarchical Cluster Analysis," Engineering, Technology & Applied Science Research, vol. 7, no. 2, pp. 1559–1566, Apr. 2017. DOI:

R. Baviera and M. Azzone, "Neural Network Middle-Term Probabilistic Forecasting of Daily Power Consumption," Journal of Energy Markets, vol. 14, no. 1, May 2021. DOI:

L. Davlea and B. Teodorescu, "A neuro-fuzzy algorithm for middle-term load forecasting," in 2016 International Conference and Exposition on Electrical and Power Engineering (EPE), Iasi, Romania, Jul. 2016. DOI:

W. Yichun, C. Zhenying, and L. Miao, "Med-long term system structure forecasting of power consumption based on grey derived model," in Proceedings of 2013 IEEE International Conference on Grey systems and Intelligent Services (GSIS), Macao, China, Aug. 2013, pp. 142–146. DOI:

N. D. Senchilo and D. A. Ustinov, "Method for Determining the Optimal Capacity of Energy Storage Systems with a Long-Term Forecast of Power Consumption," Energies, vol. 14, no. 21, Jan. 2021, Art. no. 7098. DOI:

Faxuan Ma, "Exploration and discussion on electricity consumption demand forecasting theories and methods," in Advances in Energy and Environment Research: Proceedings of the International Conference on Advances in Energy and Environment Research (ICAEER2016), Guangzhou, China, Aug. 2016, pp. 7–16. DOI:

K.-K. Savov, K. Hadzhiyska, D. Stoilov, T. Babinkov, and N. Nikolov, "Models for energy systems development planning," in 2020 12th Electrical Engineering Faculty Conference (BulEF), Varna, Bulgaria, Sep. 2020, pp. 1–4. DOI:

D. Stoilov and K. Ianev, "Generation Planning in the Bulgarian Power System under Current Market Restructuring – Method and Results," presented at the International Conference on Power Generation, Transmission, Distribution and Energy Conversion, Athens, Greece, Aug. 2002.

S. Stapczynski, "Europe’s Energy Crisis Is Coming for the Rest of the World, Too,", Sep. 27, 2021.

G. Papageorgiou, A. Efstathiades, M. Poullou, and A. N. Ness, "Managing household electricity consumption: a correlational, regression analysis," International Journal of Sustainable Energy, vol. 39, no. 5, pp. 486–496, Feb. 2020. DOI:

V. Bianco, O. Manca, and S. Nardini, "Linear Regression Models to Forecast Electricity Consumption in Italy," Energy Sources, Part B: Economics, Planning, and Policy, vol. 8, no. 1, pp. 86–93, Jan. 2013. DOI:

I. Kostakis, "Socio-demographic determinants of household electricity consumption: evidence from Greece using quantile regression analysis," Current Research in Environmental Sustainability, vol. 1, pp. 23–30, Jan. 2020. DOI:

J. Bedi and D. Toshniwal, "Deep learning framework to forecast electricity demand," Applied Energy, vol. 238, pp. 1312–1326, Nov. 2019. DOI:

S. Amasaki and C. Lokan, "Evaluation of Moving Window Policies with CART," in 2016 7th International Workshop on Empirical Software Engineering in Practice (IWESEP), Osaka, Japan, Mar. 2016, pp. 24–29. DOI:

M. H. Alsharif, M. K. Younes, and J. Kim, "Time Series ARIMA Model for Prediction of Daily and Monthly Average Global Solar Radiation: The Case Study of Seoul, South Korea," Symmetry, vol. 11, no. 2, Feb. 2019, Art. no. 240. DOI:

F. Kaytez, M. C. Taplamacioglu, E. Cam, and F. Hardalac, "Forecasting electricity consumption: A comparison of regression analysis, neural networks and least squares support vector machines," International Journal of Electrical Power & Energy Systems, vol. 67, pp. 431–438, Feb. 2015. DOI:

G. K. F. Tso and K. K. W. Yau, "Predicting electricity energy consumption: A comparison of regression analysis, decision tree and neural networks," Energy, vol. 32, no. 9, pp. 1761–1768, Jun. 2007. DOI:

Esma Erguner Ozkoc, "Clustering of Time-Series Data," in Data Mining: Methods, Applications and Systems, London, UK: InTechOpen, 2021, pp. 87–105. DOI:

V. Bondarenko, S. Filipova-Petrakieva, I. Taralova, and D. Andreev, "Forecasting time series for power consumption data in different buildings using the fractional Brownian motion," International Journal of Circuits, Systems and Signal Processing, vol. 12, pp. 646–652, 2018.

D. J. Bora and D. A. K. Gupta, "Effect of Different Distance Measures on the Performance of K-Means Algorithm: An Experimental Study in Matlab," International Journal of Computer Science and Information Technologies, vol. 5, no. 2, pp. 2501–2506, 2014.

T. Kanungo, D. M. Mount, N. S. Netanyahu, C. D. Piatko, R. Silverman, and A. Y. Wu, "An efficient k-means clustering algorithm: analysis and implementation," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 7, pp. 881–892, Jul. 2002. DOI:

P. N. Smyrlis, D. C. Tsouros, and M. G. Tsipouras, "Constrained K-Means Classification," Engineering, Technology & Applied Science Research, vol. 8, no. 4, pp. 3203–3208, Aug. 2018. DOI:

X. Huang, Y. Ye, L. Xiong, R. Y. K. Lau, N. Jiang, and S. Wang, "Time series k-means: A new k-means type smooth subspace clustering for time series data," Information Sciences, vol. 367–368, pp. 1–13, Aug. 2016. DOI:

J. Béjar Alonso, "K-means vs Mini Batch K-means: a comparison," External Research Report, May 2013. Accessed: Feb. 24, 2022. [Online]. Available:

Ryan P. Adams, "Hierarchical Clustering," Princeton University.

F. Murtagh and P. Legendre, "Ward’s Hierarchical Clustering Method: Clustering Criterion and Agglomerative Algorithm," Journal of Classification, vol. 31, no. 3, pp. 274–295, Oct. 2014. DOI:

M. Ankerst, M. M. Breunig, H.-P. Kriegel, and J. Sander, "OPTICS: ordering points to identify the clustering structure," ACM SIGMOD Record, vol. 28, no. 2, pp. 49–60, Mar. 1999. DOI:

M. Shukla, Y. P. Kosta, and M. Jayswal, "A Modified Approach of OPTICS Algorithm for Data Streams," Engineering, Technology & Applied Science Research, vol. 7, no. 2, pp. 1478–1481, Apr. 2017. DOI:

"ESO.BG - Електроенергиен Системен Оператор." (accessed Feb. 24, 2022).

W. A. Fuller, Introduction to Statistical Time Series. New York, NY, USA: John Wiliey & Sons, Ltd, 1996. DOI:

Statsmodels library API Reference: statsmodels.tsa.stattools

SciKit-Learn API Reference: Silhouette, scikit-learn. https://scikit-learn/stable/auto_examples/cluster/plot_kmeans_silhouette_analysis.html (accessed Feb. 24, 2022).


How to Cite

S. K. Filipova-Petrakieva and V. Dochev, “Short-Term Forecasting of Hourly Electricity Power Demand: Reggresion and Cluster Methods for Short-Term Prognosis”, Eng. Technol. Appl. Sci. Res., vol. 12, no. 2, pp. 8374–8381, Apr. 2022.


Abstract Views: 507
PDF Downloads: 381

Metrics Information

Most read articles by the same author(s)