1 INTRODUCTION
Covid‐19 pandemic has caused an unprecedented global economic and social crisis. The pandemic has significantly affected all aspects of life, including the energy sector.1 Electricity demand has been significantly reduced worldwide as a result of lockdown measures been imposed and followed.2 Most of the countries were following the full or partial lockdown during the first quarter of 2020, leading to which Global electricity demand decreased by 2.5%. The impact of electricity demand world‐wide during Covid 19 is shown in Figure 1 below.

Therefore,3 sudden drift in electricity demand patterns are observed since the spread of Covid19 due to nationwide full or partial lockdown. During this phase industries were shut and people were insisted to stay at home to stay safe, which ultimately has increased the domestic consumption and decreased the industrial power consumption.
In India for all the states government undertook an important decision of lockdown on March 25th for 21days,4 which was further extended on 14th April by 2 weeks that is, till third May 2020.5, 6 Before the lockdown was announced, the Prime Minister of India insisted everyone in the country to follow a one‐day curfew (named as “Janta Curfew”) of 14 hours on March 22nd from 7 am to 9 pm in India, since “Janta Curfew” day that is, 22nd march, a significant change in the load patterns are observed.
Although apart from the change in life style of people during prevailing pandemic situation, there are other factors too that affect electricity load consumptions that is, weekdays, off days, holidays, meteorological or weather elements such as temperature, humidity, wind, rainfall, dew7 etc. A part from this electricity load depends a lot upon geographical factors, population, land use, city plans, industrial plans, community events, social events, development, construction etc.8
Now a days knowing the electricity load consumption pre hand that is, electricity load forecasting is an essential and integral technique used by power companies so as to predict the power or energy which intern is needed to balance the supply and load demand at all times.9 Accurate electric load forecasting is essential for various operations of power systems such as purchase, production, transmission, transfer, distribution, as well as management of daily load demand and maintenance. Thus, during this pandemic time when electricity demand observed sudden drift, it is utmost important for the electricity power systems to forecast the demands.
In this work, impact analysis of electricity load in prevailing pandemic situation of various circles of state Haryana (India) is done. The electricity demand since “Janta Curfew” day is analysed and electricity load forecasting for state Haryana (India) is done using machine learning algorithms and Artificial Neural Network (ANN) which in turn is beneficial for the power systems to know the electricity demand for the day before hand and thus this will aid in reducing the wastage. For this dataset from state electricity boards that is, Dakshin Haryana Bijli Vitran Nigam10 and Uttar Haryana Bijli Vitran Nigam11 are considered. The related work, and approaches toward electricity load forecasting are discussed in subsequent section.
2 STATE OF ART
Electricity load consumption is dynamic and diverse in nature. The initial research linear and non‐linear regression techniques were applied in forecasting short term load.12 Apart13, 14 from these curve fitting, least square approximation techniques, time series analysis statistical approaches were also explored by several researchers. A major breakthrough was seen with the advancement in the field of artificial intelligence for performing short term load forecast. These techniques were capable of handling large data efficiently and effectively and catered to handle the diverse nature of electrical load. Various artificial intelligence techniques being popularly used for short term load forecasting include ANNs,15 Fuzzy Logic Systems,16 Support Vector Machines17 and many others.
ANNs18 retains excellent non‐linear mapping capabilities, which enable it for power load forecasting. Recently many researchers have applied deep learning methods9, 19 for electricity load forecasting. Several other researchers have also applied machine learning models including Extreme Learning Machine Neural Network (ELMNN),20 Generalized Regression Neural Network (GRNN)21 and Support Vector Machine (SVM).22
Many researchers have addressed various parameters like temperature, rainfall, humidity, holidays and other possible scenarios for more accurately predicting the electricity load. The effect of temperature and humidity were considered by Khotanzad et al,23 while the effect of humidity and wind speed were considered through a linear transformation of temperature was proposed in their improved version.24
In this work machine learning conventional methods and ANN are applied for electricity load prediction. The paper discusses about the impact analysis how energy consumption is affected by the COVID‐19 pandemic in the India. The prevailing conditions of COVID‐19 and restrictions imposed by the government to avoid the spread is causing devastating influence on the state’s energy sector. Thus, there is an urge for power systems to forecast the loads so as to prevent waste. In this paper, electricity load consumption drift in seven circles Ambala, Sirsa, Bhiwani, Gurgaon, Faridabad, Narnaul and Hisar of state Haryana are discussed. The work is novel as no previous work for electricity load predictions is done for state Haryana as of now. The observations and analysis of the same is shown in subsequent section.
3 ELECTRICITY LOAD CONSUMPTION – OBSERVATIONS DURING FULL LOCKDOWN
Haryana25 is one of the 28 states in India located in the northern part of the country, it consists of 22 districts. State Haryana economy relies on agriculture, industrial sector and service sector. In this analysis some of the circles of Haryana that come under urban (Gurgaon), industrial (Faridabad, Hisar, Bhiwani) and agriculture (Narnaul) are considered so as know the energy consumption patterns during lockdown.
Considering the first circle that is,26 Ambala. It has area of 1569 km2 and population of 11.3 lakhs and cloth market is considered to be the largest textile market in the region; which remain closed due to nationwide lockdown which intern impacted the load of the city. The electricity load consumption of Ambala circle is shown in Figure 2 below (x axis depicts the dates and y axis load in MW). It can be clearly seen that there is decline in max and min load consumption after 20th march 2020 when the government announced the “Janta Curfew” which was followed by complete lockdown.

