1 Introduction

Water is becoming more scarce and valued due to water demands increase caused by population growth. The climate change also makes the trends of rainfall more severe and less assured. In these circumstances, dams find a high status in basins water management, not only for increasing the reliability of water supply to requirements, but also for raising water security in watersheds. The conventional method of choosing the locations and capacities of dams relies on geology, engineering, economic, and the environmental studies. In that case, the economic and the environmental consequences of dams’ constructions are assessed independently for each dam and most attention is focused on their local economic and the environmental effects. In these circumstances, the impacts of dams on the economy and the environment of the entire basin were neglected. Based on sustainable water development standpoints, the combined effects of all dams on the economy and the environment of the entire basin should be assessed in the first instance.

This paper introduces an environmentally rigorous three-step approach for dams’ location-allocation in an undeveloped basin. The word “allocation” in the “location-allocation” formula means the capacity of a dam, whereas the word “location” is referred to the position of the dam, in other words, in which node it is proposed to be constructed. The aim of this approach is to specify the optimal locations and capacities of new dams by taking into consideration their integrated consequences on the economic and the environment of the entire basin. Put differently, the approach ascertains the locations and capacities of new dams in a way that the basin is led to sustainable economic development, while the environmental water requirements have to be satisfied in the entire basin. In the first step, a mixed-integer linear model runs for various numbers of new dams to yield the optimal locations and capacities of dams. Second step utilises a sensitivity analysis to find the ideal number of dams for the basin. Third step searches for new lower capacities for the dams while they provide the same profit for the basin, given from the first step. The proposed approach prepares a faithful perspective of water resources development for the basin, however, the capital outlay for the construction of dams is not considered in the present approach, due to no possibility of assessing it for all possible dams’ locations in the watershed. Moreover, finalizing the location and capacity of a new dam needs supplementary studies similar tectonic and geological ones and somehow a proposed location is rejected due to a geological problem in that spot. Therefore, the results of the approach can be viewed as an initial plan of water development in a watershed and its results need to be verified by the future detailed supplementary hydro-engineering studies. In addition, the results of the approach help to decrease the cost of detailed hydro-engineering studies, due to focusing of these engineering studies on the specific locations, identified by the model presented in this work, rather than all possible dams’ spots in the watershed. The novelty of this study is to use optimisation techniques for determining dams’ locations and dams’ capacities, which were not employed for these purposes so far.

The paper structure is as follows. Section 2 consists of a review of the literature. Section 3 describes the proposed model. The Sefidrud Basin, which is the case study area, is briefly described in Section 4.The results of the model implementation are presented in Section 5, followed by conclusions and discussion in Section 6.

2 Literature Review

Operations Research has a known reputation for solving associated issues of natural resource industries (Plà et al. 2014). Optimisation techniques have supported many studies conducted in area of water resources management such as scheduling canal irrigation (Anwar and Clarke 2001), operating reservoir systems (Srinivasan et al. 1999; Tabari and Soltani 2013), urban water management (Qin and Xu 2011; Zarghaami and Hajykazemian 2013), the environmental water management (Szemis et al. 2013; Yang 2011), and groundwater management (Park and Aral 2004; Singh et al. 2013). These techniques have also been used to handle water allocation problems such as conjunctive use of surface and groundwater resources (Singh and Panda 2012), water allocation of unshared basins (Karimi and Ardakanian 2010; Ahmadi et al. 2012), and water conflicts resolution in transboundary basins (McKinney and Cai 1997; Wang et al. 2004; Kucukmehmetoglu and Guldmann 2010; Roozbahani et al. 2015a). Although, there are copious studies in the literature on the applications of optimisation techniques for water resources management, to the best of our knowledge, there were no studies for treating the problem of determining dams’ locations and dams’ capacities by optimisation modelling.

In fact, the problem considered in the present work, focusing on identification of optimal position and volume of dams in a basin, can be classified as a location-allocation problem. Location-allocation refers to mathematical models that determine the optimal location for facilities. These models take into consideration the location and demand of customers, the capacity of the facilities, and transport costs. These factors are utilized in order to calculate the number of facilities to be developed, together with their capacity and location. Location-allocation models have been applied in various areas such as a healthcare facility planning (Shariff et al. 2012), logistics (Ishfaq and Sox 2011), supply chain (Zhou et al. 2002), solid waste management (Caruso et al. 1993), and many others. The concepts used in this study resemble the well-studied location-allocation models but has substantive district features. The aim of the present study is to determine how the optimization approach can contribute to the solution of problem what the best locations and volumes of dams are in a particular watershed.

3 Proposed Approach

This section firstly introduces notations and variables that are used in mathematical models, developed in the present work. Then, it explains the proposed approach.

3.1 Notations

