HALF HOURLY ELECTRICITY LOAD PREDICTION USING ECHO STATE NETWORK

Similar documents
Reservoir Computing and Echo State Networks

Direct Method for Training Feed-forward Neural Networks using Batch Extended Kalman Filter for Multi- Step-Ahead Predictions

MODULAR ECHO STATE NEURAL NETWORKS IN TIME SERIES PREDICTION

Negatively Correlated Echo State Networks

Harnessing Nonlinearity: Predicting Chaotic Systems and Saving

Short Term Memory Quantifications in Input-Driven Linear Dynamical Systems

A New Look at Nonlinear Time Series Prediction with NARX Recurrent Neural Network. José Maria P. Menezes Jr. and Guilherme A.

ARTIFICIAL INTELLIGENCE. Artificial Neural Networks

Short Term Load Forecasting by Using ESN Neural Network Hamedan Province Case Study

Recurrent Neural Networks

Reservoir Computing Methods for Prognostics and Health Management (PHM) Piero Baraldi Energy Department Politecnico di Milano Italy

Short Term Load Forecasting Of Chhattisgarh Grid Using Artificial Neural Network

Modelling Time Series with Neural Networks. Volker Tresp Summer 2017

Reservoir Computing in Forecasting Financial Markets

1. Introduction. 2. Artificial Neural Networks and Fuzzy Time Series

Echo State Networks with Filter Neurons and a Delay&Sum Readout

A FUZZY NEURAL NETWORK MODEL FOR FORECASTING STOCK PRICE

Good vibrations: the issue of optimizing dynamical reservoirs

International University Bremen Guided Research Proposal Improve on chaotic time series prediction using MLPs for output training

Short Term Load Forecasting Using Multi Layer Perceptron

Short Term Load Forecasting Based Artificial Neural Network

Reinforcement Learning, Neural Networks and PI Control Applied to a Heating Coil

Application of Artificial Neural Networks in Evaluation and Identification of Electrical Loss in Transformers According to the Energy Consumption

MODIFIED DYNAMIC NEURON MODEL

A Practical Guide to Applying Echo State Networks

Lecture 7 Artificial neural networks: Supervised learning

Modelling of Pehlivan-Uyaroglu_2010 Chaotic System via Feed Forward Neural Network and Recurrent Neural Networks

A SEASONAL FUZZY TIME SERIES FORECASTING METHOD BASED ON GUSTAFSON-KESSEL FUZZY CLUSTERING *

ANN and Statistical Theory Based Forecasting and Analysis of Power System Variables

Application of Artificial Neural Network for Short Term Load Forecasting

Short Term Memory and Pattern Matching with Simple Echo State Networks

A new method for short-term load forecasting based on chaotic time series and neural network

Analysis of Multilayer Neural Network Modeling and Long Short-Term Memory

ECE521 Lectures 9 Fully Connected Neural Networks

( t) Identification and Control of a Nonlinear Bioreactor Plant Using Classical and Dynamical Neural Networks

Chapter 15. Dynamically Driven Recurrent Networks

Neural Networks and Deep Learning

AN INTRODUCTION TO NEURAL NETWORKS. Scott Kuindersma November 12, 2009

Short-term wind forecasting using artificial neural networks (ANNs)

Lecture 17: Neural Networks and Deep Learning

input unit N internal units output unit

REAL-TIME COMPUTING WITHOUT STABLE

Artificial Neural Networks" and Nonparametric Methods" CMPSCI 383 Nov 17, 2011!

HYBRID ARTIFICIAL NEURAL NETWORK SYSTEM FOR SHORT-TERM LOAD FORECASTING

Long-Short Term Memory

Reservoir Computing with Stochastic Bitstream Neurons

(Feed-Forward) Neural Networks Dr. Hajira Jabeen, Prof. Jens Lehmann

EEE 241: Linear Systems

Pattern Matching and Neural Networks based Hybrid Forecasting System

