Sei sulla pagina 1di 4

Volume 2, Issue 9, September 2017 International Journal of Innovative Science and Research Technology

ISSN No: - 2456 2165

Electricity Load Prediction Using Artificial Neural


Network By Back Propagation
Joe Joseph, Nithin James, Sebastian Sachin, Varkey Vincent, Sminu Izudheen
Department of Computer Science and Engineering, Rajagiri School of Engineering and Technology
Rajagiri Valley, Kakkanad, Kerala, 682039, India

Abstract This paper presents a data mining approach to meteorological and holiday values. The meteorological value
forecast the power consumption of a geographical region includes minimum temperature and humidity, maximum
based on the meteorological data. Artificial Neural temperature and humidity. The system is built with two
Network using Back Propagation is the data mining models. First one is the training model which trains the system
approach adopted here. The research is conducted using and the latter is the prediction model which forecast the
meteorological and load consumption data in Kerala required load.
region over the period of 2011- 2012. The historical data
containing temperature, humidity, public holidays and the In the training phase the preprocessed data is fed to the
daily load consumption values are used for training the system. Preprocessing the data is an important step in data
system. A predictive model is then built which gather mining as the input data greatly affects the performance of the
information from the training data set and generates system. Outlier removal and the min-max normalization are
knowledge for predicting the demand of the region. Results the two preprocessing techniques adopted. The training
on statistical significance tests assert that the proposed percentage can be selected by the user. The system will be
method can be used as an effective model to study the load trained better if more data is presented to it. The accuracy of
consumption pattern which in turn helps to forecast the the system is then checked with the remaining data known as
electricity demand of a region. the test data.

Keywords Data Mining;Artificial Neural Network;Back After the training phase the system is then ready to predict the
Propagation. load, given the required inputs. A python script is used to get
the meteorological value from the wunderground database for
I. INTRODUCTION the next 10 days. User can select the weekday for which the
demand prediction has to be made. Section 4 gives a brief
about the methodology adopted.
For best utilization of electricity, power prediction plays a
significant role in energy management. Load forecasting helps
a country to plan, schedule and manage its energy generation
to satisfy the growing needs. Forecasting demand helps to plan II. RELATED WORK
the means to satisfy the demand, efficient use of existing
energy sources, new infrastructure to be build. It also helps in There are a number of researches going on this field. Different
meeting the fluctuating demand, giving information about data mining techniques have been adopted to predict the load.
consumption pattern. Omer F. Demirel, Selim Zaim has used both SVM and neural
network to forecast electricity demand for Turkey. Hoda K.
Load forecasting is challenging because it may depend upon a Mohamed, Soliman M. El-Debeiky, Hassan M.Mahmoud,
number of factors such as the day, season, meteorological data Khaled M. El Destawy presented a model for forecasting long
and holidays. Some researches may find all data to be useful term electricity load in Egyptian Electrical Network [6]. The
but for some it may not be. Forecasting may depend on the demand is attributed to a total of eleven parameters-total
attributes that are considered. Load forecasting can be energy consumption, total energy generation, energy losses,
classified into short term, medium term, or long term. There load factor, GDP, electricity price, population, temperature,
are a number of methods for electricity forecast which humidity.
includes fuzzy logic, Artificial Neural Network (ANN),
Support Vector Machine (SVM), Regression etc. Tso[5]presents three modeling techniques for the prediction of
electricity energy consumption in two year seasons: summer
We adopt ANN with back propagation for load prediction. In and winter. The three predictive modeling techniques are
recent years, ANN as the consequence of their predominant multiple regressions, a neural network and decision tree
capability in defining the nonlinear topography between models. The base ARIMA model with just one seasonal
different nonlinear variables has become an approved pattern can be extended for the case of multiple seasons. An
procedure in the load forecasting area. We are designing a example of such an extension was presented in [3]. A
system for short term forecasting. The input considered are combinatorial problem of selecting appropriate model orders is

IJISRT17SP221 www.ijisrt.com 298


Volume 2, Issue 9, September 2017 International Journal of Innovative Science and Research Technology
ISSN No: - 2456 2165

