Next Article in Journal
Nitrogen in Water-Portugal and Denmark: Two Contrasting Realities
Next Article in Special Issue
Probabilistic Hydrological Post-Processing at Scale: Why and How to Apply Machine-Learning Quantile Regression Algorithms
Previous Article in Journal
Synthetical Optimization of a Gravity-Driven Irrigation Pipeline Network System with Pressure-Regulating Facilities
Previous Article in Special Issue
A Brief Review of Random Forests for Water Scientists and Practitioners and Their Recent History in Water Resources
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Runoff Prediction Method Based on Adaptive Elman Neural Network

Department of Information and Telecommunication Engineering, College of Computer and Information, Hohai University, Nanjing 210000, China
*
Author to whom correspondence should be addressed.
Water 2019, 11(6), 1113; https://doi.org/10.3390/w11061113
Submission received: 27 March 2019 / Revised: 22 May 2019 / Accepted: 22 May 2019 / Published: 28 May 2019
(This article belongs to the Special Issue Techniques for Mapping and Assessing Surface Runoff)

Abstract

:
The prediction of medium- and long-term runoff is of great significance to the comprehensive utilization of water resources. Building an adaptive data-driven runoff prediction model by automatic identification of multivariate time series change in runoff forecasting and identifying its influence degree is an attractive and intricate task. At present, the commonly used screening factor method is correlational analysis; others offer multi-collinearity. If these factors are directly input into the model, the parameters of the model tend to increase, and the excessive redundancy and noise adversely affects the prediction results of the model. On the basis of previous studies on medium- and long-term runoff prediction methods, this paper proposes an Elman Neural Network (ENN) adaptive runoff prediction method based on normalized mutual information (NMI) and kernel principal component analysis (KPCA). In this method, the features of the screening factors are extracted automatically by using the mutual information automatic screening factor, and then input into the Elman Neural Network for training. With less features, the parameters of the Elman Neural Network model can be reduced, and the problem of overfitting of the Elman Neural Network model is effectively alleviated. The method is evaluated by using the annual average runoff data of Jinping hydropower station in Chengdu, China, from 2007 to 2011. The maximum relative error of multiple forecasts was found to be less than 16%, and forecast effect was good. The accuracy of prediction is further improved by averaging the results of multiple forecasts.

1. Introduction

Runoff forecasting, especially medium- and long-term runoff forecasting, plays an important role in the comprehensive development, utilization, scientific management and optimization of water resources [1,2,3,4]. Extreme floods, which seem to occur more frequently in recent years (due to climate change), cause immense human suffering and result in enormous economic losses every year worldwide. Therefore, it is necessary to accurately predict the time and size of peak flow before a flood event [5]. Accurate prediction of medium- and long-term runoff is an important prerequisite for guiding the comprehensive development and utilization of water resources, scientific management, and optimal dispatch. Over the past decades, massive runoff forecasting methods and application studies have been carried out at home and abroad. In terms of methods, they can be roughly divided as: data driven model and process driven model. A data-driven model refers to the optimal mathematical relationship between a forecast object (such as annual average runoff) and a predictor (such as the circulation index) based on historical data, regardless of the physical mechanism of the hydrological process. These mathematical relationships can be used to predict future hydrological variables [6]. Traditional methods used to establish mathematical relations include linear regression, stepwise regression [7], local regression, artificial neural networks [8,9,10], and support vector machines [11,12,13]. Meanwhile, a process-driven model requires a hydrological model that can reflect the characteristics of runoff, and future medium- and long-term rainfall information is used as model input to obtain changes in the forecast object [14]. The ensemble streamflow prediction (ESP) method proposed by American scholar Day [15] is a process-driven model and researchers have used this method to study medium- and long-term runoff forecasting in many watersheds. As the mechanism of hydrological process has not been fully elucidated, the applicability of this model is limited [16,17,18,19,20]. Therefore, a data-driven model, especially the runoff prediction model based on neural networks, has become a focused topic for [21,22,23,24] the application of back propagation (BP) neural networks to medium- and long-term hydrological forecasting [25]. In [26,27,28], the application of wavelet neural networks to runoff forecasting was investigated. In [29], the application of gray self-memory based on a BP network model to runoff forecasting was examined. However, these neural network models have two drawbacks: easy fall into local minima and slow convergence [30]. SHAO Yue-hong et al. [31] further evaluate and compare the performance of ENN and land surface hydrological model (TOPX) in the study region.
At present, the commonly used methods for medium and long-term runoff forecasting are based on statistical methods, that is, forecasting is realized by looking for the statistical relationship between the forecasted objects and forecasted factors.
There are three problems in the current statistical methods for medium- and long-term runoff forecasting: First, the hydrological process is complex, and there is a non-linear relationship between the forecasting factors and the forecasting objects, in addition to a linear relationship. Second, principal component analysis (PCA), which is used for noise reduction and redundancy elimination of primary factors, is essentially a linear mapping method, and the principal components obtained are generated by linear mapping. This method ignores the correlation between data higher than the second order, so the extracted principal components are not optimal. Third, the model is used to establish the optimal mathematical relationship between the forecast object and the forecast factor. The commonly used multiple regression is actually a linear fitting, which cannot reflect the nonlinear relationship between the forecast object and the forecast factor. Compared to other models, artificial neural networks for good robustness, strong nonlinear mapping and self-learning ability in long-term runoff forecast has been widely used, but neural network model parameter uncertainty may influence the accuracy of the forecast; there are certain differences in the results with each forecast.
In 1990, Elman proposed the Elman Neural Network and used it to address the voice processing problem [32]. The Elman network is a recurrent neural network with the ability to adapt to time-varying characteristics. Unlike a positive feedback neural network, it has feedback connections originating from the outputs of the hidden layer neurons to its input layer. The state of its neuron depends not only on the current input signal, but also on the previous states of the neuron [33]. Thus, the Elman Neural Network can maintain a sort of state, allowing it to perform tasks such as sequence-prediction [34]. However, relevant research within the domain of medium- and long-term runoff forecasting is very limited.
Compared with previous methods, the main contributions and problems solved in this paper are presented as:
(1) Due to the non-linear relationship of experimental data, we adopted the primary prediction factor method based on NMI, which could not only reflect the nonlinear relationship between variables, but also reflect the nonlinear relationship between variables. NMI overcomes the defect of traditional linear correlation analysis.
(2) KPCA is the nonlinear extension of PCA, that is, the original vector is mapped to the high-dimensional feature space F by mapping function Φ, and PCA analysis is carried out in F. The data in the original space, which are linearly indivisible, are almost linearly separable in the high dimensional feature space. In this instance, PCA is done in a high-dimensional space, and extracted principal components are more represented. Therefore, the feature extraction method based on KPCA greatly improves the processing capacity of nonlinear data and has more advantages than the traditional feature extraction method based on PCA. In addition, the principal components extracted by KPCA are orthogonal to each other, and the data are de-noised and de-redundant, which can well prevent the overfitting of the neural network and improve the generalization ability of the network.
(3) With good robustness, nonlinear mapping, and strong self-learning ability, the artificial neural network can mine the internal relations between the prediction factors and the prediction objects. The Elman neural network selected in this paper is a typical dynamic regression network, which has additional context layers compared with commonly used forward neural networks (such as BP neural network). The context layer can record information from the last network iteration as input to the current iteration, making the Elman network more suitable for prediction of time series data [35]. In addition, the neural network has parameter uncertainty. In order to reduce the uncertainty of prediction, the method of multi-model set prediction is adopted to improve prediction accuracy.
In conclusion, NMI, KPCA and Elman neural network used in this paper have the ability to process non-linear data, except linear data. In addition, the processed data can be de-noised and de-redundant to prevent overfitting of the neural network and improve the generalization ability of the network. The combination of the above three methods overcomes the limitation of traditional methods and improves the stability and accuracy of model prediction. The main purpose of this paper is to build an adaptive data driven runoff forecast [36,37] model, by using the normalized mutual information method to automatically select predictors, and then use the KPCA method to extract features from the selected factors; finally, based on the above, a cyclic neural network model is constructed for runoff prediction. Through the analysis and evaluation of the experimental results, the accuracy of the prediction [38] is improved, and the average annual runoff predicted by a single model. Multiple models are realized based on the Elman neural network, which provides a reference for medium- and long-term runoff prediction [39].

