Научная статья на тему 'Forecasting planned electricity consumption for the united power system using machine learning'

Forecasting planned electricity consumption for the united power system using machine learning Текст научной статьи по специальности «Электротехника, электронная техника, информационные технологии»

CC BY
89
34
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
electricity power consumption / forecasting / gradient boosting / artificial neural network / machine learning

Аннотация научной статьи по электротехнике, электронной технике, информационным технологиям, автор научной работы — Roman V. Klyuev, Angelika D. Morgoeva, Oksana A. Gavrina, Igor I. Bosikov, Irbek D. Morgoev

The paper presents the results of studies of the predictive models development based on retrospective data on planned electricity consumption in the region with a significant share of enterprises in the mineral resource complex. Since the energy intensity of the industry remains quite high, the task of rationalizing the consumption of electricity is relevant. One of the ways to improve control accuracy when planning energy costs is to forecast electrical loads. Despite the large number of scientific papers on the topic of electricity consumption forecasting, this problem remains relevant due to the changing requirements of the wholesale electricity and power market to the accuracy of forecasts. Therefore, the purpose of this study is to support management decisions in the process of planning the volume of electricity consumption. To realize this, it is necessary to create a predictive model and determine the prospective power consumption of the power system. For this purpose, the collection and analysis of initial data, their preprocessing, selection of features, creation of models, and their optimization were carried out. The created models are based on historical data on planned power consumption, power system performance (frequency), as well as meteorological data. The research methods were: ensemble methods of machine learning (random forest, gradient boosting algorithms, such as XGBoost and CatBoost) and a long short-term memory recurrent neural network model (LSTM). The models obtained as a result of the conducted studies allow creating short-term forecasts of power consumption with a fairly high precision (for a period from one day to a week). The use of models based on gradient boosting algorithms and neural network models made it possible to obtain a forecast with an error of less than 1 %, which makes it possible to recommend the models described in the paper for use in forecasting the planned electricity power consumption of united power systems.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Forecasting planned electricity consumption for the united power system using machine learning»

&

Research article

Forecasting planned electricity consumption for the united power system using machine learning

Roman V. KLYUEV1, Angelika D. MORGOEVA2H, Oksana A. GAVRINA2, Igor I BOSIKOV2, Irbek D. MORGOEV2

1 Moscow Polytechnic University, Moscow, Russia

2 North Caucasian Institute of Mining and Metallurgy (State Technological University), Vladikavkaz, Russia

How to cite this article: Klyuev R.V., Morgoeva A.D., Gavrina O.A., Bosikov I.I., Morgoev I.D. Forecasting planned electricity consumption for the united power system using machine learning. Journal of Mining Institute. 2023. Vol. 261, p. 392-402. EDN FJGZTV I

Abstract. The paper presents the results of studies of the predictive models development based on retrospective data on planned electricity consumption in the region with a significant share of enterprises in the mineral resource complex. Since the energy intensity of the industry remains quite high, the task of rationalizing the consumption of electricity is relevant. One of the ways to improve control accuracy when planning energy costs is to forecast electrical loads. Despite the large number of scientific papers on the topic of electricity consumption forecasting, this problem remains relevant due to the changing requirements of the wholesale electricity and power market to the accuracy of forecasts. Therefore, the purpose of this study is to support management decisions in the process of planning the volume of electricity consumption. To realize this, it is necessary to create a predictive model and determine the prospective power consumption of the power system. For this purpose, the collection and analysis of initial data, their preprocessing, selection of features, creation of models, and their optimization were carried out. The created models are based on historical data on planned power consumption, power system performance (frequency), as well as meteorological data. The research methods were: ensemble methods of machine learning (random forest, gradient boosting algorithms, such as XGBoost and CatBoost) and a long short-term memory recurrent neural network model (LSTM). The models obtained as a result of the conducted studies allow creating short-term forecasts of power consumption with a fairly high precision (for a period from one day to a week). The use of models based on gradient boosting algorithms and neural network models made it possible to obtain a forecast with an error of less than 1 %, which makes it possible to recommend the models described in the paper for use in forecasting the planned electricity power consumption of united power systems.

Keywords: electricity power consumption; forecasting; gradient boosting; artificial neural network; machine learning Received: 14.03.2023 Accepted: 20.06.2023 Online: 19.07.2023 Published: 19.07.2023

Introduction. Energy-saving approaches occupy an important place in the modern world. One of the areas of research in the field of energy saving, which has a high practical and scientific significance, is the forecasting of electricity consumption. This is primarily due to the fact that electrical energy is a resource necessary to ensure all spheres of society. Especially large electricity power consumption is observed in industry, in particular, at the enterprises of the mineral resource complex. At the same time, power consumption forecasting is used in solving various problems, each of which is necessarily subject to one goal - the optimal management of power consumption, i.e. minimization of electricity consumption while maintaining the required level of quality of performance of the main functional processes.

In line with the concept of price-dependent electricity consumption, known under the term "demand response" [1, 2], it has become possible to create economically beneficial conditions for the production, distribution, and consumption of electricity for all participants in the electricity market: generating companies, electricity power grid companies, large consumers of electricity, etc. Wholesale electricity and capacity markets (WECM) are currently operating in many countries. In WECM