an inconvenience in the time series modeling using multiple IV. METHODOLOGY


seasonal ARIMA. Another disadvantage is the linear character
of the ARIMA model. A. Data Collection

A neural network with back propagation momentum training Two sets of data are collected. One set consists of
algorithm was proposed in the paper Artificial Neural Network meteorological data and the other set is about the states
(ANN) trained by the Artificial Immune System (AIS) electricity consumption. The meteorological data is collected
presented by M.B. Abdul Hamid and T.K. Abdul Rahman for from the database stored by wunderground. This data consists
load forecasting in order to reduce training time and to of minimum and maximum temperature of the day, minimum
improve convergence speed for short term load forecasting and maximum humidity of the day. In addition to it the dates
model [7]. This algorithm has specific benefits such as of holidays are also collected. The electricity consumption
accuracy, speed of convergence, economic and historical data data consists of the daily demand of the state. It is collected
requirement for training etc. The major benefit of this from the Electricity Grid of the state. These data are collected
algorithm over back propagation algorithm is in terms of for the years 2011and 2012.
improvement in mean average percentage error (MAPE).
P.Sibi, S.Allwyn Jones, P.Siddarth [4] has carried out a B. Data Integration
research on different activation functions that can be applied to
the neural network.
All the data collected i.e. the electricity demand data,
meteorological data and holiday data is combined to form a
single data set. This data is combined based on the
III. ANN corresponding date.

Artificial neural networks (ANN) are computational models C. Data Preprocessing


inspired by the human brain. At their core, they are comprised
of a large number of connected nodes, each of which performs Data pre-processing is an important step in data mining. The
a simple mathematical operation. Each node's output is performance of a system is highly dependent on the input data.
determined by this operation, as well as a set of parameters So, the data fed to the system should be free of noise and
that are specific to that node. By connecting these nodes missing values. In the pre-processing stage we deal with
together and carefully setting their parameters, very complex outlier removal and normalization.
functions can be learned and calculated.
Outlier removal: An outlier is an observation point that is
distant from other observations. An outlier may be due to
variability in the measurement or it may indicate experimental
error.
The interquartile range (IQR) is a measure of variability, based
on dividing a data set into quartiles. Quartiles divide a rank-
ordered data set into four equal parts. The values that separate
parts are called the first, second, and third quartiles; and they
are denoted by Q1, Q2, and Q3, respectively.

Q1 is the "middle" value in the first half of the rank-


ordered data set.
Q2 is the median value in the set.
Fig 1 : Neural Network Layout Q3 is the "middle" value in the second half of the
rank-ordered data set.
There are three layers in a neural network. These are input,
hidden and output layer. Only a single input and output layer
is present and any number of hidden layers can be present. IQR=Q3-Q1 (1)
Up=Q3 + (IQR*1.5) (2)
Once an input is presented to the neural network, and a
corresponding desired or target response is set at the output, an Low=Q1 - (IQR*1.5) (3)
error is composed from the difference of the desired response
and the real system output. The error information is fed back Outliers are those values which are greater than up value and
to the system which makes all adjustments to their parameters lesser than Low value. These values are detected and removed.
in a systematic fashion. This process is repeated until the Min Max normalization: Normalization is a process of
desired output is acceptable. scaling down the attribute values into a specified range. There
are two reasons for normalization. First to eliminate the
influence of one factor over another (i.e. to give features equal
chances), second reason is that the gradient descent which is

IJISRT17SP221 www.ijisrt.com 299


Volume 2, Issue 9, September 2017 International Journal of Innovative Science and Research Technology
ISSN No: - 2456 2165

used for back propagation converges faster with normalized with 6 nodes, two hidden layers with 4 and 2 nodes
data than with un-normalized data. Here we are using a simple respectively and an output layer with a single node (Fig 1). As
technique called Min-Max Normalization. there is no general rule to find the hidden layers it was fixed
using trial and error method. The activation function used is
log sigmoid function. It is applied to both hidden and output
layer nodes.
(4) Initialization of weights: The weights are initialized randomly
in the range 0-1. Later it gets updated to positive or negative
D. Data Mining values as the system progresses.

