Академический Документы
Профессиональный Документы
Культура Документы
Renewable Energy
journal homepage: www.elsevier.com/locate/renene
a r t i c l e i n f o a b s t r a c t
Article history: In this paper the short term wind speed forecasting in the region of La Venta, Oaxaca, Mexico, applying
Received 21 March 2007 the technique of artificial neural network (ANN) to the hourly time series representative of the site is
Accepted 15 March 2008 presented. The data were collected by the Comisión Federal de Electricidad (CFE) during 7 years through
Available online 14 July 2008
a network of measurement stations located in the place of interest. Diverse configurations of ANN were
generated and compared through error measures, guaranteeing the performance and accuracy of the
Keywords: chosen models. First a model with three layers and seven neurons was chosen, according to the rec-
Wind speed forecasting
ommendations of diverse authors, nevertheless, the results were not sufficiently satisfactory so other
Neural networks
three models were developed, consisting of three layers and six neurons, two layers and four neurons
and two layers and three neurons. The simplest model of two layers, with two input neurons and one
output neuron, was the best for the short term wind speed forecasting, with mean squared error and
mean absolute error values of 0.0016 and 0.0399, respectively. The developed model for short term wind
speed forecasting showed a very good accuracy to be used by the Electric Utility Control Centre in Oaxaca
for the energy supply.
Ó 2008 Elsevier Ltd. All rights reserved.
0960-1481/$ – see front matter Ó 2008 Elsevier Ltd. All rights reserved.
doi:10.1016/j.renene.2008.03.014
E. Cadenas, W. Rivera / Renewable Energy 34 (2009) 274–278 275
25 70
TS PS 60
20
Wind Speed (m/s)
50
Frequency
15
40
10 30
20
5
10
0
0
100 200 300 400 500 600 700
0 10 20
Time (h)
Wind Speed (m/s)
Fig. 1. January mean hourly values in La Venta, Oaxaca.
Fig. 2. Histogram of velocities of January 1999 in La Venta, Oaxaca.
2. Time series
their great flexibility, in some cases they have caused inconsistent
results and unrealistic expectations [15,16].
Fig. 1 shows the time series used in the models which consists of
744 data in total, corresponding to 24 hourly mean data for each of
5. Statistics measures to determine the accuracy
the 31 days of the last January. The training set (TS) with 550 data
of the forecast
was used for the models’ training and the prediction set (PS) con-
sisting of 194 data was used to verify their accuracy during the
In order to determine quantitatively the best model, two fore-
prediction stage. As can be observed in the figure, there is a no-
cast error measures were employed for model evaluation and
ticeable data randomness and it is difficult to find a series tendency
model comparison, being these: the mean squared error (MSE) and
or seasonality.
the mean absolute error (MAE).
Table 1 shows the statistical data measures including the mean,
If yt is the actual observation for a time period t and Ft is the
the standard deviation and the minimum and maximum velocities.
forecast for the same period, then the error is defined as
Fig. 2 shows the histogram of the frequency against the wind
velocity in La Venta, Oaxaca. As can be seen, the average wind ve- et ¼ yt Ft (1)
locity is considerably high in the zone and the data show a bimodal
behaviour which has been reported by other authors [13]. The standard statistical error measures can be defined as
n
1X
3. Artificial neural networks MSE ¼ e2 (2)
nt¼1 t
Nowadays, artificial neural networks are being used more fre-
and the mean absolute error as
quently in different fields due to their capacity and robustness for
the solution of different problems. In the present study different n
1X
configurations of networks have been proposed to find the best MAE ¼ jet j (3)
nt¼1
adjustment of the data.
The backpropagation network was invented by Rumelhart in where n is the number of periods of time.
1986 and uses the generalized delta rule as learning rule. The
ADALINE/MADALINE networks were proposed by Widrow–Hoff in 6. Proposed models
1969 and use the average square error rule.
6.1. Number of layers
4. Time series model with artificial neural networks
For the generation of the ANN models, it is convenient to know
The training of the ANN using time series implies necessarily to the following parameters: (i) the number of input vectors, (ii) the
know the relation that exists between the series and their lags.
There are statistics tools that orient on the matter, that is the case of
the autocorrelation function (ACF) and the partial autocorrelation
function (PACF), which help to determine the input variables of the yt-1 N1 w1 N4
neural network [14]. w10
w2
The ANNs trained with time series have the ability to model
arbitrarily linear and nonlinear functions, unfortunately because of w3 N7 yt
yt-2 N2 N5 w11
Table 1 w6 w12
Statistical measures corresponding to the month of January 1999 in La Venta
yt-3 N3 w9 N6
Data number Mean (m/s) St. dev. (m/s) Min. vel. (m/s) Max. vel. (m/s)
744 12.33 6.91 0.21 24.97
Fig. 3. Configuration of the ANN with three layers and seven neurons.
276 E. Cadenas, W. Rivera / Renewable Energy 34 (2009) 274–278
0.05 Real
Model
rate 0.0700
20
0.04 rate 0.7000
rate 0.2500
0.02 10
0.01
0.00 0
6.2. Iterative method (1) Model 1: Three layers, three input neurons (previous values of
hourly wind speed), three hidden ones, and one output neuron
The intuitive technique, denominated iterative method, has (current value of wind speed).
been used by several researchers to generate forecasting [19–21]. (2) Model 2: Three layers, three input neurons (previous values of
An example of this is to assume a model of prediction with two lags, hourly wind speed), two hidden ones, and one output neuron
represented in the following expression: (current value of wind speed).
(3) Model 3: Two layers, three input neurons (previous values of
ytþ1 ¼ f ðxt ; xt1 Þ (4) hourly wind speed), and one output neuron (current value of
In order to consider two periods in advance, the model would be wind speed).
(4) Model 4: Two layers, two input neurons (previous values of
hourly wind speed), and one output neuron (current value of
Table 2
wind speed).
Statistical errors at different rates of learning for the model with three layers and
seven neurons
It is pretended that in the course of the training, validation and
Learning rates Minimum error MAE MSE
prediction processes, other models can be identified and used.
0.000001 0.0583 0.2969 0.1167
0.000010 0.0567 0.2927 0.1134
0.000100 0.0438 0.2563 0.0877
Real
0.001000 0.0120 0.1158 0.0239
ANN, 2L, 3N
0.010000 0.0033 0.0550 0.0067 ANN, 2L, 4N
0.050000 0.0024 0.0474 0.0048 ANN, 3L, 7N
0.070000 0.0023 0.0461 0.0045 20 ANN, 3L, 6N
0.100000 0.0021 0.0447 0.0043
Wind Speed (m/s)
Table 3 20
Mean squared error and mean absolute errors for the four models
10
7. Results
[15] Tang Z, Fishwick P. Feedforward neural nets as models for time series fore- [19] Hwarng H. Insights into neural-network forecasting of time series corre-
casting. ORSA Journal on Computing 1993;5(4):374–85. sponding to ARMA (p,q) structures, Omega. The International Journal of
[16] Hill T, Leoroy M, O’Connor M, Remus W. Artificial neural network models for Management Science 2001;29:273–89.
forecasting and decision making. International Journal of Forecasting 1994;10: [20] Balkin SD. The value of nonlinear models in the M3-competition. International
5–15. Journal of Forecasting 2001;17:545–6.
[17] Hornik K, Stinchcombe M, White H. Multilayer feed forward networks are [21] Nelson M, Hill T, Remus W, O’Conor M. Time series forecasting using neural networks:
universal approximations. Neural Networks 1989;2:359–66. should the data be deseasonalized first? Journal of Forecasting 1999;18:359–67.
[18] Masters T. Practical neural network recipes in Cþþ. London: Academic Press [22] DeLurgio S. Forecasting principles and applications. New York: Irwing
Inc.; 1993. McGraw-Hill; 1998.