Load Forecasting Using Artificial Neural Networks and Support Vector Regression

Similar documents
Fuzzy Control for Shunt Capacitors Applied in Distribution Feeders

Electric Load Forecasting Using Wavelet Transform and Extreme Learning Machine

Short Term Load Forecasting Based Artificial Neural Network

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

One-Hour-Ahead Load Forecasting Using Neural Network

Short Term Load Forecasting Using Multi Layer Perceptron

WEATHER DEPENENT ELECTRICITY MARKET FORECASTING WITH NEURAL NETWORKS, WAVELET AND DATA MINING TECHNIQUES. Z.Y. Dong X. Li Z. Xu K. L.

The Research of Urban Rail Transit Sectional Passenger Flow Prediction Method

A Fuzzy Logic Based Short Term Load Forecast for the Holidays

A Support Vector Regression Model for Forecasting Rainfall

Forecasting Crude Oil Price Using Neural Networks

P. M. FONTE GONÇALO XUFRE SILVA J. C. QUADRADO DEEA Centro de Matemática DEEA ISEL Rua Conselheiro Emídio Navarro, LISBOA PORTUGAL

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

NON-FIXED AND ASYMMETRICAL MARGIN APPROACH TO STOCK MARKET PREDICTION USING SUPPORT VECTOR REGRESSION. Haiqin Yang, Irwin King and Laiwan Chan

RAINFALL RUNOFF MODELING USING SUPPORT VECTOR REGRESSION AND ARTIFICIAL NEURAL NETWORKS

USE OF FUZZY LOGIC TO INVESTIGATE WEATHER PARAMETER IMPACT ON ELECTRICAL LOAD BASED ON SHORT TERM FORECASTING

Artificial Neural Network Simulation of Battery Performance

ECE Introduction to Artificial Neural Network and Fuzzy Systems

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

Weighted Fuzzy Time Series Model for Load Forecasting

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

MODELLING ENERGY DEMAND FORECASTING USING NEURAL NETWORKS WITH UNIVARIATE TIME SERIES

Electricity Demand Forecasting using Multi-Task Learning

Support Vector Machine Regression for Volatile Stock Market Prediction

A data mining approach for medium-term demand forecasting

Artificial Neural Network for Energy Demand Forecast

Day Ahead Hourly Load and Price Forecast in ISO New England Market using ANN

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

Using Neural Networks for Identification and Control of Systems

3. If a forecast is too high when compared to an actual outcome, will that forecast error be positive or negative?

SHORT TERM LOAD FORECASTING

Short-Term Electrical Load Forecasting for Iraqi Power System based on Multiple Linear Regression Method

EM-algorithm for Training of State-space Models with Application to Time Series Prediction

Short-Term Load Forecasting Using Semigroup Based System-Type Neural Network

Short-term water demand forecast based on deep neural network ABSTRACT

Package TSPred. April 5, 2017

A FUZZY NEURAL NETWORK MODEL FOR FORECASTING STOCK PRICE

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

Predicting Time of Peak Foreign Exchange Rates. Charles Mulemi, Lucio Dery 0. ABSTRACT

A Feature Based Neural Network Model for Weather Forecasting

Short Term Power Load Forecasting Using Deep Neural Networks

An Improved Method of Power System Short Term Load Forecasting Based on Neural Network

Implementation of Artificial Neural Network for Short Term Load Forecasting

NONLINEAR PLANT IDENTIFICATION BY WAVELETS

Influence of knn-based Load Forecasting Errors on Optimal Energy Production

An Application of Artificial Neural Networks in Brake Light Design for the Automobile Industry

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

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

Square Penalty Support Vector Regression

Predicting freeway traffic in the Bay Area

A Wavelet Neural Network Forecasting Model Based On ARIMA

Forecast daily indices of solar activity, F10.7, using support vector regression method

Determine the trend for time series data

A STATE-SPACE NEURAL NETWORK FOR MODELING DYNAMICAL NONLINEAR SYSTEMS

22/04/2014. Economic Research

SYSTEM BRIEF DAILY SUMMARY

How Accurate is My Forecast?

Materials Science Forum Online: ISSN: , Vols , pp doi: /

Neural Networks and the Back-propagation Algorithm

Bearing fault diagnosis based on EMD-KPCA and ELM

Predicting the Future with the Appropriate Embedding Dimension and Time Lag JAMES SLUSS

Single Home Electricity Power Consumption Forecast Using Neural Networks Model

Artificial Neural Network