A STATE-SPACE NEURAL NETWORK FOR MODELING DYNAMICAL NONLINEAR SYSTEMS

Load Forecasting Using Artificial Neural Networks and Support Vector Regression

CSC242: Intro to AI. Lecture 21

AN APPROACH TO FIND THE TRANSITION PROBABILITIES IN MARKOV CHAIN FOR EARLY PREDICTION OF SOFTWARE RELIABILITY

ARTIFICIAL NEURAL NETWORKS گروه مطالعاتي 17 بهار 92

Lecture 5: Recurrent Neural Networks

Estimation of the Pre-Consolidation Pressure in Soils Using ANN method

Advanced Methods for Recurrent Neural Networks Design

Artificial Neural Network for Energy Demand Forecast

International Journal of Advanced Research in Computer Science and Software Engineering

Introduction to Natural Computation. Lecture 9. Multilayer Perceptrons and Backpropagation. Peter Lewis

Neural Networks and Ensemble Methods for Classification

FORECASTING OF INFLATION IN BANGLADESH USING ANN MODEL

Neural Networks 2. 2 Receptive fields and dealing with image inputs

Bidirectional Representation and Backpropagation Learning

Neural-wavelet Methodology for Load Forecasting

Choosing Variables with a Genetic Algorithm for Econometric models based on Neural Networks learning and adaptation.

arxiv: v1 [cs.lg] 2 Feb 2018

What Do Neural Networks Do? MLP Lecture 3 Multi-layer networks 1

Neural Network Identification of Non Linear Systems Using State Space Techniques.

ARTIFICIAL NEURAL NETWORK PART I HANIEH BORHANAZAD

Electric Load Forecasting Using Wavelet Transform and Extreme Learning Machine

Artificial Neural Networks D B M G. Data Base and Data Mining Group of Politecnico di Torino. Elena Baralis. Politecnico di Torino

arxiv: v3 [cs.lg] 18 Mar 2013

Artificial Intelligence

Implementation of Artificial Neural Network for Short Term Load Forecasting

Speed Control of PMSM Drives by Using Neural Network Controller

ARTIFICIAL NEURAL NETWORK WITH HYBRID TAGUCHI-GENETIC ALGORITHM FOR NONLINEAR MIMO MODEL OF MACHINING PROCESSES

Neural Networks Introduction

COGS Q250 Fall Homework 7: Learning in Neural Networks Due: 9:00am, Friday 2nd November.

Efficient Forecasting of Exchange rates with Recurrent FLANN

A Hybrid Model of Wavelet and Neural Network for Short Term Load Forecasting

Lecture 11 Recurrent Neural Networks I

100 inference steps doesn't seem like enough. Many neuron-like threshold switching units. Many weighted interconnections among units

Several ways to solve the MSO problem

CSE 352 (AI) LECTURE NOTES Professor Anita Wasilewska. NEURAL NETWORKS Learning

Notes on Back Propagation in 4 Lines

Lecture 5 Neural models for NLP

ECE Introduction to Artificial Neural Network and Fuzzy Systems

Power and Limits of Recurrent Neural Networks for Symbolic Sequences Processing

Fisher Memory of Linear Wigner Echo State Networks

Multilayer Perceptrons and Backpropagation

Deep Learning Lab Course 2017 (Deep Learning Practical)

Artificial Neural Network

Machine Learning. Boris

Lecture 4: Perceptrons and Multilayer Perceptrons

Neural Networks (Part 1) Goals for the lecture

Long-Short Term Memory and Other Gated RNNs

Convergence of Hybrid Algorithm with Adaptive Learning Parameter for Multilayer Neural Network

FORECASTING OF ECONOMIC QUANTITIES USING FUZZY AUTOREGRESSIVE MODEL AND FUZZY NEURAL NETWORK

Effect of number of hidden neurons on learning in large-scale layered neural networks

Transcription:

