## Abstract

In the present study, the performance of Dez Reservoir, its regulatory and downstream diversion dams are studied using the system dynamics method (SD) in the Vensim software. In the first step, all the effective parameters with their relationship were identified and then the simulation was carried out considering the minimum and maximum reservoir volume and downstream demand over an eight-year period (2006–2013). After model validation, the statistical indices of correlation coefficient (R^{2}), root mean square error (RMSE), and standard error (SE) for the reservoir volume were calculated as 0.99, 3.1690, and 0.18, respectively. The statistical indices for the regulatory dam were 0.98, 7.51, and 0.13, respectively. These statistical indices were 0.92, 4.71, and 0.37 for the diversion dam. The achieved results showed that the SD-simulated releases met downstream demands and the SD method has high accuracy in simulating the performance of the surface tank system. Moreover, for a better evaluation of the results of the SD model, the eight-year Dez dam releases were optimized using the particle swarm optimization (PSO) algorithm, and the required deficiency values were evaluated in both SD and PSO models. Results showed that SD provides more appropriate planning in meeting the downstream demands than PSO.

## HIGHLIGHTS

The performance of the system dynamics method in the management and simulation of the productivity of the water resource system for the storage reservoir, the regulatory dam, and the diversion dam was investigated simultaneously.

The accuracy of system dynamics method in the management of the mentioned integrated system was compared with that of the meta-heuristic particle swarm optimization (PSO) algorithm.

### Graphical Abstract

## INTRODUCTION

Iran is in the dry belt of the world and its rainfall is one-third of the average global rainfall. Drought periods in Iran are frequent based on the records. Therefore, proper planning such as taking effective steps for the optimal use of water is required to minimize the damage of water shortage. The system dynamics (SD) method is one of the most powerful management tools which has been used in recent years to simulate complex water resource systems. Hence, this method is applied in the present study to simulate the performance of Dez Reservoir. It is important to note that Dez Reservoir plays a significant role in supplying water for 125,000 ha downstream irrigation and drainage network along with its effective role in providing hydroelectric power and flood control.

The system dynamics in the decision-making process of the reservoir management not only have the ability to analyze the complex systems based on reality, but it also provides the opportunity for the user's participation in the development of the model. Ahmad & Simonovic (2000) developed a model for flood management in the Shellmouth Reservoir in Canada using the SD method. Hassanzadeh *et al.* (2012) evaluated the main factors in Urmia Lake's level reduction using the SD model. After validating this model, the results showed that changes in inflows due to climate change and overuse of surface resources were the main factors in reducing the surface area of the Urmia Lake by up to 65%. The construction of four different dams and reduction of precipitation resulted in decreasing the lake level up to 25 and 10%, respectively. Madani & Mariño (2009) used the SD method to manage the Zayandehrood River basin. Results of the model for different scenarios showed that inter-basin transfer is not the only solution to the river deficits. Various alternatives such as demand management and population control can be used along with inter-basin water transfer to solve the basin water crisis more effectively by increasing the water storage capacity and controlling the groundwater discharge.

Kotir *et al.* (2016) studied water resource management in the Volta River Basin in Ghana by designing three scenarios of infrastructure development, wheat crop expansion, and arid conditions using the SD method. This study indicated that the scenario of infrastructure development is an important step towards improving the region's agriculture as well as conserving water resources. Xi & Poh (2013) used the SD models to analyze Singapore's integrated water resources and demonstrated that the system dynamics is a suitable decision support tool for sustainable water resource management. Moreover, Nozari *et al.* (2014) simulated the right part of the drainage network of Abshar in Isfahan as well as the cropping pattern in the concerned area using the SD method. The results of the model validation showed that the model has acceptable accuracy in simulating an irrigation network, cropping pattern, and other defined scenarios. Several recent studies have used the SD method to develop dynamic systems and simulation models in different river basins or watersheds around the world (Niazi *et al.* 2014; Kotir *et al.* 2017). Li *et al.* (2018) simulated water resource planning in Zhengzhou, China, using the SD model. The model consisted of four subsystems of population, economic, water demand, and water supply. The difference between supply and demand in Zhengzhou is very conspicuous. The results reveal that in 2020 the demand for water will reach 2.57 billion cubic meters in Zhengzhou.

Furthermore, reservoir operation optimization is studied using various algorithm techniques by many researchers. For example, heuristic approaches and evolutionary algorithms have been studied by Zhang *et al.* (2016), Niu *et al.* (2018), Fang & Popole (2019), Moeini & Afshar (2019) and Azad *et al.* (2020). Moeini & Afshar (2019) presented two hybrid ant colony optimization algorithm methods (ACOA-NLP and ACOA-TGA-NLP) for the layout and pipe size optimization of sewer network. In this study, the computational effort is significantly reduced in comparison with alternative methods. Dehghani *et al.* (2019) applied the Grey wolf optimization (GWO) method coupled with an adaptive neuro-fuzzy inference system (ANFIS) to forecast the hydropower generation. Azamathulla *et al.* (2008) applied an integrated linear programming (LP) and genetic algorithm (GA) model to optimize the allocation of the available water in the Chiller reservoir system in India. They concluded that GA algorithm performs much better compared to the LP model. Fang & Popole (2019) utilized the developed PSO algorithm for multi-objective optimization of the Shui-Kou hydroelectric reservoir in Minjiang, China. This research showed that the model can achieve the optimum schedule by considering environmental and electricity generation benefits; additionally, an optimal operation plan can improve environmental protection by 6.56% and reduce electricity production costs by 0.47%. Niu *et al.* (2018) used the multi-objective PSO algorithm in order to optimize the exploitation of the Lancang hydroelectric reservoir in the southwest of China. The results indicated that the multi-objective PSO algorithm can provide satisfactory planning results for the reservoirs and various other cases. Zhang *et al.* (2016) investigated the optimal exploitation of the multi-reservoir hydraulic systems using PSO optimization and their results showed improvement of the performance and operation of this algorithm in high-quality volume storage.