An Approach of Correlation Inter-variable Modeling with Limited Data for Inter-Bus Transformer Weather Sensitive Loading Prediction

SYSTEM BRIEF DAILY SUMMARY

Hybrid PSO-ANN Application for Improved Accuracy of Short Term Load Forecasting

Application of NARX based FFNN, SVR and ANN Fitting models for long term industrial load forecasting and their comparison

ADAPTIVE INVERSE CONTROL BASED ON NONLINEAR ADAPTIVE FILTERING. Information Systems Lab., EE Dep., Stanford University

Real Time wave forecasting using artificial neural network with varying input parameter

Linear Dependency Between and the Input Noise in -Support Vector Regression

ARTIFICIAL NEURAL NETWORKS APPROACH IN MICROWAVE FILTER TUNING

Neural Networks Introduction

Artificial neural networks

ClassCast: A Tool for Class-Based Forecasting

ARTIFICIAL NEURAL NETWORK PART I HANIEH BORHANAZAD

Artificial Neural Network Method of Rock Mass Blastability Classification

Short-Term Forecasting of Electric Loads Using Nonlinear Autoregressive Artificial Neural Networks with Exogenous Vector Inputs

Analysis and the methods of forecasting of the intra-hour system imbalance

2015 Todd Neller. A.I.M.A. text figures 1995 Prentice Hall. Used by permission. Neural Networks. Todd W. Neller

Research Article Weather Forecasting Using Sliding Window Algorithm

Prediction of Monthly Rainfall of Nainital Region using Artificial Neural Network (ANN) and Support Vector Machine (SVM)

AN INTERACTIVE WAVELET ARTIFICIAL NEURAL NETWORK IN TIME SERIES PREDICTION

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

SHORT TERM FORECASTING OF THE ELECTRICITY MARKET OF SPAIN USING NEURAL NETWORKS

EE04 804(B) Soft Computing Ver. 1.2 Class 2. Neural Networks - I Feb 23, Sasidharan Sreedharan

Use of Weather Inputs in Traffic Volume Forecasting

Journal of of Computer Applications Research Research and Development and Development (JCARD), ISSN (Print), ISSN

LOAD FORECASTING APPLICATIONS for THE ENERGY SECTOR

LONG - TERM INDUSTRIAL LOAD FORECASTING AND PLANNING USING NEURAL NETWORKS TECHNIQUE AND FUZZY INFERENCE METHOD ABSTRACT

COMS 4771 Introduction to Machine Learning. Nakul Verma

Fuzzy based Day Ahead Prediction of Electric Load using Mahalanobis Distance

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: [Gupta et al., 3(5): May, 2014] ISSN:

Neural Networks. Chapter 18, Section 7. TB Artificial Intelligence. Slides from AIMA 1/ 21

FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH

Fuzzy Logic Approach for Short Term Electrical Load Forecasting

Prediction of hourly energy consumption in buildings based on a feedback artificial neural network

Forecasting of Electric Consumption in a Semiconductor Plant using Time Series Methods

4.0 Update Algorithms For Linear Closed-Loop Systems

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

DAILY QUESTIONS 28 TH JUNE 18 REASONING - CALENDAR