Termination condition: Here the termination condition is on


After the preprocessing of the data, now we have data which is
free from missing values, noise and outliers. These data are reaching the no. of epoch specified and it is within a minimum
now fed to the system for training. The percentage of data for error specified. The epoch specified in this work is 100000 and
training can be specified by the user. Usually 80% of data is minimum error is 0.005.
given for training. The user interface also provides selection of
As the preprocessed input is fed the required processing is
preprocessing techniques.
done in each node and the weights are updated. The learning
The Fig 2 depicts the system architecture. The system is process will terminate based on the termination condition.
provided with 6 inputs. They are minimum temperature and Now we have a trained model which is capable of predicting
humidity, maximum temperature and humidity, holiday and the load.
the weekday. The neural network consists of one input layer

Fig 2: System Architecture

The rest of the input i.e. the test set is provided to the the remaining 20% of data is fed to the model for representing
prediction module and tested. Then load is predicted by the the knowledge. An x-y graph which is plotted using java is
system when providing with the necessary inputs. used for this purpose. The graph gives a plot between the
actual load and the load predicted by the model. The x axis
corresponds to the sample number and the y axis corresponds
E. Visualization of knowledge
to the load. The red colored line shows the actual load and the
green colored line shows the predicted load.
Better training occurs when more data are presented to the
system. So for training 80% of data are used. After training,

IJISRT17SP221 www.ijisrt.com 300


Volume 2, Issue 9, September 2017 International Journal of Innovative Science and Research Technology
ISSN No: - 2456 2165

[3]. Taylor, J.W.Short-Term Electricity Demand Forecasting


Using Double Seasonal Exponential.
[4]. P.Sibi, S.Allwyn Jones, P.Siddarth, Analysisof Different
Activation Functions Using Back Propagation Neural
Networks, Journal of Theoretical and Applied Information
Technology; Vol. 47 No.3.
[5]. Tso GKF, Yau KKW. Predicting electricity energy
consumption: A comparison of regression analysis,
decision tree and neural networks. Energy 2005; vol 28 pp
1761-1768.
[6]. Hoda K. Mohamed, Soliman M. El-Debeiky, Hassan
M.Mahmoud, Khaled M. El Destawy . Data mining
forelectrical load forecasting in egyptian electrical
network.Computer Engineering
andSystems;IEEE,2006,460-465.
[7]. M. B. Abdul Hamid and T. K. Abdul Rahman. Short Term
Load Forecasting Using an Artificial Neural Network
Trained by ArtificialImmune System Learning
Fig 3: Actual vs Predicted load Algorithm.12th International Conference on Computer
Modeling and Simulation (UKSim); 2010, p. 408-413.

V. CONCLUSION

In this paper we presented an approach to predict load using


meteorological and holiday values. The existing system
predicts the energy consumption only based on historical load
consumption data. It does not consider the meteorological
factors. Studies have shown that meteorological data also
plays a major role in the load consumption. Also existing
system fails to determine the load which may fluctuate since
they depend only on the known pattern. In this paper we
propose a model which is capable of learning patterns and
making prediction without degrading the accuracy. Results
obtained assert that the proposed model have the potential for
load forecasting which make it suitable for real time
applications.

VI. ACKNOWLEDGMENT

The authors would like to thank everyone for making this a


success. We would like to thank Ms. Amrutha Sasi, Asst.
Engineer (GRID), Load Dispatch Center, Kalamasery, Kerala
for her guidance and help to get the required electricity
consumption data.

REFERENCES

[1]. Navjot Kaur and Amrit Kaur.Predictive Modelling


approach to Data Mining for forecasting electricity
consumption;2016 IEEE.
[2]. Jiawei Han, Micheline Kamber.Data Mining: Concepts
and Techniques. Morgan Kaufmann publications. 2nd
ed.;2006

IJISRT17SP221 www.ijisrt.com 301

Potrebbero piacerti anche