In the modeling process, main sources of uncertainty are in input data, model structure and parameter values. Hence, it is important to quantify the uncertainty in the model outputs. Fan *et al.* (2019) developed a full-subsampling factorial copula and a full-subsampling factorial analysis approach to quantify parameter uncertainties and to diminish the effect of the sample size, respectively. Li *et al.* (2019) proposed a fuzzy gradient chance-constrained evacuation model to address different uncertainties in evacuation management and planning. One of the most widely used methods for calibration and uncertainty analysis of hydrological model parameters is Generalized Likelihood Uncertainty Estimation (GLUE). The reason for using this method is its simplicity, ease of performance, and less strict statistical assumptions about model errors (Cho *et al.* 2019).

Studying the conducted research shows that the dam reservoir modeling and its performance simulation using the SD method has acceptable accuracy. However, so far, the performance of the reservoir, the regulatory dam, and the diversion dam of the surface water control system has not been simulated simultaneously using this method. Therefore, in the present study, the performance of the SD method in the management and simulation of the productivity of the water resource system for the storage reservoir, regulatory dam, and diversion dam will be investigated simultaneously. Also, the accuracy of this method in the management of the mentioned integrated system will be compared with that of the meta-heuristic particle swarm optimization (PSO) algorithm.

## MATERIALS AND METHODS

### Study area

The Dez basin is part of the second-grade basin of the great Karun. There are 27 water resource development projects in this basin, one of which is the Dez Reservoir dam. The minimum and maximum storage capacity of the dam are 466.73 and 3,460 million cubic meters, respectively (Adib *et al.* 2012). The main purpose of the construction of this dam was to control floods, and to regulate water for irrigation and agricultural purposes. In order to control the fluctuations of the outflow water from the Dez Reservoir dam, the Dezful regulatory dam was constructed at 32°24′33″ N and 48°24′56″ E and it was located 5.4 km to the north of the Dezful old bridge to control the outflow water from the Dez Reservoir dam and to supply inflow water to the Dez irrigation and drainage network based on 200 cubic meters per second. Sabili canal, with a capacity of 13 cubic meters per second, was constructed 2 km upstream of the dam. Also, in order to divert the Dez River water to the main west (with the capacity of 157 cubic meters per second) and east canals (with the capacity of 93 cubic meters per second) gravitationally, supply the downstream water, and cross 6,000 cubic meters per second of flood flow, the diversion dam was constructed. The dam, with a length of 394 m and a height of 4 m is located 6 km away from the regulatory dam's downstream (Figure 1). The characteristics of the reservoir dam, regulatory dam, and diversion dam are presented in Table 1.

Dez Reservoir dam . | Dez regulatory dam . | Dez diversion dam . |
---|---|---|

Dam form: Two-arched concrete | Dam form: concrete | Dam form: free concrete overpass |

Dam height: 203 m | Crest elevation: 141 m | Spill elevation: 116.5 m |

Dam elevation: 354 m | Dam height: 20 m | Dam length: 394 m |

Crest length: 212 m | Crest length: 136 m | Drainage length : 633.7 km |

Gate length: 65 km | Length of stilling basin: 32 m | Spill height: 4 m |

Total reservoir volume: 3.3 BCM | Lake capacity: 14 MCM | Length of main eastern canal: 113.5 km |

Reservoir useful volume: 2.7 BCM | Lake area: 360 ha | Length of main western canal: 93 km |

Dam basin area: 17,000 km^{2} | Spillway capacity: 6,000 m^{3}/s | Capacity of main eastern canal: 92 m^{3}/s |

Maximum power generation height: 290 m | Capacity of main Sabili canal: 13 m^{3}/s | Capacity of main western canal: 157 m^{3}/s |

Dez Reservoir dam . | Dez regulatory dam . | Dez diversion dam . |
---|---|---|

Dam form: Two-arched concrete | Dam form: concrete | Dam form: free concrete overpass |

Dam height: 203 m | Crest elevation: 141 m | Spill elevation: 116.5 m |

Dam elevation: 354 m | Dam height: 20 m | Dam length: 394 m |

Crest length: 212 m | Crest length: 136 m | Drainage length : 633.7 km |

Gate length: 65 km | Length of stilling basin: 32 m | Spill height: 4 m |

Total reservoir volume: 3.3 BCM | Lake capacity: 14 MCM | Length of main eastern canal: 113.5 km |

