Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Kasetsart J. (Nat. Sci.

) 40 : 247 - 259 (2006)

Application of Artificial Neural Networks for


Reservoir Inflow Forecasting

Varawoot Vudhivanich*, Santi Thongpumnak,


Nimit Cherdchanpipat, Areeya Rittima and Nattaphun Kasempun

ABSTRACT

This study showed the application of the Artificial Neural Networks in forecasting the reservoir
inflow. Two cases were studied, (1) single reservoir inflow forecasting and (2) multi-reservoir inflow
forecasting. The problems were formulated as daily, weekly and monthly inflow forecast. There were 4
types of model namely A, B, C and D according to the levels of data used as the input variables to the
ANNs. Model A used all available data of that reservoir. Model B used the data having relatively high
correlation with the reservoir inflow such as the first 3 lags of reservoir inflow, stream flow, rainfall and
some meteorological data. Model C used only the first 3 lags of the reservoir inflow and stream flow
data. Model D used the first 3 lags of reservoir inflow, stream flow and rainfall data. The 4 reservoirs
namely Mun Bon, Lam Chae, Lam Phra Phloeng and Lam Takong reservoirs in Upper Mun basin,
Nakhon Ratchasima province, were selected as the case study. Feed forwards back propagation algorithm
was selected for the study. One to 3 hidden layers with different ANNs parameters were experimented.
Two to 3 hidden layers were suitable for single reservoir problem while 1 to 2 hidden layers were
suitable for multi-reservoir problem. Sigmoid transfer function was used in all the models. The initial
weight, learning rate and momentum were in the ranges of 0.80-0.90. However they were not sensitive
to prediction performance. For single reservoir forecasting, models A and B showed better performance
(R2) than models C and D. The monthly model showed the better result than the weekly and daily
models. For multi-reservoir forecasting, the performance of the 4 models was not different. Model C
was recommended since it required less data. The training and testing performance of daily, weekly and
monthly models were not much different in case of multi-reservoir.
Key words: artificial neural networks, forecasting, reservoir inflow, Upper Mun basin

INTRODUCTION reservoirs. With accurate and reliable forecast of


inflow, flood and drought damages and inefficient
Reservoir inflow forecasting is an utilization of water resources can be reduced.
important task in reservoir operations. An effective However, an accurate and reliable inflow forecast
reservoir inflow forecasting enables the reservoir is usually difficult to obtain, particularly for a long
operators to get the accurate information for lead time.
decision making in planning and operating the The artificial neural networks (ANNs)

Department of Irrigation Engineering, Faculty of Engineering at Kamphaengsaen, Kasetsart University, Kamphaengsaen Campus,
Nakhon Pathom 73140, Thailand.
* Corresponding auther, e-mail: fengvwv@ku.ac.th
Received date : 10/05/05 Accepted date : 08/12/05
248 Kasetsart J. (Nat. Sci.) 40(1)