2. Materials and Methods

2.1. Study Area and Data

The data source of this study is the Jinping I hydropower station, which is located in the Ya-lung River of Sichuan province, China. The Ya-lung River is the biggest branch of Chin-sha River, which is the upper reaches of the Yangtze River. The reservoir power station is mainly used for power generation, water storage, and flood control. In addition, the drainage area of the reservoir is complex with interlaced mountains and rivers. Therefore, by using the data of this reservoir for research, the experimental data becomes more real and representative. The accurate prediction of runoff in this area is beneficial to the comprehensive development and utilization of water resources in this area, and the experimental model can be simply processed and applied to other areas. The location of Jinping I Hydropower Station is shown in Figure 1. The experimental data in the model used the annual average runoff data of Jinping I Hydropower Station from 1960 to 2011 (provided by the China Institute of Water Resources and Hydropower Research) and the 74 atmospheric circulation parameters from 1959 to 2010 (provided by the National Climate Center of China). Data from 1960–2006 were used to confirm the model, and data from 2007–2011 were used to verify the model.
The average annual flow of the dam site is 1220 m3/s, the average annual flow from June to October in flood season is 2230 m3/s, the average annual flow from November to May in flat and dry season is 493 m3/s, and the average annual runoff is 38.5 billion m3.

2.2. Methodology

The runoff forecasting method presented in this paper consists of three parts: the automatic selection of predictors based on normalized mutual information, the extraction of principal components of predictors based on KPCA, and the forecast of runoff based on a circular neural network. In the following section, these three parts will be elaborated in detail.

2.2.1. Automatic Selection of Predictors for Ranking Mutual Information Correlation

In probability theory and information theory, mutual information is a measure of interdependence between two variables [1]. By calculating the mutual information between the factor time series and the runoff time series, this paper automatically selects the factor that the normalized mutual information is greater than a certain threshold value [40] (usually 0.9), as a predictor according to relevancy. The method of automatically selecting predictors based on mutual information can not only reflect the linear relationship between the factors and runoff, but also the degree of non-linear relationship between them. The traditional method based on linear correlation analysis (Pearson correlation, Spearman correlation) can only respond to the linear relationship between the factors and runoff. Therefore, the factors automatically selected by the correlation ranking method based on mutual information are more representative. The formula for calculating the mutual information between the runoff time series and the factor time series is defined as:
M I ( X , Y ) = i = 1 n j = 1 n p ( x i ,   y i ) log ( p ( x i , y i ) p ( x i ) p ( y i ) )   i , j = 1 , 2 , 3 n
where X is the runoff time series, X = ( x 1 , x 2 , x 3 x n ) T , Y is a factor time series, Y = ( y 1 , y 2 , y 3 y n ) T , n represents the number of elements in the time series matrix. The molecular p ( x i , y i ) is a joint distribution law of X and Y, and p ( x i ) and p ( y i ) are the marginal distributions of X and Y, respectively.
For the convenience of comparison, the mutual information needs to be normalized. The value of normalized mutual information is between 0 and 1. The formula for normalized mutual information is:
N M I ( X , Y ) = 2 × M I ( X , Y ) H ( X ) + H ( Y )
where H ( X ) and H ( Y ) are the entropy of X and Y, respectively; H ( X ) and H ( Y ) are expressed as:
H ( X ) = i = i n p ( x i ) l o g 2 ( p ( x i ) )
H ( Y ) = i = i n p ( y i ) l o g 2 ( p ( y i ) )

2.2.2. Dimension Reduction of Adaptive Factors of KPCA