various conditions for the purchase of electricity are offered. The day-ahead market and the balancing market are segments of the WECM. The main condition necessary for participation in them is the availability of a reliable forecast of electricity consumption. In this regard, forecasting is an actual production and scientific problem, which solution determines the economic efficiency for all participants in the WECM and contributes to the development of forecasting methods in general.

The efficiency of energy saving by forecasting of electricity power consumption is represented in many scientific papers [3-5]. At the same time, researchers use various methods for predicting power consumption, such as methods of classical and deep machine learning [6-8], mathematical models with fuzzy logic [9], as well as models that take into account the seasonality of power consumption time series [10] and other approaches [11, 12]. The review [13] presents the results of a comparative analysis of methods for forecasting electricity power consumption in accordance with the classification of the methods used depending on the forecast horizon. It should be noted that despite the wide variety of methods for forecasting electricity power consumption, there are no universal approaches that allow obtaining a reliable forecast of electricity power consumption for each subject area. This is mainly due to changing requirements for forecasting precision, the need to take into account a large number of factors that characterize the specifics of the subject area, for which forecasting is carried out, as well as progress in the field of data mining technologies which makes it more efficient than traditional methods of mathematical statistics (exponential smoothing, moving average, etc.) to process large data arrays, and for other reasons. Therefore, it was decided to conduct an applied research, which consists in forecasting electricity consumption using modern data mining tools for the united energy system with a large share of enterprises of the mineral resource complex. Thus, the purpose of this work is to predict planned electricity consumption, assess the precision of forecasting, and develop recommendations for the practical application of some of the proposed forecasting methods, as well as for the need to take into account the factors that characterize electricity consumption.

Forecasting of electricity consumption was carried out on the example of the united energy system of the Ural - a region with a large concentration of enterprises of the mineral resource complex, which are large consumers of electricity in the wholesale electricity and capacity market. Figure 1 shows the structure of electricity consumption for 2021 according to the Unified Interdepartmental Information and Statistical System* for the Ural Federal District (UFD). The largest consumption of electricity falls on the extraction of minerals (70888.4 GW-h) is shown at Fig.1.

Underground Tram, trolleybus transport Activities of other land transport Transportation of gas and products of its processing

Construction Transportation of oil and oil products Household consumption of the rural population Electric traction in railway transport Railway transport activities Other economic activities For own needs of the power plant Losses in public power networks Household consumption of the urban population Population consumption Manufacturing industries Mining

0 10000 30000 50000 70000

Electricity consumption, GW-h

Fig. 1. Structure of electricity consumption in the Ural Federal District in 2021

* Unified Interdepartmental Information and Statistical System. URL: https://www.fedstat.ru/indicator/43277 (accessed 12.03.2023).

The deviation of actual values from the planned ones leads to an increase in costs for all participants in the wholesale electricity market [14-16]. Therefore, the purpose of this study is to support management decisions in the process of determining the optimal values of electricity generation and consumption through hourly forecasting of planned consumption and generation of electricity for a period from a day to a week. The goal was achieved in several stages: the previous world experience in applying various approaches to forecasting electricity power consumption was analyzed; retrospective data on planned electricity power consumption, weather data, and data of indicators of the work of the energy system under consideration were obtained, and their analysis was carried out; predictive models were built and their reliability was assessed, and the main conclusions of the study were formulated. The scientific novelty of the work lies in the study of factors affecting the amount of electricity consumption of the integrated energy system, as well as in the creation of predictive models based on modern gradient boosting algorithms and artificial neural networks, and their optimization. The end result of the study, which is of scientific value, is recommendations on the use of economic and meteorological factors in the development of predictive models for large energy systems with consumers - enterprises of the mineral resource complex, as well as the experience of using specific machine learning algorithms and the configuration parameters of the models obtained as a result of the study.

Methods. Before description of the specific methods used in this study, we will note some of the most modern approaches used to forecast electricity power consumption.

For this purpose, a search has been carried out in the database of scientific publications on the websites ScienceDirect.com and ResearchGate.net by the keywords: forecasting, energy power consumption, machine learning, deep learning, modeling, short-term forecasting, mining industry, etc. Search results contain more than 1000 scientific publications. A part of these papers, most corresponding to the objectives of this study, was considered and the table was also compiled with the results of the analysis of some of the existing forecasting methods (Table 1), in which the analyzed studies are grouped according to the forecasting methods used, which also reflects such quantitative and qualitative characteristics of the research results as forecast depth, input and output data, brief description of the object, the forecasting of electricity consumption of which is carried out, the forecast error.

Table 1

Analysis of methods for forecasting power consumption

Forecast method Object of study Forecast depth Forecast quality Input/output data Reference

Long Short Term Memory Model (LSTM) Port of Busan, South Korea 1 month R2 = 0.973 RMSE = 107105 Input data: forecast of the monthly throughput of the port. Forecast value: electricity consumption [17]

Hybrid: seasonal and trend decomposition using locally weighted regression, XGBoost gradient boosting and support vector regression Australian Wholesale Electricity Market Operator 12 h 24 h sMAPE = 0.75-3.18 % sMAPE = 1.56-7.72 % Input data: electrical load time series. Predicted value: electrical load [18]

