Introduction

The sustainable development of nations relies crucially on the availability of natural resources, particularly water resources encompassing both surface and groundwater. Amongst various water consumers, drinking and irrigation represent the foremost demands, globally depleting groundwater reserves, especially within arid and semi-arid regions (Siebert et al. 2010). However, groundwater resources face multiple challenges, imperiling their ongoing viability, including the pervasive influences of climate change and anthropogenic activities (Burri et al. 2019; El Asri et al. 2019; Hou´em´enou et al. 2020; Azzirgue et al. 2022; Docheshmeh Gorgij et al. 2023). These aforementioned factors commonly exacerbate water quality degradation, rendering it unsuitable for drinking and/or irrigation purposes, consequently hindering socio-economic progress.

Given the significance of monitoring and assessing water quality for contamination control and reduction (Chowdury et al. 2019; Zhu et al. 2019; Rahman et al. 2020; Chidambaram et al. 2022), the adoption of cutting-edge methodologies becomes essential. Consequently, numerous approaches have been employed, yielding favorable outcomes in evaluating groundwater quality. Notably, index-based, statistical, and geographic-based approaches have emerged as prominent methodologies for assessing and visualizing groundwater quality (Das et al. 2020; El Mountassir et al. 2020; Gao et al. 2020; Jahin et al. 2020; Wu et al. 2020; Chidambaram et al. 2022; Docheshmeh Gorgij et al. 2023).

The Water Quality Index (WQI) stands as an extensively employed approach in the field, illustrating the degree of water quality suited for various applications. Numerous investigations have incorporated the use of WQI in conjunction with multivariate statistical methods to assess the quality of both surface and groundwater. This practice has been observed in several notable studies, including those conducted by Lee et al. (2022), Multu and Kurnaz (2018), Multu and Uncumusaoglu (2018), Multu and Uncumusaoglu (2022), Maity et al. (2022), Uncumusaoglu and Multu (2021), and Uncumusaoglu and Multu (2022). Within the realm of WQI, Meireles et al. (2010) introduced an innovative variant known as the Irrigation Water Quality Index (IWQI), employed specifically for the assessment of water used in irrigation, adhering to various guidelines established by international organizations, such as Ayers and Westcot (1985).

Multiple studies have examined the integration of the conjugated form of the Improved Water Quality Index (IWQI) method with various approaches, thereby reducing the inherent subjectivity of IWQI performance. Notably, Simsek and Gunduz (2007) devised an IWQI framework for the Simav Plain in Turkey, in which the irrigation water quality was classified into three distinct categories: low, medium, and high quality. Furthermore, Singh et al. (2018) incorporated Saaty's Analytic Hierarchy Process (SAHP) into IWQI, thereby augmenting the evaluation process. Exploiting the capabilities of Geographic Information System (GIS), coalesced with IWQI, numerous scholars such as Batarseh et al. (2021), Çadraku (2021), Passos et al. (2019), Akter et al. (2016), and Al-Hadithi et al. (2019) studied water quality specifically with regard to irrigation purposes. In addition to conventional methods used in Water Quality Index (WQI) assessment, there has been a surge in the utilization of artificial intelligence techniques to enhance WQI accuracy. Recent studies by Docheshmeh Gorgij et al. (2023), Chidambaram et al. (2022), Valentini et al. (2021), Bui et al. (2020), and Ahmed et al. (2019) exemplify this growing trend.

The calculation of the Irrigation Water Quality Index (IWQI) has been conducted for numerous regions, primarily focusing on specific individual parameters, such as the major ions of water, electrical conductivity (EC), sodium adsorption ratio (SAR), and others. However, there has yet to be a comprehensive incorporation of all relevant parameters into the IWQI assessment. This present study concentrates on the integration of pertinent and widely applicable parameters in the evaluation of IWQI, surpassing their heterogeneous dimensions and units through the utilization of Entropy weighted calculations. Initially introduced by Shannon in 1948, the concept of entropy (Li et al. 2010) has since been extensively employed in various research endeavors (Li et al. 2010; Amiri et al. 2014; Docheshmeh Gorgij et al. 2019). However, its application in water quality assessment has primarily been limited to drinking water quality evaluations. For the very first time, this study employs the Entropy method in the assessment of irrigation water quality, thereby proposing the Entropy Weighted Irrigation Water Quality Index (EIWQI).