KPCA is a nonlinear extension of principal component analysis, which maps the original vector to the high dimensional feature space F through the kernel function Φ , then carries on the principal component analysis on F. The linear indivisible data in the original space can be linearly separable in the high dimensional feature space, and the principal components extracted in the high-dimensional space are more representative. After PCA transformation, data features can be extracted effectively, which can not only reduce its dimension, but also retain the required recognition information [41]. Therefore, the feature extraction method based on KPCA greatly improves the processing ability of non-linear data, and has more advantages than traditional feature extraction methods based on principal component analysis. In addition, the principal components extracted by the kernel component analysis are orthogonal to each other, and the principal components undergo automatic noise reduction and de-duplication, which can alleviate the cyclic process of neural network overfitting and improve the generalization ability of the network. The process of extracting principal components using KPCA is as follows:
Step 1: Normalize the predictor data selected in the Section 2.2.1 by z-score, as follows:
Y * = Y μ σ
In the formula, Y * is the normalized data, Y is the predictor data, μ is the mean value of the time series of Y , σ is the standard deviation of Y .
Step 2: Calculate the kernel matrix K of the predictor. The calculation formula is obtained as:
K = exp ( Y i * , Y j * 2 2 σ 2 )
Y i * and Y j * , respectively, is a sample of the predictor data Y * .
Step 3: Computing the core matrix K c . The calculation formula is:
K c = K J × K K × J + J × K × J
In Equation (7), J is the square matrix of n × n. The specific expression is defined as:
J = [ 1 n 1 n 1 n 1 n ]
Step 4: The eigenvalues and eigenvectors of K c are computed, and the eigenvalues are arranged in order from large to small, and the order of eigenvectors is adjusted according to the eigenvalues.
Step 5: Compute the principal component. The calculation formula is:
K P C = K C T A
where A is the normalized eigenvector matrix. A is defined as:
A = ( a 1 , a 2 , a i , , a n ) = [ a 11 a n 1 a i j a 1 n a n n ]
where   a i = u i λ i ,   i = 1 , 2 , , n
λ i is eigenvalue, and u i is the eigenvector.

2.2.3. Elman Neural Network Model

The Elman Neural Network [35], which was first proposed by Elman in 1990 to address the voice processing problem, is a typical dynamic recurrent neural network. The basic configuration of the standard Elman Neural Network consists of an input layer, a hidden layer, an output layer and a context layer. The context layer is a feedback connection from the hidden layer to the input layer. It is worth mentioning that the context layer is able to record information from the last network iteration as input to the current iteration. Therefore, compared with other models, the Elman neural network is more suitable for the prediction of time series data [34]. A standard Elman neural network structure is shown in Figure 2.
The computational process of the Elman network model can be simply expressed as:
The output of the output layer at t time:
o q ( t ) = f ( j = 1 L h j ( t ) ω j , q )
The output of the hidden layer at t time:
h j ( t ) = f ( i = 1 L u i ( t ) ω i , j + k = 1 L c k ( t 1 ) ω j , k )
The output of the context layer at t − 1 time:
c k ( t 1 ) = h j ( t )
where the ω j , q , ω i , j and ω j , k are the connection weights between the layers, respectively. f is the activation function. In this paper, the activation function of the hidden layer takes the sigmoid function: f ( x ) = 1 1 + e x , and the activation function of the output layer takes the linear function f ( x ) = x .
The learning process of Elman neural network can be summarized as follows:
Step 1: Use the random function to initialize the connection weights between the layers of the network and determine the allowable error ε for the cost function. Once the network calculates the output of one of the inputs, the cost function calculates the error vector. This error indicates how close our guess is to the expected output. The most commonly used cost functions are the mean square error (MSE), Cross Entropy (CE), and the SVM hinge loss function. Specifically, MSE is better suited to solving the regression problem, which is the prediction of model data. Therefore, in this paper, the mean square error function is used as the cost function, as follows:
E = 1 N q = 1 N ( O e q ( t ) O q ( t ) ) 2
where O e q ( t ) is the expected output of the network at t time, O q ( t ) is the actual output of the network (the observed value of the runoff).
Step 2: Normalize the input data, compute the value of E, and update the connection weights between each layer according to E using the momentum gradient descent algorithm. The formula of normalized input data and the formula of weight change are obtained as:
z = ( z max z min ) q q min q max q min + q min
Δ ω ( k ) = η E ω ( k ) + α Δ ω ( k 1 )
where z is normalized data, z m a x = 1 , z m i n = 1 , z ( 1 , 1 ) , q is the runoff sequence or principal component sequence data, q m i n is the minimum value in the sequence q , q m a x is the maximum value in the sequence q . Δ ω ( k ) is the change of Elman Neural Network weights in the kth update, Δ ω ( k ) is the change of Elman Neural Network weights in the k−1th update, α is the momentum constant, 0 α 1 , in this paper, α = 0.9 , η is the learning rate, η = 0.01 .
Step 3: When the value of E is greater than ε , go to step 2 or the end of the study, and compute the output of the network according to Equations (12)–(14).
In addition, in order to stop the Elman Neural Network training process, we set the maximum number of iterative trainings, and when that number is reached, ENN training stops.

2.2.4. Evaluation Criteria

In order to evaluate the performance of the model and the adaptive selection of model structure, the qualified rate (QR), root mean square error (RMSE), mean absolute percent error (MAPE) and mean absolute error (MAE) are adopted as the evaluation criteria. In addition, the reason why we choose QR, RMSE, MAPE and MAE as the evaluation criteria is that these evaluation criteria are sufficient to explain the stability and accuracy of the prediction model.
The formula for the qualified rate is defined as:
Q R = m n × 100 %
where m is the qualified forecast number, n is the total forecast number. If the single forecast error is less than 20%, the forecast is qualified.
The calculation formula of root mean square error can be expressed as:
R M S E = 1 n t = 1 n ( q s i m ( t ) q o b s ( t ) ) 2 Q R = m n × 100 %
where q s i m ( t ) is the predicted value, q o b s ( t ) is the observed value.
The formula for calculating the mean absolute percent error is expressed as:
M A P E = 1 n t = 1 n | q s i m ( t ) q o b s ( t ) | q o b s ( t ) × 100 %
The formula for calculating the mean absolute error is defined as:
M A E = 1 n t = 1 n | q s i m ( t ) q o b s ( t ) |
The Relative Error (RE) is defined as:
R E = q s i m ( t ) q o b s ( t ) q o b s ( t ) × 100 %

3. Results and Discussion

3.1. Implementation of the Forecast Case

In order to verify its validity, the model proposed in this paper attempts to forecast the annual runoff of Jinping I-Stage hydropower station in Yalong River [42] basin, Sichuan province, China. The detailed automation process is shown in Figure 3.

3.1.1. Determining Forecasting Factor Sets