Considering the loads of next circle that is, 27Bhiwani with area 3432 km2 and population 16.3 lakhs and the city is majorly having textile industries. The load graphs are shown in Figure 3. In this graph, again the drift in load is observed significantly majorly after 24th of March (x axis depicts the dates and y axis load in MW).

Next Circle is28Faridabad which is the major industrial hub of Haryana covering 742.9 km2 and has population of 14 lakhs. The electricity load of the city is greatly impacted by the lockdown after 22nd of March 2020. The load graphs are shown in Figure 4.

Gurgaon city29 majorly comprise of IT sectors, corporate offices as well as leading industries. It is covering 732 km2 and population of 8.77 lakhs. After the announcement of the lockdown electricity consumption has significantly decreased from 21st march 2020 shown in Figure 5.

Hisar30 also known as “the city of steel” city as it has a large steel industry. The major economy of the city is through industries. It is covering 3983 km2 area with the population of 3.01 lakhs. The significant change in electricity load patterns can be observed after the announcement of lockdown (shown in Figure 6).

Figures 7 and 8 shown the Max and Min load patterns for various circles of Haryana.


Thus, it is clear from the graph; that lockdown in nation has significantly impacted the electricity loads. Future predictions over the load patterns can be made so that power systems can pre hand know about the production and consumption of the electricity of that circle.
4 ELECTRICITY LOAD FORECASTING – CONVENTIONAL MACHINE LEARNING APPROACH
In this paper conventional machine learning approaches such as Linear Regression (LR), Support Vector Regression (SVR), Decision Tree Regression (DTR), Random Forest Regression (RFR), and ANN is applied. The machine learning models are discussed below:
4.1 Linear regression
(1)In a multiple regression, the standard errors of the coefficients are also to be looked upon. The value of βi need to be estimated in this. The regression as a complete may fit our data good enough, but if some of the independent variables are correlated (or irrelevant), their coefficients might not be useful.
4.2 Support vector regression
SVR32 is applied to solve nonlinear regression and time series problems. However, the application of SVR to electricity load forecasting is rare. Support vector machines attempt to pass a linearly separable hyperplane through a dataset in order to classify the data into two groups. This hyperplane is a linear separator for any dimension; it could be a line (2D), plane (3D), and hyperplane (4D+). The best hyperplane is the one that maximizes the margin. The margin is the distance between the hyperplane and a few close points. These close points are the support vectors because they control the hyperplane.
4.3 Decision tree regression
Decision33 Tree is a decision support tool that predicts the output of a classification or a regression problem by passing the inputs to a tree‐like model. One thing to note about decision tree is that they are very prone to overfitting.
The internal nodes of a Decision Tree consist of a test of an attribute for example “x ≤ 10” based on the outcome of the result of this test, we proceed toward the leaf node of the tree which could be a continuous or discrete value. Decision Tree learns by “splitting” (conducting tests) on each attribute in the training set, and then this process is repeated for every ith row in the training set. The training is stopped either when all the target data is classified with 100% accuracy or when no more splits can be made.




based on these splits, data is classified into five different groups.

4.4 Random forest regression
If we try to classify data with the help of a single decision tree, then model might overfit model, so we instead use34 Random forests which are part of ensemble learning and uses multiple decision tree, which are made during training time and they are made using a method called bootstrapping, where a small chunk of data from training set is picked at random, then it is used to train a decision tree and then that chuck is added back to the training set, so that the data from that chunk could be picked again at random to train some other decision tree.
4.5 ANN model
An35 ANN is a set of simple computational units called nodes which are interconnected. The Figure 10 shows how the output of a single neuron is computed, the inputs to the neuron are stored in form of a vector, and for every input there exist a corresponding weight. The extra input, called the bias input is appended; which is always equal to +1, in the Figure 10, bias is denoted with x0.

Artificial neural network model
(2)
(3)4.5.1 Designing of ANN model for forecasting electricity load
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)