HALF HOURLY ELECTRICITY LOAD PREDICTION USING ECHO STATE NETWORK Shivani Varshney, Toran Verma Department of Computer Science & Engineering, RCET, Bhilai, India. ABSTRACT Prediction of time series is a task that cannot be efficiently done by using feed forward neural network. Recurrent neural network are the suitable neural networks for time series prediction task. Electricity load series is also a kind of chaotic time series. In this paper a echo state network is proposed to calculate the electricity load after half an hour. No other type of data is used for prediction except the previous electricity load values. The predicted values obtained from various simulation runs are very close to the actual value. KEYWORDS: Recurrent Neural Network, Time Series prediction, Echo State Network, Electricity load forecasting. I. INTRODUCTION Electric load prediction can be defined as a tool for planning that helps management in its attempt to cope with the uncertainty of the future. Companies mainly rely on data from the past and present and analysis of trends. Accurate models for electric power load prediction are essential to the operation and planning of a utility company[5]. Load forecasting helps an electric utility company to make important decisions. The decisions include purchasing and generating electric power, load switching and infrastructure development etc. Load forecasts can be divided into three groups: short-term forecasts which are usually from one hour to one week, medium forecasts which are usually from week to a year and long-term forecast which are longer than a year[3]. The aim of this paper is to predict the electricity load after half an hour using Echo State Networks. The electric load values can be considered as a time series and the future value of this time series is going to be predicted by the proposed method. Time series methods are based on the assumption that the data have an internal structure, such as autocorrelation, trend, or seasonal variation [21]. The significance of prediction models is particularly important in the field of financial engineering where they have been a subject of research for several decades. Many financial models contain some sort of time series forecasting in order to adequately predict future market movements. First models have been based on traditional statistical linear or nonlinear techniques. However, none of these techniques have continuously shown satisfactory prediction success rates owing to the presence of noise and nonlinearity in forecasting financial markets, together with the fact that much is assumed and little is known about the nature of the financial engineering processes [13]. The task of time series prediction can indirectly be defined as follows: given several past values of the series, predict its future values within predefined limit. Depending on the horizon length prediction tasks are generally divided into short term predictions and long-term ones [3]. This work is focused mainly on short term predictions. The major research thrust in this area is determining better network architectures, because the commonly used feed forward back propagation network offers good performance. This performance could be improved by using recurrence or reusing past inputs and outputs. The inspiration behind using recurrence is that some 462

patterns may repeat in time. A neural network which remembers previous inputs or feedbacks previous outputs may attain greater success in determining these time dependent patterns. This paper is organized as follows. The ESN is introduced in Section II. The proposed prediction algorithm is discussed in Section III. Section IV gives the forecasting simulation result and discussion. Finally a conclusion is drawn in Section V. II. ECHO STATE NETWORK There are three layers in ESN system architecture : an input layer, a hidden layer, and an output layer, as shown in Figure 1. The hidden layer is called dynamic reservoir (DR). Dynamic Reservoir consists of a large number of neurons, normally about 50~1000 neurons. The values of the connection weights in DR are created randomly. ESN exploits the dynamics of this large randomly initialized dynamic reservoir for extraction of interesting properties from the input sequence. The output layer is notes as a readout, which is made of some neurons in parallel; the number of the readout neurons is equal to the output number[20]. W in W W out Dynamic Reservoir Input Layer Hidden Layer Figure 1: Echo State Network Output Layer Basically in Echo State Networks a huge dynamic reservoir is used which is the source of dynamic behaviour of the neural network. ESN provides fast and simple algorithm for supervised learning. Let us assume that ESN has L inputs, M outputs and N hidden neurons. The weights of the connections from input layer to the hidden layer are W in, the weights within the hidden layer are W and the weights from the hidden layer to the output layer are W out. The sizes of the weight matrices W in, W, W out are respectively N.L, N. N, M.N. All other weights except W out are initialized randomly. The only weight trained in ESN is W out. Activations of the input layer at time step n are u(n)=(u 1(n),.u k(n)). Activations of the hidden layer are x(n)=(x 1(n),.x N(N)) and the activations for the output layer are y(n)=(y 1(n),.y L(n)). The activation of hidden layer is updated according to x(n+1)=f(w inu(n+1) + Wx(n) + W backy(n)) (1) where f is typically sigmoidal function. III. PROPOSED ALGORITHM In the proposed system first a data set is selected. The data set is a chaotic time series of load. 80% of this time series data will be used as training data and 20% time series data will be used as test data. The input is first normalized and a Echo State Network is constructed with a random dynamic reservoir. The training data is inputted to this ESN to compute the output weights. Once we are done with the training data, the network is ready for prediction. Now the network is tested with the test data. The proposed block diagrams of the system are shown in Figure 2 and Figure 3. 463

