1. Introduction
Agriculture, as a major water user, accounts for 70% of global water consumption, with irrigation water accounting for over 90% of agricultural water use [
1]. China, a populous and agricultural country, has a disconnect in the distribution of water and land resources, with agricultural production highly dependent on irrigation [
2,
3]. As reported in the 2023 China Water Resources Bulletin, agricultural activities account for approximately 62% of total water withdrawals, with farmland irrigation constituting nearly 61% of agricultural water usage. Due to differences in regional precipitation distribution and long-term overexploitation of groundwater and inappropriate irrigation practices [
4], there is a common phenomenon of groundwater levels being either too deep or too shallow in irrigation areas, leading to serious ecological degradation, soil salinization, and other severe ecological problems that significantly hinder the sustainable development of irrigation areas [
5,
6,
7,
8]. Yingjisha County suffers from a shortage of freshwater resources, and shallow saline groundwater has significant potential for utilization, which can alleviate the pressure on agricultural water use if used reasonably.
Currently, many studies propose water resources optimization allocation models from the perspective of water distribution or water quality zoning. Wang et al. developed a multi-objective water resources allocation model incorporating both quantity and quality constraints, aiming to achieve a balance between efficient water utilization and quality preservation [
9,
10]; Zhao et al. proposed the concept of hierarchical water supply and established a rational water allocation model. While existing studies have considered supplying water of different quality levels to users in a prioritized sequence, they have failed to account for the impacts of saline groundwater irrigation on crop growth and secondary soil salinization in agricultural applications. The utilization of high-salinity water resources has emerged as a new research direction in optimal water allocation studies [
11,
12,
13,
14]. Therefore, this study incorporates ecological impact factors of saline groundwater by establishing supply priority for groundwater of varying quality, user priority for water allocation, and ecological constraints, to achieve optimized freshwater–saline water allocation.
In recent years, more and more research has been exploring technologies for water quality improvement and comprehensive utilization of water resources in response to the utilization of high salinity water. For example, Zhang Li and others can effectively reduce the salinity in high salinity water through physical and chemical methods, making it suitable for agricultural irrigation [
15]. In conclusion, research on the optimization of water resources allocation not only focuses on the rational distribution of water quantity in different regions and qualities but also considers the mutual constraint between water quantity and water quality when facing increasingly serious water shortage and water pollution issues.
The study progress of water resources optimization configuration models has multiple solutions, reflecting the diversity of optimization constraints and objectives. Wu Ze Ning et al. constructed a unified optimization configuration model system framework based on ecological economics for water quality and quantity [
16]. Yan Denghua et al. proposed the rational allocation and management of water resources oriented towards ecology based on the analysis of the basin’s “natural-artificial” binary water cycle and the evolution of associated processes and the mechanism of wetland ecological evolution [
17]. Yang Gaiqiang et al. established an uncertainty multi-objective optimization model by synthesizing previous research on agricultural water optimization for multiple crops and water sources throughout all growth stages [
18]. Xie Xinmin et al. established a “dual-control” water resource allocation model based on the need for ecological civilization construction and the protection of groundwater resources, with the total groundwater and groundwater level as constraints [
19]. Fang Guohua et al. established a regional water quantity and quality joint configuration multi-objective model by setting constraints on pollutant loading capacity in water functional areas and water quality requirements for water supply [
20]. Su Xiaoling controlled the groundwater levels in canal-well irrigation areas, determined the allocation of surface water and groundwater reasonably, and constructed a model system for temporal and spatial optimization of water resources coupled with numerical simulation of groundwater, with constraints on the water diversion capacity at the canal head, and the monthly allocation results of groundwater and surface water [
21]. Li Shuoyang studied the dynamic coupling feedback model of optimized irrigation water allocation and groundwater simulation, exploring the temporal and spatial balance of water resources optimization constrained by total water consumption and reasonable groundwater depth, to achieve water resources management with dual “real” constraints of groundwater level and total water consumption [
22]. However, these optimization studies have relatively fewer research on the effects of different irrigation water qualities on soil water salinity and crop growth, neglecting the effective supply of crops through capillary action of shallow groundwater, and the constraints of irrigation conservation measures on changes in water demand [
23].
In addition, the water resources management strategies in different regions show significant differences, taking into consideration their geographical characteristics and actual needs [
24,
25,
26,
27]. In the optimal allocation of water resources, the amount of groundwater that can be mined more in line with the actual situation is also very important. Nitika, M. et al. [
28] estimated the future groundwater level of the basin through the MODFLOW model. Moghaddam, H.K. et al. [
29] studied the relationship between exploitable groundwater and groundwater table fluctuation station under the pressure of agricultural groundwater extraction. The study area’s anticline structure has formed a spatial pattern with significant differences in the distribution of groundwater resources between the north and south. Exploring optimized irrigation strategies not only provides a new perspective for the rational allocation of saline groundwater but also effectively enhances the utilization efficiency of water resources in the study area.
Therefore, this article deeply analyzes the distribution characteristics of groundwater space in the background of fold structures, clarifies the relationship between water resources quantity and quality distribution in the hydrogeological background, calculates the exploitable groundwater resources and the available water volume in the entire region. To facilitate water allocation, this study classifies water resources based on total dissolved solids (TDS) concentration using 1 g/L increments. Specifically, (1) groundwater with TDS < 3 g/L is categorized as low-salinity irrigation water (freshwater), including selected groundwater and reservoir water; (2) groundwater exceeding 3 g/L TDS is classified as high-salinity irrigation water (saline water). Based on geological conditions, exploitable water volume, agricultural planting structure, crop salt tolerance, crop growth water level, land salinization, and other ecological factors, irrigation areas are reasonably divided, and a mathematical model with multiple constraints on water quality, water level, and water quantity is established to optimize water resources allocation. The utilization of saline groundwater can enhance the efficiency of groundwater irrigation systems while reducing both groundwater exploitation intensity and total extraction volume. Through optimal allocation of freshwater–saline water resources, the proposed approach employs reservoir water to dilute saline water for irrigation purposes. This strategy not only alleviates agricultural water supply-demand conflicts in Yingjisha County but also provides innovative solutions for regional ecological conservation, demonstrating significant environmental protection benefits.
2. Materials and Methods
2.1. Study Area
The study area is located on the northern margin of the Kunlun Mountains, in the western part of the Tarim Basin. The overall topography slopes from southwest to northeast, characterized by an arid climate with low precipitation and severe water scarcity. From 2018 to 2021, the actual groundwater extraction in the agricultural areas of Yingjisha County exceeded the permissible extraction limit, leading to a continuous decline in groundwater levels. In some areas, groundwater table depth changed by up to 4 m over four years, significantly altering the spatial distribution of groundwater quantity and quality. The location, topography, and land use of the study area are illustrated in
Figure 1.
The central region features the Karak Mountain, a low hilly terrain formed by an anticline structure. The mountain extends in a northwest direction (280–290°) with a width of 3–6 km from north to south and a length of 60 km from east to west. Its elevation ranges from 1300 to 1500 m, with a relative height of 50–100 m, classifying it as a mid-mountain landform. The mountain top is characterized by exposed bedrock composed of Tertiary mudstone, sandstone, and conglomerate. The slopes are gentle, rounded, dry, and devoid of vegetation.
The anticline structure restricts groundwater storage, recharge, and discharge, leading to significant variations in water resource distribution. On one side, the rising elevation of the aquifer base causes the aquifer to thin and the water table to become shallower, directing groundwater flow along the uplifted edges. On the opposite side, structural barriers significantly limit recharge, resulting in minimal groundwater replenishment.
Yingjisha County can, thus, be divided into two distinct irrigation zones: the southern and northern regions. The southern region consists of a narrow belt of alluvial and proluvial fan groups originating from the Kunlun Mountains’ foothills, while the northern region features a relatively flat alluvial plain.
2.2. Research Methods
(1) Sample Collection and Testing. In order to determine the spatial distribution characteristics of groundwater in the study area, a total of 6 soil samples and 308 groundwater samples were collected within Yingjisha County. These groundwater samples included 127 phreatic water samples, 173 first confined aquifer samples. Descriptive statistical analysis was used to organize and analyze the measured data from the sampling points. In order to better classify the local silt and sand, this study studied the composition of soil particles in order to find out the proportion of local fine particles below a certain size. According to the specific local irrigation conditions, 6 typical soil samples were collected in Yingjisha County, as shown in
Table 1 below. When collecting soil samples, the depth of 80 cm was dug, and the graded sampling and record were carried out, and the soil moisture TDS measured on site was used for indoor matching.
Weigh 500 g of dry sand and use the screening method to sift the soil sample through a variety of filter sizes; according to the size of the sieve, particles are split by size into several groups. Finally, weigh to determine the proportion of each sample, in order to classify various types of soil.
A Pearson correlation analysis was conducted on soil samples to investigate the relationship between total soluble salts and soil particle size distribution. This analysis provides fundamental data for modeling water–salt transport in the vadose zone, particularly regarding the influence of soil particle size on electrical conductivity in the study area [
13]. A correlation equation was established with an R
2 value of 0.972, indicating a good fit. The correlation analysis equation is as follows:
(2) Physical Simulation. Irrigation with mildly saline water requires consideration of the crop irrigation water salinity threshold and the soil salinization threshold. Mildly saline water irrigation can be applied under the condition that the soil salinity in the cotton root zone maintains a basic balance of leaching and accumulation, the physico-chemical properties of the tillage layer do not significantly deteriorate, and cotton yield, fiber quality, and water use efficiency do not significantly decrease [
30]. This study conducted controlled irrigation experiments based on the climatic characteristics, crop cultivation patterns, and irrigation water sources in the Yingjisha irrigation district. The experiments investigated: (1) salt transport mechanisms under different irrigation conditions with varying lithologies and TDS levels, and (2) the effects of irrigation recharge on soil salinity distribution.
(3) Numerical Simulation. This study established a Hydrus-1D unsaturated zone water–salt transport model based on physically simulated parameters, including soil–water characteristics, irrigation volume, evaporation rate, and initial distributions of both soil moisture and salinity. The model was adjusted based on the comparison between the simulated and observed soil moisture content and salinity at different observation points over time. The final parameters were determined through model validation, and the parameters are shown in
Table 2.
Using the unsaturated zone one-dimensional water and salt transport model, combined with the non-salinity criteria, soil water and salt predictions for the shallow unsaturated zone under different conditions were made. Based on the non-salinity threshold and the required solute transport model parameters, a correlation between the soil water electrical conductivity X (ms/cm) measured using the EM50 sensor and the total salt content Y (%) from soluble salt tests was established in the laboratory. The correlation yielded an R
2 value of 0.929, with the fitting equation shown in Equation (2). According to the national standard “Soil Environmental Quality Standards GB15618-2018” [
31], and considering both the total salt content in the soil and the impact of salinization on crop growth, a threshold of 0.3% total salt content was set. Using the following relationship, it was calculated that when the soil solution electrical conductivity threshold is below 0.91 ms/cm, it can be considered non-salinized.
Based on field investigation data from sampling sites, including irrigation water quality and irrigation schedules, this study conducted saline water irrigation simulations to predict soil electrical conductivity (EC) variations at fixed groundwater table depths. The simulation results were used to determine the critical water table depth at which EC values remained below the salinity threshold for non-saline conditions in the unsaturated zone over a 120-day period. The calculated thresholds for irrigation water salinity and corresponding computational results are presented in
Table 3.
Based on the geological and hydrological borehole data, the numerical model of groundwater flow and solute transport were constructed and verified by the water level monitoring data of 7 observation wells in the study area. The fitting error between the simulated groundwater level and the measured value should be less than 10% of the water level change during the fitting calculation period.
In the case of small water level change (less than 5 m), the water level fitting error should generally be less than 0.5 m. Based on the upper and lower limits of the groundwater level in the simulation of water and salt migration in the calculated zone, and the principle that the area less than the buried depth line of the mining water level is mined to the buried depth line of the water level, the area greater than the buried depth line of the water level is not mined, and the maximum decline rate of confined water is not more than 1 m/a, the underground water flow numerical model is used to calculate the amount of groundwater recoverable resources under different water level constraints. Then, subdivide the recoverable amount of groundwater with different salinity based on the spatial distribution characteristics of groundwater [
28,
29].
2.3. Optimum Collocation Model
(1) The economic benefits are most effectively represented by the water supply benefits for water users in the irrigation area.
In the formula, the net economic benefit is the net benefit per unit of water use multiplied by the unit of water amount, and the cost and benefit of water use for reservoir water and groundwater water are the same.
is the economic benefits of the irrigation area.
is the water supply efficiency for water user j from water source i in irrigation area k.
is the water usage cost for water user j from water source i in irrigation area k.
is the water supply order coefficient for water source i in irrigation area k.
is the supply amount of water for water user j in irrigation district k.
represents the amount of water resources provided by the reservoir water source to water user j in sub-district k.
is the sequence number of water source i supplying water to irrigation area k.
k is the maximum value of the supply sequence number.
is the sequence number of water use for water user j in sub-area k.
is the maximum value of the water use sequence number. The smaller the supply sequence number of the water source, the greater its supply priority coefficient value, indicating a higher priority for supply [
26,
32].
(2) The ecological benefits are represented by the minimum excessive exploitation of groundwater in the irrigation area.
In the formula, the ecological benefit is the minimum water shortage, that is, the water demand decreases the water supply. is the social benefits, is the irrigation water amount for water users j in irrigation district k.
(1) The supply capacity of the reservoir water is constrained. The sum of irrigation water for all water users in the k irrigation area cannot exceed the reservoir capacity.
(2) Water users in the irrigation area are subject to water demand constraints. The water demand for crop j in irrigation area k exceeds the irrigation water supply.
is the current irrigation water amount for crop j in irrigation district k.
(3) Groundwater supply capacity constraints. In order to prevent soil salinization and avoid the formation of water level drop funnels, the burial depth of groundwater should be controlled below the critical depth for salt return and above the maximum allowable extraction depth, namely,
The extract is as follows: is the exploitable water volume of the i water source in the k irrigation area when the groundwater level is greater than the critical burial depth. is the exploitable water volume of the i water source in the k irrigation area when the groundwater level is less than the maximum burial depth.
(4) Configure the water TDS constraint. After blending the slightly saline underground water with the reservoir water, the TDS of the blended water falls within the range of the ecological salinity threshold.
In the formula,
represents the minimum value of TDS of the irrigation water configuration for crop j in irrigation area k.
represents the maximum value of TDS of the irrigation water configuration for crop j in irrigation area k.
2.4. Water Source Division
Agricultural water use in Yingjisha County consists of two types of irrigation water sources: reservoir water and groundwater. Groundwater is classified based on different salinity levels, while reservoir water is a public water resource that requires coordinated allocation within the county. Water users include cotton farmers, wheat and corn farmers, and other crop farmers, as detailed in
Table 4.
2.5. Solving Model
The PSO algorithm is a novel swarm intelligence evolutionary algorithm with advantages such as fast convergence speed, high search efficiency, and a simple iterative process. It has been widely applied in fields such as function optimization. The modified particle swarm optimization (PSO) algorithm demonstrates enhanced precision in identifying optimal solutions [
20]. In this study, we employed a linear weighting method to transform the multi-objective problem into a single-objective formulation, assigning weights of 0.3 and 0.7 to economic and ecological objectives, respectively. The improved PSO algorithm was subsequently applied to solve the water resources zoning optimization model under multiple constraints. Using MATLAB(R2022b) to write improved PSO algorithm code to solve the optimal allocation of water resources. In the optimal configuration model, the rate of TDS threshold parameter will lead to the change in reservoir water distribution for diluting underground saltwater in the optimal configuration result. The change in groundwater level simulated by water and salt migration in the vadicle zone will lead to the change in underground available water supply, and the greater the buried water level, the greater the underground available water supply [
25].
4. Discussion
4.1. Analysis of Mining Structure
The Comparison of underground freshwater and saltwater production under the configuration scheme is shown in
Figure 5. Zhao Bin proposed the principles of rational water resource allocation [
11,
25]. Based on these principles, this study sets supply and consumption coefficients, considering that the exploitation of mildly saline groundwater is influenced by both water quality allocation and cotton irrigation water demand.
Cotton irrigation accounts for 12.1% of the total irrigation water in the southern irrigation district and 15.06% in the northern irrigation district. Together, these two districts make up 91.5% of the total cotton planting area in Yingjisha County. Due to the larger cotton planting areas and higher groundwater mineralization in these two districts, the mixed water quality of reservoir water and groundwater source four results in a TDS exceeding 2.6 g/L, which is only suitable for cotton irrigation. Therefore, the southern and northern irrigation districts prioritize the utilization of saline water, with cotton cultivation accounting for the majority of saline water consumption in their allocation structure. In contrast, the western irrigation district has limited saline water resources and a smaller cotton cultivation area, resulting in lower supply priority and the lowest utilization rate. These findings demonstrate effective control over the multi-source water supply sequence, validating the rationality of the optimized allocation model for saline groundwater resources.
In contrast, the western irrigation district has less mildly saline groundwater and a smaller cotton planting area, with a lower supply priority, leading to the least utilization of mildly saline groundwater. The model’s designed supply and consumption priority order aligns with the actual supply structure of mildly saline water utilization, demonstrating that the optimized water resource allocation model for differentiated water quality irrigation is reasonable.
4.2. Agricultural Irrigation Water Shortage
Figure 6 illustrates the comparison between water users’ demand and the allocated water volume in the optimized scheme. The northern and western irrigation districts account for 85.9% of the total water deficit, which can be attributed to two main factors: (1) the western district’s extensive cultivation of wheat, corn, and other crops with high freshwater demands, and (2) the northern district’s inherent scarcity of freshwater resources. In contrast, the southern district exhibits the lowest water deficit due to its minimal crop cultivation area and correspondingly lower water requirements. Notably, wheat and corn in the western and northern districts experience higher water deficits compared to other crops. This distribution pattern results from the optimization model’s parameter settings, where water allocation coefficients for equity and supply benefit were designed to prioritize economic crops such as cotton [
20,
25]. The observed allocation outcomes demonstrate the model’s effectiveness in optimizing saline water utilization while maintaining balanced water distribution among competing demands.
The utilization of saline groundwater for cotton irrigation represents the primary approach for optimal allocation of saline water resources. The optimization results demonstrate a remarkable increase in saline water utilization from 0% to 83%. Notably, the extraction of saline groundwater in the northeastern region has contributed to a decline in phreatic water levels, thereby mitigating soil secondary salinization caused by the shallow water table of highly mineralized water in the phreatic aquifer. The potential of underground saline water is developed for agricultural irrigation of salt-tolerant crops, and the overall irrigation water volume is increased, which ensures the normal water requirement of crops in arid areas with water shortage and meets the requirements of sustainable agricultural economic development.
4.3. Water Resources Change Trend Analysis
In the water balance calculation, the natural groundwater recharge is 93.33 million m3, while the optimized groundwater extraction under the proposed scheme is 69.40 million m3, leaving 23.93 million m3 of groundwater unused. This effectively addresses the issue of continuous groundwater level decline and aligns with the concept of sustainable groundwater utilization. Of the total natural groundwater recharge, 80.77 million m3 is fresh groundwater, while 12.55 million m3 is saline groundwater. Under the recharge-discharge balance condition, adding the remaining 11.37 million m3 of fresh groundwater to the optimized irrigation allocation would reduce the water shortage rate to 5.9%.
Table 8 presents the utilization of groundwater resources before and after optimization. Before optimization, the actual groundwater extraction in the southern irrigation district was 58.18 million m
3, exceeding the maximum exploitable volume of 46.82 million m
3, resulting in a groundwater utilization rate of 124%. After optimization, the utilization rate was reduced to 79%, representing a 36% reduction in groundwater extraction. This greatly reduces the exploitation rate of groundwater, indicating that the optimal allocation model of fresh–saltwater resources is advanced in the sustainable development of agricultural economy [
27].
4.4. Comparative Analysis of Water Resources Consumption
A comparison of the actual water usage in Yingjisha County from 2021 to 2022 with the optimized water allocation for each type of water source is shown in
Figure 7. Groundwater depth exerts a significant influence on crop growth. Within a certain range, saline water irrigation can stimulate plant growth without causing significant yield reduction or even enhance productivity, while simultaneously improving water use efficiency [
13,
14,
30]. This study adopts 6 m as the maximum groundwater level threshold for crop growth. However, field investigations reveal that most areas have already exceeded this critical threshold. Continued over-extraction would further exacerbate agroecological degradation.
A comparison between the actual water usage in the baseline year and the optimized allocation results is presented in
Figure 6. The western and northern irrigation districts demonstrate sufficient reservoir storage capacity, strong regulation capability, and high dependence on reservoir water. In contrast, the southern district exhibits the lowest actual water consumption but possesses the greatest exploitable groundwater potential, primarily due to its smaller cultivation area (accounting for only 14.9% of the total). This suggests that agricultural development priorities should shift toward the southern district.
Notably, the actual water usage across all three irrigation districts shows strong agreement with the optimized allocation results, confirming the high efficiency of the proposed irrigation system optimization.
4.5. Deficiency and Prospect
(1) The economic benefit objective function in the optimization model incorporates both water supply priority coefficients and water use equity coefficients. These coefficients dynamically influence economic outcomes based on variations in water supply and utilization sequences. Consequently, while the economic benefit primarily serves to regulate water allocation priorities, there remains a need for further refinement to enhance the precision of economic benefit modeling.
(2) The water level constraint in the optimization model fails to limit the minimum mining level, because the water distribution salinity constraint restricts the full mining of water under the minimum water level constraint. Although the optimization results cannot restrict the minimum mining water level, the underground saltwater used for cotton irrigation has reached the expected goal. Future research needs to further explore the constraint conditions of the minimum extraction water to improve the model parameter calibration.
5. Conclusions
(1) The water resource optimization model demonstrates robust consistency between the designed water supply/utilization sequence and the actual groundwater allocation order in the optimization results. This alignment ensures preferential utilization of saline water for salt-tolerant cotton cultivation while strictly satisfying irrigation water quality constraints, thereby verifying both the rationality and advanced nature of the proposed optimization framework.
(2) Through integrated freshwater–saline water optimization allocation, this study successfully exploits the utilization potential of saline groundwater, significantly improving the efficiency of groundwater-based irrigation systems. The southern irrigation district exhibits the greatest exploitation potential, suggesting that future agricultural development should strategically prioritize this region.
(3) The optimization results achieve substantial utilization of saline water irrigation potential, effectively mitigating the risk of secondary soil salinization caused by excessively shallow water tables and providing notable ecological protection. Future implementation of water-saving irrigation techniques combined with rational reduction in irrigated areas could potentially eliminate water shortages, thereby promoting sustainable agricultural economic development.