According to Figure 3, we need to analyze the physical mechanism and use the method of mutual information [43] to filter the predictors:
Step 1: Collect historical runoff data from the research area and meteorological hydrological data that can be used as predictors. Commonly used meteorological hydrological data include atmospheric circulation characteristics, high altitude pressure field, and sea surface temperature index. The data collected in this study include the annual average runoff data of the dam section of Jinping I-Stage hydropower station for 1960–2011 and monthly 74 circulation characteristics data for 1959–2010.
Step 2: Because the forecast object is the average annual runoff, the factor cannot choose from the time of the same year, at the same time considering that the influence of meteorological factors on runoff has hysteresis [44]; thus, a one-by-one correspondence between annual average runoff of Jinping I-Stage hydropower station and 74 atmospheric circulation indices of the previous year was established. The corresponding relationship between the time series of a certain atmospheric circulation index and the runoff time series is shown in Table 1; the others are similar.
As can be seen from Table 1, the first column of the table shows the annual runoff time series from 1960 to 2011, and the second and final columns of the Table represent the exponential time series of atmospheric circulation, in this part detailed listing of each month.
Step 3: The time series of the atmospheric circulation index and the average annual runoff time series are divided into two parts, one part as training samples and the other as test samples. This embodiment uses the data from the first 47 years as the training sample, and the data of the following 5 years as the test sample.
Step 4: Compute mutual information. For this embodiment, the mutual information between the average annual runoff time series of the 1st column in Table 1 and the time series of the atmospheric circulation index in the remaining columns in Table 1 is calculated according to Equation (1). It should be noted that when only using the training sample data to compute the mutual information, the test sample data should not be added to ensure reliability of the test.
Step 5: Compute normalized mutual information, which maps the mutual information values computed by step 4 to between 0 and 1 with Equations (2)–(4).
Step 6: Select the index of the normalized mutual information [45] greater than a threshold (0.9 for this embodiment) as an initial selection of factors. In this embodiment, there are 205 indicators of normalized mutual information greater than 0.9, and in Table 2, the first 20 indicators are presented as:
Table 2 shows the first 20 factors of normalized mutual information greater than 0.9. The left column of the table represents the initial selection of factors; it includes different time and different space. In addition, the elements in the left column are sorted in descending order of mutual information values. The middle columns of the table represent normalized mutual information. The right column of the table represents mutual information. Details of the physical significance of 74 meteorological factors for the runoff formation process can be found in [46].

3.1.2. Extract Principal Components

As shown in Figure 3, after using the method of mutual information to filter the factor, KPCA is needed to extract the principal component. In Section 3.1.1, this study selected 205 factors, which often have multicollinearity, repetitive information and noise, which directly affect the training speed and generalization ability of the Elman Neural Network; therefore, feature extraction is needed. In this example, the principal component is calculated according to Equations (5)–(7) and (9), and the principal component is arranged in order of the variance contribution rate from large to small. The variance contribution rate of the first five principal components is shown in Table 3.
As can be seen from Table 3, the variance contribution rate of the first principal component reached 25.7%, which contains most of the information of the selected factor. The variance contribution rate of other principal components is getting smaller, and the information containing the selected factors is less and fewer. The trial-and-error method is used to determine which principal components are selected as predictors. Through repeated experiments, it is found that when the first two principal components are selected as prediction factors, the test period has the best prediction effect, so the first two principal components are selected as the final prediction factors.

3.1.3. Determining the Elman Structure

As shown in Figure 3, after extracting the principal component, you need to determine the structure of the Elman network. That is, the training algorithm, the number of nodes in the input layer, the number of nodes in the hidden layer, the number of nodes in the layer, and the number of nodes in the output layer need to be determined. This research case uses the momentum gradient descent algorithm and the back propagation algorithm as the training algorithm of the Elman Neural Network. The advantage of the momentum gradient descent algorithm is that each gradient descent will be accompanied by previous speed. If the direction is the same as before, the previous speed will continue to accelerate. If the direction is opposite to the previous one, it will not produce a sharp turn due to the previous speed, but try to pull the route in a straight line. This solves the problem of time wasted in the traditional gradient descent algorithm. Compared with other methods, back-propagation algorithm can realize gradient descent search in the Elman network weight space, which can better reduce the error between the actual value and the predicted value of historical runoff data. The number of nodes in the output layer equals the number of the predicted objects; this embodiment is a single value forecast for the average annual runoff, so the number of nodes in the output layer is 1. The number of nodes in the context layer equals the number of nodes in the hidden layer. Therefore, as long as the number of nodes in the hidden layer is determined, the number of nodes in the context layer is determined. The number of nodes in the input layer equals the number of selected principal components. The number of nodes in the input layer equals the number of selected principal components. The number of hidden layer nodes has an important influence on the generalization performance of the network, but there is no systematic or standard method to determine the number of hidden layer nodes. This study uses the trial and error method (through different combinations of number of nodes in the input layer and the number of nodes in the hidden layer), compares the prediction results of the Elman Neural Network, and determines the optimal combination of the number of nodes in the input layer and the number of nodes in the hidden layer.
In this paper, the principal component sequence and runoff time series data of the first 47 years are used as training samples, and the data of the last five years are used as test samples. Due to the uncertainty of the training data and model, we selected 14 models (this is our choice), and then analyzed and evaluated the prediction results of these 14 single models, so as to determine the network parameters and improve the stability and accuracy of the prediction results. In Table 4, Table 5 and Table 6, the predicted results of the Elman Neural Network models of different structures are presented as:
Table 4 records the performance of Elman Neural Networks when the principal component _1 is used as input, and the hidden layer nodes change from 2 to 15. It can be seen from Table 4 that with the increase of the number of hidden layers, the maximum relative error of the Elman Neural Network in the verification period is greater than 20% and the qualified rate is only 60%, with the principal component _1 as the input of Elman Neural Network. One of the best prediction models is Model 3, the maximum relative error in the verification period is 25.5%, the qualified rate is 60%, and the forecast effect is poor.
Table 5 records the performance of the Elman Neural Network with principal component _1 and principal component _2 as input and hidden layer nodes changing from 2 to 15. It can be seen from Table 5 that the maximum relative error of Elman Neural Networks in the verification period decreasing with the principal component _1 and principal component _2 as the input of and the number of hidden layer nodes increasing from 2 to 9.
Table 6 records the performance of the Elman Neural Network with principal component _1, principal component _2 and principal component _3 as input and hidden layer nodes from 2 to 15. It can be seen from Table 6 that the evaluation index value fluctuates greatly and the forecast effect is not good with the principal component _1, principal component _2 and principal component _3 as input of Elman Neural Networks and the number of hidden layer nodes increasing from 2 to 9. One of the best prediction models is Model 10—the maximum relative error is 16.9%, and qualified rate is 100%.
Figure 4 is plotted in order to compare the prediction effect of different network models with different principal component combinations as input. Figure 4 is the maximum relative error in Table 4, Table 5, and Table 6. As can be seen from Figure 4, with principal component _1 and principal component _2 as input of the Elman Neural Network, the performance of each model in the verification period is obviously better than that of principal component _1 or simultaneously with principal component _1, principal component _2 and principal component _3 as input of the Elman Neural Network.

