Reservoir rule curves (RCs) are crucial for guiding operators on the optimal water release based on the available water at the start of each month. In the absence of RCs, simulation and optimization techniques can be effectively employed to develop these curves. This study evaluates the performance of various optimization techniques for deriving optimal reservoir RCs for the Zarrineh Rud reservoir using soft computing (SC) algorithms. The algorithms investigated include the genetic algorithm (GA), particle swarm optimization (PSO), and gravitational search algorithm (GSA). To this end, monthly demand and discharge data from 1987 to 2018 were collected. Historical RCs were first simulated using the sequent peak algorithm (SPA), and optimal RCs were subsequently derived through the GA–SPA, PSO–SPA, and GSA–SPA algorithms to minimize water shortages. The results indicated that the GSA–SPA generally improved the time-based (αt) and volume-based (αv) reliability indices by 3 and 2%, respectively, compared to the historical SPA (SPA-Hist). Additionally, simulations with the GSA–SPA significantly reduced the mean annual shortage and total shortage by approximately 8% compared to SPA-Hist. The PSO–SPA ranked second, with a 7.4 and 6.8% reduction in mean annual shortage and total shortage, respectively.

  • Rule Curves (RCs) are crucial for effective reservoir management, enhancing the reliability of water release decisions.

  • The study evaluates the performance of genetic algorithm (GA), particle swarm optimization (PSO), and gravitational search algorithm (GSA) for deriving optimal RCs.

  • Historical RCs were simulated using the sequent peak algorithm (SPA), and optimal RCs were derived through the GA–SPA, PSO–SPA, and GSA–SPA algorithms.

The rising demand for water poses a significant challenge in Iran, a country characterized by its arid and semi-arid climate. Surface water reservoirs are a crucial component of water supply systems in this country. In arid regions like Iran, over 90% of renewable water is used by the agricultural sector, primarily sourced from surface water reservoirs. Therefore, effective reservoir operation is vital under both normal and extreme conditions, such as droughts (Anvari et al. 2017).

Beyond simply managing river flows, reservoirs provide vital services to society, including hydroelectric power generation, reliable water supply, and flood control. To maximize their effectiveness, reservoirs must be strategically designed to capture excess runoff during wet seasons for use in drier periods. This proactive approach ensures that sufficient water is released to meet downstream demands, thereby enhancing overall water availability and management amid growing challenges (Cai et al. 2011; Anvari et al. 2014; Sasireka & Neelakantan 2017).

Most reservoir operating rules are in the form of rule curves (RCs). This consists of an upper rule curve (URC) and a lower rule curve (LRC), which must control the water level and release the water under the upper and lower boundaries during various times. They are extracted using a combination of system simulation and optimization techniques (Chang et al. 2005a, b; Chen et al. 2007; Moghaddasi et al. 2022). The application of RCs to manage reservoir operations has been schematically illustrated in Figure 1.
Figure 1

Schematic illustration of basic rule curves (adopted from Adeloye et al. (2016)).

Figure 1

Schematic illustration of basic rule curves (adopted from Adeloye et al. (2016)).

Close modal

As illustrated in Figure 1, full demand fulfillment is pursued when the water available (WA) falls within the range [LRCm, URCm], with LRCm and URCm representing the lower and upper RCs for month m, respectively. If WA exceeds URCm, supply surpasses demand; however, if WA is below LRCm, no water is released. So, identifying the optimal reservoir storage capacity (RSC) is a crucial design parameter that significantly impacts both water supply and environmental flow requirements. Additionally, it enhances confidence in water release decisions (Adeloye et al. 2016).

Various simulation-based methodologies determine the necessary RSC for planned water supply, including the Ripple mass curve method, sequent peak algorithm (SPA), modified SPA (MSPA), extended deficit analysis (EDA), behavior analysis (BA), and the empirical method by Vogel and Stedinger (McMahon & Adeloye 2005). Each method is chosen based on reservoir needs, data availability, and desired outcomes. For example, SPA uses historical inflow data to determine maximum storage required to meet demand without shortages, identifying the highest cumulative deficit. MSPA extends SPA by incorporating varying demand patterns and environmental flow requirements. The Ripple mass curve method plots cumulative inflow against demand, with the difference between the highest and lowest points representing required storage. BA simulates reservoir operations under various scenarios to assess RCs' performance in meeting demand and maintaining levels, involving iterative testing and adjustment (Montaseri 1999; McMahon & Adeloye 2005; Adeloye et al. 2016; Kosasaeng et al. 2022; Moghaddasi et al. 2022; Anvari et al. 2023).

Traditional optimization techniques like linear programming (LP), non-linear programming (NLP), and dynamic programming (DP) are widely used in water reservoir operations. However, they have several drawbacks compared to soft computing (SC) approaches such as genetic algorithms (GAs), flower pollination algorithm (FPA), tabu search (TS), particle swarm optimization (PSO), harmony search (HS), Harris Hawks optimization (HHO), honey-bee mating optimization (HBMO), simulated annealing (SA), ant colony (AC), bat algorithm, and gravitational search algorithm (GSA) (Goldberg 1998; Chang et al. 2005a, b; Kumar & Reddy 2006; Chen et al. 2007; Jalali et al. 2007; Haddad et al. 2008; Madadgar & Afshar 2009; Wang et al. 2009; Fallah-Mehdipour et al. 2011; Jothiprakash et al. 2011; Ostadrahimi et al. 2012; Bozorg-Haddad et al. 2014; Ahmadianfar et al. 2016; Spiliotis et al. 2016; Kangrang et al. 2018; Marchand et al. 2019; Ranjbar et al. 2021; Moghaddasi et al. 2022; Techarungruengsakul & Kangrang 2022; Anvari et al. 2019). Traditional optimization techniques have several disadvantages, including the assumption of linearity for both the objective function and decision variables (as seen in LP), sensitivity to input variability and the curse of dimensionality (common in DP), increased computational complexity with a growing number of variables and constraints, the tendency to converge on local optima (characteristic of NLP), and challenges in managing uncertainty (Anvari et al. 2014; Sharifi et al. 2021; Lai et al. 2022; Beiranvand & Ashofteh 2023). In contrast, SC techniques are adaptive, flexible, and capable of handling complex optimization problems. These methods are robust against uncertainties and can optimize multiple conflicting objectives (Soundharajan et al. 2016; Darakantong & Kangrang 2019; Papazoglou & Biskas 2023).