Ensemble model: LSTM, GRU and TCN Data from Bejaia Electricity Company, Algeria 1 month MAPEmin = 0.64 % MAPEmax = 10.16 % Input data: power consumption data for the previous 12 months. Output data: electricity consumption [19]

Various forecasting methods were used in the papers presented in Table 1. In papers [18, 19], retrospective data on electricity consumption were used as predictors, in article [17], a factor that significantly affects the amount of electricity consumption was studied. However, these works do not present a study of exogenous factors that nonlinearly affect the amount of electricity consumption, such as meteorological, social, economic, etc.

The paper [20] presents the results of electricity sales forecasting based on a Deep SpatioTemporal Residual Network (ST-ResNet). Sales forecasting is directly related to the planning of power generation, so this actual problem was effectively solved. The use of the artificial neural network ST-ResNet made it possible to reduce the value of the mean absolute percentage error of prediction by more than 2.5 % compared to the use of various forecasting models (recurrent neural networks, moving average, exponential smoothing, etc.) in the short-term (1 day) and medium-term forecasting (1 week). When forecasting, the authors used weather data, a binary sign of the type of the day of the week (workday/day off), data on sales of electricity consumption 1 hour ago.

Forecasting allows you to optimally control the operating modes of electricity storage devices, which contributes to a more rational use of electricity. In research paper [21] presents the results of forecasting electricity power consumption by means of a decision tree model using exogenous variables. The results of forecasting are used in the decision support system in the process of determining the optimal capacity of an electric power storage device on an industrial scale.

The results of a comparative analysis of machine learning methods and traditional methods for forecasting electricity power consumption, carried out in paper [22], confirm the significant superiority of machine learning methods in terms of forecast accuracy, which, in turn, indicates the relevance of developing predictive models based on neural networks and algorithms of classical machine learning. However, as noted in paper [23], the main disadvantage of using these methods is computational complexity, which makes the task of improving the efficiency of data mining algorithms especially relevant.

In research paper [24], machine learning models were built to predict the power consumption of a small industrial facility. The model based on the gradient boosting algorithm of the CatBoost library turned out to be the best model.

In study [25], a hybrid model was developed that combines the use of singular spectrum analysis for partitioning the time series of power consumption and a fully connected neural network. The model described in paper [25] made it possible to improve the results of forecasting the electricity power consumption of a mining and metallurgical plant compared to using a neural network (without singular spectrum analysis) for forecasting. The application of data mining methods and best practices for their implementation are given in paper [26]. A promising direction is the use of hybrid forecasting models using a combination of several mining methods [27-29]. However, even when using the most modern approaches for forecasting power consumption [30] scientists note limitations in the application of some methods [31]. This only confirms the need for research to modernize and expand the methodological arsenal used in solving the problem of forecasting electricity power consumption. As applied to mining enterprises, the research results are given in papers [32, 33].

Therefore, it is advisable to conduct systematic reviews, such as in papers [13, 34], reflecting the current state of research in the field of electricity power consumption forecasting. Taking into account the undying interest of the scientific community in the issues of energy saving, the progress of means and methods of intelligent data processing, and the high practical significance of the development of energy-saving technologies, it is necessary to conduct applied research in order to develop recommendations on the possibility of using various forecasting methods.

The study was carried out in the Python programming language (v. 3.10.0) in the Jupyter Notebook programming environment. The NumPy and Pandas libraries were used for calculations and data manipulation, Matplotlib, Seaborn (for data visualization), SKLearn, XGBoost and CatBoost -for data preprocessing and loading regression model instances, tensorFlow.keras - for creating artificial neural networks . The choice of algorithms is justified by the recommendations in the literature [8, 19, 24] and the need to conduct a comparative analysis of the application of different algorithms in the same conditions. The advantages of ensemble approaches and neural networks are high generalizing ability, low overfitting of models. Linear regression and ^-nearest neighbors algorithms were chosen to validate the non-linearity of the original data and compare the results with more sophisticated methods.

The initial data for the study were hourly data for the period from 04.03.2020 to 04.03.2023: on the planned electricity consumption of the united power system of the Ural; the power system operation indicator (frequency); production calendar data on the type of day (workday/day off/a day before holiday); data on the heating period. All data are taken from open sources. Since the study [35] analyzed the influence of climatic factors, confirming their significant impact on the magnitude of power consumption, it was decided to add the actual meteorological data of the administrative center - Ekaterinburg, as the initial ones.

The following assumptions were made when creating forecast models: the actual meteorological factors of the administrative center were used, despite the fact that the district occupies a vast territory belonging to various climatic zones; the data on the frequency in the power system were also taken actual.

A schedule of the planned electricity consumption is shown on Fig.2 and Fig.3 shows an example of a weekly schedule of planned electricity power consumption. On Fig.3, the index (serial number) of the time interval is plotted along the abscissa axis, the magnitude of the planned power consumption is plotted along the ordinate axis. Analysis of the graphs allows us to conclude that the amount of electricity power consumption depends on the time of day and the season.

36000

11 32000 jtfJui JMUHkjL JMj

if -...... y jf^^r^x^r^

i i 24000

2020-05 2020-09 2021-01 2021-05 2021-09 2022-01 2022-05 2022-09 2023-01

Year, month

Fig.2. Schedule of planned electricity power consumption