3.2. Evaluation of Forecast Performance

According to the network structure determined by step 3.1.3, the Elman Neural Network model is trained by the average annual runoff data of Jinping hydropower station in 1960–2006 and tested by the average annual runoff data of Jinping hydropower station in 2007–2011.
The Mean Absolute Percentage Error (MAPE), Maximum Relative Error (MRE) and Qualified Rate (QR) are used as evaluation indexes for prediction. The indexes are calculated according to Equations (16) and (20)–(22). In the verification period, the error of the five forecasts is shown in Table 7. The predicted results are evaluated by mean absolute percent error, maximum relative error, and qualified rate.
In order to verify the generalization ability of the network model in this paper and the stability of the prediction, we carried out single model prediction 100 times. It is shown that the network model used in the invention has good generalization ability and prediction stability. The error statistics of the first five time forecasts are shown in Table 7.
As can be seen from Table 7, during the verification period, the maximum relative error of single forecast is within 16%, and the qualified rate is 100% according to the precision evaluation scheme of medium- and long-term runoff forecast [47]. This shows that the Elman Neural Network model driven by mutual information and KPCA has good generalization ability and predictive stability. The back propagation algorithm and momentum gradient updating algorithm are used to search the parameter space of the Elman Neural Network, and the error between the actual value of the historical runoff data and the predicted value of the Elman Neural Network is reduced through continuous training. However, the error surface may contain many different local minima, and in the search process of the parameter space of the Elman Neural Network, it may stay in the local minimum point, but not necessarily the global minimum point. Therefore, although the structure of each Elman Neural Network is the same, the parameters are different, which leads to the difference of the prediction results of each Elman Neural Network.
In order to reduce the deviation of prediction results caused by the uncertainty of model parameters, we carried out single model prediction of runoff several times; the average value of the results of multiple prediction is taken as the final prediction result. In this study, the average of 100 forecast results can be taken as the final forecast result.

4. Conclusions

Due to the error of the original data and incompleteness of the model parameters, the prediction results between single prediction models may be quite different. This paper determined the prediction factors on the basis of rank correlation analysis, combined with the analysis of physical causes, and realized the single model forecast and multi-model set forecast of annual average runoff based on the Elman Neural Network, so as to provide reference for the medium- and long-term runoff forecast of reservoir. The general method flow described in this article is shown in Figure 5.
In detail, the automatic selection of predictors, the automatic feature extraction of predictors and the adaptive construction of the Elman Neural Network model are discussed, and the Elman Neural Network model driven by normalized mutual information and KPCA is proposed. This model is applied to the annual average runoff forecast of the Jinping I-Stage hydropower station in Sichuan, China, and the forecast results show that the factor screening method based on normalized mutual information and KPCA can effectively reduce noise and redundancy of a large number of predictors. Taking these factors as inputs, the Elman Neural Network has shown good generalization performance. High prediction stability, and prediction accuracy can meet actual production needs. The method of ensemble forecasting with multiple neural networks can effectively solve the problem of parameter uncertainty of the Elman Neural Network model and improve the accuracy of prediction. In addition, for a single prediction model based on the Elman neural network, prediction accuracy can meet the requirements but the prediction results between single prediction models may be quite different. Multi-model ensemble forecasting can reduce the influence of uncertainty and improve forecasting accuracy. However, due to error of the original data, the uncertainty of model parameters and environmental differences in different regions—and there are significant differences in modeling requirements for practical hydrological applications—more reliable and intelligent expert systems for real-time forecasting purposes need to be developed [48]. The multi-model ensemble prediction offers prediction deviation. How to determine the optimal ensemble prediction model needs to be further studied.

Author Contributions

Conceptualization, C.L. and L.Z.; methodology, Z.H. and H.G.; software, C.L. and L.Z.; validation, Y.Y., D.Y. and X.Q.; formal analysis, L.Z.; investigation, C.L.; resources, H.G.; data curation, L.Z.; Writing—original draft preparation, C.L.; writing—review and editing, H.G.; visualization, Z.H.; supervision, C.L. and H.G.; project administration, C.L.; funding acquisition, H.G. and C.L.

Funding