Materials and methods

The evaluation of water suitability for irrigation purposes relies on several parameters and indices put forth by diverse organizations and agencies. In this investigation, our emphasis lies on the quantification of parameters such as Electrical Conductivity (EC), Total Hardness (TH), Sodium Absorption Ratio (SAR), Residual Sodium Carbonate (RSC), and Na+ percentage (Na%) through the following determinations:

Electrical conductivity (EC)

Electrical conductivity (EC) denotes the extent to which water is capable of transmitting an electrical current. This property is contingent upon the abundance and intensity of dissolved ions, alongside the water's temperature profile.

Sodium adsorption ratio (SAR)

SAR for the first time was computed by Richards (1954), Its explanation can be found below:

$${\text{SAR}} = \frac{{{\text{Na}}^{ + } }}{{\sqrt {\frac{{{\text{Ca}}^{2 + } + {\text{Mg}}^{2 + } }}{2}} }}.$$
(1)

As the Specific Absorption Rate (SAR) value increases, there is a noticeable reduction in the hydraulic conductivity of the soil, leading to a subsequent decline in irrigation effectiveness. Adhering to the guidelines set forth by the World Health Organization (WHO 2011) and the Food and Agriculture Organization (FAO 2017), it is considered unsuitable for irrigation purposes when the SAR value exceeds 10.

Sodium percentage (Na%)

Since the high quantity of sodium percentage disrupts the soil texture same as SAR, it could be assumed as a key factor in irrigation water quality evaluation, and can be computed as follows:

$${\text{Na}}\% = \frac{{({\text{Na}}^{ + } + {\text{K}}^{ + } ) \times 100}}{{({\text{Ca}}^{2 + } + {\text{Mg}}^{2 + } + {\text{Na}}^{ + } + {\text{K}}^{ + } )}}.$$
(2)

Residual sodium carbonate (RSC)

When the summation of HCO3 and CO2−3 concentration exceeds the of Ca2+ and Mg2+ concentration, Ca2+ and Mg2+ will precipitate in soil. Richards (1954) calculated the RSC index which can be expressed as below:

$${\text{RSC}} = ({\text{HCo}}_{3}^{ - } + {\text{Co}}_{3}^{ - 2} ) - ({\text{Ca}}^{2 + } + {\text{Mg}}^{2 + } ).$$
(3)

Total hardness (TH)

TH is stated as the molar concentrations of entire multi-valent cations in water:

$${\text{TH}}\, = \,\sum {\text{multivalent cations}} .$$
(4)

However, the summation of calcium and magnesium concentration is used instead of that, practically:

$${\text{TH}}\, \approx \,{\text{Ca}}^{{{2} + }} \, + \,{\text{Mg}}^{{{2} + }} .$$
(5)

Table 1 summarizes the abovementioned parameters and their criteria for the groundwater quality.

Table 1 Classification of the effective parameters in irrigation water quality

Entropy method

Entropy is a fundamental concept that quantifies the degree of stochasticity inherent in a given occurrence. In this study, we adopt a method proposed by Guey-Shin et al. (2011) to assess the mathematical randomness of an event. The EIWQI measurement consists of several distinct phases as outlined below:

First, we consider a matrix denoted as the eigenvalue matrix, X, which captures the irrigation water quality data for m samples and n parameters. The specific formulation of this matrix is elaborated upon in the subsequent formula:

$$X = \left[ {\begin{array}{*{20}c} {X_{11} } & \cdots & {X_{1n} } \\ \vdots & \cdots & \vdots \\ {X_{m1} } & \cdots & {X_{mn} } \\ \end{array} } \right].$$
(6)