Transcription:

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 3 Load Forecasting Using Artificial Neural Networks and Support Vector Regression SILVIO MICHEL DE ROCCO,3 ALEXANDRE RASI AOKI,2 MARCUS VINICIUS LAMAR 3 Electrical Engineering Department Parana Federal University UFPR Polytechnic Center PO Box 90 BRAZIL http://www.ufpr.br 2 Institute of Technology for Development LACTEC UFPR Polytechnic Center PO Box 907 CEP 83-980 BRAZIL aoki@lactec.org.br http://www.lactec.org.br 3 Paraná Energy Company Rua José Izidoro Biazetto, 8 Blobo C CEP 8200-20 BRAZIL rocco.silvio@http://www.copel.com Computer Science Department Brasilia Federal University PO Box CEP 7099-970 BRAZIL lamar@uhttp://www.unb.br Abstract: - This paper describes a short term load forecasting system using two different techniques of Artificial Intelligence: Recurrent Artificial Neural Networks and Support Vector Regression. A brief analysis of the load over the distribution systems connection points in Brazilian Parana States is also done. Key-Words: - Load Forecasting, Artificial Neural Networks, Support Vector Regression. Introduction With the privatization of the sector of electric energy and the commercialization of the energy between the generators, the load forecasting becomes important for these companies, as much long the how much short-term one. The long term load forecasting is necessary for buying energy and short term load forecasting is important to guarantee that the distribution system works within the contracted limits, avoiding heavy penalties from Brazilian Regulatory National Agency. An important requirement of this type of forecasting is that the error is less than the tolerance foreseen in these contracts that are generally of about %. The exchanges of electric energy are carried through the connection points of the distribution system that are the distribution substations directly connected to the rest of the national electrical system. In this work it is analyzed the short-term load forecasting in connection points of the distribution system using two popular forecasting methods of time series: Artificial Neural Network (ANN) and Support Vector Regression (SVR). Firstly it is done brief analysis of the typical load profile of these connection points. Following, the two methodologies used are described, the results obtained are analyzed and conclusions on this work are presented. 2 Methodology 2. Load Analysis The load data used in this study consist of the integrated consumed active power in minutes of the connection points in the state of Paraná, between 200 to 200. Examples of these data can be seen in Figure and Figure 2. Analyzing the data it can be observed daily repetition standards, related to the differences between the consumption during the week and in weekends. Demanda (kw) 7 x 0 Demanda 00:00 2:00 00:00 2:00 00:00 2:00 00:00 Hora Figure - Load in three consecutive days Through Figure it is noted daily seasonality, with peaks of consumption nearing to 09:00, :00 and 20:00 hours, and low consumption during the dawn, between 00:00 and 0:00 hours.

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 37 Demanda (kw) 7 3 x 0 Demanda SunMonTueWedThu Fri Sat SunMonTueWedThu Fri Sat Sun Dias Figure 2 - Load in two consecutive weeks In Figure 2 the weekly seasonality can be observed, with the Sundays presenting a differentiated profile to other days. The annual seasonality could not be observed, once the observed period corresponds about one year and half. To allow one better understanding of the involved time series, it was done an analysis of the function of self-correlation of the data....3.2 E. 3.9 x 0 Self-correlation of the load data Correlation D Figure - Self-correlation of the demand data, up to weeks of delay Analyzing Figure 3, it is possible to conclude that the data correlation diminishes with distance with time between. Figure 3 shows that the higher correlation peaks in certain delays. Table indicates the corresponding delay to the points nominated in Figure 3. As it can be viewed the correlation of the load is visibly bigger in the same time with one day and one week of delay, besides the immediate previous measures (, 30 and minutes of delay). C -00-00 -00-300 -200-00 0 Delay (Hours) B A Table - Point of interest in the self-correlation Point Delay A B C D E 2 h ( day) 8 h ( week) 33 h (2 weeks) 0 h (3 weeks) 72 h ( weeks) As the objective of this work is the forecast of the daily peaks of demand, one possibility is to use only these points to achieve through the forecast. Figure presents the characteristic of the demand when only the daily peaks are considered. Demand. (kw).3 0/29/0 0/0/0 0/2/0 0/9/0 0/2/0 07/03/0 07/0/0 Figure - Daily peaks of six weeks of load Again, a weekly data seasonality can be noted in Figure. The self-correlation of these data can be seen in Figure. Self-correlation of the data of daily peaks of demand 2 x 0 0 9.8 9. 9. 9.2. x 0.2. Correlation - 2-20 Demand (kw) - - 0 Delay (days) Figure - Self-correlation of the daily peaks of demand In contrast of what it occurred with the integrated data in minutes, in Figure it can be seen that the daily peak of demand doesn t present a significant correlation with no delay in special, occurring only one small peak for delay multiples of one week. - 0

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 38 2.2 Load Forecasting Using Artificial Neural Networks Initially, the use of Artificial Neural Networks was evaluated (ANN), a well consolidated technique, to do the prediction. Artificial Neural Networks are computational systems based in an approach of the human brain modeling []. Simple units called neurons are linked to form a net. The Neural Networks, opposite to the traditional techniques of computation, are not linearly programmed to solve problems. They learn the solution of a problem, and therefore must be trained through the presentation of examples of this solution. For analysis of time series correlation, it is possible to re-feed the net in various different ways, creating nets whose reply not only with the current data in the entrance, as well as of the previously data presented. Amongst the diverse structures capable to deal with time series, the chosen configuration was the partially recurrent net of Elman [2]. The structure proposal for Elman is sufficiently simple, however its capacity was demonstrated to learn any time series, since that it has an adjusted structure, i.e. number of neurons, and either properly trained with an adequate learning algorithm [3]. This structure, presented in Figure, consists basically of a context layer, that stores the exits of the hidden intermediate layer, for then re-feeding these values in the net in the next time iteration. Entrance Layer Context Layer Hidden Layer Figure - General structure of the Elman net Exit Layer The structure presented in Figure, given one time series, allows the forecast of a step of time ahead. So that it is possible to do the forecast some points ahead using the foreseen values already, that is, the exit of the net, as the entry of the same. Firstly it was used a net with only one neuron of entrance and a neuron in the exit. As an analytical methodology does not exist to define the number of neurons in the hidden intermediate layer, 0, 2 and 0 had been tested neurons in this layer. Another tested configuration was using some previous measures of load in the entrance of the net, in order to foresee its future behavior. In the intermediary layer again 0, 2 and 0 neurons were tested. The previous points to be used in the entrance were chosen in accordance with the analysis of the self-correlation function of the measured load data. As it will be shown in section 3, the forecast with the complete data presents a considerable error, due to amount of points that must be foreseen. To solve this problem, were tested configurations using only the load daily peaks. The structures with a neuron in the entrance had been tested and with various relative entrance to previous measures. It is possible to obtain better results with ANN, through the method of attempt and error for the definition of the structure, iterations during the training, and adjustments of the parameters of the trainings algorithm used, being that this task requires much time of simulation, to reach one structure ANN that presents excellent resulted for the load forecasting for one determined connection point of the distribution system. However due to the great number of connection points and its particularities, such methodology shows impracticable of being applied in a time of adequate training. Given the difficulty to get satisfactory results with neural networks, new methodologies had been looked to solve the problem of load forecasting. 2.3 Load Forecasting Using Support Vector Regression The Support Vector Regression (SVR), it is one technique of nonlinear regression based in Support Vector Machines (SVM) proposed for []. Both the techniques firmly are based in theory of statistical learning, or theory VC, that it has been developed in last the three decades buy Vapnik, Chervonenkis, among others. Theory VC characterizes the properties of the learning machines in order to allow the excellent generalization of data not seen. It was observed during the tests with neural networks that it is unnecessary to work with the integrated complete data of in minutes, then, in these experiments had been used only the daily peaks. The data had been normalized between - and, to prevent to work with the relatively great values of load. The function kernel chosen was the radial base function (RBF), that it is most complex among the functions used in SVM, but also the most common. The chosen edge was of 0.0, what, after the

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 39 normalization, represents an error of 2.% above or below the training data. To simplify the forecast, information on the day of the week in the entrances had been also codified, in accordance with Table 2 []. Table 2 - Codification of the days of the week Week days Code Sunday 000000 Monday 00000 Tuesday 00000 Wednesday 00000 Thursday 00000 Friday 00000 Saturday 00000 The parameter cost was increased gradually until not having a significant reduction of the error Observing that the data correspond to a seasonality of long delay (annual, monthly) and one of low delay (weekly), it was proposed to divide the data for filtering in two parts, one of low frequency, being represented the monthly, annual seasonality and the trend, and another high-frequency one, representing the weekly seasonality. A digital filter FIR of order 00, was projected by the frame technique with a window of Hamming, for a frequency of normalized cut of around /, what it would physically represent a complete periodic cycle to each two weeks. The high frequency was obtained through the subtraction between the original signal and the component of low frequency. So that it didn t have delay and loss of data during the filtering, it was necessary to mirror the 0 initial points and the 0 final points of data, before the filtering process. Figure 7 presents real data, the component of low frequency obtained by filtering and the highfrequency component. The addition of the signal of low frequency as high-frequency signal, perfectly reconstructs the original data, this technique based on analysis of signals for sub-bands. 20 x 0 0 0 Load (kw) - 0 00 200 300 00 00 Figure 7 - Separation of data in sub-bands 3 Tests and Results As measure of forecasting performance, it was is adopted Mean Absolute Percent Error (MAPE), defined by: N Vprevisto Vreal EMAPE = 00% N V i= where Vprevisto corresponds to the foreseen value and Vreal the measured value of actual load, in N instants of time. The period of time in which the error is measured, in all the cases, corresponds to one week of forecast. The neural Network with only one entrance wasn t capable to forecast satisfactorily the integrated data in minutes. Using the 2 previous entrances with the better correlation with the current point (delays of minutes 2:30 hours, 2 hours and between days and 22 hours and 7 days and :30 hour), with 2 neurons in the hidden layer, a MAPE of.7% was obtained, with a standard deviation of 7%. Using only one entrance to foresee the load peaks daily, with 0 neurons in the intermediate layer, an error of 2.9% was obtained, with standard deviation of 2%, however, it is possible to notice in Figure 8 a trend of delay of one day in the foreseen data. Doing the forecast for the following week, the error starts to be of 7.0%, showing that the net was not well adapted to the data. real Original data Low frequency High frequency

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 0 x 0 Results of the Forecast 2 Load (kw) 0 8 2 0/23/0 02/02/0 02/2/0 02/22/0 03/0/0 03//0 Figure 8 - Result of the Load forecasting peaks with 0 neurons in the intermediate layer Load( kw) x 0.... 3. 2. 03/0/0 03//0 03/2/0 Day s 0/03/0 0/3/0 Results of the forecast Figure 9 - Result of the prediction of the SVR with 7 entry points Load (kw).. x 0.2 02/2/0 02/22/0 03/0/0 03//0 03/2/0 0/03/0 0/3/0 0/23/0 Figure 0 - Result of the forecast using 8 points x 0 Forecasting results. Load (kw)..2 02/2/0 03/0/0 03/2/0 0/3/0 Results in the forecasting Figure - Result of the forecast using the division of the data in sub-bands