Recent studies underscore the effectiveness of SC techniques in water resource management. For example, Adeloye et al. (2016) analyzed Hedging-Integrated RCs for the Indian Pong reservoir, using SPA to design the RC. Their application of hedging rules and GA reduced the vulnerability index from 61 to 20%. Another study evaluated the reservoir's performance under climate change, demonstrating that static hedging rules decreased vulnerability from over 60% to under 25% while maintaining volume-based reliability. Although dynamic rules provided minor improvements, their complexity renders static rules the more efficient option. Recent advancements in hydrological modeling have greatly improved water resource management in Iran. Anvari et al. (2022) developed the ANN-IBGSA model to forecast 1-month ahead streamflow for the Karun River. This model combines an artificial neural network (ANN) with an improved binary gravitational search algorithm (IBGSA) to minimize the sum of root mean square error (RMSE) and coefficient of determination () while identifying optimal predictors. The ANN-IBGSA model outperformed forecasts from 2013, achieving average improvements of 9.91% in RMSE, 11.85% in R², and 9.13% in mean absolute error (MAE). Building on this work, Anvari et al. (2023) enhanced drought-related reservoir operations in the Aharchay basin by integrating a hedging rule-based reservoir operation model (HRROM) with a climate-based irrigation scheduling model (CBISM), collectively known as HRROM-CBISM. The HRROM optimizes long-term decisions for the Sattarkhan reservoir by evaluating various streamflow scenarios, while the CBISM allocates irrigation based on fluctuating agricultural demands and evapotranspiration. This integrated approach employs three optimization techniques of LP, NLP, and PSO to maximize the total income of the Aharchay agricultural network, considering climatic factors and water supply. Their findings indicated that the HRROM-CBISM significantly improved time-based (αt) and volume-based (αv) reliability indices by 20 and 44%, respectively, compared to the traditional standard operating policy (SOP). The average values of αt, αv and vulnerability (V) for SOP were 0.33, 0.51, and 0.48, respectively. With the HRROM-CBISM, the average values of αt, αv and vulnerability (V) were about 0.5, 0.55, and 0.45, respectively. The literature on soft computing techniques in water resource management identifies the GSA as an effective heuristic method based on physical principles. GSA excels in solving complex optimization problems through gravitational attraction, achieving a superior balance between exploration and exploitation. This results in improved convergence rates with fewer parameters compared to traditional algorithms like PSO and GA, enhancing its robustness. However, it is important to recognize that no single algorithm is universally superior for all optimization tasks (Rashedi et al. 2018; Hashemi et al. 2021).

This study presents a novel methodology for deriving reservoir RCs by integrating the SPA with advanced optimization techniques, specifically PSO, GSA, and GAs. By utilizing monthly demand and discharge data from 1987 to 2018, we first establish optimal RCs through the SPA. These foundational curves are then enhanced using hybrid approaches -PSO–SPA, GSA–SPA, and GA–SPA to effectively minimize total water shortages. Additionally, this research incorporates environmental considerations by calculating and comparing reservoir performance indices, thereby providing a holistic evaluation of the proposed methodologies.

This paper is structured as follows: the subsequent section details the case study, data, methodology, and formulation of the optimization models employed in this research. Following that, we present and discuss the results obtained. Finally, the paper concludes with a summary of the key findings and implications of the study.

Lake Urmia (LU), an internationally registered protected UNESCO Biosphere Reserve and Ramsar site since 1995, is located in northwestern Iran. Zarrineh Rud, with an area of 12,025 km2, is one of the major catchments for the lake, accounting for over 40% of its total annual inflow (Figure 2). This catchment is situated between 45°47′ to 47°20′N and 35°41′to 37°27′E. The Zarrineh Rud's main channel spans 300 km, with the basin receiving an average annual rainfall of 390 mm. This river is crucial for regional agricultural production. However, in recent years, various factors, including the continuous growth of the urban population and the expansion of new agricultural lands (Farokhnia 2015), have led to water shortages in the basin. The Zarrineh Rud reservoir, the sole dam in the basin, supports both agricultural and drinking water needs. It has a total storage capacity of 760 million cubic meters (MCM) and an active storage capacity of 654 MCM (CIWP 2014).
Figure 2

Schematic representation of the Zarrineh Rud basin as a sub-basin of the Urmia basin, highlighting its meteorological and hydrometric stations.

Figure 2

Schematic representation of the Zarrineh Rud basin as a sub-basin of the Urmia basin, highlighting its meteorological and hydrometric stations.

Close modal
Meteorological and hydrometric data from 1990 to 2016 were sourced from the Iranian Meteorological Organization (IMO) and the Ministry of Energy, specifically from two synoptic stations (Saghaz and Takab) and one hydrometric station upstream of the dam. Additionally, hydrometric data from 1987 to 2018 were collected from the Ministry of Energy. Figure 3 also shows the long-term historical inflow to Zarrineh Rud reservoir as well as the summed values of the drinking, environmental and agricultural requirements, as the main downstream demands of this reservoir.
Figure 3