This study is supported by National Natural Science Foundation of China (No. 61701166), National Key R&D Program of China (No. 2018YFC1508106), the China Postdoctoral Science Foundation (No. 2018M632215), the Fundamental Research Funds for the Central Universities (No. 2018B16314), Young Elite Scientists Sponsorship Program by CAST (No. 2017QNRC001), National Science Foundation for Young Scientists of China (No. 51709271), Projects in the National Science & Technology Pillar Program during the Twelfth Five-year Plan Period (No. 2015BAB07B01).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yaseen, Z.M.; El-Shafie, A.; Jaafar, O.; Afan, H.A.; Sayl, M.N. Artificial intelligence based models for stream-flow forecasting: 2000–2015. J. Hydrol. 2015, 530, 829–844. [Google Scholar] [CrossRef]
  2. Duan, Q.Y.; Sorooshian, S.; Gupta, V. Effective and efficient global optimization for conceptual Rainfall-runoff models. Water Resour. Res. 1992, 28, 1015–1031. [Google Scholar] [CrossRef]
  3. Kneis, D.; Burger, G.; Bronstert, A. Evaluation of medium-range runoff forecasts for a 500 km2 watershed. J. Hydrol. 2012, 414, 341–353. [Google Scholar] [CrossRef]
  4. Wang, W.C.; Chau, K.W.; Xu, D.M.; Chen, X.Y. Improving forecasting accuracy of annual runoff time series using ARIMA based on EEMD decomposition. Water Resour. Manag. 2015, 29, 1–21. [Google Scholar] [CrossRef]
  5. Chau, K.W. Use of Meta-Heuristic Techniques in Rainfall-Runoff Modelling. Water 2017, 9, 186. [Google Scholar] [CrossRef]
  6. Wang, W.; Ma, J. Review on some methods for hydrological forecasting. Adv. Sci. Technol. Water Res. 2005, 5, 6–60. [Google Scholar]
  7. Kisi, O.; Nia, A.M.; Goshen, M.G.; Tajabadi, M.R.J.; Ahmadi, A. Intermittent streamflow forecasting by using several data driven techniques. Water Resour. Manag. 2012, 26, 457–474. [Google Scholar] [CrossRef]
  8. Ge, Z.X.; Xue, M.; Song, Y.L. Application of multi-factor stepwise regression cycle analysis in medium and long-term hydrological forecast. J. HHU 2009, 37, 255–257. [Google Scholar]
  9. YAO, L.S.; CAI, Y.D. Long-range runoff forecast by artificial neural network. Adv. Water Sci. 1995, 6, 61–65. [Google Scholar]
  10. Machado, F.; Mine, M.; Kaviski, E.; Fill, H. Monthly rainfall-runoff modelling using artificial neural networks. Hydrol. Sci. J. 2011, 56, 349–361. [Google Scholar] [CrossRef]
  11. Alvaro, L.R.; Vicente, L.F.; David, P.V.; Joaquin, T.P. One-Day-Ahead Streamflow forecasting using artificial neural networks and a meteorological mesoscale model. J. Hydrol. Eng. 2015, 20. [Google Scholar] [CrossRef]
  12. Kisi, O.; Cimen, M. A wavelet-support vector machine conjunction model for monthly streamflow forecasting. J. Hydrol. 2011, 399, 132–140. [Google Scholar] [CrossRef]
  13. Huang, S.Z.; Chang, J.X.; Huang, Q.; Chen, Y.T. Monthly streamflow prediction using modified EMD-based support vector machine. J. Hydrol. 2014, 511, 764–775. [Google Scholar] [CrossRef]
  14. Liu, Z.Y.; Zhou, P.; Chen, G.; Guo, L.D. Evaluating a coupled discrete wavelet transform and support vector regression for daily and monthly streamflow forecasting. J. Hydrol. 2014, 519, 2822–2831. [Google Scholar] [CrossRef]
  15. Yang, L.; Tian, F.Q.; Hu, H.P. Modified ESP with information on the atmospheric circulation and teleconnection incorporated and its application. J. Tsinghua Univ. Sci. Tech. 2013, 53, 606–612. [Google Scholar]
  16. Day, G.N. Extended streamflow forecasting using NWSRFS. J. Water Resour. Manag. 1985, 111, 157–170. [Google Scholar] [CrossRef]
  17. Alan, F.; Dennis, H.; Lettenmaier, P. Columbia River streamflow forecasting based on ENSO and PDO climate signals. J. Water Resour. Plan. Manag. 1999, 125, 333–341. [Google Scholar]
  18. Lamb, K.; Piechota, T.; Moradkhani, H. Improving Ensemble Streamflow Prediction Using Interdecadal/Interannual Climate Variability; University of Nevada: Las Vegas, NV, USA, 2010. [Google Scholar]
  19. Werner, K.; Brandon, D.; Clark, M.; Gangopadhyay, S. Climate Index Weighting Schemes for NWS ESP-Based Seasonal Volume Forecasts. J. Hydrometeorol. 2004, 4, 1076–1090. [Google Scholar] [CrossRef]
  20. Gan, T.Y.; Gobena, A. Incorporation of seasonal climate forecasts in the ensemble streamflow prediction system. J. Hydrol. 2010, 385, 336–352. [Google Scholar]
  21. Druce, D.J. Insights from a history of seasonal inflow forecasting with a conceptual hydrologic model. J. Hydrol. 2001, 249, 102–112. [Google Scholar] [CrossRef]
  22. Kung, H.T.; Lin, L.Y.; Malasri, S. Use of Artificial Neural Networks in Precipitation Forecasting. In Regional Hydrological Response to Climate Change; Jones, J.A.A., Liu, C., Woo, M.K., Kung, H.T., Eds.; The GeoJournal Library; Springer: Dordrecht, The Netherlands, 1996; vol 38. [Google Scholar]
  23. Zhu, M.L.; Fujita, M.; Hashimoto, N. Application of Neural Networks to Runoff Prediction. In Stochastic and Statistical Methods in Hydrology and Environmental Engineering; Springer: Basel, Switzerland, 1993; pp. 205–216. [Google Scholar]
  24. Chen, S.; Wang, D. Genetic algorithms-based fuzzy optimization BP neural network model and its application. J. Hydraul. Eng. 2003, 5, 116–120. [Google Scholar]
  25. Standard for Hydrological Information and Hydrological Forecasting; GB/T 22482-2008; China Standard Press: Beijing, China, 2008; pp. 4–10.
  26. Sadeghi, B. A BP-neural network predictor model for plastic injection molding process. J. Mater. Process. Technol. 2000, 103, 411–416. [Google Scholar] [CrossRef]
  27. Shoaib, M.; Shamseldin, A.Y.; Melville, B.W.; Khan, M.M. A comparison between wavelet based static and dynamic neural network approaches for runoff prediction. J. Hydrol. 2016, 535, 211–225. [Google Scholar] [CrossRef]
  28. Guo, R.; Zhao, F.; Li, Y. Dynamic modeling of rainfall runoff process in river basin with recurrent wavelet neural network. J. Hydroelectr. Eng. 2013, 32, 55–59. [Google Scholar]
  29. Song, H.; Song, Y.; Zhang, D.; Zhong, W. Research on runoff forecasting of reservoir by using fuzzy clustering analysis and wavelet neural networks. J. Hydroelectr. Eng. 2008, 27, 6–10. [Google Scholar]
  30. Gao, X.; Zhang, J. Research on optimization of neural network based on genetic algorithm. Equip. Manuf. Technol. 2010, 2, 8–10. [Google Scholar]
  31. Shao, Y.; Lin, B.; Ye, J.; Liu, Y. Application of rainfall-runoff simulation based on Elman recurrent dynamic neural network model. J. Atmos. Sci. 2014, 37, 223–228. [Google Scholar]
  32. Zhang, X.; Shen, B.; Huang, L. Grey self-memory model based on BP neural network for annual runoff prediction. J. Hydroelectr. Eng. 2009, 28, 69–77. [Google Scholar]
  33. Jeffrey, L. Finding Structure in Time. Cogn. Sci. 1990, 14, 179–211. [Google Scholar]
  34. Chiang, Y.M.; Chang, L.C.; Chang, F.J. Comparison of static-feedforward and dynamic-feedback neural networks for rainfall-runoff modeling. J. Hydrol. 2004, 290, 297–311. [Google Scholar] [CrossRef]
  35. Wang, C.; Gao, X.; Xu, L.; Zhang, X. A new modified Elman neural network model. J. Electron. 1997, 19, 793. [Google Scholar]
  36. Gu, Y. Study on Monthly Runoff Forecasting Scheme of Hongjiadu Hydropower Station. Ph.D. Thesis, HoHai University, Nanjing, China, 2007. [Google Scholar]
  37. Feng, X.; Wang, Y.; Liu, Y.; Hu, Q. Monthly runoff forecast for Danjiangkou reservoir based on physical statistical methods. J. Hohai Univ. Nat. Sci. 2011, 39, 242–247. [Google Scholar]
  38. Slingo, J.; Palmer, T. Uncertainty in weather and climate prediction. Phil. Trans. R. Soc. A 2011, 369, 4751–4767. [Google Scholar] [CrossRef] [PubMed]
  39. Wang, Y.; Pan, H.; Ou, G.; Gong, Q.; Wei, X. Prediction of Debris Flow Runoff Process Based on Hydrological Model: A Case Study at Shenxi Gully, Regarding a Long-Term Impact by Wenchuan Earthquake. J. Donghua Univ. 2017, 34, 398–404. [Google Scholar]
  40. Zhao, T.; Yang, D. Prediction factor selection method based on mutual information in neural network runoff prediction model. J. Hydroelectr. Power 2011, 30, 24–30. [Google Scholar]
  41. Tang, H.; Wu, Y. Diagnosis of hydraulic cylinder leakage fault based on PCA and BP network. J. Cent. South Univ. 2011, 42, 3709–3714. [Google Scholar]
  42. Chen, Y.; Wang, W.S.; Tao, C.H.; Zhao, F. The Influence of climate change on runoff in the Yalong River Basin. Yangtze River 2012, 43, 25–29. [Google Scholar]
  43. Yu, W. Mutual Information and Clone Selection Algorithm Based Hyperspectral Band Selection Method. In Proceedings of the 36th China control conference, Dalian, China, 26–28 July 2017. [Google Scholar]
  44. Dan, L.; Xu, W.; Zheng, L.; Jiang, Y.; Xin, Z. Analysis on the changes of wetland in the lower reaches of weihe river in recent 16 years. Resour. Environ. Arid Areas 2019, 33, 112–118. [Google Scholar]
  45. Liu, Y.; Xin, W. Building facade image repeat texture detection method based on mutual information. Surv. Mapp. Geogr. Inf. 2018, 43, 93–95. [Google Scholar]
  46. Xie, X.; Tang, H.; Wang, J. Flood season runoff prediction model based on meteorological factors. Sci. Hydropower Energy 2015, 33, 10–12. [Google Scholar]
  47. David, E.; James, R.; McClelland, L. The PDP Research Group. Parallel Distributed Processing: Explorations in the Microstructure of Cognition; MIT Press: Cambridge, CA, USA, 1986; pp. 318–336. [Google Scholar]
  48. Yaseen, Z.M.; Sulaiman, S.O.; Deo, R.C.; Chau, K. An enhanced extreme learning machine model for river flow forecasting: State-of-the-art, practical applications in water resource engineering area and future research direction. J. Hydrol. 2018, 569, 387–408. [Google Scholar] [CrossRef]
