Study area
The present study was conducted on the Shahriar Plain (50° 22'14''- 51° 22' 02'' E and 35° 44' 32''- 35° 02' 25'' N), located on the western edge of Tehran with an approximate area of 897 km2 (Fig. 1). An artificial drainage system was developed in the north of the study area and installed in the alluvial fan. It consisted of five consecutive recharge reservoirs that were located along the longitudinal axis of the river with a capacity of about 3.2 (MCM). In the past, the Karaj River in this area was composed of two tributaries, the Karaj and the Shadchay Rivers. Currently, this river flows from above into the Bilghan Diversion Dam meeting Tehran and Karaj's domestic water supply and agriculture. It then flows into the Shahriar study area. In addition, floodwater flows downstream from the Bilghan Diversion Dam, entering the alluvial fan and artificial recharge system. Surface and groundwater resources are used by agriculture, while only groundwater is used by domestic water supply and industry in the study area. The volume of groundwater resources harvesting was calculated using data from withdrawal wells. In addition, Tables 1 and 2showed the withdrawal volumes from surface and groundwater sources during the desired period. Each survey was based on a monthly period covering the three water years 2014–2016.
Table 1
The volume of the Karaj River flow in the Bilghan diversion dam (MCM)
Condition of Karaj River flow
|
Water year
|
2014
|
2015
|
2016
|
Sum of Bilghan
|
581
|
385
|
304
|
Flood of Bilghan
|
22
|
13
|
8
|
Inflow from Bilghan to Shahriar
|
78
|
52
|
41
|
Consumption of Tehran and Karaj city
|
481
|
320
|
255
|
Table 2
Exploitation volume of groundwater resources in the study period (MCM)
Water year
|
part of consumption
|
Total
|
Agriculture
|
Domestic
|
Industry
|
2014
|
502
|
193
|
50
|
745
|
2015
|
514
|
190
|
48
|
752
|
2016
|
525
|
208
|
52
|
785
|
In the desired artificial recharge plan, the overflows were built of concrete and rubble with reinforced concrete and ogee weir. Figure 1 illustrated the location of the study area and the artificial recharge system. Due to the location of this system, there are large sand holes downstream, located at the end of the alluvial fan. In this study, a multi-objective modeling platform with two simulator-optimizer models was presented to optimize water use and artificial recharge. Thus, the study provided innovative strategies to improve the use of groundwater resources and to support changes in groundwater quality considering changes of groundwater level in the study area. Based on the defined objectives and constraints, these points can be generalized to other studies. The first model, which uses the multi-objective modeling platform in this study, determined the optimal groundwater resource utilization policy and included ANN, regression, and multi-objective genetic algorithms (ANN-R-NSGA-II). The second model also determined the optimal use of the artificial recharge system that was the same as the first model except that it did not include the regression model and was (ANN-NSGA-II).
Quantitative-qualitative modeling of groundwater using ANN
In the first model, the artificial neural network of Perceptron was used to calculate groundwater level changes. In this way, groundwater inflow and outflow volume data at the boundaries of the study area, surface recharge, and groundwater discharge through withdrawal wells were considered as input variables (MCM), while groundwater level changes were considered as output values (m). Thus, the neural network had four input vectors and one output vector. Since the input of data in primary form reduces the accuracy and speed of the network, the data were preprocessed when training the network before calculation and analysis. After analyzing the changes in the water table, four layers, including an input layer, two hidden layers, and an output layer, were considered for designing the network. The input layer contained an input data vector, as well as the first hidden layer with 5 neurons, the second hidden layer with 10 neurons, and the output layer with 1 neuron. Moreover, the Tansig transfer function was used for the first and second hidden layers, whereas the Purelin transfer function was used for the output layer. Moreover, the newff network was used to encode the desired neural network in the first model. Then, the data were divided into three categories to assign them to the training, validation, and testing phases. Depending on the question, 70%, 15%, and the remaining 15% were assigned to the training phase, validation phase, the testing phase, respectively. The network was trained using the Levenberg-Marquardt algorithm.
For qualitative modeling using ANN, the changes of groundwater level were used as input, while the TDS value (mg.L− 1) was considered as output. Since the qualitative values of the aquifer were directly affected by the quantitative values of the aquifer, quantitative data at the input of the neural network were used in this analysis. The neural network quality model was designed similarly to the neural network model for groundwater level changes. In the first model, TDS in groundwater were predicted by regression after the change in groundwater level and its TDS in were simulated by ANN. The qualitative regression model was calculated using SPSS software. Finally, the changes of groundwater level derived from the neural network and the TDS in groundwater derived from the regression were input to the optimization model. In the first model, the optimization objectives included minimizing the average ratio of groundwater level changes to the maximum groundwater level, and also, minimizing the average ratio of groundwater quality (TDS) to maximum groundwater quality (TDS). Domestic, industrial, and agricultural water withdrawal rates were considered an important and effective means of changing groundwater levels and groundwater quality in this model.
Artificial recharge system modeling
The artificial recharge system in the second model included the river and the artificial recharge system. A multilayer perceptron artificial neural network model (ANN-MLP) was used to calculate the flood volume stored in the reservoirs of the artificial enrichment system. The inputs were the floodwater infiltration data into the reservoirs, the inflow and outflow floodwater volume to the recharge system, while the outputs were the volume of floodwater stored in the reservoirs of the artificial recharge system. We estimated one input layer, two hidden layers, and one output layer to design the network. There were 5 neurons in the input hidden layer, 8 neurons in the second hidden layer, and 1 neuron in the output layer. A neural network (newff) was also included in this model. The Tansig transfer function was used for the first and second hidden layers, whereas the Purelin transfer function was used for the output layer. Also, 70% of the data was assigned for the training layer, 20% for the validation layer, and 10% for the testing layer. We investigated the effects of the first simulator-optimizer model on changes in groundwater quality (TDS) by determining the optimal strategy for groundwater resources exploitation.
For the second model, the volume of floodwater storage in the artificial recharge system tanks was input into the algorithm calculations along with other data. The optimization objectives in developing the second model included maximizing the recharge volume of the associated system and minimizing the changes in the level caused by the artificial recharge system. In addition, aquifer remediation and environmental issues of groundwater were considered in this model. In this study, based on the current conditions of the study area, constraints were placed on the allocation of surface water resources for the artificial recharge system, the optimal infiltration volume, and the change in optimal water levels due to artificial recharge. Furthermore, the allocation of surface resources prioritized agricultural supply and agricultural consumption before allocation to the recharge system. This model analyzed the effects of artificial recharge on changes in groundwater levels. Furthermore, the aquifer was extensively estimated to calculate the desired targets. Figure 2 depicted the algorithm for the computational process of the multi-objective modeling platform.
Optimization model structure
Based on equations (1) to (11), we developed the first optimization model (quantitative and qualitative changes of the aquifer). Equations (12) to (26) similarly represent the structure of the second model (modelling of artificial recharge).
\({\text{Z}}_{\text{1}}\text{=Minimize (}\frac{\sum _{t}^{nt}\text{(wtct)}}{\text{(}{\text{ΔL}}_{\text{MAX}}\text{×m×y)}}\text{) + penalty function}\) (1)
\(\text{penalty function =((}{{\text{GWQ}}_{\text{max}}\text{)}}^{\text{2}}\text{×α) + }{\text{((}{\text{GWQ}}_{\text{min}}\text{)}}^{\text{2}}\text{×β}{\text{) + ((}{\text{WT}}_{\text{max}}\text{ }\text{)}}^{\text{2}}\text{×γ)}\) (2)
\({\text{GWQ}}_{\text{max}}\text{=}\left\{\begin{array}{c}\text{ }\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{Q}\text{ }\text{-}\text{ }{\text{Q}}_{\text{max}}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\\ \begin{array}{cc}\text{else }& \text{ Q}\text{ }\text{- }{\text{Q}}_{\text{max}}\end{array}\end{array}\text{ }\right.\)(3)
\({\text{GWQ}}_{\text{min}}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{Q}\text{ }\text{-}\text{ }{\text{Q}}_{\text{min}}\text{ }\text{≥}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\text{ }\\ \begin{array}{cc}\text{else Q}\text{ }\text{- }{\text{Q}}_{\text{min}}\text{ }\text{ }& \text{ }\end{array}\end{array}\text{ }\right.\) (4)
\(\text{wtcp =}\frac{\text{Q -}{\text{ Q}}_{\text{P}}}{\text{A×}{\text{S}}_{\text{y}}}\) (5)
\(\text{wtct }\text{=}\left\{\begin{array}{c}\text{ }\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\text{<}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{+}\text{ }\left|\text{wtcp}\right|\\ \text{e}\text{l}\text{s}\text{e}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\text{>}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{-}\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\\ \text{e}\text{l}\text{s}\text{e}\text{i}\text{f}\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{>}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{+}\text{ }\left|\text{wtcp}\right|\text{ }\\ \text{e}\text{l}\text{s}\text{e}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{ }\text{>}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\text{>}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{w}\text{t}\text{c}\text{ }\text{-}\text{ }\text{w}\text{t}\text{c}\text{p}\text{ }\text{ }\end{array}\right.\) (6)
\(\text{WT}\text{max}\text{ =}\left\{\begin{array}{c}\text{ }\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\left|\text{wtct }\right|\text{ }\text{-}\text{ }{\text{ΔL}}_{\text{MAX}}\text{ }\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\\ \begin{array}{cc}\text{else }& \text{ }\left|\text{wtct }\right|\text{ - }{\text{ΔL}}_{\text{MAX}}\end{array}\end{array}\text{ }\right.\) (7)
\({\text{Z}}_{\text{2}}\text{=Minimize (}\frac{\sum _{\text{t}}^{\text{nt}}\text{(RC}\text{ }\text{)}}{\text{(}{\text{C}}_{\text{sta}}\text{×m×y)}}\text{) + penalty function }\) (8)
\(\text{penalty function =}{\text{((Rqs}\text{ }\text{)}}^{\text{2}}\text{×ω)}\) (9)
\(\text{RC=}\text{243.729 + (6.502 × Q)}\) (10)
\(\text{Rqs}\text{ =}\left\{\begin{array}{c}\text{ }\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{R}\text{C}\text{ }\text{-}\text{ }{\text{C}}_{\text{sta}}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\text{ }\\ \begin{array}{cc}\text{else }& \text{ RC}\text{ }\text{- }{\text{C}}_{\text{sta}}\end{array}\end{array}\text{ }\right.\) (11)
\({\text{Z}}_{\text{1}}\text{=Maximize }\sum _{\text{t}}^{\text{nt}}\text{(}{\text{R}}_{\text{rech}}\text{ - penalty function) }\) (12)
\({\text{R}}_{\text{rech}}\text{=((V}\text{sa}\text{)+(V}\text{rbi}\text{)+(V}\text{output}\text{)+(V}\text{ri}\text{)+(V}\text{inf}\text{))}\) (13)
\(\text{penalty function =(}\left({{\text{V}}_{\text{shb}}\text{)}}^{\text{2}}\text{×α}\right)\text{+(}\left({{\text{Q}}_{\text{pm}}\text{)}}^{\text{2}}\text{×β}\right)\text{+(}\left({{\text{Q}}_{\text{bm}}\text{)}}^{\text{2}}\text{×γ}\right)\) (14)
\({\text{V}}_{\text{input}}\text{= V}\text{rit }\text{ - V}\text{ri}\) (15)
\({\text{V}}_{\text{output}}\text{= }{\text{V}}_{\text{input}}\text{ - (V}\text{inf}\text{+V}\text{sa}\text{)}\) (16)
\(\text{shr=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }{\text{V}}_{\text{bar}}\text{-}{\text{V}}_{\text{sa }}\text{<}\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }{\text{V}}_{\text{bar}}\text{-}{\text{V}}_{\text{sa}}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }{\text{V}}_{\text{bar}}\text{-}{\text{V}}_{\text{sa}}\text{ }\text{=}\text{ }\text{0}\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (17)
\(\text{Qm}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }{\text{Q}}_{\text{bi}}\text{-}{\text{Q}}_{\text{agr}}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{0}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }{\text{Q}}_{\text{bi}}\text{-}{\text{Q}}_{\text{agr}}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (18)
\(\text{Vrbi}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }{\text{Q}}_{\text{m}}\text{-}\text{s}\text{h}\text{r}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{Q}\text{m}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{s}\text{h}\text{r}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (19)
\(\text{Vshb}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{(}\text{V}\text{r}\text{b}\text{i}\text{+}\text{V}\text{s}\text{a}\text{)}\text{-}\text{V}\text{b}\text{a}\text{r}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }\text{(}\text{V}\text{r}\text{b}\text{i}\text{+}\text{V}\text{s}\text{a}\text{)}\text{-}\text{V}\text{b}\text{a}\text{r}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (20)
\(\text{Qpm}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }{\text{Q}}_{\text{m}}\text{ }\text{=}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }{\text{Q}}_{\text{agr}}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (21)
\(\text{Qbm}\text{=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }{\text{Q}}_{\text{m}}\text{-}{\text{Q}}_{\text{max}}\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{0}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }{\text{Q}}_{\text{bi}}\text{-}{\text{Q}}_{\text{max}}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (22)
\({\text{Z}}_{\text{2}}\text{=Minimize }\sum _{\text{t}}^{\text{nt}}\text{(wrchb+ Penalty function) }\) (23)
\(\text{wrchb=}\left(\frac{\left(\left(\left|\text{input-output}\right|\right)\text{+}\left({\text{R}}_{\text{ra+}}{\text{R}}_{\text{con}}\text{+}{\text{R}}_{\text{ri}}\text{+}{\text{R}}_{\text{rech}}\right)\text{-}\left(\text{w}\right)\right)}{\text{A×}{\text{S}}_{\text{y}}}\right)\) (24)
\(\text{penalty function =(}\left({\text{rchs}\text{)}}^{\text{2}}\text{×λ}\right)\) (25)
\(\text{rchs=}\left\{\begin{array}{c}\text{i}\text{f}\text{ }\text{ }\text{ }\text{ }\text{ }\left|\text{wrchb }\right|\text{ }\text{-}\text{ }{\text{ΔL}}_{\text{MAX}}\text{ }\text{≤}\text{ }\text{0}\text{ }\text{ }\text{ }\text{ }\text{ }\text{,}\text{ }\text{ }\text{ }\text{ }\text{ }\text{0}\\ \text{e}\text{l}\text{s}\text{e}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\left|\text{wrchb }\right|\text{ }\text{-}\text{ }{\text{ΔL}}_{\text{MAX}}\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\end{array}\text{ }\right.\) (26)
Calculation of optimal groundwater level changes in the first model
Based on Eq. (1), the first objective function for the first model was defined. Q-value was the volume of groundwater use (MCM) and the decision variable. Also, ΔLMAX was the maximum allowable groundwater level change (m), m and y were the months and years number, respectively. In this study, the maximum allowable groundwater level change ΔLMAX was set at 0.04 m per month based on monthly and annual statistics and data on groundwater level changes and aquifer conditions. Numerous studies have used the maximum allowable groundwater level change as a limiting factor, the amount of which varies depending on the study conditions. Tabari and Yazdi (2014) considered a maximum allowable groundwater level change of 0.05 m per month in a study of the combined use of surface and groundwater resources using an inter-basin water transfer approach. According to Sadeghi-Tabas et al., (2017), they studied sustainable groundwater modeling using single- and multi-objective optimization algorithms considering the maximum change in groundwater level of 0.40 m per year.
In these calculations, Q was the volume of optimal groundwater use in the domestic, industrial, and agricultural sectors, and Qp was the volume of current groundwater use. In penalty function equations, when the maximum and minimum volume limits (GWQmax and GWQmin) and maximum groundwater level changes (WTmax) were not met, their penalty values were calculated by the penalty function and added to the objective function. The maximum groundwater consumption (Qmax) was equal to the current level, while the minimum groundwater consumption (Qmin) was estimated to be 60% of the current level.
Based on the resources and exploitation of the study area, a minimum volume for harvesting was calculated. The value of WTmax was calculated to estimate the optimal groundwater level change (wtct) as the maximum allowable groundwater level change or less than it. Otherwise, a penalty equal to the same difference was imposed according to the WTmax equations. To impose fewer penalties, the algorithm also attempts to estimate the optimal level changes as much as or less than the maximum allowable balance changes.
The optimal water table of wtct was calculated by using the values and sign of the water height equal to the optimal withdrawal volume of wtcp and the changes in water table resulting from the estimation of the neural network of wtc. If the optimal withdrawal amount in the wtcp equation was less, greater that, or equal to the current withdrawal amount, the response of the equation was calculated as negative, positive, or zero, respectively. Moreover, if the changes in the water table calculated from the desired equation were positive, the level changes resulting from the optimal withdrawal quantity also decrease. Whereas, when the value was negative, the level changes increased. Therefore, the changes in the optimal groundwater level under these conditions were calculated according to Eq. (6). The constant coefficients α and β and γ were 10 and 10,000 in the first penalty function.
Determination of the standard concentration of total dissolved solids (TDS)
According to World Health Organization (WHO), the standard TDS concentration for domestic use is 1000 (mg. L− 1). Based on the Food and Agriculture Organization (FAO), the same parameter for agricultural use is between 450 and 2000 (mg. L− 1), which is suitable for low to moderate restrictions. In addition, according to Iranian standards, the quality of TDS for industrial use should be less than 1000 (mg. L− 1), as medium quality. This grade allows its use in industrial processes with the lowest sensitivity, and with or without refining. Therefore, based on the quantitative and qualitative conditions of groundwater resources in the study area and the objectives of the optimization model, a TDS value of 1000 (mg. L− 1) was set as the standard for the optimization of groundwater.
Total dissolved solids (TDS) optimization
Equations (8) through (11) were used to describe the second target function and constraints for qualitative optimization of the aquifer. According to Eq. (8), z2 was the second objective function. In addition, Csta was the groundwater quality standard (TDS). The penalty function represents the penalty amount added to the second target function when the groundwater quality was not equal to or less than the standard value. In the second penalty function, the constant coefficient ω was set equal to 1000. Figure 3 illustrated the optimization structure of the first model.
In this model, the variable of decision was the volume of groundwater consumption (Q) for each month and for the three years 2014 to 2016. There were 36 variables for decision. Furthermore, the chromosome population size in the study was set to 200 and the number of replications was set to 1000. To determine the population size of chromosomes, the algorithm was run with four populations of 100, 200, 300, and 400 and each population with 400 replications. Ultimately, the optimal population was chosen based on the results of each run.
Optimization of the artificial recharge volume
In the second model, the first target function and the corresponding penalty function were presented according to equations (12) and (14). Rrech as the optimal recharge volume by the artificial recharge system (both artificial recharge system and river), including Vsa flood storage volume, allocation of surface water resources according to the volume of reservoirs and available water (Vrbi), discharge volume of Voutput recharge system, infiltration volume in the river (Vri ), the volume of flood infiltration in the reservoirs (Vinf ). The unit volume of all water resources was one (MCM), both in monthly and water years from 2014 to 2016. The constant coefficients α, β, and γ in the first penalty function were assumed to be 100. The flood storage volume Vsa was simulated and analyzed using ANN for algorithm calculations. The total volume of inflow to the river (Vrit), the volume of recharge reservoirs Vbar, the volume of water entering from Bilghan to Shahriar (Qbi), the volume of agricultural use Qagr. The reason for the Vshb penalty is that the surface water of Bilghan and the flood water stored in the recharge system does not exceed the volume of artificial recharge reservoirs in the system. Furthermore, based on the amount of surface water in Bilghan and downstream agricultural use, the water volume should be allocated to the recharge system and the algorithm should not exceed this limit.
In the above relationships, the decision variable was the volume of water flowing from Bilghan to Shahriar (Qbi). In shr relations, if the volume of the reservoirs was less than the volume of the flood storage simulated by the neural network, and the response to the equation was also greater than zero, the amount of storage or lack of water in the reservoirs is equal to the difference between the volume of the flood storage and the volume of the reservoirs. However, if the volume of the reservoirs were equal to the flood storage volume and the answer to the equation was zero, there would be no shortage of water in the reservoirs during the flooded months. In other words, its volume is calculated to be zero. During the non-flooded months, there will be a shortage of water in the reservoirs as much as their volume. Thus, the shortage of water for artificial recharge depends on the amount of water in the flooded and non-flooded months as well the volume of the reservoirs in the recharge system. Because the volume of outflowing floodwaters from the output recharge system enters the large sand holes at the end of the alluvial fan after leaving the artificial recharge system and entering the aquifer, they were estimated to be recharge from the outlet section of the artificial recharge system in the total recharge volume.
Calculation of optimal level changes by the artificial recharge system
Z2 represented the second target function, while Eq. (25) represented the penalty for non-observance of the maximum groundwater level changes. To calculate the changes of groundwater level changes, the value of wrchb was calculated as Eq. (24), where input and output are the groundwater inlet and outlet volumes at the boundaries of the domain, Rra was infiltration volume from precipitation, Rcon was the infiltration volume from domestic water, industry, and agriculture, Rri was the infiltration volume by the river, W was the consumption volume by withdrawal wells, A was the area of the aquifer (km2), and Sy was the special discharge (dimensionless). The constant-coefficient in the second penalty function (λ) was 1000. wrchb was calculated in (m). In the model, the maximum allowable changes of groundwater level ΔLMAX according to the artificial recharge system, range, and aquifer conditions was 0.04 m per month.
The level changes resulting from the optimal recharge volume and then calculating the associated limitation were minimized to optimize the recharge volume is optimized in accordance with the available water resources and the level changes during the month. This results in a relatively small increase in level changes. Therefore, some places in the Shahriar plain will not be ponded water, and there will always be space for artificial recharge in the soil layers. Therefore, permanent recharge is possible. In addition, in this case, the planning of groundwater and different uses, especially agricultural use, are more suitable and the behavior of the aquifer is predictable at an acceptable level. Therefore, groundwater level changes are calculated and optimized based on this issue.
During the artificial recharge period, the decision variable for each month was the volume of inflow water from Bilghan to Shahriar, resulting in 36 decision variables for 3 years. Chromosome population sizes were calculated in this model as in the first one. The calculations estimated the number of chromosomes to be 400 and the number of replicates to be 1000. Figure 4 showed the optimization structure of the second model.