Reservoir useful volume: 2.7 BCM | Lake area: 360 ha | Length of main western canal: 93 km |

Dam basin area: 17,000 km^{2} | Spillway capacity: 6,000 m^{3}/s | Capacity of main eastern canal: 92 m^{3}/s |

Maximum power generation height: 290 m | Capacity of main Sabili canal: 13 m^{3}/s | Capacity of main western canal: 157 m^{3}/s |

### Preparing data

Row . | Station . | Longitude . | Latitude . | Elevation . | Established year . |
---|---|---|---|---|---|

1 | Dez dam | 48°27′00 | 32°33′00 | 525 | 1971 |

2 | Dezful regulatory dam | 48°27′00 | 32°25′00 | 142 | 1976 |

Row . | Station . | Longitude . | Latitude . | Elevation . | Established year . |
---|---|---|---|---|---|

1 | Dez dam | 48°27′00 | 32°33′00 | 525 | 1971 |

2 | Dezful regulatory dam | 48°27′00 | 32°25′00 | 142 | 1976 |

In the above equation, *a* and *b* are the constant coefficients obtained from the area-storage curve of the reservoir which are 8.7054 and 0.0207, respectively. The monthly evaporation heights of the Dez dam station and the Dezful regulatory dam are presented by evap term. *S _{t}* and

*S*

_{t+1}, and are respectively the reservoir volume at the beginning and the end of the period.

### Environmental information

The required flow to preserve the habitat of various species of aquatic organisms and plants to conserve their life cycle is called the minimum environmental demand. After exploitation, each dam should meet its downstream environmental demands. The Montana method was used for the quantitative estimation of the Dez dam's environmental demands. In this method, by considering the aquatic life conditions, the minimum amount of water release is calculated as a specific percentage of the annual average river discharge (Table 3). In order to estimate the environmental demand, in the Montana method, 10% of the mean monthly discharge for the rainy months and 30% of the mean monthly discharge for the low-water months of the year were used as the long-term statistical series.

Percent of average annual flow . | Flow category or habitat quality in the river . | |
---|---|---|

October–March | April–September | Optimal condition |

40 | 60 | Outstanding |

30 | 50 | Excellent |

20 | 40 | Good |

10 | 30 | Moderately degraded |

10 | 10 | Poor |

10 < | 10 < | Highly to severely degraded |

Percent of average annual flow . | Flow category or habitat quality in the river . | |
---|---|---|

October–March | April–September | Optimal condition |

40 | 60 | Outstanding |

30 | 50 | Excellent |

20 | 40 | Good |

10 | 30 | Moderately degraded |

10 | 10 | Poor |

10 < | 10 < | Highly to severely degraded |

### The system dynamics method

The SD method is a method which is based on systematic thinking. It is used for studying and improving learning in complex systems. This approach is fundamentally feedback-based. In this method, four tools of stock, flow, interfaces, and converters are used (Niazi *et al.* 2014). In a rapidly changing water resource system, dynamic models can be useful analytical tools for studying the behavior of the variables through time. The SD, in addition to being able to describe complex systems based on reality, enables the user's participation in developing the model so that the best decision can be made.

In the present study, the Ventana system (Vensim) is used to evaluate system dynamics. This tool is an object-oriented modeling environment that makes it possible to create complex models more easily compared to conventional programming languages. Using this software, the Causal Loop Diagram (CLDS) can be converted to Stock and Flow Diagrams (SFDS) (Kotir *et al.* 2016).

### The assumption and limitation of the system dynamics modeling

SD modeling is not able to provide a frame or specific methodology for the design and diagnosis of organizational structures in the sense of mutual relation among organizational actors. Absorption of variety by an organization is another limitation of SD modeling. It is important to note that variety is the number of states a system can assume and it has been used as technical term for complexity (Schwaninger 2020). Another significant limitation for SD models is lack of enough skill and experience to build the desired model. In other words, learning how to build models and examine them not only needs years of training, but also a system dynamic collaborator is required to help the community psychologists to apply necessary techniques.

Based on the SD modelling, we are able to model a problem in different scales by focusing on the identification of main stock players at a specified resolution. However, we cannot ignore the influence of parameters and auxiliary variables. Although thinking and modeling at different scales is an important part of this approach, there will not be a formal procedure to cope with the external complexity. Furthermore, SD modelling generates more realistic representations of complex systems in comparison to the path diagrammatic models and traditional social modelling approaches, but they cannot capture the full complexity of a process. Hence, it is important to pick appropriate elements and interactions that help modelers to create a more useful insight to define a complex problem into a single model. Although system dynamics has the potential to simulate a complex system, it cannot do so perfectly due to lack of data availability, systems understanding, and systems uncertainties.

Although a main reason for using these types of models is to make the assumptions as reliable as possible, the SD and other types of models still cannot completely satisfy all the required critics.

### Causal loops