Since the parameters for irrigation water quality have different units, they should be normalized, to eliminate the existed error, the normalized matrix, hence, is as below:

$$Y = \left[ {\begin{array}{*{20}c} {Y_{11} } & \cdots & {Y_{1n} } \\ \vdots & \vdots & \vdots \\ {Y_{m1} } & \cdots & {Y_{mn} } \\ \end{array} } \right].$$
(7)

The value of each parameter, i.e., Pj, in each sample, i.e., i, could be calculated as follows:

$$P_{ij} = {{Y_{ij} } \mathord{\left/ {\vphantom {{Y_{ij} } {\sum\limits_{i = 1}^{m} {Y_{ij} } }}} \right. \kern-0pt} {\sum\limits_{i = 1}^{m} {Y_{ij} } }}.$$
(8)

The information entropy, ej, then, can be calculated as below:

$$e_{j} = - \frac{1}{\ln m}\sum\limits_{i = 1}^{m} {P_{ij} \ln P_{ij} } .$$
(9)

The higher the quantity of entropy, the lesser is the effectiveness of Pj. for each parameter there is a weigh in entropy form, ωj, afterwards, which can be calculated as follows:

$$\omega_{j} = \frac{{1 - e_{j} }}{{\sum\nolimits_{j = 1}^{n} {(1 - e_{j} )} }}.$$
(10)

The qualitative rating scale qj for each parameter can be determined as below:

$$q_{j} = \frac{{C_{j} }}{{S_{j} }} \times 100$$
(11)

where Cj and Sj are the concentration of parameter and standard value of that, respectively, based on irrigation water quality guidelines. In the present study, the standards, introduced by scholars in Table 1 has been used. The final step of EIWQI calculation will be as follows:

$${\text{EIWQI}} = \sum\limits_{j = 1}^{n} {\omega_{j} q_{j} } .$$
(12)

The groundwater quality, considering the derived EIWQI can be categorized in four levels, which can be seen in Table 2.

Table 2 Entropy weighted irrigation water quality ranking

Study area

The study site encompasses a portion of Urmia plain, situated on the western side of Urmia Lake (Fig. 1). A significant proportion, exceeding 60 percent, of the groundwater reservoirs in this region are currently allocated for irrigation purposes (Amiri et al. 2016). In terms of climate, Urmia plain exhibits Mediterranean characteristics, characterized by an average annual temperature of 17 °C and an annual precipitation of 346mm (Amiri et al. 2017). Urmia city, serving as the capital of West Azerbaijan, along with its surrounding residential areas, accommodates a substantial population that is predominantly engaged in the field of agriculture. This locale holds utmost agricultural significance within Iran, thus resulting in an immense demand for groundwater usage specifically for irrigation. Therefore, it remains imperative to effectively monitor and assess the water resources within this area, considering the extensive extraction of groundwater and the potential alterations in its quantity and quality.

Fig. 1
figure 1

Location of the study area and sampling points

Performance evaluation of proposed method

To evaluate the efficacy of the presented methodology in examining the quality of irrigation water, a comprehensive analysis was carried out utilizing established statistical parameters. These parameters, namely, the Mean Absolute Deviation (MAD), Mean Absolute Percentage Error (MAPE), Mean Square Error (MSE), and Root Mean Square Error (RMSE), were employed to gauge the performance of the proposed approach. These statistical indicators can be described mathematically as follows:

$${\text{MAD}} = \frac{{\sum\limits_{i = 1}^{n} {\left| {X_{o,i} - X_{p,i} } \right|} }}{n}$$
(13)
$${\text{MSE}} = \frac{{\sum\limits_{i = 1}^{n} {\left( {X_{o.i} - X_{p,i} } \right)^{2} } }}{n}$$
(14)
$${\text{RMSE}} = \sqrt {\frac{{\sum\limits_{i = 1}^{n} {(X_{o,i} - X_{p,i} )^{2} } }}{n}}$$
(15)
$${\text{MAPE}} = \left( {\frac{{\sum\limits_{i = 1}^{n} {\left| {\frac{{X_{o,i} - X_{p,i} }}{{X_{o,i} }}} \right|} }}{n}} \right)*100$$
(16)

where Xo,i and Xp,i are the observational and predicted parameter which is EIWQI here, while n is the number of samples.

Results and discussion

Understanding the quality of groundwater is of utmost importance, as it serves as a primary determinant for various purposes, including drinking water and agricultural applications (Ghalib 2017). Although water resources can be contaminated due to anthropogenic activities, natural processes also have the potential to alter its quality (Ismail et al. 2015). To assess the quality of water, a comprehensive investigation can be conducted, focusing on the major ions present in the water (Ismail et al. 2020). To gain a holistic understanding of groundwater and its hydrochemistry for diverse applications, sophisticated graphical representations such as the US salinity diagram, Wilcox diagram, and Piper diagram can be employed (Ghalib 2017).

The trilinear diagram devised by Piper (1944) serves as a valuable tool for providing explicit insights into water quality conditions. Accordingly, the present study adopts this diagram to comprehensively discern the hydro-chemical classification and facies of groundwater samples within the designated area. As illustrated in Fig. 2, the piper diagram effectively represents the hydro-chemical attributes of the study region. Analysis of the piper diagram elucidates that the principal composition of groundwater in the study area is characterized by Ca2+–Mg2+–HCO3. Specifically, the dominant cations comprise Ca2+ and Mg2+, while HCO3 emerges as the prevailing anion. Remarkably, the concentrations of Ca2+ and Mg2+ in the groundwater considerably outweigh those of Na+ and K+. Furthermore, the HCO3 concentration in the groundwater surpasses that of Cl and SO42− to a significant extent.

Fig. 2
figure 2

Piper diagram of the groundwater samples in the study area

To have a better insight about the major ion distribution of the study area in addition to irrigation water quality parameters, i.e., SAR, Na%, RSC, TH and EC, Table 3 shows the statistics of major ions and irrigation water quality parameters.

Table 3 Statistics of major ions and irrigation water quality parameters in the study area

Based on the data presented in Table 3, it can be observed that the most influential ions in the study area are calcium (Ca2+), magnesium (Mg2+), and bicarbonate (HCO3) with average concentrations of 462 mg/l, 357 mg/l, and 657 mg/l, respectively. The elevated levels of Ca2+ and Mg2+ contribute to water hardness, rendering it practically ineffective. The order of cations, arranged according to their concentration from greatest to least, is as follows: Ca2+  > Mg2+ > Na+ > K+.

Regarding the anions in the groundwater samples, the abundance order in the study area is as follows: HCO3 > SO4 2− > Cl, taking into consideration the average concentration. The substantial fluctuations in standard deviation for the anions indicate significant spatial variations among them. This sizable variability might be indicative of a considerable presence of anthropogenic activities within the study area (Wu et al. 2020). Moreover, HCO3 can react with Ca2+ or Mg2+ to form calcium carbonate (CaCO3) or magnesium carbonate (MgCO3), respectively. As a result, these two byproducts precipitate in water and soil, thus reducing the porosity of the soil texture. Furthermore, electrical conductivity (EC) exhibits a notable range, spanning from 370 to 2230, along with a high degree of standard deviation. This suggests a wide spectrum of water quality. The average EC measures approximately 939, which signifies good suitability for irrigation purposes. In contrast, the total hardness (TH) considerably exceeds the standard limits, varying between 155 and 950, whereas excellent and good quality thresholds for TH are lower than 150. Consequently, the water quality beyond this range becomes questionable or inadequate. Moreover, the sodium adsorption ratio (SAR), a crucial parameter in assessing water quality for irrigation, ranges from 2 (excellent) to 57.97 (unsuitable). The sodium percentage (Na%) in the study area varies from excellent to doubtful, ranging from 4.9 to 54.54 while exhibiting a relatively normal standard deviation. The residual sodium carbonate (RSC) parameter undergoes dramatic fluctuations, ranging from -970 to 170, primarily due to varying concentrations of HCO3 and the combination of Ca2+ and Mg2+. Notably, the water samples display an elevated concentration of Ca2+ and Mg2+. The distribution of SAR, Na%, RSC, EC, and TH in the study area is depicted in Fig. 3.