Select Data Set Normalize the input data Input the training data to the ESN with a random dynamic reservoir Drive the reservoir with the training data Compute output weights Figure 2: Block diagram of training the Echo State Network Input test data Trained Echo State Network Predicted Values Figure 3: Block diagram of testing the Echo State Network The proposed system will be able to forecast the values for short term. The algorithm consists of five steps as follows: Step 1: Remove missing and zero values from the input data. Step 2: The data to be processed is first normalized using the following equation: (2) where data new is the normalized data data is the input data data min is the minimum load value in the input data data max is the maximum load value in the input data Step 3: Build an untrained Recurrent Neural Network (W in, W) which has the echo state property: (a) Generate a random weight matrix W 0. (b) Normalize matrix W 0 to matrix W 1 with spectral radius of W 0,W 1 = W 0/W 1 has now unit spectral radius. (c) Scale matrix W 1 to matrix W with a < 1, W = a W 0. W has now a spectral radius of a. (d) Generate random weight matrices W in. Step 4 : Sample the RNN training dynamics: (a) Initialize arbitrarily the state of the units. (b) Run the RNN by driving it with the teaching input signal and by applying the equation: 464

x (n+1)= (1-a) x(n) + a tanh( W in u(n+1) + W x(n)) (2) where tanh is the sigmoidal function used in the proposed algorithm. (c) Collect remaining input and network states row-wise into a matrix M. (d) Collect simultaneously the remaining training pre-signals into a column vector T. Step 5: Compute the output weights: (a) Multiply the pseudo-inverse of M with T: (W out) t =M 1 T (3) whose i-th column contains output weights from all network units to the i-th output unit. (b) Transpose (W out) t to W out IV. SIMULATION EXPERIMENT The data set used for training and testing purpose is taken from the UP Electricity Board. It is a series of electric load of household measured half hourly. The data from January 30,2014 to March 15, 2014 are used to predict the half hourly load. Each day comprises of 48 data points. Figure 4 shows a plot of the input data which shows that the input series is very chaotic and non linear in nature. Load Time Figure 4:A Sample of the input data Figure 5 is showing the comparison graph of actual load and the predicted load. 465

Load Time Figure 5:Predicted Vs Actual Data The prediction performance has been measured by the root-mean-squared error (RMSE) on the test sequence. where A(i) is the actual load value and F(i) is the predicted value. T n is the value of the time interval upto which the values are predicted. V. CONCLUSION An ESN-based short-term electric load prediction algorithm is proposed in this paper. It is verified on the half hourly load. It is demonstrated from the results of the experiment that the proposed algorithm is much efficient and faster. In this algorithm weights from output layer to the hidden layer W out are not considered which saves computation time. The NRMSE obtained is 0.00237, which is negligible. Electric load prediction is very difficult task and is influenced by many factors like, temperature, humidity, weekday, economy class etc. Impact of these external factors needs to be worked out. REFERENCES [1] Hava T. Siegelmann, Bill G. Horne, and C. Lee Giles, Computational capabilities of recurrent NARX neural networks, IEEE Transactions on Systems, Man, and Cybernetis, vol. 27, no. 2, pp. 208-215,April 1997. [2] Mikael Boden, A guide to recurrent neural networks and backpropagation, 2001, pp 1-10. [3] Jacek Mandziuk and Rafal Mikolajczak, Chaotic time series prediction with feed-forward and recurrent neural nets, Control and Cybernetics, vol. 31, no. 2,2002. [4] Michal Cernansky and Lubica Benuskova, Simple recurrent network trained by RTRL and extended kalman filter algorithms, Neural Network World, 13(3), pp. 223-234, 2003. [5] E. A. Feinberg and Dora Genethlio, Load Forecasting, Chapter 12, pp. 269-285. [6] Herbert Jaeger, A tutorial on training recurrent neural networks, covering BPPT, RTRL, EKF and the echo state network approach, April 2008. [7] Derrick T. Mirikitani and Nikolay Nikolaev, Dynamic modeling with ensemble kalman filter, Seventh International Conference on Machine Learning and Applications, pp. 843-848, IEEE, 2008. 466