are now becoming more and more popular in Lam Phachi river basin (Phathravuthichai
hydrological forecasting. ANNs is apart of and Vudhivanich, 2003). Most of the mentioned
artificial intelligence (AI) which has been widely researches used feed forwards back propagation
applied in many fields. It is also called a machine algorithm with sigmoid transfer function in
learning algorithm or natural intelligent system. forecasting where the result is satisfactorily.
ANNs is a computational system that resembles In this paper, the ANNs model was
the performance characteristics of the biological developed for the reservoir inflow forecasting to
neural networks of the human brain (Vudhivanich, benefit the reservoir operations. Four reservoirs
2001). It is in the class of black box model which namely Mun Bon, Lam Chae, Lam Phra Phloeng
inputs, outputs and functional performance are and Lam Takong reservoirs in Nakhon Ratchasima
known, whereas the internal process is unknown province were selected as the case study.
or irrelevant. ANNs are information processing
system that are composed of a number of neurons MATERIALS AND METHODS
and interconnections between these neurons. The
neurons are arranged in group called layer. Required data
Commonly, the basic ANNs architectures consist (1) The daily, weekly and monthly
of three layers namely input layer, hidden layer inflow of Mun Bon reservoir during 1995-2000,
and output layer. The most different characteristics Lam Chae reservoir during 1999-2002, Lam Phra
of ANNs are their capability to recognize the Phloeng reservoir during 1992-2000 and Lam
patterns from the example outputs by the automatic Takong reservoir during 1987-2000.
weight adjustments. The selection of the best fit (2) The streamflow data of station
model is accomplished by a trial and error process M.49B near Mun Bon reservoir during 1995-2000,
(Tokar, 1996). M.81 near Lam Chae reservoir during 1999-2002,
Since 1990s, the successful applications M.145 near Lam Phra Phloeng reservoir during
for hydrological forecasting by means of ANNs 1992-2000 and M.89 near Lam Takong reservoir
techniques have been extensively carried out in during 1992-2000.
water resource engineering. Tokar and Markus (3) The daily, weekly and monthly
(2000) presented ANNs approach with back- rainfall data as follows;
propagation algorithm for rainfall-runoff - Mun Bon reservoir: station 25293
modeling. In Thailand, the hourly water levels and (Chok Chai), 25112 (Khon Buri), 25152 (Ban San
discharges in Chao Pharaya River were forecasted Chao Pho School) during 1995-2000.
for flood control study in tidal area by ANNs with - Lam Chae reservoir: station 25093
back propagation algorithm (Tingsanchali and (Chok Chai), 25112 (Khon Buri) and 25152 (Ban
Manusthiparom, 2001). The ANNs with neuro- San Chao Pho School) during 1999-2002.
genetic algorithm was developed to forecast water - Lam Phra Phloeng reservoir: station
level for flood warning system in Hat Yai district 25511 (Lam Phra Phloeng), 25102 (Pak Thong
(Supharatid, 2002). The artificial neural networks Chai), 25093 (Chokchai) and 25152 (Ban San
model was also developed to forecast the daily, Chao Pho School) during 1987-2000, station
weekly and monthly inflow of Lam Takong 25751 (Ban Wang Ta-Khian Thong) and 25781
reservoir (Vudhivanich and Rittima, 2003) and the (Ban Tha Nam Sab) during 1992-2000.
four reservoirs in the Upper Mun basin - Lam Takong reservoir: station 25541
(Vudhivanich et al., 2004). Additionally, (Lam Takong), 25062 (Sung Noen), 25013
ANNs was also applied for runoff forecasting in (Muang), 25612 (Agriculture Office), 25644
Kasetsart J. (Nat. Sci.) 40(1) 249

(Lam Takong watershed research station), 25650 Description of the study area
(Chok Chai 4 farms) and 25272 (Pak Chong Upper Mun basin is situated in the
agrometeorological station) during 1992-2000. northeast of Thailand covering the total area of
(4) The daily, weekly and monthly 37,970 km2 in three provinces namely Nakhon
meteorological data of Nakhon Ratchasima station Ratchasima, Buri Ram and Surin provinces as
including the temperature, pressure and relative shown in Figure 1. Upper Mun basin is a subbasin
humidity during 1992-2002. of Mun River basin. It covers about 54.5% of the
Mun River basin area. This basin is composed of
Methods four main reservoirs; Mun Bon(MB), Lam
(1) Preliminary checking the Chae(LC), Lam Phra Phloeng(LP) and Lam
abnormality and inconsistency of the data via time Takong(LK) reservoirs. All of them are located in
series plots and filling in the missing data by the Nakhon Ratchasima province.
distance weighted method. These reservoirs have been operated by
(2) Determing the autocorrelation and Royal Irrigation Department (RID) mainly for
cross correlation matrices of the data in order to irrigation and municipality purposes. Most of the
identify the tentative ANNs input structures for water in the four reservoirs have been used for
daily, weekly and monthly inflow forecast for both irrigation. The four reservoirs have the combined
a single reservoir and multi-reservoir inflow storage capacity of 836 mcm which can supply
forecasting. water to 353,650 rai of irrigable area in Mun Bon,
(3) Training and testing the ANNs Lam Chae, Lam Phra Phloeng and Lam Takong
model by adjusting the number of hidden layers, irrigation projects. The basic data of the four
number of neurons in hidden layer, ANNs reservoirs are shown in Table 1.
parameters such that the performance efficiency In addition, Mun Bon reservoir has
in term of R2 would be acceptable. Selecting 80% allocated 0.0025 mcm per month of water for
of the records for training and using the remainder, Charakae Hin sub-district municipality, Khon Buri
20% of the records, for testing. district and 0.40 mcm per month for the

Figure 1 Location map of Upper Mun basin.


250 Kasetsart J. (Nat. Sci.) 40(1)