3.1.1 Sets and Indices

a: is the superscript for the agricultural sector;

u: is the superscript for the urban sector;

d: is the superscript for the industrial sector;

k: is the index for stakeholder;

t: is the index for time step, which can be a month, a half year, or a year;

κ: is the set of stakeholders, for instance {1, 2, 3, …, K} where K is the maximum number of stakeholders;

υ k : is the set of nodes in stakeholder k(k ∈ κ);

i k : is the index for node i that belongs to stakeholder k;

\( {\pi}_{i_k} \): is the set of nodes that are adjacent neighbour of node i k and are located in the upstream of node i k ;

\( {i}_{i_k}^{\hbox{'}} \): is the node that is adjacent neighbour of node i k and is located in the downstream of node i k ;

τ : is the set of time steps, for instance {1, 2, 3, …, T} where T is the maximum number of time steps.

3.1.2 Decision Variables

\( {x}_{i_k t}^a \): is water allocated to agriculture in node i k at time t (k ∈ κ, i ∈ υ k , t ∈ τ);

\( {x}_{i_k t}^u \): is water allocated to urban sector in node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {x}_{i_k t}^d \): is water allocated to industry in node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {z}_{i_k}^{\Delta} \): is a binary variable that has assigned value of 1 if there is a dam in node i k (k ∈ κ, i ∈ υ k ) and 0 otherwise;

\( {C}_{i_k}^{\Delta} \): is the capacity of the dam in node i k , it is 0 if there is no dam in node i k (k ∈ κ, i ∈ υ k );

3.1.3 Others Variables

\( {AP}_{i_k t} \): is agricultural profit associated with node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {UP}_{i_k t} \): is urban profit associated with node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {IP}_{i_k t} \): is industrial profit associated with node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {S}_{i_k t} \): is water stored in node i k at time t(k ∈ κ, i ∈ υ k , t ∈ τ); if there is a dam in node i k and 0 otherwise;