Figure 1. Location of the study area.
Figure 1. Location of the study area.
Water 11 01113 g001
Figure 2. Structure of the Elman Neural Network.
Figure 2. Structure of the Elman Neural Network.
Water 11 01113 g002
Figure 3. Automatic iteration flow chart for runoff forecasting.
Figure 3. Automatic iteration flow chart for runoff forecasting.
Water 11 01113 g003
Figure 4. Maximum relative error of each model in the verification period.
Figure 4. Maximum relative error of each model in the verification period.
Water 11 01113 g004
Figure 5. General method flow chart.
Figure 5. General method flow chart.
Water 11 01113 g005
Table 1. The corresponding relationship between the time series of a certain atmospheric circulation index and the runoff time series.
Table 1. The corresponding relationship between the time series of a certain atmospheric circulation index and the runoff time series.
Annual Runoff Time SeriesAn Exponential Time Series of Atmospheric Circulation
Annual runoff in 1960Data in January 1959Data in February 1959Data in December 1959
Annual runoff in 1961Data in January 1960 Data in February 1960 Data in December 1960
Annual runoff in 1962Data in January 1961 Data in February 1961 Data in December 1961
Annual runoff in 2009Data in January 2008 Data in February 2008 Data in December 2008
Annual runoff in 2010Data in January 2009 Data in February 2009 Data in December 2009
Annual runoff in 2011Data in January 2010 Data in February 2010 Data in December 2010
Table 2. The first 20 factors of normalized mutual information greater than 0.9.
Table 2. The first 20 factors of normalized mutual information greater than 0.9.
Initial Selection of FactorsNMIMI
Sunspots in August0.9883755.426929
Sunspots in April0.9883755.426929
Sunspots in July0.9883755.426929
Sunspots in October0.9883755.426929
Sunspots in December 0.9883755.426929
Sunspots in February 0.984445.384376
Sunspots in September 0.984445.384376
Sunspots in November 0.984445.384376
Sunspots in January 0.984445.384376
Sunspots in March 0.984445.384376
Sunspots in May 0.984445.384376
The northern hemisphere’s subtropical high intensity index in August (5E-360)0.9804745.341823
The polar vortex area index for the northern hemisphere in March (5E-360)0.9804745.341823
North American sub-index of north American strength in north Africa Atlantic in June (110W-60E)0.9764775.299270
The northern hemisphere’s subtropical high intensity index in June (5E-360)0.9762915.256717
The northern hemisphere’s subtropical high intensity index in April (5E-360)0.9724485.256717
North American sub-index of north American strength in north Africa Atlantic in July (110W-60E)0.9724485.256717
North American subindex of north American strength in north Africa Atlantic in September (110W-60E)0.9724485.256717
Sunspots in June0.9724485.256717
Pacific subtropical high strength index in June (110E-115W)0.9709195.240655
Table 3. Variance contribution ratio of the first five principal components.
Table 3. Variance contribution ratio of the first five principal components.
The Principal Components12345
Variance contribution rate25.7%6.9%5.6%5.1%3.9%
Table 4. With the first principal component as input, the performance of the Elman Neural Network with different hidden layer nodes.
Table 4. With the first principal component as input, the performance of the Elman Neural Network with different hidden layer nodes.
ModelNameTrainingValidation
MAPERMSEMAEMREMAPERMSEMAEQR
11-2-10.160224.616189.9460.2720.133172.002138.24960%
21-3-10.161224.755190.3860.2570.129165.348133.79560%
31-4-10.160224.426189.5860.2550.128163.045132.98860%
41-5-10.160224.339189.6880.2600.129165.309134.33460%
51-6-10.156222.070184.7530.3480.146191.760152.28760%
61-7-10.155221.486183.1930.3710.146196.996152.68660%
71-8-10.154221.553182.7270.3750.149199.493155.14860%
81-9-10.153221.309182.0600.3820.152203.666158.38660%
91-10-10.154221.619183.2380.3620.145193.697151.51960%
101-11-10.154221.698182.9490.3630.147195.395153.52560%
111-12-10.156222.047185.1800.3300.143185.852148.95760%
121-13-10.154221.828183.2980.3570.148195.269154.77860%
131-14-10.154221.582182.8580.3690.149198.017155.00160%
141-15-10.162225.553192.0050.2860.139179.275143.30260%
Table 5. With the first and second principal components as input, the performance of Elman networks with different hidden layer nodes.
Table 5. With the first and second principal components as input, the performance of Elman networks with different hidden layer nodes.
ModelNameTrainingValidation
MAPERMSEMAEMREMAPERMSEMAEQR
12-2-10.155222.051182.8200.2950.138173.111144.46260%
22-3-10.148213.096176.0100.2160.115143.593122.34680%
32-4-10.131187.552153.5620.2890.142177.806153.35280%
42-5-10.138200.655164.4610.1580.078105.30888.466100%
52-6-10.132189.035155.0980.1700.086125.22897.631100%
62-7-10.132188.624154.4430.1780.090129.553102.225100%
72-8-10.136190.345159.3530.1650.080115.59889.780100%
82-9-10.135197.805160.7180.1270.06995.33978.964100%
92-10-10.129188.338152.0900.1550.097124.622109.113100%
102-11-10.131189.741154.5950.1520.086116.72897.551100%
112-12-10.140200.470164.8540.1590.092112.918102.019100%
122-13-10.134192.657157.4220.1560.089119.33699.144100%
132-14-10.134193.523158.6570.1660.097119.267107.923100%
142-15-10.134191.521157.8440.1550.084114.18895.899100%
Table 6. With the first, second and third principal components as input, the performance of Elman networks with different hidden layer nodes.
Table 6. With the first, second and third principal components as input, the performance of Elman networks with different hidden layer nodes.
ModelNameTrainingValidation
MAPERMSEMAEMREMAPERMSEMAEQR
13-2-10.147214.506176.5750.2740.119153.358124.23580%
23-3-10.147213.411176.4850.2020.106132.191113.08180%
33-4-10.122179.191143.7580.4380.149213.823155.19080%
43-5-10.121170.440141.6321.1060.319509.077336.47660%
53-6-10.125184.424148.8380.1970.115136.876128.372100%
63-7-10.119172.714141.1970.4710.197278.944222.41960%
73-8-10.113167.382133.0950.2390.136184.009155.51260%
83-9-10.136194.311161.3200.1910.110133.774121.915100%
93-10-10.117173.909138.0460.2800.143195.198163.71060%
103-11-10.129181.719152.6120.1690.114146.366126.855100%
113-12-10.126187.950150.3100.2070.106131.850118.58380%
123-13-10.115169.871136.6860.3790.135211.644149.33260%
133-14-10.114166.467133.7901.1700.294527.855303.34960%
143-15-10.128188.502152.5130.1790.113148.934126.428100%
Table 7. Prediction error of single model in the verification period.
Table 7. Prediction error of single model in the verification period.
The Evaluation IndexYearThe First TimeThe Second TimeThe Third TimeThe Fourth TimeThe Fifth TimeEnsemble Forecast
RE200714.10%13.15%11.41%12.86%15.24%13.35%
2008−14.85%−14.20%−12.93%−14.76%−11.26%−13.60%
20091.63%2.26%3.70%1.91%6.57%3.21%
20104.63%6.80%7.97%4.96%6.78%6.23%
2011−4.51%−11.77%−13.70%−2.06%−12.95%−9.00%
QR100%100%100%100%100%100%
MRE14.85%14.20%13.70%14.76%15.24%13.60%
MAPE7.94%9.64%9.94%7.31%10.56%9.09%

Share and Cite

MDPI and ACS Style

Li, C.; Zhu, L.; He, Z.; Gao, H.; Yang, Y.; Yao, D.; Qu, X. Runoff Prediction Method Based on Adaptive Elman Neural Network. Water 2019, 11, 1113. https://doi.org/10.3390/w11061113

AMA Style

Li C, Zhu L, He Z, Gao H, Yang Y, Yao D, Qu X. Runoff Prediction Method Based on Adaptive Elman Neural Network. Water. 2019; 11(6):1113. https://doi.org/10.3390/w11061113

Chicago/Turabian Style

Li, Chenming, Lei Zhu, Zhiyao He, Hongmin Gao, Yao Yang, Dan Yao, and Xiaoyu Qu. 2019. "Runoff Prediction Method Based on Adaptive Elman Neural Network" Water 11, no. 6: 1113. https://doi.org/10.3390/w11061113

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop