An RBF Neural Network Combined with OLS Algorithm and Genetic Algorithm for Short-Term Wind Power Forecasting
An accurate forecasting method for power generation of the wind energy conversion system (WECS) is urgently needed under the relevant issues associated with the high penetration of wind power in the electricity system. This paper proposes a hybrid method that combines orthogonal least squares (OLS) algorithm and genetic algorithm (GA) to construct the radial basis function (RBF) neural network for short-term wind power forecasting. The RBF neural network is composed of three-layer structures, which contain the input, hidden, and output layers. The OLS algorithm is used to determine the optimal number of nodes in a hidden layer of RBF neural network. With an appropriate RBF neural network structure, the GA is then used to tune the parameters in the network, including the centers and widths of RBF and the connection weights in second stage. To demonstrate the effectiveness of the proposed method, the method is tested on the practical information of wind power generation of a WECS installed in Taichung coast of Taiwan. Comparisons of forecasting performance are made to the persistence method and back propagation neural network. The good agreements between the realistic values and forecasting values are obtained; the test results show the proposed forecasting method is accurate and reliable.
Rising crude oil prices and worldwide awareness of environmental issues highlights the exploitation of renewable energy technologies . The wind power is one of the most attractive renewable energy applications because of its high efficiency and low pollution [2, 3]. However, since the power produced by the WECS is varied with the atmosphere meteorology and wind speed, unexpected variations of the WECS power generation may increase operating costs for the electricity system because the requirements of primary reserves will be increased, and place potential risks to the reliability of electricity supply .
The power system operators have to predict the wind power production in order to schedule the spinning reserve capacity and to control and operate the utility grid . To reduce the spin reserve margin capacity and increase the wind power penetration, the accurate forecasting of wind power is needed for power system operations . An accurate wind power forecasting can help to improve competitive market designs, real-time grid operations, standards of interconnection, ancillary service requirements, and quality of power . In addition, wind power forecasting plays an important role in the allocation of balancing power. Wind power forecasting is used for the day-ahead scheduling of conventional power plants and trading of electricity on the spot market .
Although the prediction accuracy of wind power forecasting is lower than the prediction accuracy of load forecasting. Wind power forecasts still play a key role in addressing the operation challenges in electricity supply . Recently, several methods have been employed for the wind power forecasting. Many literatures have been devoted to the improvements of wind power forecasting approaches by researchers with wide experience in the field tests. A number of wind power forecasting methods have been developed and launched on wind farms. The wind power forecasting methods can be generally categorized into six groups: persistence method, physical method, statistical method, spatial correlation method, artificial intelligence method, and hybrid approach.
Persistence method is based on a simple assumption that the wind speed and wind power at a certain future time will be the same as it is when the forecast is made . The persistence method not only is the simplest but also is the most economical wind forecasting method. If the measured wind speed and wind power at are and , then the forecasting wind speed and wind power at can be formulated as the following term:
Physical method is based on numerical weather prediction (NWP) using weather forecast data like wind speed, pressure, temperature, surface roughness, and obstacles. NWP model is developed by meteorologists for large-scale area weather prediction . In general, wind speed obtained from the local meteorological service and transformed to the WECS at the wind farm is converted to wind power . The physical methods are rendered on supercomputers as they need lots of computations.
Statistical methods aim at finding the relationship of the online measured wind power data. For a statistical model, the historical power generation data of the WECS is used. Statistical models are easy to model and cheaper to develop compared to other models. Basically, statistical method is good for short-term forecasting. The disadvantage of this method is that the prediction error increases as the prediction time scale increases . Statistical methods include the autoregressive (AR), autoregressive moving average (ARMA), autoregressive integrated moving average (ARIMA), Bayesian approach, and gray predictions.
The spatial correlation models take the spatial relationship of different sites’ wind speed into account. In spatial correlation models, the wind speed time series of the predicted point and its neighboring points are employed to predict the wind speed . A spatial correlation model is used for predicting wind speed at one site based on measurements at another site. Its behavior has been tested with satisfactory verification using data collected over seven years .
Based on the development of artificial intelligence (AI), various new AI methods for wind power prediction have been developed. An AI method is to mimic the learning processes of the brain to discover the relations between the variables of a system . The new developed AI methods for wind power prediction include artificial neural network, adaptive neuro-fuzzy inference system, fuzzy logic methods, support vector machine, evolutionary optimization algorithms, and neuro-fuzzy network.
The object of hybrid wind forecasting methods is to benefit from the advantages of individual model and obtain a globally optimal forecasting performance . Since the information contained in the individual forecasting method is limited, hybrid method can maximize the available information, integrate individual model information, and make the best use of the advantages of multiple forecasting methods thus improving the forecasting accuracy . The literatures show that the hybrid methods generally produce good wind forecasting results compared to individual models . The hybrid methods combine different approaches such as mixing physical and statistical approaches or combining short-term and medium-term models .
Recently, RBF neural network methods have received a great deal of attention and were proposed as powerful computational tools to solve the forecasting problem. RBF neural network is able to provide universal approximation, and in the hidden layer of RBF neural network, basis functions are utilized. RBF neural network could extract implicit nonlinear relationships among input variables by learning from training data. RBF neural network is applied to forecast the power generation of WECS in this paper.
This paper employs the OLS algorithm to select a suitable set of centers of RBF from the input data. The OLS algorithm is a systematic method that employs the forward regression procedure to reduce the size of RBF neural network . In this paper, the GA is also applied to the training phase of RBF neural network, to obtain a set of weights, centers, and widths that will minimize the error function in competitive time. The weights, centers, and widths are progressively updated until the convergence criterion is satisfied. In the process of searching for the global optimum solution, GA needs neither the information of gradient nor the calculus computing, it can find out the global optimum solution or near-optimal solution in the solution space with high probability, and it could reduce the probability of getting into the local minimum efficiently .
This paper deals with the power generation forecasting of WECS and is divided in seven sections. After a brief introduction, Section 2 introduces the principle of RBF neural network. Section 3 is entirely dedicated to OLS algorithm-based optimal hidden layer node number selection scheme. Section 4 describes GA-based RBF neural network training procedure. Section 5 discusses the RBF neural network-based wind power forecasting method. Numerical results are described in Section 6. The conclusions of the paper are summarized in Section 7.
2. Principle of RBF Neural Network
The RBF neural network is a useful methodology for systems with incomplete information. It can be used to analyze the relationships between one major (reference) sequence and the other comparative ones in a given set . In this section, the principle of RBF neural network is described.
The RBF neural network is a forward networks model with good performance and global approximation, and which is free from the local minima problems . It is a multiinput, multioutput system consisting of an input layer, a hidden layer, and an output layer. During data processing, the hidden layer performs nonlinear transforms for the feature extraction and the output layer gives a linear combination of output weights . The structure of RBF neural network is shown in Figure 1.
The network actually performs a nonlinear mapping from the input space to the output space . The mapping relationship between input vector and output vector of RBF neural networks is based on the following function: where input vector , output vector .
Each hidden neuron computes a Gaussian function in the following equation: where and are the center and the width of the Gaussian potential function of the jth neuron in the hidden layer, respectively.
Each output neuron of the RBF neural network computes a linear function in the following form: where is output of the kth node in the output layer, is weight between jth node in the hidden layer and kth node in the output layer, and is output of the jth node in the hidden layer.
3. OLS Algorithm-Based Optimal Neurons Number Selection Scheme
The OLS algorithm  can be implemented by introducing an error term of (4) as follows: Using matrix form, (5) can be expressed as where is the vector of the desired network outputs; can be regarded as a regression matrix with each column vector ; is a vector of weights; is the vector of errors between the desired and actual network outputs.
By using the Gram-Schmidt orthogonalization , the regression matrix can be decomposed into a set of orthogonal basis vectors as follows: where is an upper triangular matrix, and is a matrix with mutually orthogonal vector such that where is a diagonal element of matrix H.
Aggregating (6) to (8), the desired network outputs can be rewritten as where . Since the Gram-Schmidt orthogonalization ensures the orthogonality between and in (9), we have Therefore, the error reduction ratio (ERR) due to the inclusion of the kth center can be defined as
The ERR in (11) provides an effective criterion for selecting the RBF centers in a forward regression manner. At every step of the forward regression, an adequate RBF center is selected so that the value of ERR is the maximum. The regression is terminated at the th step when where is a tolerance value selected by the operators.
4. GA-Based RBF Neural Network Training Procedure
GA is a search method utilizing the mechanism of natural selection and genetics. The application of genetic algorithm to optimization has become a useful tool in many fields. The GA algorithm for training the RBF neural network by tuning the position of RBF centers, the width of RBFs, and the connection weights is described as follows [20, 21].
Step 1 (initialize the parameters of RBF neural network). Randomly produce a population of chromosomes which consist of the three parameters: the output weights, the centers of RBF hidden units, and widths of RBF hidden units. GA is started with 20 randomly generated chromosomes.
Step 2 (evaluation of fitness value). The criterion of mean squared error function defined below is adopted to stand for the fitness value of the RBF network where is the computed output of the RBF network by using (4), is the corresponding desired output, and is the number of network output nodes.
Step 3 (selection operation). An individual is probabilistically chosen based on the fitness value, and the selected individual is copied into the next generation without any change.
Step 4 (crossover operation). Crossover will introduce a new population of individuals, and mutation is used to randomly alter the allele of a gene. The probability of crossover in this paper is 0.6.
Step 5 (mutation operation). A number of individuals were selected randomly from the population according to a certain probability. The probability of mutation in this paper is 0.02, and the mutation operation is then performed.
Step 6 (stopping rule). Repeat Steps 2 to 5 until the best fitness value can satisfy the minimum requirement or the given count of total generations is reached. The solution with the lowest fitness value is chosen as the best parameter in the RBF network that shall further be applied to wind power forecasting.
5. RBF Neural Network-Based Wind Power Forecasting Method
The proposed RBF neural network-based wind power forecasting method has been successfully implemented for thepower generation of WECS-forecasting. The architecture of the RBF neural network-based wind power forecasting method is shown in Figure 2. The RBF neural network model was developed for 10-minute ahead wind power forecasting. The architecture of RBF neural network used in this study contains an input layer, an output layer, and a hidden layer. Input layer has 4 neurons forthe wind power output of 30 minutes ago, 20 minutes ago, 10 minutes ago, and the current wind power output; hidden layer has 24 neurons (the number of neurons is selected by OLS algorithm); and output layer has one neuron for the 10-minute ahead wind power forecasting.
The overall flowchart of proposed RBF neural network-based wind power forecasting method is shown in Figure 3. The proposed forecasting method is described briefly in the following steps.
Step 1. Creating data base of the wind power generation of WECS.
Step 2. Normalize all of the wind power generation data.
Step 3. Prepare the training set for RBF neural network.
Step 4. Use the OLS algorithm to select the optimal number of neurons in hidden layer of RBF neural network.
Step 5. Use the GA to train the RBF neural network for wind power forecasting.
Step 6. Save the Gaussian functions centers, widths and connection weights between the hidden and output layers of trained RBF neural network, as the GA-based training procedure is finished.
Step 7. Use trained RBF neural network to forecast the power generation of WECS.
6. Numerical Results
To verify the proposed forecasting method, the method has been applied for wind power forecasting in Taiwan. The proposed wind power forecast method is compared with the persistence method and back propagation neural network method. Wind power forecasting is computed using the historical wind power and wind speed data every 10 min. of a 2400 kW WECS installed in Taichung coast of Taiwan. The wind power time series data of this WECS are recorded from January 1, 2008 to December 31, 2008 for one complete year. For the sake of clear comparison, no exogenous variables are considered. Due to the seasonal atmosphere weather characteristic, the wind power and wind speed data were divided into 4 categories: spring, summer, autumn, and winter. The four season day test data results are shown below.
In winter day testing, the following days are selected: December 1–5, 2008, corresponding to the typical winter day. The historical data set with 864 patterns are divided into training data set for RBF neural network and back propagation neural network composed of 720 patterns collected from December 1–4, and testing data set composed of 144 patterns collected from December 5. The number of neurons in hidden layer of back propagation neural network is 24. Numerical results with the RBF neural network-based method are shown in Figure 4. Numerical results with the persistence method are shown in Figure 5. Numerical results with the back propagation neural network method are shown in Figure 6. The forecasting error curve of three methods for winter day is shown in Figure 7.
In summer day testing, the following days are selected: July 20–24, 2008, corresponding to the typical winter day. The historical data set with 864 patterns are divided into training data set for RBF neural network and back propagation neural network composed of 720 patterns collected from July 20–23, and testing data set composed of 144 patterns collected from July 24. Testing results with the RBF neural network based method are shown in Figure 8. Testing results with the persistence method are shown in Figure 9. Test results with the back propagation neural network method are shown in Figure 10. The forecasting error curve of three methods for summer day is shown in Figure 11.
From the spring day data, the following days are selected: March 1–5, 2008, corresponding to a typical spring day. The training data set is collected from March 1–4, and the test data set is collected from March 5. From the autumn day data, the following days are selected: October 20–24, 2008, corresponding to a typical autumn day. The training data set is collected from October 20–23, and the test data set is collected from October 24.
Table 1 presents the values for the criterions to evaluate the accuracy of the three methods in wind power forecasting. The performance of proposed method is evaluated based on two indexes, namely, maximum absolute percentage error and mean absolute percentage error. Comparing the three methods, a general conclusion that may be drawn from the obtained results is that three forecasting methods can forecast the wind power accurately. In what relates to the comparison between three methods, we may generally conclude that RBF neural network-based method achieve better forecasts in both mean absolute percentage error and maximum absolute percentage error.
A RBF neural network-based method was proposed in this paper for 10-minute ahead wind power forecasting. The proposed method is based on the combination of RBF neural network, OLS algorithm, and GA. The application of the proposed method to short-term wind power forecasting is both novel and effective. The proposed wind power forecast method is compared with the persistence method and back propagation neural network method. Evaluation of the forecast methods is carried out for practical wind power generation information of WECS. The obtained result shows effectiveness of the proposed method and this method is capable to enhance accuracy of the wind power forecasting.
X. Zhao, S. X. Wang, and T. Li, “Review of evaluation criteria and main methods of wind power forecasting,” Energy Procedia, vol. 12, pp. 761–769, 2011.View at: Google Scholar
X. C. Wang, P. Guo, and X. B. Huang, “A review of wind power forecasting models,” Energy Procedia, vol. 12, pp. 770–778, 2011.View at: Google Scholar
D. M. Zhao, Y. C. Zhu, and X. Zhang, “Research on wind power forecasting in wind farms,” in Proceedings of the 2011 IEEE Power Engineering and Automation Conference, pp. 178–178, Wuhan, China, September 2011.View at: Google Scholar
W. Y. Chang, “Wind energy conversion system power forecasting using radial basis function neural network,” in Proceedings of the 2nd International Conference on Engineering and Technology Innovation, Paper No. S1003, KaoHsiung, Taiwan, November 2012.View at: Google Scholar
Y. M. Zhang, Y. B. Zhang, and L. Z. Lin, “Application of genetic algorithm and RBF neural network in network flow prediction,” in Proceedings of the 3rd IEEE International Conference on Computer Science and Information Technology (ICCSIT '10), pp. 298–301, Chengdu, China, July 2010.View at: Publisher Site | Google Scholar
W. D. Qian, “Road pavement performance evaluation model based on hybrid ybrid genetic algorithm neural network,” in Proceedings of the 2nd International Conference on Computational Intelligence and Natural Computing (CINC '10), pp. 209–212, Wuhan, China, September 2010.View at: Publisher Site | Google Scholar
Y. J. Li, X. Q. Sun, and L. M. Zhang, “Logistics forecasting technology by RBF neural network trained by genetic algorithm,” in Proceedings of the 2nd International Conference on Computer Engineering and Technology, vol. 7, pp. V7-513–V7-516, Chengdu, China, July 2010.View at: Google Scholar