\( {R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t} \): is water transferred from the node i k to node \( {i}_{i_k}^{\hbox{'}} \) at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {R}_{\left( l\to {i}_k\right) t} \): is water transferred from the node l to node i k at time t(k ∈ κ, i ∈ υ k , l ∈ π i , t ∈ τ);

\( {z}_{i_k t}^{\psi} \): is a binary variable that is 1 when a dam in node i k at time step t(k ∈ κ, i ∈ υ k , t ∈ τ) if full and 0 otherwise;

\( {z}_{i_k t}^{\varepsilon} \): is a binary variable, which equals 1 if the environmental water demandin node i k at time step tis satisfied and 0 otherwise.

3.1.4 Input and Internal Modelling Parameters

\( {\rho}_{i_k}^a \): is a marginal agricultural net benefit of allocating 1 unit water to agriculture in node i k (k ∈ κ, i ∈ υ k );

\( {\rho}_{i_k}^u \): is a marginal urban net benefit of allocating 1 unit water to the domestic sector in node i k (k ∈ κ, i ∈ υ k );

\( {\rho}_{i_k}^d \): is a marginal industrial net benefit of allocating 1 unit water to industry in node i k (k ∈ κ, i ∈ υ k );

\( {\nu}_{i_k t} \): is water produced in node i k (k ∈ κ, i ∈ υ k , t ∈ τ) at time t. It actually is the water harvested between nodes l ∈ π i and node i k ;

n: number of required dams;

M: is a large constant number;

Rψ: is the reliability level that shows the number of times that dams’ reservoirs must be full;

Rε: is the reliability level that shows the number of times that the environmental water needs must be satisfied over the total period the algorithm is implemented;

\( {\xi}_{i_k t} \): is agricultural water demand in node i k , at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {\psi}_{i_k t} \): is urban water demand in node i k , at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {\eta}_{i_k t} \): is industrial water demand in node i k , at time t(k ∈ κ, i ∈ υ k , t ∈ τ);

\( {\varsigma}_{i_k t} \): is environmental water demand of node i k , at time t(k ∈ κ, i ∈ υ k , t ∈ τ), it has to flow in rivers;

\( {\mathrm{IV}}_{i_k} \): is the initial volume of water in dam i k (k ∈ κ, i ∈ υ k ) if there is a dam in node i k otherwise it is 0.

3.2 Three-Step Approach of the Proposed Algorithm

The proposed algorithm consists of three steps. During Step 1 the algorithm runs a model called Maximum Profit (MaxPro) for several numbers of dams (n) (scenarios), given to the model. In each run, the model maximises the basin’s profit by considering the given number of dams (n). For each scenario, the MaxPro model presents the best locations and capacities of dams and water shares of the basin’s stakeholders. For Step 2 algorithm provides the decision on the number of required dams for the basin by undertaking a sensitivity analysis on the outputs of the MaxPro model for various scenarios (numbers of dams). During Step 3, a model called Minimum Capacity (MinCap) runs to find out the possibility of decreasing dams’ capacities for the selected scenario (by Step 2), while they still provide the same profit for the basin, achieved from MaxPro model during implementation of Step 1. The objective function of the MinCap model is to minimize the summation of dams’ capacities. These three steps are described in details in the following sub-sections.

3.2.1 Step 1: Multiple Running of MaxPro Model for Several Scenarios

MaxPro is a mixed-integer linear programming model. It maximises the basin’s profit achieved from water allocated to various sectors such as agricultural, urban, and industrial in the entire basin. The model’s objective function is subjected to water availability, water balance, environmental demands, and water use constraints. The model formulation is based upon a node-link network of the basin. In this network, nodes represent the sources (produced water) and demands and arcs represent the water flow. The water resources of each node are comprised of midstream produced water and transferred water from upstream nodes. Agricultural, municipal, and industrial water demands are considered as the total water demands of the nodes. In addition, satisfaction of the environmental requirement in each node is a firm constraint in the model. Each node is considered as a potential location for construction of a dam. In this study, the main runoff gauges in a basin are expected to be nodes because runoff gauges are practically positioned in narrow gorges between mountains or hills where the geometry is relatively stable and they are treated as suitable spots for dam construction.

The Objective Function of MaxPro Model

The objective function of MaxPro is to maximize the total net benefits of water uses in the entire basin from surface water resources:

$$ \mathrm{Maximize}\kern0.5em {Z}_{\mathit{\operatorname{Max}} \Pr o}=\sum_{k\in \kappa}\sum_{i_k\in {\upsilon}_k}\sum_{t\in \tau}\left({AP}_{i_k t}+{UP}_{i_k t}+{IP}_{i_k t}\right) $$
(1)

The variables \( {AP}_{i_k t} \), \( {UP}_{i_k t} \), and \( {IP}_{i_k t} \) are calculated using eqs. (2)–(4):

$$ \begin{array}{cc}\hfill {AP}_{i_k t}={\rho}_{i_k}^a\times {x}_{i_k t}^a\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(2)
$$ \begin{array}{cc}\hfill {UP}_{i_k t}={\rho}_{i_k}^u\times {x}_{i_k t}^u\hfill & \hfill \forall \hfill \end{array} k,{i}_k, t $$
(3)
$$ \begin{array}{cc}\hfill {IP}_{i_k t}={\rho}_{i_k}^d\times {x}_{i_k t}^d\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(4)

The relationship between the water profit of each sector (agricultural, urban or industrial) and water allocated to it is not always linear and there is not a fixed water profit for all range of water allocation to a sector. We aim to find the optimal locations and capacities of new dams by maximising the basin achieved profit from bulk water allocation to a sector of the stakeholders in the basin. Therefore, it is reasonable to consider a fixed water profit for all quantitative ranges of allocated water in the present research, rather than determining the real dynamic of profit as a function of water allocated to the stakeholders in such a large scale as provinces or countries. The algorithm requires this inevitable simplification.

The Constraints of the MaxPro Model

The model’s constraints are presented as follows:

  1. 1.

    Flow balance at node i:

$$ \begin{array}{cc}\hfill {S}_{i_k\left( t+1\right)}={S}_{i_k t}+{\nu}_{i_k t}+\sum_{l\in {\pi}_{i_k}}{R}_{\left( l\to {i}_k\right) t}-{R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t}-{x}_{i_k t}^a-{x}_{i_k t}^u-{x}_{i_k t}^d\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(5)
  1. 2.

    Number of dams in the basin:

$$ \sum_{k\in \kappa}\sum_{i_k\in {\upsilon}_k}{z}_{i_k}^{\Delta}= n $$
(6)

Constraint (6) specifies the number of dams in the model. For instance, n = 1 (as a given parameter to the model) means the model considers only one dam in the basin and optimizes allocating water to the stakeholders. The maximum number of dams is equal to the maximum number of nodes in the basin, when dams are proposed in all nodes.

  1. 3.

    Stored water in dam i k and its capacity:

$$ \begin{array}{cc}\hfill -{S}_{i_k t}+{C}_{i_k}^{\Delta}\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(7)
$$ \begin{array}{cc}\hfill {S}_{i_k t}-{C}_{i_k}^{\Delta}+\mathrm{M}\times \left({1\hbox{-} \mathrm{z}}_{i_k t}^{\psi}\right)\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(8)
$$ \begin{array}{cc}\hfill \sum_{t\in \tau}{z}_{i_k t}^{\psi}-{\mathrm{R}}^{\psi}\times {z}_{i_k}^{\Delta}\ge 0\hfill & \hfill \forall k,{i}_k\hfill \end{array} $$
(9)
$$ \begin{array}{cc}\hfill -{C}_{i_k}^{\Delta}+\mathrm{M}\times {\mathrm{z}}_{i_k}^{\Delta}\ge 0\hfill & \hfill \forall k,{i}_k\hfill \end{array} $$
(10)

Constraints (7), (8), and (9) work together to determine the capacity of dam i k and the variable \( {\mathrm{z}}_{i_k t}^{\psi} \) has a key role for that purpose. As it showed above, Constraint (7) points to the fact that the water stored in dam i k at time t (\( {S}_{i_k t} \)) has to be less than or equal to its capacity (\( {C}_{i_k}^{\Delta} \)). Constraint (8) indicates the water stored in dam i k at time t (\( {S}_{i_k t} \)) has to be greater than or equal to its capacity (\( {C}_{i_k}^{\Delta} \)) when \( {\mathrm{z}}_{i_k t}^{\psi} \) is equal to 1. When \( {\mathrm{z}}_{i_k t}^{\psi} \) is 1 at time t, Constraint (8) is changed to \( {S}_{i_k t}\ge {C}_{i_k}^{\Delta} \) while Constraint (7) is \( {S}_{i_k t}\le {C}_{i_k}^{\Delta} \). In this circumstance, the model forces the capacity of dam i k (\( {C}_{i_k}^{\Delta} \)) to be equal to the stored water in dam i k at time t (\( {S}_{i_k t} \)). By Constraint (9), it is asked to the model to consider the value of \( {\mathrm{z}}_{i_k t}^{\psi} \) equal to 1 in at least Rψ time steps out of total time steps. Put differently, the model assigns a value to the capacity of dam i k (\( {C}_{i_k}^{\Delta} \)) that in fact is the stored water in dam i k in Rψ time steps. The nature of the model’s objective function is to increase the profit of the basin by allocating more water to various water uses. Therefore, this formulation gives the efficient value for the capacity of dam i k . The main goal of this algorithm is to provide an optimum initial plan for water development of the basin and the optimization of reservoirs operations is out of scope of this study.

Note that \( {z}_{i_k}^{\Delta} \) is 0 when there is no dam in node i k . In this circumstance, Constraint (9) changes into \( \sum_{t\in \tau}{z}_{i_k t}^{\psi}\ge 0 \) that is also satisfied when \( {z}_{i_k t}^{\psi} \) is zero. In addition, Constraint (10) makes the capacity of dam i k (\( {C}_{i_k}^{\Delta} \)) equal to 0 and consequently (regarding to Constraint (7)), the stored water (\( {S}_{i_k t} \)) are also 0 for all time steps. In these circumstances, Constraint (5) converts to \( {\nu}_{i_k t}+\sum_{l\in {\pi}_{i_k}}{R}_{\left( l\to {i}_k\right) t}-{R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t}-{x}_{i_k t}^a-{x}_{i_k t}^u-{x}_{i_k t}^d=0 \)that is water balance for nodes without dams.

  1. 4.

    Environmental water supply reliability:

$$ \begin{array}{cc}\hfill {R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t}-{\varsigma}_{i_k t}\times {z}_{i_k t}^{\varepsilon}\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(11)
$$ \begin{array}{cc}\hfill \sum_{t\in \tau}{z}_{i_k t}^{\varepsilon}-{\mathrm{R}}^{\varepsilon}\ge 0\hfill & \hfill \forall k,{i}_k\hfill \end{array} $$
(12)

Regarding Constraints (11) and (12), the transferred water from node i k to node \( {i}_{i_k}^{\hbox{'}} \)at time t (\( {R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t} \)) has to be greater or equal to the environmental water need in the node i k (\( {\varsigma}_{i_k t} \)). The reliability of the environmental water supply is controlled utilising a binary variable (\( {z}_{i_k t}^{\varepsilon} \)) in Constraint (11) which is 1 if the environmental water requirement is satisfied. The summation of \( {z}_{i_k t}^{\varepsilon} \) over the time steps has to be greater than or equal Rε (Constraint (12)). The definition of the reliability introduced by Kundzewicz and Kindler (1995) is used in this study. It is the ratio of the times that the volume of water supplied meets the demand, to the total time period, which is called the temporal reliability.

  1. 5.

    Stored water in dam i k in first and last time steps:

$$ \begin{array}{cc}\hfill {S}_{i_k{t}_1}-{\mathrm{IV}}_{i_k}\times {z}_{i_k}^{\Delta}\le 0\hfill & \hfill \forall k,{i}_k\hfill \end{array} $$
(13)
$$ \begin{array}{cc}\hfill {S}_{i_k{t}_1}-{S}_{i_k{t}_l}\le 0\hfill & \hfill \forall k,{i}_k\hfill \end{array} $$
(14)

where \( {S}_{i_k{t}_1} \) and \( {S}_{i_k{t}_l} \) are the stored water in dam i k in the first and last time step, respectively. Constraint (13) points out that if there is a dam in node i k (\( {z}_{i_k}^{\Delta} \)=1) then the stored water of dam i k in the first time step is \( {\mathrm{IV}}_{i_k} \). \( {\mathrm{IV}}_{i_k} \)is an input data to the model that could be equal to the annual average of river discharge in node i k . This constraint limits the model to consider an unreasonable value for the stored water at the first time step. Constraint (14) insures that the stored water in the last time step (\( {S}_{i_k t} \)) is greater than or equal to the water stored in the time step 1 (\( {S}_{i_k{t}_1} \)). This constraint is considered to make the stored water in dam i k during time steps balanced.

  1. 6.

    Variables’ Bounds:

These constraints express the upper bounds on the allocated water to agricultural activities, domestic use, and industry needs, and logical non-negativity bounds for other variables, given by

$$ \begin{array}{cc}\hfill {\xi}_{i_k t}-{x}_{i_k t}^a\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(15)
$$ \begin{array}{cc}\hfill {\tau}_{i_k t}-{x}_{i_k t}^u\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(16)
$$ \begin{array}{cc}\hfill {\eta}_{i_k t}-{x}_{i_k t}^d\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(17)
$$ \begin{array}{cc}\hfill {x}_{i_k t}^a\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(18)
$$ \begin{array}{cc}\hfill {x}_{i_k t}^u\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(19)
$$ \begin{array}{cc}\hfill {x}_{i_k t}^d\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(20)
$$ \begin{array}{cc}\hfill {R}_{\left({i}_k\to {i}_{i_k}^{\hbox{'}}\right) t}\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(21)
$$ \begin{array}{cc}\hfill {C}_{i_k}^{\Delta}\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(22)
$$ \begin{array}{cc}\hfill {S}_{i_k t}\ge 0\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(23)
$$ \begin{array}{cc}\hfill {z}_{i_k}^{\Delta}=0\;\mathrm{or}\;1\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(24)
$$ \begin{array}{cc}\hfill {z}_{i_k t}^{\varepsilon}=0\;\mathrm{or}\;1\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(25)
$$ \begin{array}{cc}\hfill {z}_{i_k t}^{\psi}=0\;\mathrm{or}\;1\hfill & \hfill \forall k,{i}_k, t\hfill \end{array} $$
(26)

In this formulation, the volumes of returned flow and the reservoirs’ water losses have been neglected due to their insignificant effects to the final outputs of the algorithm and avoiding excessive model’s complication.

3.2.2 Step 2: Carrying Out a Sensitive Analysis to Determine the Number of Required Dams

Sensitivity analysis is suggested here as a method for finding the number of required dams in a basin. For this purpose, the changes in the basin’s profit with increase of the number of dams are evaluated. In order to perform this analysis, the results of the MaxPro model, related to the basin’s profit for various scenarios (number of dams), are analyzed. The number of required dams are determined as excessive if increasing the number of dams after that value does not significantly change the basin’s profit. The selection of the optimal number of required dam includes determination of both locations and capacities of these dams.

3.2.3 Step 3: Searching Minimum Capacities for Dams

The MaxPro model might produce non-unique but multiple optimal solutions for selected scenario by Step 2. Regarding Constraint (7), (8), and (9), the capacity of dam i k (\( {C}_{i_k}^{\Delta} \)) has to be equal to the stored water in at least Rψ times. Therefore, the model could select any value between Rψ and total time steps for dam i k , which maximizes the basin’s profit. By this fact, MaxPro might have multiple optimal solutions (various capacities of dams), giving the same value for the model objective function. In order to find the minimum capacities for dams, the MinCap model is implemented. The MinCap model aims to find new capacities for dams such that the basin’s profit is equal or greater than the achieved value by the MaxPro model. The MinCap’s objective function is to minimize the summation of dams’ capacities given by

$$ \begin{array}{cc}\hfill \mathrm{Minimize}\hfill & \hfill {Z}_{MinCap}=\sum_{k\in \kappa}\sum_{i_k\in {\upsilon}_k}{C}_{i_k}^{\Delta}\hfill \end{array} $$
(27)

subject to

$$ \sum_{k\in \kappa}\sum_{i_k\in {\upsilon}_k}\sum_{t\in \tau}\left({AP}_{i_k t}+{UP}_{i_k t}+{IP}_{i_k t}\right)\ge {P}_{\mathit{\operatorname{Max}}\mathit{\Pr} oModel} $$
(28)

and constraints (2) to (26), where P Max Pr oModel is the achieved value from the objective function of MaxPro model for the selected scenario. As mentioned above, the capital investments necessary for the construction of dams have not been considered in the present approach. The results of the MinCap model are treated as auxiliary information, which could help to decrease these investments for dams construction by narrowing the potential areas and limiting the capacities for these projected dams.

4 Case Study: The Sefidrud Basin

The proposed three-step approach is applied to the Sefidrud Basin, which is an underdeveloped basin in northern Iran. The Basin drainage area is 59,217 Km2 (MGC 2011) and includes territories of eight provinces; Kordestan (Province 1), Hamedan (Province 2), Zanjan (Province 3), East Azarbaijan (Province 4), Ardabil (Province 5), Tehran (Province 6), Qazvin (Province 7) and Gilan (Province 8). Figure 1 shows the Basin’s location in Iran and its stakeholders. The areas and population of each province are presented in Table 1. This information can expose the level of the stakeholders’ dependency to the Basin water resources for development.

Fig. 1
figure 1

The location of the Sefidrud Basin and its stakeholders

Table 1 The area and population of provinces in the Sefidrud Basin

The Sefidrud River is main waterway in the Basin, whose head tributaries, Ghezelozan and Shahrud, originate from Province 1 (Kordestan) and Province 6 (Tehran), respectively. The Ghezelozan River passes through Province 2 (Hamedan), Province 3 (Zanjan), Province 4 (East Azarbaijan) and Province 5 (Ardabil) and at the lower part flows into Province 8 (Gilan). The Shahrud River, after passing through Province 7 (Qazvin), flows into Province 8 (Gilan). The Ghezelozan and Shahrud rivers are called the Sefidrud River after joining. The Sefidrud River goes through Province 8 (Gilan) and finally flows into the Caspian Sea (Fig. 1). The overall basin discharge is 7615 million cubic meters (MCM), which surface and ground water shares are 6214 MCM and 1337 MCM, respectively (MGC 2011). The agricultural water requirement accounts for 91% of the Basin’s water demands while municipal (urban) and industrial sectors shares are 8% and 1% (MGC 2011), respectively. Therefore, agriculture is the main consumer of water resources and a dominant source of revenue in this Basin. The municipal and industrial water demands are ignored in the present study, which means eqs. (3), (4), (16), (17), (19) and (20) irrelevant for this region. The Basin agricultural water demand for 2007 was 3701 MCM and it is estimated to increase to 7270 MCM for 2025 (MGC 2011).

The surface water is the primary resource of agricultural water satisfaction. The future basin agricultural demands and the agricultural water profit for each province are shown in Table 2. The data on “marginal profit” of water for the agricultural sector were available for this study (MGC 2011). Moreover, the future agricultural demand of the Basin depends on the potential of irrigated area in the stakeholders (provinces), which could have a relation with contained area of the stakeholders in the Basin. The detailed description of water resources and water demands of this Basin can be found in the paper of Roozbahani et al. (2013). Note that, the groundwater resources of the Basin are the main resources of supplying the others water needs such as industrial and urban requirements while their needs are not substantial in comparison with the agriculture.

Table 2 The current and future basin agricultural demand

There are 27 main runoff gauges in the basin, which were considered to be supply/demand nodes in the Basin network. The recorded data of these gauges were used to calculate the nodes’ surface water volume. These supply/demand nodes provide the surface water for the agricultural uses in their vicinities. Shared nodes in the network were replaced with dummy nodes to calculate easily the water share of associated stakeholders in shared nodes. More details about the nodes’ runoff and demand are available in Roozbahani et al. (2013). Figure 2 shows the Sefidrud Basin nodal network.

Fig. 2
figure 2

The network’s view of the Sefidrud Basin

The environmental water supply was considered for each node in this study. The modified Montana method was used for calculating the environmental water demand (Torabi Palatkaleh et al. 2010). The Modified Montana method estimates the environmental water requirement based on a percentage of the average monthly streamflow in a node. In this work, the environmental water requirements were calculated based on 10% of unimpaired the basin flows for October to March and 30% of unimpaired the basin flows for April to September of unimpaired basin flows. These percentages are officially accepted by the Iranian water authorities for calculating the environmental water requirements of rivers in Iran (Torabi Palatkaleh et al. 2011). More details about the application of the Modified Montana method in the Sefidrud basin can be found in the paper of Roozbahani et al. (2015b). In this study, the monthly environmental water requirements were calculated first and then the sum of them, as yearly environmental water requirement was utilized in the model.

5 Results

The Basin’s water demand in 2025 (MGC 2011) represents the water requirements of the stakeholders for maximum social-economic developments (Table 2) and it was considered an input of the present model. No statistically significant trend (positive or negative) were observed in in the Basin discharge during 1957 to 2007 (MGC 2011). Thus, the yearly-recorded discharges for the nodes during 1957 to 2007 (50 time steps) is employed for assessing future scenarios, which means that the potential changes in streamflow associated to the climatic, demographic and infrastructural changes were not considered in the approach described in the present paper. The threshold of demand satisfaction in 90% of time steps is a major reliability criterion for water supply systems in the Basin (MGC 2011). Thus, the amount of Rε is 0.90 × 50 = 45. In addition, the security supply parameter Rψ=45 is considered in this study. It means the model has to find a value for the capacity of dam i that it will be full in at least 90% of time steps. The parameterised models (MaxPro and MinCap) were solved using CPLEX 12.6 solver (IBM Corp 2013) and the results will be presented and discussed in the following subsections.

5.1 The Results of the MaxPro Model

Figures 3, 4, 5, and 6 present the optimal locations and capacities of proposed dams in the Sefidrud Basin for scenarios n = 1, n = 2, n = 3, and n = 4, respectively. These figures illustrate several examples of the MaxPro model’s output. As shown in these figures, node 20 has a significant role in the Sefidrud Basin development, because for various scenarios, the MaxPro model proposes it for constructing a dam. Note that, node 20 is a share node between Provinces 4 and 5. The second proposed node by MaxPro for a dam construction is node 27, located in Province 8. This province is located in the Basin downstream area where water requirement and marginal value of water are the highest (Table 2). The location of node 20 is close to node 27 and thus, it seems proposed dam in this node has an important role in satisfying water requirement of node 27. Table 3 summarises the locations and capacities of proposed dams for various scenarios.

Fig. 3
figure 3

Location and capacity (derived from MaxPro model) of the proposed dam for the scenario 1

Fig. 4
figure 4

Location and capacity (derived from MaxPro model) of the proposed dam for the scenario 2

Fig. 5
figure 5

Location and capacity (derived from MaxPro model) of the proposed dam for the scenario 3

Fig. 6
figure 6

Location and capacity (derived from MaxPro model) of the proposed dam for the scenario 4

Table 3 The locations and capacities of proposed dams by MaxPro model (up to 4 dams)

The results from MaxPro clearly illustrate the concept behind the model’s formulation. The objective function of MaxPro is to maximize the total net benefits of water uses in the entire basin from surface water resources. Thus, more water should be allocated to nodes with higher marginal value of water. To give more gains from water, it is favourable to have dams with large reservoirs in order to increase the available water supply of the Basin, then, they should be located in spots where they could have more capacities based on constraints (7) to (10). As a results, MaxPro proposes nodes for dams construction where the river’s discharge is larger and the stored water could produce more profit for the Basin’s economy.

5.2 Sensitivity Analysis

The main idea of the proposed sensitivity analysis is based on the comparison of the marginal incomes associated to the construction of each additional dam in the basin. If the total income in the basin increases insignificantly with construction of each additional dam, this construction is economically non-sustainable, due to large capital cost associated with this construction.

Figure 6 compares the Basin’s profits achieved by various numbers of dams. As shown in this figure, the Basin’s profit rises by 28.66% when 1 dam is proposed in the Basin in comparison with the profit of the Basin without dam (n = 0). The profit steadily increases to 29.78% by adding one dam more (n = 2). Growing the profit continues to go up with a lower slop to 30.25% when the model considers three dams in the Basin (n = 3). When four dams are proposed in the Basin, the Basin’s profit grows slowly from 30.25% to 30.55% (only for 0.30%). Figure 6 shows that the profit still had a rise by adding 5, 6, and 7 dams to the Basin, however, it is not significant (about 0.20% increase). Finally, it is tested for n = 27 (without considering the dummy nodes) and observed the Basin’s profit in maximum development would be 31.10% more than the undeveloped Basin’s profit, which is also very small increase.

According to Fig. 7, the increase of the numbers of dams in the Sefidrud Basin, more than three does not result in significant additional profit for the Basin and three dams lead the Basin’s profit to a reasonable raise. Hence, the results of the models for scenarios, which recommend construction of 1, 2, and 3dams were selected.

Fig. 7
figure 7

The Basin profits rise by considering dams in the Basin in comparison with the Basin profit without any dams (%). The y-axis shows\( \frac{{\mathrm{Basin}}^{'}\mathrm{s}\ \mathrm{profit}\hbox{--} {\mathrm{Basin}}^{'}\mathrm{s}\ \mathrm{profit}\ \mathrm{without}\ \mathrm{any}\ \mathrm{dam}\ }{{\mathrm{Basin}}^{'}\mathrm{s}\ \mathrm{profit}\ \mathrm{without}\ \mathrm{any}\ \mathrm{dam}}\times 100 \)

5.3 The Results of the MinCap Model

The MinCap model was run for scenarios 1, 2, and 3 as Step 3 of the proposed approach. The results of the model were same as the MaxPro model’s results for these scenarios. In other words, for this case study, there are no lower dams’ capacities (for scenarios 1, 2, and 3) which bring about same profits, achieved by the MaxPro model. The main reason of giving this result is the huge water shortage in the Basin. According to the objective function, the MaxPro model has to supply more water to demands for making maximal profit, while the total water supply is less than total demands. Therefore, the MaxPro model looks for the lowest possible values for dams capacities in order to increase delivered water to demands and as a result, achieves the highest profit.

Table 4 presents the percentage of water supply to the stakeholders for Scenarios 1 to 3, derived from the MinCap model’s results. As shown in this table, the stakeholders can be classified into three categories. The first category includes stakeholders, whose water shares stay steady by increasing the number of dams. Provinces 2 and 8 belong to this category. The second category includes stakeholders whose water shares rise with the increase of the number of the proposed dams. The members of this category are Provinces 1, 3, 4, 5, and 7. The member of the third category are those whose water shares do not have a stable situation and their water shares go up and down by increasing the number of dams in the Basin. Province 6 is the only member of the third category. In short, providing new reservoirs in the Basin raise available water and has non-negative effects on the water shares of Provinces 1, 2, 3, 4, 5, 7, and 8. However, The construction of new dams could produce algorithm a negative effect on the water share of Province 6.

Table 4 The percentage of water supply to the stakeholders for Scenarios 1 to 3 (%)

6 Conclusion

In the nutshell, this paper introduced a three-step approach for optimal water planning and management of an undeveloped basin. The first step employed the MaxPro model to find out the locations and capacities of the new dams such that they cause the highest profit for the basin. The MaxPro model was ran for various scenarios (numbers of dams). The required number of dams for the basin was selected by the second step, using a sensitivity analysis. To cope with the possibility of multiple ideal solutions for the MaxPro model (for selected scenario), the MinCap model was proposed in the third step. MinCap tested the possibility of providing the same profit for a basin, achieved by MaxPro for selected scenario with lower dams’ capacities.

Our proposed approach was examined to the Sefidrud Basin, which is an under developing basin in Iran. Applying the MaxPro model to the Sefidrud Basin showed water development (dams) have a significant effect on raising the Basin’s profit. For instance, the profit of Basin went up over 28.66%, 29.78%, and 30.25% by considering1, 2, and 3 dams in the Basin. As it was observed, constructing more than three dams would not substantially increase the Basin’s profit. Thus, the construction of three dams in nodes 12 (1043 MCM capacity), 20 (1813 MCM capacity), and 27 (2312 MCM capacity) would be sufficient for this basin.

In the first instance, it is important to note again that the algorithm suggested in the present paper does not pretend to be a final tool for indication of the proposed locations and capacities of dams to be constructed in the basin. It is necessary to emphasize that the final decision should be made only after a series of on-site engineering studies, which will allow local authorities to investigate the constructional opportunity for developing these dams and implement the necessary cost-benefit analysis. The major implication of the present modelling work is to propose the construction sites and potential capacities, which maximize the income in region and, in the same time, does not produce negative influence to the environmental flow. However, the importance of such modelling exercise should not be underestimated. The model implementation brings water authorities two major messages. Firstly, the proposed model recommends that the optimal number of reservoirs to be projected in the basin is three. The larger number cause negligibly small increase in the regional marginal income, which definitely unable to compensate the capital investments associated to this construction work. It is quite important message, for engineers who will implement the further study. Same time the algorithm also proposes what are desirable volumes of these reservoirs, which will allow plan the engineering study accordingly. The total volume of these dams, estimated as about 5000 MCM is also important contribution to the further development of the dam construction project.

Second important message is that the proposed model recommended construction of the dam in the lowland provinces of the Sefidrud basin, which is natural for the methods, whose priority is maximization of the income. Obviously, the purely economic objective function will emphasize importance of the development of the basin reaches where the marginal value of water is relatively high. Being economically viable these proposed sited may cause some problems of social nature by increasing the difference in the developmental levels of upland and downstream nodes. It means that the further modelling study should be implemented by adding a new component to the algorithms objective function, which will reflect the level of the social justice in the region.

Finally, another important result of the proposed modelling approach is that it treats the problems of dam construction holistically, in the entire basin’s scale whereas engineering studies actually evaluate the effects of dam construction locally, for the selected sites. It could be quite effective tool for the planning further development of underdeveloped watershed.