(14)



are the derivatives of ReLU activation function and derivative of ReLU function is

and we can adjust our weight matrices as follow:
(16)where, α is the learning rate and is equal to 0.01 in our case.
Now, as it is known forward propagate and backpropagate once, it’s known as one epoch and this model is trained for 1000 epochs and to avoid overfitting, which could happen. In this model test data as validation data is used, and training of the model is stopped as soon as the error on the validation data start to increase.
4.6 Electricity load forecasting model – Predicted results
In this work impact for Covid19 on electricity load of state Haryana is analysed and as per the historical data of the forecast variable 7 days ahead forecasting is done. The 4 months short term that is, day to day data as well as long term that is, week wise data is considered for the analysis. Further total seven circle load of state Haryana (ie, Ambala, Sirsa, Bhiwani, Hisar, Faridabad, Gurgaon and Narnaul) is considered in our analysis so as to know the impact on all industrial, rural, agriculture and urban sectors. As per the predicted results seen in Figure 11. ANN outperforms all the
conventional machine learning methods such as LR, Random Forest, DTR, SVR.

In order to weight all features equally, the input data was normalized. Then the entire dataset is divided into two major parts that is, training and testing subset. The ratio 70 to 30 was applied in this case.
ANN involves in its optimization the number of neurons, in our case it was for only three hidden layer (hidden layer sizes), because more layers were not improving its performance (in our experiment). Two options were given for the parameter of neuron’s activation function that is, tanh and relu. The model is compiled using adam optimizer with a constant learning rate of 0.01. Further the model was trained for 1000 epochs and generally when the model is trained for these many epochs there is a chance of overfitting that was avoiding using early stopping. For early stopping to work validation data is required; for that test data is used.
.
(17)The results of mean squared error for all the circles (minimum load and maximum load) using machine learning approaches and ANN are shown in Tables 1 and 2.
Results mean squared error for min load
| Mean Squared error for min load | |||||||
|---|---|---|---|---|---|---|---|
| Ambala | Hisar | Bhiwani | Sirsa | Faridabad | Gurgaon | Narnaul | |
| ANN | 354.28 | 1441.13 | 1553.12 | 104.58 | 1525.29 | 4111.07 | 405.37 |
| DTR | 414.28 | 1801.71 | 1930.3 | 297.94 | 3682.2 | 7031.15 | 528.47 |
| RFR | 337.7 | 1349.28 | 1487.53 | 240.89 | 2110.46 | 4256.19 | 293.76 |
| SVR | 394.85 | 1695.59 | 1476.64 | 294.16 | 2584.15 | 4978.7 | 347.48 |
| Linear Regression | 516.55 | 2455.65 | 2128.78 | 384.22 | 3626.45 | 6956.98 | 418.49 |
Results mean squared error for max load
| Mean Squared Error for max load | |||||||
|---|---|---|---|---|---|---|---|
| Ambala | Hisar | Bhiwani | Sirsa | Faridabad | Gurgaon | Narnaul | |
| ANN | 1752.77 | 3209.96 | 1058.49 | 3926.18 | 4191.56 | 9690.99 | 822.51 |
| DTR | 2038.54 | 4718.72 | 1639.49 | 10 175.43 | 6542.32 | 12 570.98 | 1421.3 |
| RFR | 1886.23 | 3195.46 | 1011.66 | 5232.52 | 4956.6 | 7155.38 | 897.12 |
| SVR | 2102.96 | 4089.96 | 1061.37 | 8832.08 | 6278.42 | 10 281.78 | 1087.15 |
| Linear Regression | 2848.74 | 5306.12 | 1725.7 | 10 250.41 | 7148.78 | 13 702.39 | 1466.04 |
The above results arebased on mean squared error on the test and train data, it is observed that ANN performs better than other algorithms, but in some cases Random Forest Regressor is outperforming ANN, but the reason why RFR is not considered is because it is more prone to overfitting of training data.
5 CONCLUSION
The current scenario of the Covid19 pandemic and prevailing government regulations of imposing full as well as partial lockdown leading to drift in energy consumption patterns. The energy consumption in India plummeted dramatically in March after the announcement of “Janta Curfew.” In this paper, electricity load forecasting is done for a week so as to know the required electricity load pre‐hand which will aid the regional power systems to plan accordingly and avoid unnecessary power wastage. For this, ANN proved to do better predictions as compared to conventional machine learning models. Since the effects of COVID‐19 are changing day by day and even the government now has eased the lockdown measures, it is to be noted that the results are likely to change when the same analyses are performed for different periods. Further in future work, we will be investigating how and by when India will recover its energy consumption after this sudden decline.
Data available on request from the authors
REFERENCES