In any SD modeling project, the first step is to determine the system structure, which includes positive and negative relationships among variables, feedback loops, system structure, and delays (Winz *et al.* 2009). Using causal loops, the affects and influences of each of the variables on one another can be indicated. The causal relationship is shown by two positive and negative signs, if the changes of the independent and the dependent variable are in one direction, the causal relationship will be positive (R), and if their changes are in opposite directions, the causal relationship will be negative (B) (Kotir *et al.* 2017). The causal loops of the storage reservoir, regulatory dam, and diversion dam are presented in Figure 2. For example, in the B1 loop, raising water elevation increases the reservoir surface and so the volume of evaporation will be increased. Increase in evaporation reduces the storage capacity of the reservoir and eventually decreases the height of the water behind the dam and creates a negative ring.

### Stock and flow diagram

After drawing the causal loop graphs, it is necessary to develop flow charts. The integrated state flow diagram of the Dez Reservoir dam, regulatory dam, and diversion dam is presented in Figure 3. In this stock and flow diagram, the capacity of the reservoir, regulatory dam, and diversion dam are considered as stock and they are plotted against other variables such as evaporation, overflow, release rate (to meet the demands of the turbine), release values (for agricultural use through each of the eastern, western and Sabili canals), and the consumption related to environmental demands, as flow. The characteristics and detailed information of all desired variables used in the stock-flow diagram are presented in Table 4.

Variable . | Description . | Unit . |
---|---|---|

Dez dam | Dez Reservoir volume | MCM |

Inflow Dez | Amount of inflow into the reservoir | MCM/month |

Inflow reg | Amount of inflow into the Dez regulatory dam | MCM/month |

Inflow div | Amount of inflow into the Dez diversion dam | MCM/month |

Spillway Dez | Amount of spill from the reservoir | MCM/month |

Turbine | Release water of turbine | MCM/month |

Max volume | Maximum volume of water in reservoir | MCM |

Min volume | Minimum volume of water in reservoir | MCM |

Total demand | Total demand for (agriculture + environmental) | MCM/month |

Elevation | Elevation of water in reservoir | m |

Evap | Elevation of monthly evaporation | mm |

Outflow Dez | Outflow from reservoir for to supply water needs | MCM/month |

Sabili canal | Amount of inflow into the Sabili canal | MCM/month |

Max Ca Sabili | Maximum capacity of Sabili canal | MCM/month |

Demand Sabili | Demand for Sabili canal | MCM/month |

Main western canal | Amount of inflow into the western canal | MCM/month |

Main eastern canal | Amount of inflow into the eastern canal | MCM/month |

Release env | Amount of inflow for supply environmental | MCM/month |

Env | Amount of demand for environmental | MCM/month |

Variable . | Description . | Unit . |
---|---|---|

Dez dam | Dez Reservoir volume | MCM |

Inflow Dez | Amount of inflow into the reservoir | MCM/month |

Inflow reg | Amount of inflow into the Dez regulatory dam | MCM/month |

Inflow div | Amount of inflow into the Dez diversion dam | MCM/month |

Spillway Dez | Amount of spill from the reservoir | MCM/month |

Turbine | Release water of turbine | MCM/month |

Max volume | Maximum volume of water in reservoir | MCM |

Min volume | Minimum volume of water in reservoir | MCM |

Total demand | Total demand for (agriculture + environmental) | MCM/month |

Elevation | Elevation of water in reservoir | m |

Evap | Elevation of monthly evaporation | mm |

Outflow Dez | Outflow from reservoir for to supply water needs | MCM/month |

Sabili canal | Amount of inflow into the Sabili canal | MCM/month |

Max Ca Sabili | Maximum capacity of Sabili canal | MCM/month |

Demand Sabili | Demand for Sabili canal | MCM/month |

Main western canal | Amount of inflow into the western canal | MCM/month |

Main eastern canal | Amount of inflow into the eastern canal | MCM/month |

Release env | Amount of inflow for supply environmental | MCM/month |

Env | Amount of demand for environmental | MCM/month |

### PSO algorithm

The PSO algorithm is a method for iterative-based optimization which the system considers as the initial value to generate a series of random solutions. In this solution space, particles are forced to search for a better, and ultimately optimal, solution (Hu & Li 2012). The invention of the PSO optimization algorithm was inspired by the social behavior of bees, fish, or a flock of birds; as a matter of fact, the algorithm mimics the behavior of these communities. In the PSO algorithm, each solution is one bird of the flock of birds which is called particle; in this framework, birds, along with enjoying artificial intelligence, develop some social behaviors, and the coordinate of their movement is towards a destination (Montalvo *et al.* 2008). The basis of the PSO algorithm is that at any given moment each particle adjusts its place in the search space according to the best place it can be located. Each particle has two characteristics: position and velocity. After the dispersion of the particles, each particle communicates the position and the value of its objective function to other members. Then, the position of the best particle is identified based on which particles are afterwards redirected to the new position at a certain speed. The main advantage of the PSO is that it is easy to implement, and it requires fewer parameters. The flowchart of the PSO algorithm is presented in Figure 4.

### Optimal exploitation of the reservoir

In these equations, *R _{t}* is the monthly release rate,

*D*is the monthly demand,

_{t}*D*is maximum monthly demand,

_{max}*S*is the reservoir storage volume at the beginning of the

_{t}*t*period,

*S*is the reservoir storage volume at the end of the

_{t+1}*t*period,

*I*is monthly input rate of the reservoir,

_{t}*E*is monthly evaporation volume.

_{t}*S*and