Average monthly inflows and water demands for the Zarrineh Rud Dam from 1987 to 2018.

Figure 3

Average monthly inflows and water demands for the Zarrineh Rud Dam from 1987 to 2018.

Close modal

As depicted in Figure 3, the reservoir reaches its peak inflow in April, while the lowest inflow is observed in October. Notably, during the summer months (June, July, August) and autumn months (October, November, December), inflow levels are comparatively lower than in other seasons. Conversely, spring and winter experience the highest inflows, contributing approximately 87% of the total annual inflow during these periods.

Sequent peak algorithm

The graphical mass curve offers a straightforward method for estimating failure-free capacity (Ripple 1883). However, its graphical implementation is not entirely suitable, particularly for the repeated analyses needed in Monte Carlo simulations. Additionally, the non-unique outcomes and the iterative nature of behavioral simulations can render it inefficient for accurately estimating failure-free capacity (Adeloye et al. 2001), and it may also produce unreliable results (Pretto et al. 1997). To address these limitations, a sequential peak algorithm (SPA) was employed to estimate the necessary failure-free reservoir capacity (McMahon & Adeloye 2005; Adeloye et al. 2016):
(1)
(2)
where Ka is the reservoir capacity, Kt+1 and Kt are, respectively, the sequential deficits at the end and the start of time period t, Dt is the demand during t, Qt is the inflow during t, and N is the number of months in the data record. As a critical period reservoir sizing technique, SPA assumes that the reservoir is full at the start and the end of the cycle similar to other sizing techniques, i.e. K0 = KN = 0. When this is not the case, i.e. KN = 0, the SPA cycle is repeated by setting the initial deficit to KN, i.e. K0 = KN. This second iteration should end with KN unless the demand is higher than the mean annual runoff. SPA, however, does not need to assume that the reservoir is initially full, since this will become clear during the first cycle if this assumption is not valid, and amended during the second cycle.

Reservoir behavior simulation

Having determined the reservoir capacity (Ka), its behavior was simulated using the following relations to derive the lower rule curve (LRC) and the URC (McMahon & Adeloye 2005):
(3)
(4)
(5)
(6)
(7)
(8)
where St+1 and St are respectively, reservoir storage at the end and beginning of the time period t; Dt is the actual water released during t (which may be different from the demand Dt, depending on the operating RCs). LRC refers to the lower rule curve ordinate for the month corresponding to t, while URC indicates the upper rule curve ordinate for the same period. Generally, there are several aspects to the failures in the operation of a reservoir including extent, number, and severity (Jain 2010). Indices such as reliability, resiliency, and vulnerability illustrate these aspects, which are discussed in the following sections. (Hashimoto et al. 1982).

SC techniques

Genetic algorithm

GA have demonstrated effectiveness in tackling a range of water resource management challenges. Based on the principle of survival of the fittest, GA utilizes three main operators: selection, crossover, and mutation. Like other optimization algorithms, GA initiates with the definition of the objective function and decision variables, progresses through a defined set of steps (as illustrated in Figure 4), and concludes with an evaluation of convergence (Goldberg 1998; Kacprzyk 2006).
Figure 4

Flowchart of computational stages in GA (adopted from Ab Wahab et al. (2015)).

Figure 4

Flowchart of computational stages in GA (adopted from Ab Wahab et al. (2015)).

Close modal

As illustrated in Figure 4, the GA process starts with initializing a population (P0) of candidate solutions, represented as chromosomes. These individuals are evaluated using a fitness function. Selection mechanisms, such as roulette wheel or tournament selection, identify high-performing solutions for reproduction. Offsprings are generated through genetic operators like crossover probability rate (Pc), which recombines parent chromosomes, and mutation probability (Pm), which introduces variability by altering genes randomly. The new individuals replace less fit members of the population, and this process iterates until a termination condition is met. Common termination criteria include reaching a maximum number of generations, achieving population convergence, or attaining a predefined fitness threshold. Key parameters influencing GA performance include population size, crossover rate, mutation rate, and the number of generations, all of which require careful tuning to balance exploration and exploitation in the search space.

Particle Swarm Optimization

The PSO was first introduced by Reynolds and Heppner and then was simulated by Kennedy and Eberhart (Eberhart & Kennedy 1995). It has been used in a wide range of applications especially in water resource management because it is an easy-to-use algorithm (Akay 2013; Anvari et al. 2023). PSO identifies optimal solutions by iteratively updating a swarm of particles, each representing a potential solution. Particles adjust their velocities based on their personal best positions and the swarm's global best position (Figure 5).
Figure 5

The flowchart of a PSO model.

Figure 5

The flowchart of a PSO model.

Close modal

According to Figure 5, the PSO algorithm involves initializing particle positions and velocities, evaluating the objective function, updating personal and global bests, and modifying velocities and positions. Key parameters include the number of particles, inertia weight (for exploration and exploitation), and acceleration coefficients (balancing personal and social influence). Termination conditions typically involve reaching a maximum number of iterations, achieving a satisfactory fitness level, or minimal changes in the global best function. The number of parameters that need optimization, which are as follows, determines the dimensions of the search space:

  • The position of each particle for calculating the fitness value (Xi);

  • The velocity of each particle defined as the rate of position change (Vi);

  • The previous best positions (Xi−1).

    Furthermore, the position of the particle, which has the best fitness value, is referred to as the ‘global best position’ and is indicated by G. During the search process, the present positions of all particles (Xi) are assessed by employing the fitness function based on the following equation:
    (9)

Afterward, the fitness value of each particle is compared with its present position and the best position is saved in the previous best positions (Pi). The velocity of each particle is added to its present position as shown below:
(10)
where Pi is the best solution of the ith particle, C1 stands for the cognition learning factor, C2 represents the social learning factors, r1 and r2 are random numbers generated using a uniform distribution function in the range of [0, 1], and w is the inertia weight. The particles are moved randomly because their velocity is dependent on random variables. Based on Equation (16), throughout the search space, the new velocity of each particle is obtained by the following factors. The first one is the current velocity of the given particle (wVi(t)).

The second factor is the previous best position of the given particle, which is referred to as the ‘particle memory’ or the ‘cognitive component’. As shown in Equation (16), this term is used to adapt the velocity toward the best position that the particle can have (C1r1(Pi(t) − Xi(t))). The third factor is the position of the best fitness value which is named the ‘social component’ (C2r2(GXi(t))) and is employed to adjust the velocity toward the global best position in all particles (Hassan et al. 2005).

Gravitational search algorithm

The Newtonian laws of gravity and motion have inspired the real version of the GSA (Rashedi et al. 2018). For function optimization using GSA, N objects are considered with the position Xi as Equation (11). Every object is a real random vector that indicates the value of variables. The corresponding objective function obtained by these values is evaluated and then, the mass of each object is calculated:
(11)
where Mi(t) and foi(t) denote the mass and the objective function value of the agent i at iteration i, and, worst(t) is the worst object which has the worst objective function. The force applied on every object, acceleration, and the velocity of the objects are calculated using Equations (12)–(14), accordingly. , and are force, acceleration, and velocity that applied on object i in dimension d:
(12)
(13)
(14)
where randi and randj are two uniform random numbers in the interval [0,1], and ε is a small value. kbest is the set of first K agents with the best fitness value. Rij(t) is the Euclidean distance between two objects i and j.
The gravitational constant (G) is started from G0 and exponentially reduced over time according to Equation (15), with a decay rate of α. These steps are repeated for T iterations. The computational steps in the GSA are illustrated in Figure 6. These steps are repeated for T iterations. The stopping criterion is typically the specified number of iterations, which is the most common approach:
(15)
Figure 6

Flowchart of the GSA (Rashedi et al. 2009).

Objective function

In this study, the objective (or fitness) function used for GA, PSO, and GSA optimization techniques to develop the basic RCs is to minimize the total shortages as follows:
(16)
The constraints are as follows:
(17)
(18)
(19)
(20)
(21)
where WAt represents the water available at the start of time period (month) t; ERt denotes the excess release during time period t; St is the storage at the beginning of t; Dt refers to the actual release; m indicates the month of the year, which is associated with the year y and the simulation period t; Et is the net evaporation (which is disregarded), and all other symbols have been defined previously. The constraint on the right side of Equation (10) restricts the available water (AW) for any given month to the range [LRCm, URCm]. The decision variables for the optimization are URCm and LRCm; where m = 1, … , 12 corresponds to each month of the year. This results in a total of 24 variables, comprising 12 values for the monthly ordinates of URC and 12 values for the monthly ordinates of LRC.

Reservoir performance measures

This study utilized several accuracy indices to assess the operational performance of the Zarrineh Rud reservoir, including time-based and volume-based reliability measures (αt and αv, respectively), vulnerability (V), mean annual shortage (in MCM), and total shortage (in MCM). These indices are directly related to water scarcity and are defined according to Hashimoto et al. (1982) and Jain (2010) (see Table 1).

  • - Time-based reliability (αt):αt is defined as the percentage of time that the system operates without failure (Hashimoto et al. 1982) and is calculated according to Equation (22), where t is the index for year, N indicates the number of years, Dt represents the downstream demands, Rt shows the release from the reservoir, and Zt is an indicator equal to one when the demands are satisfied and equal to zero otherwise.

  • - Volume-based reliability (αv):αv is the proportion of the total time under consideration during which a reservoir is able to meet the full demand without any shortages (Equation (23)).

  • - Vulnerability (V): The definition of vulnerability used in the current study is the average period shortfall as a ratio of the average period demand (Equation (24)). In this equation, V indicates vulnerability and Rt represents the actual release during t.

Table 1

The accuracy indices for reservoir operation