Fig. 3
figure 3

SAR (a), Na% (b), RSC (c), EC (d) and TH (e) distribution in the study area

Given the plethora of variations observed in the SAR, Na%, RSC, EC, and TH values, each with its distinct distribution, a decision has been made to combine these variables using the fuzzy method. This approach aims to mitigate uncertainties and minimize errors encountered when generalizing different parameters across the entire study area. As demonstrated in Table 4, the evaluation of individual parameter generalizations in the study area depicts a pronounced degree of error. As a consequence, the resulting uncertainty becomes considerably elevated.

Table 4 Performance evaluation criteria

Figure 4 shows the deriving map of overlayed EC, TH, SAR, Na% and RSC maps (Fig. 4a) besides the resulted map of entropy weighted method (Fig. 4b), proposed in present study.

Fig. 4
figure 4

Fuzzy overlayed map (a) and proposed EIWQI map (b)

As illustrated in Fig. 4, a notable resemblance in the results can be observed between the conventional fuzzy overlay method and the proposed method, namely, the Entropy-based Integrated Water Quality Index (EIWQI). Consequently, it can be inferred that the EIWQI approach can be astutely employed to expedite the process and reduce associated costs, rather than independently plotting numerous parameters and constructing a fuzzy overlayed map for quality assessment across the study area. Of noteworthy significance is the fact that if any water quality parameter for irrigation in a given water sample surpasses the defined thresholds, the groundwater from the same sample is deemed unsuitable for irrigation, even if other parameters conform to the limits. This implies that while certain groundwater samples may appear suitable for irrigation based on a specific parameter (such as the Sodium Adsorption Ratio or SAR), they may be unsuitable based on other parameters (such as Electrical Conductivity or EC). Consequently, the groundwater overall is generally rendered unsuitable for irrigation. Nevertheless, it should be acknowledged that the entropy method, by assigning weightage to each parameter accordingly, engenders normality and nullifies discrepancies among them while concurrently reducing uncertainties.

Figure 5 illustrates a comparison of the water quality levels across 69 water samples within the study area. The X-axis denotes the sample numbers, ranging from 1 to 69, while the Y-axis represents the quality grades assigned to each water sample. Here, a grade of 1 signifies excellent quality, grades 2, 3, and 4 represent good, doubtful, and unsuitable water quality for irrigation purposes, respectively.

Fig. 5
figure 5

Comparison between the EIWQI and Fuzzy ranking

Table 5 shows the performance evaluation of EIWQI method, in comparison with fuzzy overlay method of irrigation water quality parameters.

Table 5 Performance evaluation criteria for the proposed method

Based on the results of the performance assessment, the present study makes a conclusive observation that the EIWQI method is a viable approach. This method has demonstrated the potential to minimize the uncertainty associated with calculating various parameters by undertaking the normalization and amalgamation of all relevant factors. Notably, the overall uncertainty presented by this method is shown to be lower than the individual uncertainties associated with each parameter.

Conclusion

Determining the quality of water for various purposes, particularly for irrigation, is imperative, particularly in arid and semi-arid regions, such as Iran. Therefore, it is crucial to explore innovative and practical approaches to accomplish this objective. The present investigation has revealed that the effectiveness of the Water Quality Index (WQI) model can be enhanced through the inclusion of an entropy assessment, resulting in an improved ranking system for water quality. Furthermore, this study has demonstrated that the application of the entropy method is a valuable technique for augmenting comprehension of water quality concerns.