_{max}*S*are respectively the maximum and minimum storage capacity of the reservoir during the simulation period.

_{min}^{2}), root mean square error (RMSE), and standard error (SE) are used (Kotir

*et al.*2016):

In the above equations is the observed discharge, is simulation discharge, is mean observed discharge, is mean simulation discharge, and *n* is number of data.

### Uncertainty analysis

As stated before, one of the main objectives in this research is the assessment of uncertainty associated with the model outputs.

The basic steps of the hired methodology are as follows:

Seasonal autoregressive integrated moving average (SARIMA) was used to predict the monthly inflow into the Dez dam and the monthly evaporation heights of the Dez dam station. Based on the observations, SARIMA(2,1,1)(1,0,3)

_{12}was the best model for predicting monthly inflow, and the appropriate form of the monthly evaporation time series was SARIMA(1,1,3)(1,0,4)_{12}.Artificial sets of data points were generated many times by using selected model and Monte Carlo simulation.

The SD and PSO models was run for all different input data sets.

- The likelihood function was calculated using Equation (8) for each dataset (Beven & Binley 1992):where is the amount of demand at time t, is the output of the model for dataset and
*n*is the number of demand data. - Model output uncertainty was determined for both models by likelihood weight (Equation (9)). is the probability or likelihood weight of the
*i*th dataset and*N*is the number of datasets. The sum of these weights is equal to one and they represent the probability density function. Model output uncertainty is quantified within the 95% confidence interval. In other words, data within 2.5% upper limit and 2.5% lower limit are considered as outlier data and removed from the database.

- The ratio of the average distance between the above levels and the standard deviation of the corresponding measured variable, is calculated by the d-factor (Equation (10)) (Abbaspour
*et al.*2007):where is the standard deviation of the demands. is the average distance between the upper () and the lower () parts of the cumulative distribution. A value of less than 1 is a desirable measure for the d-factor.

## RESULTS AND DISCUSSION

### Validation of model results

In order to validate the model results, the total downstream demand was considered equal to the actual release in the years 2005–2006 to 2013–2014 and the desired model was implemented. Figure 5 shows the release values from: (a) Dez dam reservoir, (b) regulatory dam, and (c) diversion dam against the values simulated by the SD model. For better comparison of the results, the bisector line was also drawn. It is observed that in all three cases data are close to the bisector line, and this indicates the high accuracy of the model in the simultaneous simulation of these three reservoirs.

Table 5 shows the results of calculating the statistical indices of R^{2}, RMSE, and SE for variables of the water height behind the reservoir dam, the reservoir storage volume, release and overflow from the Dez Reservoir dam. It is observed that the dimensionless SE index for these variables is 0.02, 0.18, 0.08, and 0.06, respectively, indicating the high accuracy of the model in simulating the water behind the Dez Reservoir dam.

Dez Reservoir dam . | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Water height behind the reservoir dam | 0.98 | 7.11 | 0.02 |

Storage volume | 0.99 | 307.76 | 0.18 |

Release | 0.98 | 34.39 | 0.08 |

Spillway | 0.96 | 34.39 | 0.06 |

Dez Reservoir dam . | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Water height behind the reservoir dam | 0.98 | 7.11 | 0.02 |

Storage volume | 0.99 | 307.76 | 0.18 |

Release | 0.98 | 34.39 | 0.08 |

Spillway | 0.96 | 34.39 | 0.06 |

The statistical indices of R^{2}, RMSE and SE for the outflow of the regulatory dam after supplying its upstream Sabili canal demands are 0.98, 51.68 and 0.13, respectively. In addition those indexes are 0.92, 71.38, and 0.37 for the outflow of the diversion dam after meeting the main western and eastern canal requirements and the downstream environmental demands. In the Dez diversion dam, due to its lower height, calculation of the height-volume was associated with greater error which resulted in the lower accuracy of the SD model in simulating the diversion dam compared to Dez and the regulatory dam. However, in general, the results of calculating the presented statistical indices of R^{2}, RMSE, and SE show the high accuracy of the SD model in simulating the performance of the regulatory dam and the diversion dam.

### Comparison of release in three modes: real, optimal, and system dynamics to meet downstream demands

The real downstream demand was defined as an input for the model. The amount of water allocation and release from each of the reservoir, regulatory, and diversion dams was calculated using the SD model. Moreover, in order to compare the results of the model, the release rate from each of the above-mentioned dams was optimized using the PSO optimization algorithm, and its results were compared with those of the SD model. The results of the implementation of these models for each of the three dams are given below.

### Dez Reservoir dam

Table 6 shows characteristics of the fitted patterns to optimize the downstream water allocation using the PSO algorithm. According to the target function values (min TSD) and the statistical indices of R^{2}, RMSE, and SE, the chosen model is model number (5) which indicated the least discrepancy between demand and release values.

Run number . | Population . | Number of repetitions . | R^{2}
. | RMSE . | SE . | Min TSD . |
---|---|---|---|---|---|---|

1 | 50 | 1,000 | 0.44 | 184.61 | 0.46 | 3.64 |

2 | 60 | 1,000 | 0.41 | 186.29 | 0.46 | 3.71 |