EquationNo.Name of Equation
Time-based reliability (αt(22)  
Volume-based reliability ((23)  
Vulnerability (V(24)  
EquationNo.Name of Equation
Time-based reliability (αt(22)  
Volume-based reliability ((23)  
Vulnerability (V(24)  

In this section, the Zarrineh Rud reservoir was initially designed using the SPA method to fulfill existing demands without failure, based on various historical runoff scenarios. For this design, both drinking and agricultural demands were taken into account to determine reservoir storage. The results indicated that the calculated capacity (Ka) was 467 MCM, which increased to 573 MCM when factoring in the dead storage.

Parameter setting and sensitivity analysis

The parameters of the algorithms were set as shown in Table 2. For all algorithms, T is set to 500. For the GA, we utilized a population size of 30. The crossover operator was implemented using the two-point crossover method, while the selection operator was based on the roulette wheel selection method. For the PSO, the initial population size (number of particles) is 30, c1 and c2 are set to 2, wmax to wmin are considered as 0.9 and 0.2, respectively. The final parameters of the GA, PSO, and GSA are detailed in Table 2. These values were determined through trial and error and by conducting experiments within a range of values.

Table 2

Parameter settings for GA, PSO, and GSA

GA
PSO
GSA
Crossover rateMutation rateC1C2wNG0α
0.75 0.06 [wminwmax30 200 
GA
PSO
GSA
Crossover rateMutation rateC1C2wNG0α
0.75 0.06 [wminwmax30 200 

The sensitivity analysis of the GSA is presented here, focusing on four parameters that influence the sensitivity of reservoir performance to variations in each GSA parameter. These parameters are the maximum number of iterations (T), the number of agents (N), the gravitational constant (G0), and the gravitational constant decay factor (α). The GSA for the reservoir optimization problem is run 10 times for each parameter set, and the mean performance value is obtained across these runs. The value of T depends on the complexity of the problem. Low values of T would not provide enough time for the objects to explore the search space and high values increase computational complexities. In most GSA studies, the value of N is typically set to 50. In this study, the performance of GSA with different values of N in the range [10–100] was evaluated, and the optimal setting of N = 30 was selected. The other main parameters of GSA, G0 andα, control the exploration and exploitation of the algorithm.

The performance of the GSA with various G0 values in the range [1–300] is shown in Figure 7, and the performance with various α values in the range [1–50] is depicted in Figure 8. According to these figures, the optimal settings for GSA are provided in Table 2.
Figure 7

The change in objective function considering α = 1 and G0 in the range of [1–300].

Figure 7

The change in objective function considering α = 1 and G0 in the range of [1–300].

Close modal
Figure 8

The change in objective function considering G0 = 100 and α in the range of [1–50].

Figure 8

The change in objective function considering G0 = 100 and α in the range of [1–50].

Close modal
The simulated RC was improved using the GA–SPA approach (Figure 9). The results indicated that both algorithms demonstrated the greatest variation in the LRC during May and December, while the URC displayed its highest variation in November.
Figure 9

Rule curves developed by SPA and SPA–GA methos.

Figure 9

Rule curves developed by SPA and SPA–GA methos.

Close modal
Figure 6 also illustrates the SPA results for deriving the URC and LRC. These RCs were subsequently inputted to the PSO and GSA models to define the feasible solutions. They were encoded as PSO–SPA and GSA–SPA at the rest of paper (Figures 10 and 11).
Figure 10

The GSA–SPA results for deriving the URC and LRC.

Figure 10

The GSA–SPA results for deriving the URC and LRC.

Close modal
Figure 11

The PSO–SPA results for deriving the URC and LRC.

Figure 11

The PSO–SPA results for deriving the URC and LRC.

Close modal

Figures 10 and 11 illustrate that both GSA–SPA and PSO–SPA exhibit similar behavior in the URC, although some differences are observed in the LRC. The results presented highlight critical insights into the performance of the GSA–SPA and PSO–SPA algorithms in reservoir management, emphasizing their strengths and limitations within specific contexts. Both algorithms exhibit similar behavior in managing the URC, suggesting that they are equally effective in addressing upper boundary constraints. However, differences in the LRC behavior indicate variability in their ability to handle lower boundary conditions, which may influence water allocation decisions during periods of scarcity.

To enable a more comprehensive analysis of the reservoir's performance indices, Figures 12 and 13 are presented. These figures reveal that the lowest variation among the reservoir performance indices is in vulnerability, while the highest variation is in total shortage. The findings also demonstrate that GSA–SPA generally increased the time-based (αt) and volume-based (αv) reliability indices by 3 and 2%, respectively, compared to the historical SPA (SPA-Hist). Simulations using GSA–SPA significantly reduced both the mean annual shortage and the total shortage by approximately 8% compared to SPA-Hist.
Figure 12

Performance measures for different optimization methods.

Figure 12

Performance measures for different optimization methods.

Close modal
Figure 13

The shortage values for different optimization methods.

Figure 13

The shortage values for different optimization methods.

Close modal

The comparative analysis of reservoir performance indices for these three optimization-based techniques provided additional depth to the evaluation. The reduced variation in vulnerability for GSA–SPA and PSO–SPA suggests that both algorithms consistently avoid critical system failures, enhancing their reliability under diverse scenarios. However, the high variation in total shortage for GA–SPA highlights challenges in achieving uniform water allocation across time periods, an aspect that requires further attention.

The performance of GSA–SPA demonstrates distinct advantages over the historical SPA (SPA-Hist), with a 3 and 2% improvement in time-based (αt) and volume-based (αv) reliability indices, respectively. These enhancements reflect a more reliable and efficient water supply system, a critical factor in ensuring sustainable reservoir management. Additionally, the significant reduction in mean annual and total shortages by approximately 8% highlights the practical benefits of GSA–SPA in mitigating water deficits, potentially improving water availability for downstream users. In comparing GSA–SPA and PSO–SPA, it is evident that while both algorithms are effective, GSA–SPA offers superior performance in reducing shortages and improving reliability indices. However, PSO–SPA's simpler implementation and computational efficiency may make it a preferred choice in scenarios where computational resources are limited or rapid solutions are required.

From a practical perspective, the application of these advanced algorithms in reservoir management can provide critical support for decision-making, particularly in regions prone to hydrological variability and water stress. Their ability to balance supply and demand while minimizing shortages and improving reliability indices underscores their potential to enhance water resource sustainability. However, their limitations, such as variability in performance indices and computational demands, must be carefully considered when choosing an algorithm for specific reservoir management scenarios.

The correlation matrix presented in Figures 1417 offers valuable insights into the interrelationships among critical variables-reservoir release (R), AW, and inflow (Q) during the middle month of each season. This analysis not only highlights seasonal dynamics but also informs practical reservoir management strategies by identifying how these variables interact under the optimal GSA–SPA model.
Figure 14

Relationship among AW, Q, and R for the month of February.

Figure 14

Relationship among AW, Q, and R for the month of February.

Close modal
Figure 15

Relationship among AW, Q, and R for the month of May.

Figure 15

Relationship among AW, Q, and R for the month of May.

Close modal
Figure 16

Relationship among AW, Q, and R for the month of August.

Figure 16

Relationship among AW, Q, and R for the month of August.

Close modal
Figure 17

Relationship among AW, Q, and R for the month of November.

Figure 17

Relationship among AW, Q, and R for the month of November.

Close modal

In November, the moderate positive correlation (R = 0.55) between R and AW suggests that reservoir releases are moderately influenced by the AW. This indicates that the model prioritizes maintaining a balance between water availability and operational needs, ensuring sufficient supply without over-reliance on stored water. The weak positive correlation between R and Q (R = 0.28) implies that inflow exerts some influence on release decisions, though its effect is less pronounced. This may reflect the algorithm's strategy of integrating inflow as a secondary consideration, prioritizing AW for immediate operational decisions. The low positive correlation between Q and AW (R = 0.35) suggests a limited, but not negligible, relationship between Q and AW in the reservoir. This could indicate that the reservoir's storage dynamics or retention policies effectively moderate the impact of seasonal inflows, preventing excessive dependence on inflow variability. Such a relationship is particularly critical for ensuring resilience during low inflow periods or unpredictable climatic conditions.

The observed correlations are indicative of the GSA–SPA model's robust capacity for adaptive reservoir management. The ability to effectively utilize AW while maintaining moderate sensitivity to Q demonstrates its practicality in regions prone to hydrological variability. By ensuring a balanced approach to release decisions, the model supports sustainable water resource management, particularly in scenarios involving competing demands or seasonal constraints. From a practical perspective, these findings underscore the importance of prioritizing AW as a key driver in reservoir operations, ensuring consistent supply to meet downstream demands. The moderate and weak correlations also suggest that Q can be leveraged as a supplementary resource, particularly during wet seasons, while minimizing vulnerability during dry periods. Additionally, the low correlation between Q and AW highlights the model's potential in enhancing water retention strategies, supporting long-term sustainability. This adaptive capability is particularly relevant for managing reservoirs in monsoon-dependent or arid regions, where inflow can be unpredictable.

Surface water reservoirs are indispensable in arid and semi-arid regions of Iran. They capture excess runoff during wet seasons, ensuring a reliable water supply during dry periods. These reservoirs are vital for supporting agriculture through irrigation, mitigating drought impacts, controlling floods, generating hydropower, and maintaining local ecosystems. Consequently, they play a crucial role in sustaining water needs and supporting various sectors in these regions. Therefore, enhancing the performance of reservoir RCs is essential for guiding operators on optimal water release based on the AW at the start of each month.

This study aimed to evaluate the performance of various optimal reservoir RCs for the Zarrineh Rud reservoir, an important sub-basin of Lake Urmia basin, using GA, PSO, and GSA. To achieve this, daily meteorological and hydrometric data were collected from selected stations upstream of the dam over a 26-year period (1990–2016). The failure-free approach of the SPA was utilized to establish historical RCs as a benchmark. Considering the drinking and agricultural water demands, the active storage and its RC were simulated. Subsequently, the optimal RC was determined through GA–SPA, PSO–SPA, and GSA–SPA, with the objective of minimizing downstream water shortages.

The results revealed that the GSA–SPA outperformed the historical SPA, achieving increases in αt and αv of 2 and 1.5%, respectively. Furthermore, the GSA–SPA demonstrated superior performance in reducing mean annual and total shortages, decreasing these shortages by 8% compared to the historical SPA. Overall, the average improvements in αt, αv, and total shortages were 2, 1.4, and 6.5%, respectively, across all optimization methods, highlighting their superiority over the simulation approach. Additionally, the correlation graphs illustrating the relationships between R, Q, and AW for the optimal GSA–SPA model effectively depicted the variations in these variables in response to changing seasonal demands, corroborating our findings.

In conclusion, while this research demonstrates positive outcomes in optimizing reservoir RCs, it also presents notable limitations. A key constraint is the assumption of constant water demands for agricultural crops, which may not accurately reflect the dynamic nature of agricultural water use influenced by climate variability and differing crop types. Furthermore, the parameter tuning process for the optimization models can be resource-intensive, potentially hindering their practical application in real-time decision-making scenarios.

Despite these challenges, the findings of this study hold significant applicability beyond the Zarrineh Rud reservoir, providing a valuable framework for optimizing reservoir operations in other regions facing similar climatic conditions and water management issues. The insights derived from this research can guide policymakers and water resource managers in developing strategies to enhance water supply reliability and address shortages effectively. The demonstrated improvements in reservoir performance metrics indicate that optimization techniques such as GA, PSO, and GSA can significantly enhance water resource management, particularly in areas where water scarcity is a critical concern.

Looking ahead, future research should focus on exploring the relationship between the proposed optimization models and streamflow variability. Developing inflow scenarios that reflect the statistical properties of observed streamflow data could yield a deeper understanding of water availability and demand fluctuations. This approach would strengthen reservoir management strategies, especially in light of changing climate conditions and increasing water demands. Additionally, expanding research to encompass diverse geographical contexts and varying hydrological conditions could further validate the generalizability of these findings and contribute to more effective water resource management practices.

The authors ensure that they have written entirely original works, and if the authors have used the work and words of others, they have been appropriately cited or quoted.

S.A. and M.M. contributed to the conceptualization of the methodology, data validation, and model execution. S.A. also drafted the original manuscript and created the figures and tables, while reviewing, editing, and validating the work. E.R. was instrumental in developing the GSA model. A.E.-S. provided valuable contributions in addressing the reviewers' comments.

The data were not obtained using questionnaires.

The program used here can be made available (by the corresponding author), upon reasonable request.

Data cannot be made publicly available; readers should contact the corresponding author for details.

The authors declare there is no conflict.

Ab Wahab
M. N.
,
Nefti-Meziani
S.
&
Atyabi
A.
(
2015
)
A comprehensive review of swarm optimization algorithms
,
PLoS ONE
,
10
(
5
),
1
36
.
e0122827
.
Adeloye
A. J.
,
Soundharajan
B. S.
,
Ojha
C. S. P.
&
Remesan
R.
(
2016
)
Effect of hedging-Integrated rule curves on the performance of the pong reservoir (India) during scenario-neutral climate change perturbations
,
Journal of Water Resources
,
30
(
2
),
445
470
.
Ahmadianfar
I.
,
Adib
A.
&
Salarijazi
M.
(
2016
)
Optimizing multireservoir operation: hybrid of bat algorithm and differential evolution
,
Journal of Water Resources Planning and Management
,
142
(
2
),
05015010
.
Anvari
S.
,
Rashedi
E.
&
Lotfi
S.
(
2022
)
A coupled metaheuristic algorithm and artificial intelligence for long-lead stream flow forecasting
,
International Journal of Optimization in Civil Engineering
,
12
(
1
),
91
104
.
Anvari
S.
,
Moghaddasi
M.
&
Bagheri
M. H.
(
2023
)
Drought mitigation through a hedging-based model of reservoir-farm systems considering climate and streamflow variations
,
Theoretical and Applied Climatology
,
152
(
1
),
723
737
.
Beiranvand
B.
&
Ashofteh
P. S.
(
2023
)
A systematic review of optimization of dams reservoir operation using the meta-heuristic algorithms
,
Water Resources Management
,
37
(
9
),
3457
3526
.
Bozorg-Haddad
O.
,
Karimirad
I.
,
Seifollahi-Aghmiuni
S.
&
Loáiciga
H. A.
(
2015
)
Development and application of the bat algorithm for optimizing the operation of reservoir systems
,
Journal of Water Resources Planning and Management
,
141
(
8
),
04014097
.
Cai
Y. P.
,
Huang
G. H.
,
Tan
Q.
&
Yang
Z. F.
(
2011
)
An integrated approach for climate-change impact analysis and adaptation planning under multi-level uncertainties. Part I: methodology
,
Renewable and Sustainable Energy Reviews
,
15
(
6
),
2779
2790
.
Chang
F. J.
,
Chen
L.
&
Chang
L. C.
(
2005a
)
Optimizing the reservoir operating rule curves by genetic algorithms
,
Hydrological Processes: An International Journal
,
19
(
11
),
2277
2289
.
Chang
Y. T.
,
Chang
L. C.
&
Chang
F. J.
(
2005b
)
Intelligent control for modeling of real-time reservoir operation, part II: artificial neural network with operating rule curves
,
Hydrological Processes: An International Journal
,
19
(
7
),
1431
1444
.
Chen
L.
,
McPhee
J.
&
Yeh
W. W. G.
(
2007
)
A diversified multiobjective GA for optimizing reservoir rule curves
,
Advances in Water Resources
,
30
(
5
),
1082
1093
.
CIWP
. (
2014
) ‘
Lake Urmia and its Basin: characteristics, Current Situation, Drivers of Change, Management/Institutional Actions Undertaken and Planned
’,
International Technical Round Table Toward A Solution for Iran's Drying Wetlands
.
Tehran, Iran
,
16–18 March 2014
.
Darakantong
T.
&
Kangrang
A.
(
2019
)
Improvement of Reservoir Rule Curve Using Flower Pollination Algorithm
.
Master's Thesis
,
Mahasarakham University
,
Mahasarakham, Thailand
.
Eberhart
R.
&
Kennedy
J.
(
1995
) ‘
Particle swarm optimization
’,
Proceedings of ICNN'95-International Conference on Neural Networks
, vol.
4
, pp.
1942
1948
.
IEEE
.
Fallah-Mehdipour
E.
,
Haddad
O. B.
&
Mariño
M. A.
(
2011
)
MOPSO algorithm and its application in multipurpose multireservoir operations
,
Journal of Hydroinformatics
,
13
(
4
),
794
811
.
Farokhnia
A.
(
2015
)
Impacts of Land Use Changes and Climate Variations on the Hydrology of Lake Urmia
.
PhD. Thesis
,
Tarbiat Modares University
,
Tehran, Iran (In Farsi)
.
Goldberg
D.
(
1998
)
Genetic Algorithm in Search, Optimization and Machine Learning
, Vol.
401
.
Boston, United States
:
Addison Wesley Publishing Company Inc
.
Haddad
O. B.
,
Afshar
A.
&
Mariño
M. A.
(
2008
)
Honey-bee mating optimization (HBMO) algorithm in deriving optimal operation rules for reservoirs
,
Journal of Hydroinformatics
,
10
(
3
),
257
264
.
Hashemi
A.
,
Dowlatshahi
M. B.
&
Nezamabadi-Pour
H.
(
2021
)
Gravitational search algorithm: Theory, literature review, and applications
. In:
Kulkarni, A. J. & Siarry, P. (eds.)
,
Handbook of AI-Based Metaheuristics
,
Boca Raton
:
CRC Press
. pp.
119
150
.
Hashimoto
T.
,
Stedinger
J. R.
&
Loucks
D. P.
(
1982
)
Reliability, resiliency, and vulnerability criteria for water-resource system performance evaluation
,
Water Resources Management
,
18
,
14
20
.
Hassan
R.
,
Cohanim
B.
,
De Weck
O.
&
Venter
G.
(
2005, April
) ‘
A comparison of particle swarm optimization and the genetic algorithm
’,
46th AIAA/ASME/ASCE/AHS/ASC Structures, Structural Dynamics and Materials Conference
, p.
1897
.
Jalali
M. R.
,
Afshar
A.
&
Marino
M. A.
(
2007
)
Multi-colony antalgorithm for continuous multi-reservoir operation optimization problem
,
Water Resources Management
,
21
(
9
),
1429
1447
.
Jothiprakash
V.
,
Shanthi
G.
&
Arunkumar
R.
(
2011
)
Development of operational policy for a multi-reservoir system in India using genetic algorithm
,
Water Resources Management
,
25
(
10
),
2405
2423
.
Kacprzyk
J.
(
2006
)
Studies in Computational Intelligence
.
Warsaw
:
Polish Academy of Sciences
.
Kangrang
A.
,
Prasanchum
H.
&
Hormwichian
R.
(
2018
)
Development of future rule curves for multipurpose reservoir operation using conditional genetic and tabu search algorithms
,
Advances in Civil Engineering
,
2018
(
1
),
6474870
.
Kosasaeng
S.
,
Yamoat
N.
,
Ashrafi
S. M.
&
Kangrang
A.
(
2022
)
Extracting optimal operation rule curves of multi-Reservoir system using atom search optimization
,
Genetic Programming and Wind Driven Optimization. Sustainability
,
14
(
23
),
16205
.
Kumar
D.
&
Reddy
J.
(
2006
)
Ant colony optimization for multipurpose reservoir operation
,
Journal of Water Resources Management
,
20
(
6
),
879
898
.
Lai
V.
,
Huang
Y. F.
,
Koo
C. H.
,
Ahmed
A. N.
&
El-Shafie
A.
(
2022
)
A review of reservoir operation optimisations: from traditional models to metaheuristic algorithms
,
Archives of Computational Methods in Engineering
,
29
(
5
),
3435
3457
.
Madadgar
S.
&
Afshar
A.
(
2009
)
An improved continuous ant algorithm for optimization of water resources problems
,
Water Resources Management
,
23
(
10
),
2119
2139
.
Marchand
A.
,
Gendreau
M.
,
Blais
M.
&
Guidi
J.
(
2019
)
Optimized operating rules for short-term hydropower planning in a stochastic environment
,
Computational Management Science
,
16
,
501
519
.
McMahon
T. A.
&
Adeloye
A. J.
(
2005
)
Water Resources Yield
.
Littleton, CO, USA
:
Water Resources, Publications
.
Moghaddasi
M.
,
Anvari
S.
&
Akhondi
N.
(
2022
)
A trade-off analysis of adaptive and non-adaptive future optimized rule curves based on simulation algorithm and hedging rules
,
Theoretical and Applied Climatology
,
148
(
1
),
65
78
.
Montaseri
M.
(
1999
)
Stochastic Investigation of the Planning Characteristics of Within- Year and Over-Year Reservoir System
.
PHD Thesis
,
Heriot-Watt University
,
Riccarton, Edinburgh, United Kingdom
.
Ostadrahimi
L.
,
Marino
M. A.
&
Afshar
A.
(
2012
)
Multi-reservoir operation rules: multi-swarm PSO-based optimization approach
,
Water Resources
,
26
(
2
),
407
427
.
Pretto
P. B.
,
Chiew
F. H.
,
McMahon
T. A.
,
Vogel
R. M.
&
Stedinger
J. R.
(
1997
)
The (mis) behavior of behavior analysis storage estimates
,
Water Resources Research
,
33
(
4
),
703
709
.
Rashedi
E.
,
Nezamabadi-Pour
H.
&
Saryazdi
S.
(
2009
)
GSA: a gravitational search algorithm
,
Information Sciences
,
179
(
13
),
2232
2248
.
Rashedi
E.
,
Rashedi
E.
&
Nezamabadi-pour
H.
(
2018
)
A comprehensive survey on gravitational search algorithm
,
Swarm and Evolutionary Computation
,
41
,
141
158
.
Ripple
W.
(
1883
) ‘
The Capacity of Storage-Reservoirs for Water-Supply. (Including Plate)
’,
Minutes of the Proceedings of the Institution of Civil Engineers
, vol.
71
(
1883
), pp.
270
278
.
Sasireka
K.
&
Neelakantan
T. R.
(
2017
)
Optimization of hedging rules for hydropower reservoir operation
,
Scientia Iranica
,
24
(
5
),
2242
2252
.
Sharifi
M. R.
,
Akbarifard
S.
,
Qaderi
K.
&
Madadi
M. R.
(
2021
)
Comparative analysis of some evolutionary-based models in optimization of dam reservoirs operation
,
Scientific Reports
,
11
(
1
),
15611
.
Soundharajan
B. S.
,
Adeloye
A. J.
&
Remesan
R.
(
2016
)
Evaluating the variability in surface water reservoir planning characteristics during climate change impacts assessment
,
Journal of Hydrology
,
538
(
10
),
625
639
.
Spiliotis
M.
,
Mediero
L.
&
Garrote
L.
(
2016
)
Optimization of hedging rules for reservoir operation during droughts based on particle swarm optimization
,
Water Resources Management
,
30
,
5759
5778
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).