downstream control. Lam Chae reservoir has the other 20% were used as the testing data set.
allocated 5.13 mcm per month for the downstream The description of data selected for training and
control. Likewise, the amount of 1.93 and 2.04 testing is shown in Table 2.
mcm per month are diverted from Lam Phra
Phloeng and Lam Takong reservoirs, respectively, Reservoir inflow forecasting model formulation
for municipal water supply of Nakhon Ratchasima In this study, four types of ANNs inflow
province. However, the municipal water forecasting models namely model A, B, C and D
requirements are only small percentages of the were developed for both single reservoir and multi-
irrigation water requirements. reservoir inflow forecasting. Each type of the
model was divided into daily, weekly and monthly
RESULTS AND DISCUSSION model. Single reservoir model was designed to
forecast the inflow at one step ahead (lead time
Preliminary analysis of data equal to 1) or inflow (t+1) of each reservoir. Multi-
The cross correlation analysis between reservoir model could forecast the inflow at one
the reservoir inflow and the other input variables step ahead of the four reservoirs simultaneously.
including stream flow, rainfall and meteorological The autocorrelation and cross correlation of the
data showed that in general there was some data were used to identify the model inputs in
correlation between the inflow of each reservoir preliminary formulation of the forecasting model.
and the mean humidity at stations 43201 and The four single reservoir models were
431401. The inflow of Lam Phra Phloeng and Lam developed to use different levels of inputs. Model
Takong reservoirs was highly related to the stream A used all available data of that reservoir. Model
flow at station M.89 and M.145 with the B used the data having relatively high correlation
correlation coefficient of 0.79 and 0.70 with the reservoir inflow such as the first three
respectively but the correlation with rainfall was lags of reservoir inflow, stream flow, rainfall and
not good, correlation coefficients of 0.11-0.24. some meteorological data. Model C used only the
However, the inflow of Mun Bon and Lam Chae first three lags of the reservoir inflow and stream
reservoir were fairly related to the rainfall at station flow data. Model D used the first three lags of
25112 and 25152 with the correlation coefficient reservoir inflow, stream flow and rainfall data.
of 0.23 and 0.32, respectively. Phien et al.(2000) forecasted the daily river flow
The autocorrelation or serial correlation of one day lead time (Qt+1) of several stations
analysis showed that, for Mun Bon and Lam Chae including Srinakarind and Khao Laem reservoirs
reservoirs, the autocorrelation coefficients of daily in Mae Klong river basin, Thailand, and the
inflows were highly significant upto the first 30 Chukha reservoir in Bhutan using the lag zero and
days lag. The autocorrelation coefficients were in lag one of flow (Qt, Qt-1) and those of rainfall (Rt,
the range of 0.17-0.82 and 0.42-0.85 for Mun Bon Rt-1) as the input variables. Anmala et al.(2000)
and Lam Chae reservoirs, respectively. The first 7 used the artificial neural networks for forecasting
days lag autocorrelation coefficients were the watershed runoff in Kansas, USA. Monthly
between 0.24-0.73 for Lam Phra Phloeng inflow, precipitation and temperature formed then inputs,
0.35-0.78 for Lam Takong inflow, 0.33-0.75 for and the monthly average runoff was chosen as the
the M.145 streamflow and 0.38-0.79 for the M.89 outputs. However this study proposed some more
streamflow. input variables, the first three lags of reservoir
Eighty percent of entire records were inflow and other high correlated variables.
selected as the training data set for ANNs and Similarly, there were four types of the multi-
Kasetsart J. (Nat. Sci.) 40(1) 251

Table 1 The basic data of the four reservoirs in Upper Mun basin.
Basic data MB LC LP LK
1. Catchment area (km2) 454 601 807 1,430
2. Annual rainfall (mcm) 1,047 1,039 1,112 920
3. Annual inflow (mcm) 98 218 158 223
4. Storage capacity(mcm) 141 275 110 310
5. Irrigable area (rai) 44,600 113,750 67,760 127,540
6. Municipality & downstream control (mcm/month) 0.4025 5.13 1.93 2.04

Table 2 The training and testing data set.


Reservoir Available data Training data set Testing data set
1. Mun Bon Apr 1995-Jan 2000 Apr 1995-Dec 1998 Jan 1999-Jan 2000
2. Lam Chae Jan 1999-Mar 2002 Jan 1999-Feb 2001 Mar 2001-Mar 2002
3. Lam Phra Phloeng Jul 1992-Mar 2000 Jul 1992-Dec 1998 Jan 1999-Mar 2000
4. Lam Takong Jul 1992-Mar 2000 Jul 1992-Dec 1998 Jan 1999-Mar 2000