A correlation analysis was carried out in order to assess the influence of meteorological factors and the possibility of their further use in creating forecasting models. According to the Pearson paired correlation coefficient, the correlation coefficients between the features and the target variable were calculated. The notation and description of the factors and the target variable is shown in Table 2, correlation matrix is shown in Fig.4:

= xy - xy

xy o(x)o(y) '

Fig.3. Weekly schedule of planned electricity power consumption

EDN FJGZTV

Journal of Mining Institute. 2023. Vol. 261. P. 392-402 H^a

© Roman V. Klyuev, Angelika D. Morgoeva, Oksana A. Gavrina, Igor I. Bosikov, Irbek D. Morgoev, 2023 _

Hi

where x and y are pairwise enumerated features and the target variable.

Table 2

Description of the target variable and factors

Name Units Designation

Volume of planned electricity consumption MWh y

Frequency Hz X1

Index of equilibrium prices for the purchase of electricity rub./MWh X2

Index of equilibrium prices for the sale of electricity rub./MWh X3

Maximum equilibrium price index rub./MWh X4

Minimum equilibrium price index rub./MWh X5

Heating season in Ekaterinburg (yes 1/no 0) - X6

Type of day (working 0 / non-working 1 / pre-holiday 2) - X7

Temperature °C X8

Relative humidity % X9

Direction of the wind rhumbs X10

Wind speed m/s X11

General cloudiness % X12

Horizontal line of sight km X13

Dew point temperature °C X14

Day - X15

Month - X16

Year - X17

Hour - X18

y

X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17 X18

1 | 004 0.5 0.5 0.2 0.4 KU -0.06 -0.8 0.3 0.06 0.2 0.1 -0.2 -0.8 0.02 -0.1 0.4 0.1

0.04 H 0.08 0.07 0.07 0.03 0.008 -0.03 0.01 -0.04 0.007 0.02 0.009 0.01 -0.003 0.006 -0.003 0.02 0.1

0.5 0.08 MM -0.02 -0.06 0.05 -0.2 0.004 0.1 0.1 0.2 -0.02 0.02 0.03 0.4 0.4

0.5 0.07 H -0.01 -0.05 0.04 -0.2 0.003 0.1 0.1 0.2 -0.03 0.02 0.03 0.4 0.4

0.2 0.07 Bel 0.4 -0.2 -0.1 0.2 -0.2 0.01 0.03 0.05 0.2 0.1 -0.02 0.04 0.2 0.4

0.4 0.03 ESI 0.4 u 0.05 0.03 -0.09 -0.02 -0.01 0.08 0.08 0.04 -0.1 0.02 0.03 0.4 0.2

I'M 10.008 -0.02 -0.01 -0.2 005] mm 0.09 -0.8 0.3 0.09 0.2 0.08 -0.3 -0.8 -0.03 -0.1 0.1 -o.ooo-

■0.06 -0.03 -0.06 -0.05 -0.1 0.03 0.09 u -0.04 -0.02 0.05 0.02 0.04-0.0002-0.06 -0.07 -0.1 -0.05 -2e-16

-0.8 0.01 0.05 0.04 0.2 -0.09 -0.8 -0.04 u -0.5 0.01 -0.1 -0.05 0.4 |-0.002 0.1 -0.2 0.1

0.3 -0.04 -0.2 -0.2 -0.2 -0.02 0.3 -0.02 -0.5 -0.05 -0.08 0.2 -0.5 -0.1 -0.006 0.1 0.06 -0.3

0.06 0.007 0.004 0.003 0.01 -0.01 0.09 0.05 0.01 -0.05 u -0.07 0.06 -0.05 -0.01-0.0003-0.07 0.02 0.008

0.2 0.02 0.1 0.1 0.03 0.08 0.2 0.02 -0.1 -0.08 -0.07 n 0.2 0.1 -0.2 0.05 -0.03 -0.002 0.1

0.1 0.009 0.1 0.1 0.05 0.08 0.08 0.04 -0.05 0.2 0.06 0.2 | u -0.1 0.06 0.02 -0.01 0.04 0.07

-0.2 0.01 0.2 0.2 0.2 0.04 -0.3 - •0.0002 ! 0.4 -0.5 -0.05 0.1 -0.1 | 0.2 0.02 -0.06 -0.2 0.2

-0.8 -0.003 -0.02 -0.03 0.1 -0.1 -0.8 -0.06 EEl -0.1 -0.01 -0.2 0.06 0.2 mm 10.001 0.2 -0.2 -0.006

0.02 0.006 0.02 0.02 -0.02 0.02 -0.03 -0.07 -0.002-0.006-0.0003 0.05 0.02 0.02 0.001 HH 0.01 -0.03 7e-18

-0.1 -0.003 0.03 0.03 0.04 0.03 -0.1 -0.1 0.1 0.1 -0.07 -0.03 -0.01 -0.06 0.2 0.01 | -0.3 4e-16

0.4 0.02 0.4 0.4 0.2 0.4 0.1 -0.05 -0.2 0.06 0.02 -0.002 0.04 -0.2 -0.2 -0.03 -0.3 I 1

0.1 0.1 0.4 0.4 0.4 0.2 - ■0.0001-2e-16 0.1 -0.3 0.008 0.1 0.07 0.2 -0.006 7e-18 4e-16 -3e-15