Proceedings of the 7th WSEAS International Conference on Power Systems, Beijing, China, September -7, 2007 Using as entered the 28 previous days to the day to be foreseen, the average forecast error is of.7% with standard deviation of %. Using the SVR, with the corresponding entrances to the 7 previous days, it got a MAPE of.9% with standard deviation of 3%. However, observing the Figure 9 can be noticed that the forecast is only one repeated standard, not being therefore trustworthy. Using 28 points as entered, the error was of 8.72%, with standard deviation of %. With 8 days previous as entered the error in the first week of forecast it is of 3.32%, with standard deviation of 3%. Doing the forecast one week later, the average error is of 3.02%, and two weeks later the error is of 3.7%. It can be seen by the Figure 0 that the SVR was not adapted completely to the peaks of the training data. Doing the division in sub-bands, using 8 previous points in each SVR, the MAPE in the first week of forecast is of 3%, with 2% standard deviation. Doing the forecast in the following week, the error is of 2.2%, and in the next week the error is of 3.27%. It can be seen by the Figure the that in this in case that the SVR were adapted better to the data of trainings, reaching the peak. Table 3 presents the obtained results. Column MAPE indicates the error done in the forecast of the week after the end of the training data, and column MAPE in the following week after indicates the results of the forecast one week the end of the training data. Table 3 - Results for the forecast of the daily peaks of demand Structure MAPE MAPE in the following week Neural Network, 2.9% 7.0% entrance Neural Network,.7% - 28 entrances SVR, 7 days of.9% - entrance SVR, 28 days of 8.72% - entrance SVR, 8 days of 3.32% 3.02% entrance SVR, 8 days of entrance, with sub-bands 3.00% 2.2% Conclusion It was shown in this work two load forecasting methodologies using Artificial Neural Networks and Support Vector Regression. The ANN obtained satisfactory results comparable with the published ones in literature, however its great disadvantage is the automatic definition of the net structure, that involves a great number of tests, and much experience on the part of the designer. One form to alleviate these requirements, is the adoption of SVR technique, in which the only parameter to be adjusted is cost C, that it can be done of automatic form of complete search in a real universe, facilitating much its use in several connection points. The division in sub-bands of the demand data, on the basis of the seasonalties of long term and seasonality of short term, was presented efficient, improving still more the performance of the system based on SVR. Such alternative could also be tested with ANN, however due to its inherent increased training time; this was not done in this work. References: [] Haykin, S. Neural Networks: a Comprehensive Foundation, Prentice Hall PTR Upper Saddle River, NJ, USA. 998. [2] Elman, J.L. Finding Structure in Time, In: Cognitive Science, vol., pp. 79-22. 990. [3] Kremer, S.C. On the Computational Power of Elman-Style Recurrent Networks, IEEE Transactions on Neural Networks, vol., pp. 000-00. 99. [] Smola, A.J., and Schölkopf, B. A Tutorial on Support Vector Regression, NeuroCOLT2 Technical Report Series TR NC-TR-98-030, Royal Holloway College, University of London, UK. 998. [] Chen, B.J., Chang, M.W. and Lin, C.J. Load Forecasting Using Support Vector Machines: A Study on EUNITE Competition 200, IEEE Transactions on Power Systems, Vol. 9, No., Nov. 200, pp. 82-830. 200. [8] LEE, C.C. Fuzzy Logic in Control Systems: Fuzzy Logic Controller Part I and II. IEEE Transactions on Systems, Man, and Cybernetics, Vol. 20, No. 2, 990. p. 0-8.