reservoir forecasting models A, B, C and D which accomplished by trial and error processes. The
used the same levels of input data to the single optimal ANNs design was considered from the best
reservoir model. The multi-reservoir model performance training and testing by using R2.
utilized more information on cross correlation • Single reservoir forecasting model
coefficients among the reservoir inflow which was The ANNs structures and the training
one of the advantages. However, the multi- parameters of the best fit single reservoir
reservoir model required more computational time forecasting models are presented in Table 4. The
than the single reservoir model for training. The time series plot of the actual inflow and the
detail input variables of ANNs reservoir predicted or forecasted inflow were compared for
forecasting models A, B, C and D are shown in the daily, weekly and monthly models in Figures
Table 3. 2 to 4, respectively. The best fit models were
models A and B. The number of hidden layers
Training and testing of ANNs forecasting model varied between one to three layers but mostly 2 to
The multi-layer feed forward neural 3 layers. The number of neurons in hidden layers
networks with back propagation algorithm was varied considerably from one model to the others.
selected for this study. Sigmoid transfer function The models were trained by 80% of the data. The
was used in all the models. The initial weight (IW), training result showed that all the ANNs models
momentum (M) and learning rate (LR) were could produce an acceptable result in reservoir
initially set between 0.80-0.90. The number of inflow forecasting especially the monthly model.
epochs for training varied between 10,000 to The monthly model of all the reservoirs showed
100,000 depending on the performance efficiency the better performance than the weekly and daily
(R2) of the training. There were no fixed rules for models. The R2 of monthly, weekly and daily
designing the structures of ANNs, number of models were 0.95, 0.88 and 0.83, respectively, for
hidden layers and number of neurons in hidden Mun Bon; 0.90, 0.73 and 0.74 for Lam Chae; 0.93,
layers. Many times the best fit model was 0.89 and 0.90 for Lam Phra Phloeng and 0.97, 0.96,
252 Kasetsart J. (Nat. Sci.) 40(1)

Table 3 Detail input variables of different reservoir inflow forecasting models.


Reservoir Single reservoir Multi-
forecasting model MB LC LP LK reservoir
A B C D A B C D A B C D A B C D A B C D
Target output

InflowMB(t+1)
InflowMB(t+1)

InflowLK(t+1)

InflowLK(t+1)
InflowLC(t+1)

InflowLC(t+1)
InflowLP(t+1)

InflowLP(t+1)
Input variables
InflowMB(t) • • • • • • • •
InflowMB(t-1,t-2,t-3) • •
InflowLC(t) • • • • • • • •
InflowLC(t-1,t-2,t-3) • •
InflowLP(t) • • • • • • • •
InflowLP(t-1,t-2,t-3) • •
InflowLK(t) • • • • • • • •
InflowLK(t-1,t-2,t-3) •
Flow89(t) • • • • • • •
Flow89(t-1,t-2,t-3) •
Flow145(t) • • • • • • •
Ra25093(t) • • • • • • • •
Ra25102(t)
Ra25112(t) • • • • • • • •
Ra25152(t) • • • • • • • • • • •
Ra25272(t) • • • • •
Ra25511(t) • • •
Ra25521(t) • • •
Ra25612(t) • • • • •
Ra25644(t) •
Ra25650(t) • • • •
Ra25751(t) • • • • •
Ra25781(t) • • • • •
Ra25272(t-1,t-2,t-3) •
Ra25511(t-1,t-2,t-3) •
AvgRH431201(t) • • • • • • • • •
AvgRH431301(t)
AvgRH431401(t) • • • • • • •
MinRH431301(t) • • •
MaxRH431301(t) • • •
MinTemp431201(t) • • • • • • •
MinTemp431301(t) • • •
MinTemp431401(t) • • • • • • •
MaxTemp431201(t) • • • • • • •
MaxTemp431301(t) • • •
MaxTemp431401(t) • • • • • • •
AvgTemp431201(t) • • • •
AvgTemp431401(t) • • • •
AvgPres431201(t) • • • • •
AvgPres431301(t)
AvgPres431401(t) • • • •
Kasetsart J. (Nat. Sci.) 40(1) 253

Table 4 Training and testing result of ANNs models for single reservoir forecasting.
Reservoirs Structures of ANNs R2
Models Structures IW M LR Training Testing
(1) MB
Daily MB_D 10-13-13-1 0.9 0.9 0.9 0.83 0.44
Weekly MB_B 11-6-6-6-1 0.9 0.9 0.9 0.88 0.45
Monthly MB_B 11-4-4-4-1 0.9 0.9 0.9 0.95 0.50
(2) LC
Daily LC_B 10-8-8-8-1 0.9 0.9 0.9 0.74 0.70
Weekly LC_B 10-8-8-1 0.9 0.9 0.9 0.73 0.74
Monthly LC_B 10-3-3-3-1 0.9 0.9 0.9 0.90 0.79
(3) LP
Daily LP_A 15-17-17-17-1 0.8 0.8 0.8 0.90 0.72
Weekly LP_A 15-10-10-10-1 0.8 0.8 0.8 0.89 0.74
Monthly LP_A 15-5-5-5-1 0.8 0.8 0.8 0.93 0.82
(4) LK
Daily LK_A 10-63-1 0.9 0.9 0.9 0.86 0.55
Weekly LK_A 10-14-14-1 0.9 0.9 0.9 0.96 0.59
Monthly LK_B 8-5-5-5-1 0.9 0.9 0.9 0.97 0.80