1

0.8 0.6 0.4 0.2 0 -0.2 -0.4 -0.6

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

y X1 X? X3 X4 Xi> X5 X7 X8 X9 X'O X11 X1? X13 X14 Xlb X16 X17 X18

Fig.4. Correlation matrix of features and target variable

As a result of the analysis of the correlation matrix, it was decided to exclude the factors X3-X6, X14 from further research due to the presence of multicollinearity of features. All the other factors were used as input features in forecast models.

The next step was the normalization of features using the MinMaxScaler function of the SKLearn library. Using normalization, the values of all features were brought to the same scale

x - xm:„

where x is the actual value of the attribute; xmin and Xmax are the minimum and maximum values.

The following algorithms of the SKLearn library were used to create forecast models: Linear Regression (LR), ^-nearest neighbors KNeighborsRegressor (KNN), random forest Random-ForestRegressor (RFR). Ensemble methods were also applied (XGBRegressor extreme gradient

x

boosting and CatBoostRegressor gradient boosting) and a Long short-term memory (LSTM) recurrent neural network model was created in tensorFlow.keras. The algorithms of various complexity were used: from linear regression to ensemble methods and neural networks. The choice of these machine learning algorithms is due to the need to conduct a comparative analysis of algorithms applied in the same conditions. The reliability of some of the methods used is confirmed in some works, such as [12, 24, 36].

The neural network model was created by performing a series of experiments on the selection of parameters and the choice of the optimal network structure. The best-fitted network configuration is as follows: two LSTM layers of 30 and 25 neurons, respectively, with an activation function of hyperbolic tangent (tanh), one linear layer, including 25 neurons, the output layer. The Adam optimization algorithm was used as an optimizer, and the root mean square error was used as a loss function. The training of the neural network model took place with partitioning into batches, the optimal batch size turned out to be 5, the convergence of the result is observed at 1000 iterations.

The mean absolute error in percent (MAPE) and the coefficient of determination (R2) were chosen as forecast quality metrics:

„ 1 n~A y - y1

MAPE(y,y) = - X1 • 100 %;

n i=0 yl

Z (y - y )2

R2( y, y) = 1 -

¿=1

TT\2

Z (y - y)

¿=1

wherey and y are the actual and forecast values of the volume of planned electricity power consumption, n is the length of the time series.

The training and test data (datasets) were divided in a ratio of 80:20. The corresponding values of the quality of predictive models are shown in Table 3. Selection of parameters for RFR, KNN, XGBoost, and CatBoost models was performed using the cross-validation tool GridSearchCV.

Table 3

Assessment of the predictive models quality

Model Forecast quality metrics

Training dataset Test dataset MAPE of forecast for n days, % (n = 1.7)

MAPE, % R2 MAPE, % R2 n = 1 n = 2 n = 3 n = 4 n = 5 n = 6 n = 7

LR 3.37 0.86 3.39 0.86 2.08 2.09 1.93 1.79 1.89 2.16 2.22

KNN 1.26 0.97 1.66 0.96 1.10 1.25 1.50 1.55 1.79 1.93 1.84

RFR 0.41 0.99 0.78 0.99 1.39 1.31 1.41 1.37 1.59 1.64 1.59

XGBoost 0.73 0.99 0.82 0.99 0.47 0.63 0.71 0.74 1.07 1.20 1.17

CatBoost 0.17 0.99 0.36 0.99 0.42 0.86 0.75 0.71 0.71 0.68 0.64

LSTM 0.36 0.99 0.40 0.99 0.36 0.74 0.64 0.62 0.59 0.59 0.55

n

For these models the forecasting was carried out for a period from one day to a week. The values of forecast errors for each period (n) of forecasting are shown in Table 3. So, with n = 1 24 forecast values (1 day) were obtained, with n = 2, the forecast was made for 48 points (2 days), etc. up to 7 days. As can be seen from Table 3, with an increase in the forecasting horizon, the accuracy of the forecast decreases, but the error does not exceed 1-2 %. The best forecast was shown by the LSTM recurrent neural network model, the mean absolute percentage error (MAPE) of which is less than 1 % for a weekly lead period. The results obtained allow us to consider the model reliable.

_ 33000 &

^ 32000

£ 31000

34000

30000

0

25

50

75

100

125

150

175

Order number of hour of the week

Fig.5. Actual and forecast values

Graphs of volumes of planned electricity power consumption (y) and its forecasted values obtained by different models for the week ahead are shown on Fig.5. As can be seen from Fig.5, the largest deviations of the forecasted values from the actual ones are observed in the XGBoost model with a forecast for a period of 4 to 7 days. With a forecast horizon of up to 4 days, the error is comparable to other methods. Therefore, it can be assumed that for a weekly period it is better to use LSTM neural network models and the CatBoost ensemble algorithm. It is possible that combining the analyzed models using the stacking technology will make it possible to obtain the smallest forecast error.

The results of forecasting electricity power consumption using the Holt - Winters method for two days ahead are presented in paper [33]. At the same time, MAPE was 1.08 %. In the mathematical modeling of power consumption based on the maximum likelihood sample, described in [14], the forecast error was 2.19 %. In addition, when forecasting electricity consumption using a multifactorial regression model, the forecasting error turned out to be 3.32 % [37].

Using the models reviewed in this study, it is possible to reduce the forecast error (when forecasting two days ahead, using the XGBoost model, the MAPE value was 0.63 %, when using the model based on the CatBoost algorithm, 0.86 %, when using the neural model LSTM network 0.74 %). All of this confirms the effectiveness of ensemble methods and deep learning methods for forecasting electricity power consumption.

The discussion of the results. During the study, the machine learning models were created that made it possible to obtain a short-term forecast of planned electricity power consumption (from a day to a week) with an error of 0.63 %. The results obtained will make it possible to take into account the forecast data obtained using the models described in this study in the process of making managerial decisions when forming applications for the production and consumption of electricity, which will allow making more in-formed decisions when planning the volume of electricity consumption. Thus, the presence of a reliable forecast should help to reduce the deviation of actual volumes of electricity consumption from the planned ones due to the intellectual analysis of retrospective data and taking into account a large number of weather (X8-X13), technical (X1, X7), economic (X2) factors, etc. It should be noted that without the assumption made in this study regarding weather factors, the forecast error may change. On the one hand, when using more detailed climatic data, for example, several settlements with different climatic conditions, the forecast error should probably decrease. On the other hand, the study used actual climate data rather than predictive ones. Therefore, in the presence of forecast data, the magnitude of the error in the forecast of electricity consumption will increase due to the error in the weather forecast. In this reason, one of the promising areas is the further study of meteorological factors and their influence on the target result.

Economic factors are subject to the influence of macro- and microeconomic indicators. In particular, it is worth assessing the risks of unforeseen situations related to the concept of the so-called

"black swan" (accidents, sanctions, etc.). The forecasting of electricity consumption is based on past events and established correlations between factors, new events can be taken into account based on the detection of a large mismatch error at the moment when the "black swan" appears. In this case, the error will occur immediately, and by detecting it, it is possible to investigate the influence of a new factor caused by an unforeseen situation and evaluate its relationship to the forecast of power consumption directly. Then, taking into account the new factor, the model is reset. If there is a sharp change in the economic factor (X2) or any other factor already existing in the model, caused by sharp changes in the economic situation, then it is necessary to update the weights in the models, select the optimal hyperparameters and retrain the models.

Since one of the problems in forecasting electricity consumption is the lack of the universal models suitable for all subject areas and different forecast lead times, a promising direction of research is the search for universal approaches to creating predictive models. Thus, the results of this study, in particular, the structure of input forecast features, can be used in similar researches. In addition, the recommendations obtained in this study include the effectiveness of using gradient boosting models and neural networks in forecasting electricity consumption.

Conclusion. The conclusions of a practical and theoretical nature were obtained as a result of the study. Prognostic models were developed, their comparative analysis was carried out according to the quality metrics of predictive values. It can be argued that the use of ensemble (gradient boosting algo-rithms CatBoost and XGBoost) and the LSTM neural network model showed close results. However, with a better generalizing ability of the neural network and, as a result, more precise results, the disadvantage of this method compared to the ensemble ones is the high computational complexity and the time spent on training the model. The direction of future research is to increase the forecasting horizon, compare forecasting methods in terms of the forecast execution time, and optimize model parameters. The practical significance of the study lies in the use of forecasting results in making managerial decisions in the process of drawing up applications for the WECM. The models developed in this study can be implemented in the decision support system for participants in the whole-sale electricity markets, in particular, JSC "Administrator of the Trading System", who are involved in the calculation of the volume of the total planned electricity consumption. In addition, the results of this study can be used in the development of decision support subsystems for generating companies when forecasting demand for electricity and for large industrial enterprises when calculating planned electricity consumption.

REFERENCES

1. Faria P., Vale Z. Demand Response in Smart Grids. Energies. 2023. Vol. 16. Iss. 2. N 863. DOI: 10.3390/en16020863

2. Zhukovskiy Yu.L., Kovalchuk M.S., Batueva D.E., Senchilo N.D. Development of an Algorithm for Regulating the Load Schedule of Educational Institutions Based on the Forecast of Electric Consumption within the Framework of Application of the Demand Response. Sustainability. 2021. Vol. 13. Iss. 24. N 13801. DOI: 10.3390/su132413801

3. Iftikhar H., Bibi N., Canas Rodrigues P., López-Gonzales J.L. Multiple Novel Decomposition Techniques for Time Series Forecasting: Application to Monthly Forecasting of Electricity Consumption in Pakistan. Energies. 2023. Vol. 16. Iss. 6. N 2579. DOI: 10.3390/en16062579

4. Almuhaini S.H., Sultana N. Forecasting Long-Term Electricity Consumption in Saudi Arabia Based on Statistical and Machine Learning Algorithms to Enhance Electric Power Supply Management. Energies. 2023. Vol. 16. Iss. 4. N 2035. DOI: 10.3390/en16042035

5. Weijie Zhou, Huihui Tao, Jiaxin Chang et al. Forecasting Chinese Electricity Consumption Based on Grey Seasonal Model with New Information Priority. Sustainability. 2023. Vol. 15. Iss. 4. N 3521. DOI: 10.3390/su15043521