3 | 100 | 1,000 | 0.63 | 158.72 | 0.39 | 2.69 |

4 | 150 | 1,000 | 0.45 | 178.82 | 0.44 | 3.42 |

5 | 200 | 1,000 | 0.71 | 138.90 | 0.34 | 2.06 |

6 | 200 | 500 | 0.52 | 169.11 | 0.42 | 3.06 |

7 | 210 | 2,000 | 0.48 | 161.43 | 0.40 | 2.78 |

8 | 250 | 500 | 0.48 | 180.20 | 0.45 | 3.47 |

9 | 300 | 1,000 | 0.41 | 176.76 | 0.44 | 3.34 |

10 | 400 | 1,000 | 0.67 | 149.04 | 0.37 | 2.37 |

11 | 500 | 1,000 | 0.45 | 169.02 | 0.42 | 3.05 |

Run number . | Population . | Number of repetitions . | R^{2}
. | RMSE . | SE . | Min TSD . |
---|---|---|---|---|---|---|

1 | 50 | 1,000 | 0.44 | 184.61 | 0.46 | 3.64 |

2 | 60 | 1,000 | 0.41 | 186.29 | 0.46 | 3.71 |

3 | 100 | 1,000 | 0.63 | 158.72 | 0.39 | 2.69 |

4 | 150 | 1,000 | 0.45 | 178.82 | 0.44 | 3.42 |

5 | 200 | 1,000 | 0.71 | 138.90 | 0.34 | 2.06 |

6 | 200 | 500 | 0.52 | 169.11 | 0.42 | 3.06 |

7 | 210 | 2,000 | 0.48 | 161.43 | 0.40 | 2.78 |

8 | 250 | 500 | 0.48 | 180.20 | 0.45 | 3.47 |

9 | 300 | 1,000 | 0.41 | 176.76 | 0.44 | 3.34 |

10 | 400 | 1,000 | 0.67 | 149.04 | 0.37 | 2.37 |

11 | 500 | 1,000 | 0.45 | 169.02 | 0.42 | 3.05 |

Figure 6 shows the actual demand values by releasing in the three modes as: (a) observational, (b) PSO optimization, and (c) SD simulation, for the Dez. Also, the shortage values in supplying the demands of the desired reservoir for each of the three modes in all the mentioned statistical years are presented in Table 7. It is observed that the release values by the SD model are more in line with the downstream demands, and the deficiency values in this method are much lower than those of the observational and PSO optimization mode.

Year . | Observation . | Optimal . | Model SD . |
---|---|---|---|

2006 | 770.45 | 1,558.89 | 0.00 |

2007 | 1,191.17 | 1,354.88 | 0.00 |

2008 | 1,191.17 | 1,266.09 | 0.00 |

2009 | 1,695.77 | 1,176.17 | 899.82 |

2010 | 401.34 | 1,625.88 | 0.00 |

2011 | 475.77 | 745.67 | 0.00 |

2012 | 1,400.12 | 1,265.35 | 627.27 |

2013 | 492.36 | 983.18 | 126.07 |

Year . | Observation . | Optimal . | Model SD . |
---|---|---|---|

2006 | 770.45 | 1,558.89 | 0.00 |

2007 | 1,191.17 | 1,354.88 | 0.00 |

2008 | 1,191.17 | 1,266.09 | 0.00 |

2009 | 1,695.77 | 1,176.17 | 899.82 |

2010 | 401.34 | 1,625.88 | 0.00 |

2011 | 475.77 | 745.67 | 0.00 |

2012 | 1,400.12 | 1,265.35 | 627.27 |

2013 | 492.36 | 983.18 | 126.07 |

Table 8 indicates the desired statistical indices’ values for observational release, PSO optimization, and SD simulation. The values of these indices indicate that the SD model more accurately simulates the distribution of existing water resources to meet downstream requirements.

Dez Reservior dam . | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Observational release | 0.20 | 176.57 | 0.44 |

PSO optimization | 0.72 | 138.90 | 0.34 |

SD simulation | 0.87 | 65.75 | 0.16 |

Dez Reservior dam . | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Observational release | 0.20 | 176.57 | 0.44 |

PSO optimization | 0.72 | 138.90 | 0.34 |

SD simulation | 0.87 | 65.75 | 0.16 |

### Dez regulatory dam

As mentioned earlier, the Sabili canal is located behind the regulatory dam and its input is provided by the regulatory dam. In addition, the regulatory dam should release part of the water to meet the demands of the east and west canals, towards the Dez diversion. Figure 7 shows the values of the Sabili canal demands and the downstream release values of the regulatory dam in the three simulation models, (a) observational, (b) PSO optimization, and (c) SD, in order to be compared with the downstream demands. According to this figure, it can be said that during the statistical period of 2005–2014, there was no real release in line with the demands of the Sabili canal and the downstream of the regulatory dam, and there was a significant difference between these two parameters. However, results of the PSO optimization and SD simulation demonstrate better management in meeting the demands of the subsystem canal and the downstream regulatory dam.

Table 9 shows the deficiency values in the Sabili canal and the downstream regulatory dam for the real conditions, PSO optimization, and SD simulations for the statistical study period. Moreover, the results of the statistical indices that meet this demand are presented in Table 10. Based on these tables, it can be concluded that the SD model can play an effective role in supplying the demands of both the Sabili canal and the downstream regulatory dam.