12 3 10 4
Daily Model Training Testing Testing Daily Model Training
Predicted

Predicted

Actual 2 R2 = 0.44 3 Actual


8
9 Predicted 2 Predicted
Inflow (mcm.)
Inflow (mcm.)

2
1 1
R = 0.83 6 R2 = 0.70 R2 = 0.74
0 0
6 D:10-13-13-13-1 B:10-8-8-8-1
0 1 2 3 4 0 1 2 3 4
Actual Actual
3
2

0 0
Aug- 99

Aug- 00
Jul-95

Jul-96

Jul-97

Jul-98

Feb-00

Feb-01
Jun- 99

Jun- 00
Mar-96

Mar-97

Mar-98

Mar-9 9

Dec-99

Apr-0 0

Dec-00
Nov- 95

Nov- 96

Nov- 97

Nov- 98

Jan-99

May-99

Oct-99

Oct-00
Apr-95

(a) ANNs training and testing [MB_D] (b) ANNs training and testing [LC_B]

30 40
Daily Model Training 12 Daily Model Training 20
Testing Testing
Predicted

25 9 15
Predicted

Actual Actual
Predicted 6 30 10
Inflow (mcm.)

Inflow (mcm.)

20 Predcted
i
R2 = 0.90 3 5
R2 = 0.72 R2 = 0.86 R2 = 0.55
15 0 20 0
A:15-17-17-1 A:10- 63- 1
0 3 6 9 12 0 5 10 15 20
10 Actual Actual
10
5
0 0
Jul-92

Jul-87
Feb-93
Jun- 93

Feb-94
Jun- 94

Feb-95
Jun- 95

Feb-96
Jun- 96

Feb-97
Jun- 97

Sep-98

Feb-88

Jun- 89
Feb-90

Jun- 91
Feb-92

Sep-94

Sep-96

Sep-98
Jan-98
May-98

May-93
Jan-94

May-95
Jan-96

May-97
Jan-98
Oct-92

Oct-93

Oct-94

Oct-95

Oct-96

Oct-97

Oct-88

Oct-90

Oct-92

(c) ANNs training and testing [LP_A] (d) ANNs training and testing [LK_A]

Figure 2 Comparison of the actual and predicted inflow of selected ANNs daily models.
254 Kasetsart J. (Nat. Sci.) 40(1)

40 50
Weekly Model Training 10 Testing Weekly Model Training 15 Testing
8

Predicted
Actual Actual 10

Predicted
6 40
30 Predicted 4 Predicted

Inflow (mcm.)
5
Inflow (mcm.)

R2 = 0.88 2 R2 = 0.45 30 R2 = 0.73 R2 = 0.74


0 0
20 B:11-6-6-6-1 B:10-8-8-1
0 2 4 6 8 10 20 0 5 10 15
Actual Actual
10 10

0 0

Aug- 98

Aug- 99
Jul-95

Feb-97

Sep-97

Feb-00

Jul-00
Sep-00

Feb-01
Jun- 96
Apr-9 5

Mar-9 6

Apr-9 8

Dec-98

Mar-9 9

Dec-99

Dec-00
Nov- 95

May-97

Jan-98

Jan-99

May-99

May-00
Oct-96

Oct-99
(a) ANNs training and testing [MB_B] (b) ANNs training and testing [LC_B]

80 120
50 Weekly Model 50 Weekly Model
Predicted

40 R2 = 0.74 Testing 2
40 R = 0.59 Testing

Predicted
30 Training 100 Training
30
Inflow (mcm.)

60

Inflow (mcm.)
20 Actual 80 20 Actual
10 Predicted 10 Predicted
40 0 0
R2 = 0.89 60 R2 = 0.96
0 10 20 30 40 50 0 10 20 30 40 50
Actual A:15-10-10-10-1 40 A:10- 14- 14- 1
Actual
20
20
0 0
Aug- 93

Aug- 98
Jul-92

Jul-95
Jun- 94

Sep-96
Feb-97
Jun- 97

Aug- 93
Apr-9 3

Jan-94

Mar-95

Dec-95
May-96

Apr-9 8

Jul-87

Jul-90

Feb-92

Sep-96
Nov- 92

Nov- 97

Jun- 97
Oct-94

Apr-8 8

Mar-9 5
Dec-95

Mar-9 8
Jan-89

May-91

Nov- 92

May-94
Oct-89
(c) ANNs training and testing [LP_A] (d) ANNs training and testing [LK_A]

Figure 3 Comparison of the actual and predicted inflow of selected ANNs weekly models.

80 140
Monthly Model Training 60 80 Monthly Model Training
Testing Te sting
Predicted

Predicted

Actual 40 120 60 Actual


60
Inflow (mcm.)

predicted 100 40 Predicted


Inflow (mcm.)

20
R2 = 0.95 R2 = 0.50 20 R2 = 0.79 R2 = 0.90
0 80
40 0 B:10- 3-3-3-1
B:11-4-4-4-1
0 20 40 60 60 0 20 40 60 80
Actual Actual
20 40
20
0 0
Jul-95

Jul-96

Jul-97

Jul-98

Jul-99

Jul-00
Apr-9 5

Jan-96
Apr-9 6

Jan-97
Apr-9 7

Jan-98
Apr-9 8

Sep-99

Sep-00
Jan-99
Mar-99
May-99

Jan-00
Mar-00
May-00

Jan-01
Oct-95

Oct-96

Oct-97

Oct-98

Nov- 99

Nov- 00

(a) ANNs training and testing [MB_B] (b) ANNs training and testing [LC_B]

140 300
90 Monthly Model Training Monthly Model Training 120
120 Testing Testing
Predicted

250
Predicted

60 Actual Actual 80
100 Predicted Predicted
Inflow (mcm.)

Inflow (mcm.)

30 200 2 40
80 R2 = 0.82 R2 = 0.93 R = 0.97 R2 = 0.80
0 A:15-5-5-5-1 150 B:8-5-5-5-1 0
60 0 40 80 120
03 0 60 90
Actual 100 Actual
40
20 50
0 0
Aug- 88
Jul-87

Sep-89

Feb-95
Jul-92

Jul-93

Jul-94

Jul-95

Jul-96

Jul-97

Jul-98

Dec-92

Mar-9 6

Apr-9 7
Jan-93

Jan-94

Jan-95

Jan-96

Jan-97

Jan-98

Nov- 91

Jan-94

May-98
Oct-90

(c) ANNs training and testing [LP_A] (d) ANNs training and testing [LK_B]

Figure 4 Comparison of the actual and predicted inflow of selected ANNs monthly models.
Kasetsart J. (Nat. Sci.) 40(1) 255

0.86 for Lam Takong. Lam Takong showed the 1964-1993). Atiya and Shaheen(1999) used the
highest performance in comparison to other backpropagtion algorithm neural networks for
reservoirs. forecasting the river flow of Nile river in Egypt.
In general, the performance of this study The multistep ahead forecasting was employed by
was comparable to the study of Phien et al.(2000), using 10-day and one month time steps. The
where the efficiency index or R2 of daily flow normalized root mean square (NRMS) was used
forecast for both Srinakarind and Khao Laem as the forecast performance indicator instead of
reservoirs and Chukha reservoir were above 0.82 R2. The NRMS was less than 0.60 in most cases.
for calibration and 0.70 for validation of the model. The one step forecast performed better than the
The study of Anmala et al.(2000) showed R2 of multistep.
one month flow forecast of El Dorado watershed The remainder 20% of the data were used
in Kansas, USA, to be 0.74 for the training set for model testing. Although the testing phase
(from 1948-1955), 0.66 for the validation set showed R2 lower than the training phase, most of
(from1956-1963), and 0.61 for the testing set( from the R2 were above 0.50 and more than half of them

InflowLK(t-3)

InflowLP(t-3)

InflowMB(t-3)

InflowLC(t-3)

InflowLK(t-2)

InflowLP(t-2)
InflowLK(t+1)
InflowMB(t-2)
InflowLP(t+1)
InflowLC(t-2)
InflowMB(t+1)
InflowLK(t-1)
InflowLC(t+1)
InflowLP(t-1)

InflowMB(t-1)

InflowLC(t-1)

InflowLK(t)

InflowLP(t)

InflowMB(t)

InflowLC(t)

Figure 5 ANNs model C for multi-reservoir inflow forecasting.


256 Kasetsart J. (Nat. Sci.) 40(1)

were above 0.70. The testing result was quite that two hidden layers for daily and weekly models
satisfactorily. were indifferent from three hidden layers while
However, it appeared from Figures 2 to one hidden layer for monthly model was
4 that there was higher forecasting error during indifferent from two and three hidden layers. The
the peak reservoir inflow than other periods. result showed that sigmoid transfer function was
There were the common characteristics in all acceptable. The structures of selected models for
the daily, weekly and monthly models. If multi-reservoir inflow forecasting are show in
one would like to improve the accuracy of peak Table 5. The R2 from training was in the ranges of
inflow forecast, one should develop the ANNs 0.49 to 0.98 but mostly above 0.80. This indicated
model for the peak inflow period in particular. It good training performance as shown in Figure 6.
was also observed that the training parameters The R2 from testing was acceptable in general. It
including the learning rate, initial weights and was in the ranges of 0.17 to 0.64 except Mun Bon
momentum were not sensitive to the prediction reservoir where the R2 was very low due to high
performance. variation of Mun Bon inflow during test period.
• Multi-reservoir forecasting model The monthly model showed that, in general, the
The multi-reservoir inflow forecasting performance of multi-reservoir ANNs model as
models A, B, C and D were experimented on daily, indicated by R2 was not as good as the single
weekly and monthly data of Mun Bon, Lam Chae, reservoir model because the data available for
Lam Phra Phoeng and Lam Takong reservoirs to training and testing were shorter. The data of the
find the best fitted ANNs models. The ANNs four reservoirs were available in different periods.
structure of model C is shown in Figure 5 as an For example, the inflow were available from
example. The experiment covered one to three 1995-2000, 1999-2002, 1992-2000 and 1987-2000
hidden layers with different neurons in each layer. for Mun Bon, Lam Chae, Lam Phra Phloeng and
The result of training and testing the ANNs showed Lam Takong, respectively. Thus only the data of

Table 5 Training and testing result of ANNs multi-reservoir forecasting model.


Models Parameters Structures R2 training R2 testing
IW M LR of ANNs MB LC LP LK MB LC LP LK
Daily
A 0.8 0.8 0.8 28-22-22-4 0.72 0.81 0.84 0.82 0.02 0.57 0.32 0.29
B 0.8 0.8 0.8 15-18-18-4 0.69 0.80 0.83 0.80 0.06 0.64 0.41 0.28
C 0.8 0.8 0.8 16-18-18-4 0.74 0.83 0.81 0.82 0.05 0.63 0.34 0.24
D 0.8 0.8 0.8 14-18-18-4 0.68 0.80 0.82 0.81 0.05 0.64 0.33 0.27
Weekly
A 0.8 0.8 0.8 28-13-13-4 0.82 0.87 0.68 0.63 0.05 0.59 0.21 0.48
B 0.8 0.8 0.8 15-10-10-4 0.66 0.73 0.49 0.51 0.08 0.57 0.20 0.51
C 0.8 0.8 0.8 16-10-10-4 0.89 0.98 0.89 0.92 0.05 0.39 0.21 0.58
D 0.8 0.8 0.8 14-10-10-4 0.88 0.96 0.92 0.94 0.15 0.54 0.40 0.54
Monthly
A 0.8 0.8 0.8 28-21-4 0.96 0.77 0.89 0.84 0.04 0.51 0.19 0.56
B 0.8 0.8 0.8 15-14-4 0.91 0.85 0.85 0.88 0.04 0.22 0.23 0.17
C 0.8 0.8 0.8 16-14-4 0.50 0.69 0.78 0.89 0.05 0.43 0.24 0.63
D 0.8 0.8 0.8 14-14-4 0.71 0.78 0.84 0.88 0.08 0.36 0.32 0.27
Kasetsart J. (Nat. Sci.) 40(1) 257

5 12
Daily Model Training MB LC
Inflow (mcm.) 4 Actual R2 = 0.74 10 R2 = 0.83
Predicted 8
3 C:16-18-18-4
6
2
4
1 2
0 180
LP LK
12 15 R2 = 0.82
Inflow (mcm.)

R2 = 0.81
10 12
8
9
6
4 6
2 3
0 0
Jul-99

Jul-00

Jul-99

Jul-00
Jan-99

Apr-99

Jan-00

Apr-00

Jan-01
Jan-99

Apr-99

Jan-00

Apr-00

Jan-01
Oct-99

Oct-00

Oct-99

Oct-00
(a) Daily model
16 40
Weekly Model Training MB LC
12 Actual R2 = 0.89 30 R2 = 0.98
Inflow (mcm.)

Predicted
C:16-10- 10- 4
8 20

4 10

0 600
LP LK
50 R2 = 0.89 50 R2 = 0.92
Inflow (mcm.)

40 40
30 30
20 20
10 10
0 0
Jul-99

Jun-00

Sep-00

Feb-01

Jul-99

Jun-00

Sep-00

Feb-01
Jan-99

Apr-99

Dec-99

Mar-00

Nov-00

Jan-99

Apr-99

Dec-99

Mar-00

Nov-00
Oct-99

Oct-99

(b) Weekly model


40 100
Monthly Model Training MB LC
30
Actual R2 = 0.50 80 R2 = 0.69
Inflow (mcm.)

Predicted
C:16-14-4 60
20
40
10 20
0 1600
LP LK
120 2
R = 0.78120 R2 = 0.89
Inflow (mcm.)

90
80
60
30 40

0 0
Jul-99

Jul-00

Jul-99

Jul-00
Apr -99

Jan -00

Apr -00

Jan -01
Apr -99

Jan -00

Apr -00

Jan -01
Oct-99

Oct-00

Oct-99

Oct-00

(c) Monthly model

Figure 6 Comparison of the actual and predicted inflow of ANNs model C.


258 Kasetsart J. (Nat. Sci.) 40(1)

1999-2000 could be used for training and testing LITERATURE CITED


the multi-reservoir ANNs model.
It was difficult to distinguish which of Anmala, J., B. Zhang and S. Rao. 2000.
the models A, B, C and D was the better one by R2 Comparison of ANNs and empirical
in Table 5. Some models gave good result for some approaches for predicting watershed runoff.
reservoirs. Model C used less data, only the J.Water Resour.Plng. and Mgmt., ASCE.
reservoir inflow and stream flow, was more 126(3):156-166.
attractive than the other models. Moreover, the Atiya, A. and S.I. Shaheen. 1999. A comparison
performance of daily, weekly and monthly models between neural-network forecasting
were not much different. Theoretically, the ANNs techniques-case study : river flow forecasting.
multi-reservoir model should provide the better IEEE Transactions on Neural Networks.
result, but it was not true for this case due to the 10(2): 402-409.
limited data. The multi-reservoir problem required Phathravuthichai, S. and V. Vudhivanich. 2003.
a lot longer training time than the case of single Flood forecasting in Lam Phachi river
reservoir, particularly the case of daily model. This basin by MIKE11 Model and artificial
could be the disadvantage of the ANNs multi- neural networks. M.S. thesis, Kasetsart
reservoir. University, Bangkok.
Phien, H.N., W. Phuetphan and N. Dukpa. 2000.
CONCLUSIONS B-spine networks for daily Flow forecasting,
pp.1-10. In Proceedings of the International
For single reservoir forecasting, models
European–Asian Work shop on Ecosystem
A and B showed better performance (R2) than
and Flood. Hanoi, Vietnam, June 2-29, 2000.
models C and D. The monthly model showed the
Supharatid, S. 2002. Water forecasting by
better result than the weekly and daily models. For
artificial neural network. Irrigation
multi-reservoir forecasting, the performance of the
Development Institute, Thailand. 96 p.
four models was not different. Model C was
Tingsanchali, T. and C. Manusthiparom. 2001. A
recommended since it required less data. The
neural network model for flood forecasting
training and testing performance of daily, weekly
tidal rivers. Water Engineering and
and monthly models were not much different in
Management Program, School of Civil
case of multi-reservoir. However, the multi-
Engineering, Asian Institute of Technology,
reservoir problem required a lot longer training
Phathumtanee.
time than the single reservoir problem, particularly
Tokar, A.S. 1996. Rainfall-runoff modeling in
the case of daily model. This could be the
an uncertain environment. Doctoral
disadvantage of the ANNs multi-reservoir inflow
dissertation, University of Maryland, College
forecasting. In general, the single reservoir inflow
Park, Md. USA.
forecasting showed the better result.
Tokar, A.S. and M. Markus. 2000. Precipitation-
runoff modeling using artificial neural
ACKNOWLEDGEMENTS
networks and conceptual models.
J. Hydrologic Engrg., ASCE. 4(3): 232-239.
The authors wish to thank Kasetsart
Vudhivanich, V. 2001. Artificial neural networks.
University Research and Development Institute
Wan Chuchart 4 January 2001. Irrigation
and Faculty of Engineering, Kasetsart University
Engineering Alumni Association under the
for funding this study.
Royal Partonage of the King, Bangkok. p89-
102.
Kasetsart J. (Nat. Sci.) 40(1) 259

Vudhivanich, V. and A. Rittima. 2003. Application Vudhivanich, V., Thongpumnak, S., Cherdchan-
of artificial neural networks for reservoir pipat, N., Kasempun, N. and A. Rittima. 2004.
inflow forecasting : Lam Takong reservoir Reservoir inflow forecasting by artificial
case study. Final Report. Department of neural networks, pp. 24-31. In Proceedings
Irrigation Engineering, Faculty of of 42 nd Kasetsart University Annual
Engineering, Kasetsart University, Conference. Kasetsart University, Bangkok.
Kamphaengsaen Campus, Nakhon Pathom.

You might also like