6. Sayed H.A., William A., Said A.M. Smart Electricity Meter Load Prediction in Dubai Using MLR, ANN, RF, and ARIMA. Electronics. 2023. Vol. 12. Iss. 2. N 389. DOI: 10.3390/electronics12020389

7. Lin Pan, Sheng Wang, Jiying Wang et al. Research on Central Air Conditioning Systems and an Intelligent Prediction Model of Building Energy Load. Energies. 2022. Vol. 15. Iss. 24. N 9295. DOI: 10.3390/en15249295

8. Alsharekh M.F., Habib S., Dewi D.A. et al. Improving the Efficiency of Multistep Short-Term Electricity Load Forecasting via R-CNN with ML-LSTM. Sensors. 2022. Vol. 22. Iss. 18. N 6913. DOI: 10.3390/s22186913

9. Poczeta K., Papageorgiou E.I. Energy Use Forecasting with the Use of a Nested Structure Based on Fuzzy Cognitive Maps and Artificial Neural Networks. Energies. 2022. Vol. 15. Iss. 20. N 7542. DOI: 10.3390/en15207542

10. Vyalkova S.A., Nadtoka I.I. Analysis of the noise component of the daily schedules of active power energy systems and meteofactors at short-term forecasting. Smart Electrical Engineering. 2018. N 4, p. 25-34 (in Russian). DOI: 10.46960/2658-6754_2018_4_25

11. Yotov K., Hadzhikolev E., Hadzhikoleva S., Cheresharov S. Neuro-Cybernetic System for Forecasting Electricity Consumption in the Bulgarian National Power System. Sustainability. 2022. Vol. 14. Iss. 17. N 11074. DOI: 10.3390/su141711074

12. Xin Hu, Keyi Li, Jingfu Li et al. Load forecasting model consisting of data mining based orthogonal greedy algorithm and long short-term memory network. Energy Reports. 2022. Vol. 8. S. 5, p. 235-242. DOI: 10.1016/j.egyr.2022.02.110

13. Klyuev R.V., Morgoev I.D., Morgoeva A.D. et al. Methods of Forecasting Electric Energy Consumption: A Literature Review. Energies. 2022. Vol. 15. Iss. 23. N 8919. DOI: 10.3390/en15238919

14. Mokhov V.G., Demyanenko T.S. Forecasting of consumption of electric energy on the wholesale market of energy and power. Bulletin of the South Ural State University Series "Economics and Management". 2014. Vol. 8. N 2, p. 86-92 (in Russian).

15. Karpenko S.M., Karpenko N.V., Bezginov G.Y. Forecasting of power consumption at mining enterprises using statistical methods. Russian Mining Industry. 2022. N 1, p. 82-88 (in Russian). DOI: 10.30686/1609-9192-2022-1-82-88

16. Poluyanovich N.K., Dubyago M.N. Assessment of influencing factors and forecasting of power consumption in the regional power system, taking into account its operating mode. Izvestiya SFedU. Engineering sciences. 2022. N 2, p. 31-46 (in Russian). DOI: 10.18522/2311-3103-2022-2-31-46

17. Geunsub Kim, Gunwoo Lee, Seunghyun An, Joowon Lee. Forecasting future electric power consumption in Busan New Port using a deep learning model. The Asian Journal of Shipping and Logistics. 2023. Vol. 39. Iss. 2, p. 78-93. DOI: 10.1016/j.ajsl.2023.04.001

18. Ribeiro M.H.D.M., Gomes da Silva R., Ribeiro G.T. et al. Cooperative ensemble learning model improves electric short-term load forecasting. Chaos, Solitons & Fractals. 2023. Vol. 166. N 112982. DOI: 10.1016/j.chaos.2022.112982

19. Hadjout D., Torres J.F., Troncoso A. et al. Electricity consumption forecasting based on ensemble deep learning with application to the Algerian market. Energy. 2022. Vol. 243. N 123060. DOI: 10.1016/j.energy.2021.123060

20. Min Cao, Jinfeng Wang, Xiaochen Sun et al. Short-Term and Medium-Term Electricity Sales Forecasting Method Based on Deep Spatio-Temporal Residual Network. Energies. 2022. Vol. 15. Iss. 23. N 8844. DOI: 10.3390/en15238844

21. Senchilo N.D., Ustinov D.A. Method for Determining the Optimal Capacity of Energy Storage Systems with a Long-Term Forecast of Power Consumption. Energies. 2021. Vol. 14. N 21. N 7098. DOI: 10.3390/en14217098

22. Habbak H., Mahmoud M., Metwally K. et al. Load Forecasting Techniques and Their Applications in Smart Grids. Energies. 2023. Vol. 16. Iss. 3. N 1480. DOI: 10.3390/en16031480

23. Szczepaniuk H., Szczepaniuk E.K. Applications of Artificial Intelligence Algorithms in the Energy Sector. Energies. 2023. Vol. 16. Iss. 1. N 347. DOI: 10.3390/en16010347

24. Morgoeva A.D., Morgoev I.D., Klyuev R.V., Gavrina O.A. Forecasting of electric energy consumption by an industrial enterprise using machine learning methods. Bulletin of the Tomsk Polytechnic University. Geo Assets Engineering. 2022. Vol. 333. N 7, p. 115-125 (in Russian). DOI: 10.18799/24131830/2022/7/3527

25. Vyalkova S.A., Morgoeva A.D., Gavrina O.A. Development of a hybrid model for predicting the consumption of electrical energy for a mining and metallurgical enterprise. Sustainable development of mountain territories. 2022. Vol. 14. N 3 (53), p. 486-493 (in Russian). DOI: 10.21177/1998-4502-2022-14-3-486-493

26. Yuhan Xie, Yunfei Yang, Lifeng Wu. Power Consumption Forecast of Three Major Industries in China Based on Fractional Grey Model. Axioms. 2022. Vol. 11. Iss. 8. N 407. DOI: 10.3390/axioms11080407

27. Qingyong Zhang, Changwu Li, Conghui Yin et al. A Hybrid Framework Model Based on Wavelet Neural Network with Improved Fruit Fly Optimization Algorithm for Traffic Flow Prediction. Symmetry. 2022. Vol. 14. Iss. 7. N 1333. DOI: 10.3390/sym14071333

28. Zichao He, Chunna Zhao, Yaqun Huang. Multivariate Time Series Deep Spatiotemporal Forecasting with Graph Neural Network. Applied Sciences. 2022. Vol. 12. Iss. 11. N 5731. DOI: 10.3390/app12115731

29. Qiang Xiao, Hongshuang Wang. Prediction of WEEE Recycling in China Based on an Improved Grey Prediction Model. Sustainability. 2022. Vol. 14. Iss. 11. N 6789. DOI: 10.3390/su14116789

30. Narwariya J., Verma C., Malhotra P. et al. Electricity Consumption Forecasting for Out-of-Distribution Time-of-Use Tariffs. Computer Sciences & Mathematics Forum. 2022. Vol. 3. Iss. 1. N 1. DOI: 10.3390/cmsf2022003001

31. Frikha M., Taouil K., Fakhfakh A., Derbel F. Limitation of Deep-Learning Algorithm for Prediction of Power Consumption. Engineering Proceedings. 2022. Vol. 18. Iss. 1. N 26. DOI: 10.3390/engproc2022018026

32. Zhukovskiy Y.L., Semenyuk A.V., Alieva L.Z., Arapova E.G. Blockchain-based digital plat-forms to reduce the carbon footprint of mining. Mining Informational and Analytical Bulletin. 2022. N 6-1, p. 361-378 (in Russian). DOI: 10.25018/0236_1493_2022_61_0_361

33. Senchilo N., Babanova I. Improving the Energy Efficiency of Electricity Distribution in the Mining Industry Using Distributed Generation by Forecasting Energy Consumption Using Machine Learning. International Multi-Conference on Industrial Engineering and Modern Technologies (Far East Con), 06-09 October 2020, Vladivostok, Russia. IEEE, 2020, p. 1-7. DOI: 10.1109/FarEastCon50210.2020.9271335

34. Aguiar-Pérez J.M., Pérez-Juárez M.Á. An Insight of Deep Learning Based Demand Forecasting in Smart Grids. Sensors. 2023. Vol. 23. Iss. 3. N 1467. DOI: 10.3390/s23031467

35. Shklyarskiy J.E., Batueva D.E. The influence of external climatic factors on the accuracy of the forecast of energy consumption. E3S Web of Conferences. 2019. Vol. 140. N 04014. DOI: 10.1051/e3sconf/201914004014

36. Aseeri A.O. Effective RNN-Based Forecasting Methodology Design for Improving Short-Term Power Load Forecasts: Application to Large-Scale Power-Grid Time Series. Journal of Computational Science. 2023. Vol. 68. N 101984. DOI: 10.1016/j.jocs.2023.101984

37. Mokhov V.G., Demyanenko T.S. Definition of the significant factors for consumption volume forecasting of the electric energies for the united energy system of the Ural based on regression analysis. Bulletin of Ural Federal University. Series Economics and Management. 2017. Vol. 16. N 4, p. 642-662 (in Russian). DOI: 10.15826/vestnik.2017.16.4.031

Authors: Roman V. Klyuev, Doctor of Engineering Sciences, Professor, https://orcid.org/0000-0003-3777-7203 (Moscow Polytechnic University, Moscow, Russia), Angelika D. Morgoeva, Postgraduate Student, [email protected], https://or-cid.org/0000-0003-2949-1993 (North Caucasian Institute of Mining and Metallurgy (State Technological University), Vladikavkaz, Russia), Oksana A. Gavrina, Candidate of Engineering Sciences, Associate Professor, https://orcid.org/0000-0002-9712-9075 (North Caucasian Institute of Mining and Metallurgy (State Technological University), Vladikavkaz, Russia), Igor I Bosikov, Candidate of Engineering Sciences, Head of the Department, https://orcid.org/0000-0001-8930-4112 (North Caucasian Institute of Mining and Metallurgy (State Technological University), Vladikavkaz, Russia), Irbek D. Morgoev, Postgraduate Student, https:// orcid.org/0000-0003-4390-5662 (North Caucasian Institute of Mining and Metallurgy (State Technological University), Vladikavkaz, Russia).

The authors declare no conflict of interests.

i Надоели баннеры? Вы всегда можете отключить рекламу.