. | Sabili canal . | Total release from regulatory . | ||||
---|---|---|---|---|---|---|

Year . | Observation . | Optimal . | SD Model . | Observation . | Optimal . | SD Model . |

2006 | 76.18 | 0.00 | 0.00 | 0.00 | 173.22 | 0.00 |

2007 | 64.80 | 0.00 | 0.00 | 0.00 | 79.95 | 0.00 |

2008 | 101.07 | 0.00 | 0.00 | 1,241.04 | 336.72 | 0.00 |

2009 | 102.98 | 0.00 | 0.00 | 1,228.82 | 456.59 | 496.95 |

2010 | 85.15 | 0.00 | 0.00 | 216.08 | 294.90 | 0.00 |

2011 | 56.13 | 0.00 | 0.00 | 385.10 | 89.15 | 0.00 |

2012 | 49.09 | 0.00 | 0.00 | 1,043.73 | 181.32 | 228.99 |

2013 | 36.33 | 0.00 | 0.00 | 275.00 | 54.05 | 0.00 |

. | Sabili canal . | Total release from regulatory . | ||||
---|---|---|---|---|---|---|

Year . | Observation . | Optimal . | SD Model . | Observation . | Optimal . | SD Model . |

2006 | 76.18 | 0.00 | 0.00 | 0.00 | 173.22 | 0.00 |

2007 | 64.80 | 0.00 | 0.00 | 0.00 | 79.95 | 0.00 |

2008 | 101.07 | 0.00 | 0.00 | 1,241.04 | 336.72 | 0.00 |

2009 | 102.98 | 0.00 | 0.00 | 1,228.82 | 456.59 | 496.95 |

2010 | 85.15 | 0.00 | 0.00 | 216.08 | 294.90 | 0.00 |

2011 | 56.13 | 0.00 | 0.00 | 385.10 | 89.15 | 0.00 |

2012 | 49.09 | 0.00 | 0.00 | 1,043.73 | 181.32 | 228.99 |

2013 | 36.33 | 0.00 | 0.00 | 275.00 | 54.05 | 0.00 |

Dez regulatory dam . | Sabili canal . | Total release from regulatory . | ||||
---|---|---|---|---|---|---|

R^{2}
. | RMSE . | SE . | R^{2}
. | RMSE . | SE . | |

Observe release | 0.39 | 8.82 | 0.57 | 0.31 | 225.92 | 0.71 |

Optimal release | 1.00 | 0.00 | 0.00 | 0.72 | 59.30 | 0.19 |

SD model release | 1.00 | 0.00 | 0.00 | 0.87 | 36.30 | 0.11 |

Dez regulatory dam . | Sabili canal . | Total release from regulatory . | ||||
---|---|---|---|---|---|---|

R^{2}
. | RMSE . | SE . | R^{2}
. | RMSE . | SE . | |

Observe release | 0.39 | 8.82 | 0.57 | 0.31 | 225.92 | 0.71 |

Optimal release | 1.00 | 0.00 | 0.00 | 0.72 | 59.30 | 0.19 |

SD model release | 1.00 | 0.00 | 0.00 | 0.87 | 36.30 | 0.11 |

### Dez diversion dam

The water released from the regulatory dam is accumulated in the diversion dam and it is directed to the west and east canals. Figure 8 shows the amount of water directed to the west and east canals for the three modes of: (a) observational, (b) PSO optimization, and (c) SD simulation. According to this figure, it is observed that during the statistical period of 2005–2014, the actual release did not supply the demands of the two mentioned canals and there is a significant difference between them. Comparing the results of the PSO optimization and SD simulation, it can be stated that the results of the SD model are more in line with the downstream demands.

The deficiency values in supplying the demands of the west and east canals for the three modes of the real conditions, PSO optimization, and SD method through the considered statistical period are presented in Table 11. The corresponding statistical indices for meeting the demand are presented in Table 12. According to the results, it can be said that the SD method is more capable in surface water management.

Year . | Main western canal . | Main eastern canal . | ||||
---|---|---|---|---|---|---|

Observation . | SD Model . | Optimal . | Observation . | SD Model . | Optimal . | |

2006 | 15.81 | 0.00 | 563.28 | 465.63 | 1.23 | 559.37 |

2007 | 0.00 | 0.00 | 587.48 | 500.28 | 2.25 | 589.95 |

2008 | 0.00 | 0.00 | 375.93 | 624.61 | 7.63 | 551.32 |

2009 | 46.56 | 499.10 | 477.21 | 660.48 | 364.54 | 487.48 |

2010 | 120.72 | 0.00 | 498.49 | 548.59 | 2.30 | 488.14 |

2011 | 326.03 | 0.00 | 250.41 | 431.07 | 5.64 | 427.62 |

2012 | 17.69 | 376.75 | 253.41 | 402.65 | 256.65 | 551.14 |

2013 | 413.83 | 97.96 | 176.93 | 325.66 | 33.90 | 382.62 |

Year . | Main western canal . | Main eastern canal . | ||||
---|---|---|---|---|---|---|