[8] Eugen Diaconescu, The use of NARX neural networks to predict chaotic time series, Wseas transactions on computer research, Issue 3, vol. 3, pp. 182-191, March 2008. [9] Rully Soelaiman1, Arief Martoyo1, Yudhi Purwananto and Mauridhi H. Purnomo, Implementation of recurrent neural network and boosting method for time-series forecasting, ICICI-BME International Conference on Instrumentation, Communications, Information technology, and Biomedical Engineering, pp. 1-8, November 2009. [10] Herbert Jaeger, The scho state approach to analyzing and training recurrent neural networks- with an erratum note, Fraunhofer Institute for Autonomous Intelligent Systems, January, 2010. [11] Zhai Fangwen, Lin Xiaowei, Yang Zehong and Song Yixu, Financial time series prediction based on echo state network, International Conference on Natural Computation(ICNC),pp. 3983-3987, IEEE, 2010. [12] Herbert Jaeger and Mantas Lukosevicius, Reservoir Computing Approaches to Recurrent neural network Training, Compter Science Review, January 2010. [13] Danko Brezak, Tomislav Bacek, Dubravko Majetic, Josip Kasac and Branko Novakovic, A comparison of feed-forward and recurrent neural networks in time series forecasting, Conference on Computational Intelligence for Financial Engineering & Economics, pp. 1-6, IEEE, 2012. [14] Qingsong Song, Xiangmo Zhao, Zuren Feng, Yisheng An, and Baohua Song, Hourly electric load forecasting algorithm based on echo state neural network, Control and decision conference(ccdc), pp. 3983-3897, May 2011. [15] Leandro S. Maciely, David J. Santosz and Fernando Gomidey, Exchange rate forecasting using echo state networks for trading strategies, 2012. [16] Aida A. Ferreira, Teresa B. Ludermir and Ronaldo R. B. de Aquino, Comparing recurrent networks for time-series forecasting, WCCI IEEE world congress on computational intelligence, pp. 1-8, June 2012. [17] Li-Chiu Chang, Pin-An Chen, and Fi-John Chang, Reinforced two-step-ahead weight adjustment technique for online training of recurrent neural networks, IEEE transactions on neural networks and learning systems, vol. 23, no. 8, pp. 1269-1278, August 2012. [18] Jelena Milojkovic, Ivan Litovski and Vanco Litovski, ANN Application for the Next Day Peak Electricity Load Prediction, 11 th Symposium on Neural Network Applications in Electrical Engineering, NEURAL(IEEE)-2012,pp. 237-241, June 2012. [19] Mantas Lukosevicius, A Practical Guide to Applying Echo State Networks, Neural Networks:Tricks of the Trade,Springer, 2012. [20] John A. Bullinaria, Recurrent neural networks, Neural Computation: Lecture 12, http://www.cs.bham.ac.uk/~jxb/inc/l12.pdf, Last Access Date: 26/02/2014. [21] http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc4.htm. Last Access Date: 05/01/2014. 467