Observation . | SD Model . | Optimal . | Observation . | SD Model . | Optimal . | |

2006 | 15.81 | 0.00 | 563.28 | 465.63 | 1.23 | 559.37 |

2007 | 0.00 | 0.00 | 587.48 | 500.28 | 2.25 | 589.95 |

2008 | 0.00 | 0.00 | 375.93 | 624.61 | 7.63 | 551.32 |

2009 | 46.56 | 499.10 | 477.21 | 660.48 | 364.54 | 487.48 |

2010 | 120.72 | 0.00 | 498.49 | 548.59 | 2.30 | 488.14 |

2011 | 326.03 | 0.00 | 250.41 | 431.07 | 5.64 | 427.62 |

2012 | 17.69 | 376.75 | 253.41 | 402.65 | 256.65 | 551.14 |

2013 | 413.83 | 97.96 | 176.93 | 325.66 | 33.90 | 382.62 |

Dez diversion dam . | Main western canal . | Main eastern canal . | ||||
---|---|---|---|---|---|---|

R^{2}
. | RMSE . | SE . | R^{2}
. | RMSE . | SE . | |

Observation release | 0.17 | 109.88 | 0.51 | 0.41 | 59.53 | 0.56 |

Optimal release | 0.72 | 61.51 | 0.29 | 0.59 | 61.01 | 0.58 |

Model release SD | 0.85 | 39.24 | 0.18 | 0.86 | 25.40 | 0.24 |

Dez diversion dam . | Main western canal . | Main eastern canal . | ||||
---|---|---|---|---|---|---|

R^{2}
. | RMSE . | SE . | R^{2}
. | RMSE . | SE . | |

Observation release | 0.17 | 109.88 | 0.51 | 0.41 | 59.53 | 0.56 |

Optimal release | 0.72 | 61.51 | 0.29 | 0.59 | 61.01 | 0.58 |

Model release SD | 0.85 | 39.24 | 0.18 | 0.86 | 25.40 | 0.24 |

The results showed that the SD-simulated releases met downstream demands and the SD method has high accuracy in simulating the performance of the surface tank system (Figure 9 and Table 13).

. | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Optimal release | 0.67 | 24.35 | 0.35 |

Model release SD | 0.99 | 4.35 | 0.06 |

. | R^{2}
. | RMSE . | SE . |
---|---|---|---|

Optimal release | 0.67 | 24.35 | 0.35 |

Model release SD | 0.99 | 4.35 | 0.06 |

### Model uncertainty

Figure 10 shows the results of uncertainty analysis for both the SD and PSO algorithm. The shaded region indicates the uncertainty in reservoir release during the period of this study.

The sources of uncertainty are related to input data measurement, model structure and parameter values. As shown in the figure, the width of the confidence interval in the PSO algorithm is significantly higher than the SD method. Therefore, the PSO algorithm has more uncertainty in the reservoir release values.

As mentioned before, the d-factor is used to determine the model uncertainties. Its values are 0.45 for the SD approach and 2.4 for the PSO algorithm. It can be said that the SD approach provides more appropriate planning in meeting the downstream demands compared to PSO.

## CONCLUSIONS

Although the system dynamics method has many advantages in simulating complex systems, so far, the performance of the reservoir, regulatory dam, and diversion dam of the surface water control system has not been simulated simultaneously using this method. Therefore, in the present study, the performance of the system dynamics method in the management and simulation of the productivity of the water resource system for the desired integrated system was investigated. To evaluate the accuracy of this method, all results were compared with the PSO algorithm and the uncertainty of both methods was estimated. The following section provides an overview of the relevant results.

First, in order to validate the results of the SD model, the Dez Reservoir dam's performance was simulated for the statistical period of 2005–2014 using the above-mentioned model. The statistical indices of R^{2}, RMSE, and SE for the water volume behind the reservoir dam were 0.99, 1,690.3, and 0.18, respectively, and 0.98, 34.5 and, 0.08 for water released from the dam. Therefore, it can be said that the SD method has high accuracy in simulating the water volume of the Dez. Considering the capacity of the Sabili canal in the upstream of the regulatory dam, the amount of input water in this canal has been able to fully meet the demands of the canal. Also, the statistical indices of R^{2}, RMSE, and SE for released water from the regulatory dam were calculated as 0.976, 51.679, and 0.134, respectively.

The amount of water released from the regulatory dam was accumulated in the diversion dam, with the R^{2}, RMSE, and SE values of 0.85, 39.24, 0.18 for the main west canal and 0.86, 25.40, and 0.24 for the main east canal, and it has been able to meet the demands of the two mentioned canals to the desired extent. These results indicate the high accuracy of the SD model in the simultaneous simulation of the reservoir dam, regulatory dam, and diversion dam. In order to supply the demands of the Dez irrigation-drainage network, releases in the three cases of the real conditions, PSO algorithm optimization, and SD simulation were compared with one another based on which it can finally be said that, according to the obtained graphs as well as the deficiency values and the statistical indices, the release values simulated by the SD model were more in line with the downstream demands; and thus this model can have an effective role in the more accurate allocation of surface water resources in the region.

## DATA AVAILABILITY STATEMENT

All relevant data are included in the paper or its Supplementary Information.