1 Introduction

Urban river plays a crucial role in city development and in the ecological environment maintenance (Zhang et al. 2022). With the increase of urbanization levels, urban river is highly affected by human interference (Zhang et al. 2021). Human activity will deteriorate the water quality of urban river. Meanwhile, the water quality of urban river in turn influences city life (Yu et al. 2021). As a large developing country, Chinese cities have a salient contradiction between water quality conservation and urban development, especially in the northwest cities with the limited water resources. To realize sustainable and coordinated development of water resources, it is urgent to carry out scientific and comprehensive water quality assessment, and provide insights for subsequent pollution control (Tang et al. 2022).

Water quality index (WQI) is an effective manner to depict the state of water quality and to estimate water quality classes (Vijay and Kamaraj 2021). Chinese Environmental Quality Standards for Surface Water listed 24 physicochemical parameters, and defined different thresholds to divide each physicochemical parameter into 6 six water quality classes (Xu 2005a). Staff can choose any number of the physicochemical parameters to assess the water quality in application, and the worst assessment of these selected physicochemical parameters is generally used to represent the water quality (Yan et al. 2005). Obviously, only using the worst assessment to represent the water quality is strict and harsh, and neglects the effect of other parameters. So, Xu (2005b) proposed a comprehensive WQI for urban river water quality assessment by using 5 physicochemical parameters listed in the Chinese Environmental Quality Standards for Surface Water. Different from using the Chinese standard, Wu et al. (2021a) built a comprehensive WQI in the range of 0 to 100 by using 15 physicochemical parameters and empirical weights. Amiri et al. (2021) designed a WQI in the range of 0 to 300 by using 16 parameters and the empirical weights. Although some studies unified the WQIs within the range of 0 to 100, these WQIs still set different thresholds to determine the water quality classes (Uddin et al. 2021).

Different thresholds, various water quality parameters and manual weights are the main factors restricting the application of these WQIs. Therefore, these WQIs only can be used to assess the water quality in a certain environment (Gupta and Gupta 2021). To overcome the defect of manual weights, some studies used the ratio of the measured value to standard value to determine the weights of different parameters (Chakravarty and Gupta 2021). Since the standard value is decided subjectively, many researches adopted the entropy weight method to assign the weights to various water quality parameters automatically (Wang et al. 2021a).

To assess the water quality easily, many researches focus on developing WQImin model which only consists of few crucial water quality parameters. In (Nong et al. 2020; Wang et al. 2021b), the crucial parameters were selected from heterogeneous water quality parameters to build WQImin by using stepwise multiple linear regression analysis. In (Kim et al. 2021), artificial neural network was applied to construct the WQI for water quality assessment. The results show that stepwise multiple linear regression analysis and artificial neural network can build an accurate WQI by using few water quality parameters (Gebler et al. 2018; Kadkhodazadeh and Farzin 2021). However, these methods will assign the negative weight or the extreme weight to the water quality parameter, which will lose the physical meaning, lead to overfitting problem and show low generalization ability.

To address the aforementioned problem, this paper proposes an enhanced beetle antennae search algorithm based comprehensive water quality index for urban river water quality assessment. The main contributions are as follows.

  1. 1.

    This paper developed a comprehensive WQI to assess the water quality of urban river by using entropy weight and water quality classes.

  2. 2.

    An objective function with minimized mutual information, maximum coefficient of variation and maximum water quality difference is developed to select the crucial water quality parameters

  3. 3.

    An enhanced beetle antennae search (BAS) algorithm is proposed to build the WQImin model with excellent generalization ability, by optimizing the weights of the crucial parameters under the constraints with certain physical meaning.

The rests of this paper are organized as follows. Section 2 introduces the study area and the data source. Section 3 details the proposed methodology for building WQI and WQImin. Section 4 presents experimental results and discussion. The conclusion is summarized in Sect. 5.

2 Study Area and Materials

2.1 Study Area

This paper focuses on the urban river water quality assessment. Xi’an (107.4 ~ 109.49°E, 33.42 ~ 34.45°N) is the largest city in northwest China and is located in the center of the Guanzhong plain to the south of the Qinling mountains, as shown in Fig. 1. Xi’an moat is a typical urban river which not only has the function of interception, storage, drainage functions, but also is a place for people’s living. The weather is temperate semi humid continental monsoon climate. It is hot and rainy in summer, while cold and dry in winter. Annual precipitation is 522.4 mm ~ 719.5 mm. The rainfall is the highest in July, and September is another rainy month. The total length of Xi’an moat is 14.7 km, and its storage capacity is 1.27 million m3 approximately.

Fig. 1
figure 1

The sampling points in Xi’an moat

2.2 Data Source

With the rapid urbanization of Xi’an city, this development has had dramatic effects on the water environment (Yang et al. 2019). Xi’an moat experienced 3 environmental governance from 1998 to 2009, but it still exists environmental problems. As Fig. 1 shows, two water supply sources for Xi'an moat are near to sampling point 1 (from Dayu reservoir) and sampling point 4 (from reclaimed waterworks) respectively. The river flows from sampling point 1 through sampling point 2, sampling point 3, and sampling point 4 to sampling point 5.

Water samples were collected into brown sterile glass bottles from 0.5 m below a water level and were used to physicochemical characteristics analysis. This paper collects 10 physicochemical parameters, which are temperature (T), pH, dissolved oxygen (DO), total nitrogen (TN), ammonia nitrogen (NH3-N), total phosphorus (TP), chemical oxygen demand (COD), Turbidity (Tur), Chlorophyll-a (Chl-a) and Secchi Disk depth (SD) respectively, at 5 sampling points from January 2018 to December 2020. The methods for sample analysis are based on the standard methods for the examination of water and wastewater (APHA (American Public Health Association) 2017). The water samples were only collected 2 times from December 2019 to April 2020 due to the impact of COVID-19. In the rest of the time, the water samples were collected every half a month. The statistical characteristics of these physicochemical parameters are summarized in Table 1.

Table 1 Statistical characteristics

As Table 1 shows, the water of Xi’an moat presents alkaline and the contents of TN is high in general. NH3-N, TP and Chl-a show the large standard deviation (SD) resulting from existing some extreme values.

3 The Proposed WQI and WQImin Model

3.1 Comprehensive WQI

To evaluate the water quality classes, this paper employs the thresholds of pH, DO, TN, NH3-N, TP and COD published in Chinese environmental quality standards for surface water. Meanwhile, this paper adopts the thresholds of Tur, Chl-a and SD, which are defined based on the Chinese standards and listed in Kocer and Sevgili (2014); Wu et al. (2021b). Table 2 presents the classification criteria of different water quality parameters.

Table 2 The classification criteria

In this paper, the water quality parameter T is set to class IV, which satisfies the requirement of the common process water and the human body non-direct contact entertainment water. In terms of the ith parameter, the measured value is defined as Xi. In the light of the classification criteria, the water quality index of the ith physicochemical parameter can be formulated as follows.

$${WQI}_{i}={C}_{i1}+{C}_{i2}$$

where Ci1 = {1, 2, 3, 4, 5} implies the water quality class of the ith parameter. In terms of the water quality class Ci1, the range of measured value is from Siu-1 to Siu, which can be obtained from Table 2. Therefore, Ci2 = (XiSiu-1)/( SiuSiu-1) indicates the location of water quality within the class Ci1 (Liu et al. 2021). If the classification of water quality is inferior to Class V, \(WQI_{i}\) can be defined as follows under the condition that threshold is monotonic increasing.

$$WQI_{i} = 6 + \frac{{X_{i} - S_{i5} }}{{S_{i5} }}$$

Otherwise,

$$WQI_{i} = 6 + \frac{{S_{i5} - X_{i} }}{{S_{i5} }}$$

where Si5 refers to the threshold of Class V. Obviously, WQIi can describe the hazard degree of the overproof parameter. Then, the proposed comprehensive WQI is designed as follows.

$$WQI = \sum\limits_{i = 1}^{M} {W_{i} \cdot WQI_{i} }$$

where Wi is the weight for WQIi and is determined by entropy weight method (Ye 2010).

$$\begin{gathered} W_{i} { = }\frac{{1 - E_{i} }}{{M - \sum\nolimits_{i = 1}^{M} {E_{i} } }} \hfill \\ E_{i} = - \frac{1}{\ln n}\sum\limits_{k = 1}^{n} {p_{ik} \ln } p_{ik} \hfill \\ \end{gathered}$$

where M and n are the number of physicochemical parameters and number of samples respectively. Ei is the entropy of the WQIi, and Pik implies the probability of the kth sample in WQIi.

WQIi can reflect the water quality of these physicochemical parameters, and the entropy weights express the information quantity of these parameters. Under such a scenario, the comprehensive WQI can reveal the water quality reasonably.

3.2 Crucial Parameters Selection Strategy

To assess the water quality of urban river easily, this paper establishes the WQImin model by using the crucial water quality parameters. The crucial water quality parameters should have the following characteristics. Firstly, the crucial parameters should possess visible fluctuation, which can express the temporal variability. Secondly, the physicochemical parameter with inferior water quality class or superior water quality class should be selected as the crucial parameters. Thirdly, the selected crucial parameters should have minimum information redundancy. Therefore, this paper designs a score V for crucial parameter selection and can be formulated as follows.

$$\arg\,\max V = V_{1} + V_{2} - V_{3}$$

where \(V_{1} = \frac{{\sigma_{i} }}{{\mu_{i} }}\) is the coefficient of variation depicted the temporal variability of the measured value Xi (Jalilibal et al. 2021); \(V_{2} = \left| {\frac{1}{4}\sum\limits_{k = 1}^{n} {WQI_{i} } - 1} \right|\) is the water quality difference, which can describe the inferior and superior water quality class of the ith parameters in comparison with the water quality of class IV. V3 is the average mutual information between the measured value Xi of ith parameter and other parameters, and can be formulated as follows (Gao et al. 2022).

$$V_{3} = \frac{1}{M - 1}\sum\limits_{i \ne j} {\left[ {\sum {\sum {P\left( {X_{i} ,X_{j} } \right)\log \left( {\frac{{P\left( {X_{i} ,X_{j} } \right)}}{{P\left( {X_{i} } \right)P\left( {X_{j} } \right)}}} \right)} } } \right]}$$

3.3 Enhanced BAS Based WQImin

After crucial parameter selection, an enhanced BAS is proposed to optimize the weight for building the WQImin model. BAS is a global optimization method inspired by the foraging behavior of longhorn beetles. Different from the classic particle swarm optimization (PSO) (Liang et al. 2021) and gravitational search algorithm (GSA) (Gao et al. 2021a), BAS algorithm can converge to the global optimization solution by only using one particle, which makes BAS simple and fast as well as easy to implement (Li et al. 2020). The basic BAS defines the position of the beetle as a vector \(x^{t}\) at the epoch t. The searching behavior of beetle can be depicted as a random unit vector \(\overrightarrow {D}\). The positions of the right antenna \(x_{r}^{t}\) and left antenna \(x_{l}^{t}\) can be calculated as follows

$$\begin{gathered} x_{r}^{t} = x^{t} + d^{t} \overrightarrow {D} \hfill \\ x_{l}^{t} = x^{t} - d^{t} \overrightarrow {D} \hfill \\ \end{gathered}$$

where \(d^{t} = {t \mathord{\left/ {\vphantom {t R}} \right. \kern-\nulldelimiterspace} R}\) is the distance between two antennas, and R is a constant. Then, \(x_{r}^{t}\) and \(x_{l}^{t}\) are fed into the fitness function f(x) to figure out the next position according to the following formulas.

$$\begin{gathered} x^{t + 1} = x^{t} - \delta^{t} \cdot \overrightarrow {D} \cdot sign\left[ {f\left( {x_{r}^{t} } \right) - f\left( {x_{l}^{t} } \right)} \right] \hfill \\ \delta^{t} = \delta^{t - 1} \cdot \eta \hfill \\ \end{gathered}$$

where \(\delta^{t}\) represents the step size of each iteration; \(\eta\) is the decay rate and is set to 0.95 generally.

The random unit vector \(\overrightarrow {D}\) enables BAS to possess the global optimization performance, but it affects the searching efficiency as well. Therefore, this paper proposed an enhanced BAS to improve the searching efficiency. A variable \(x_{best}\) representing the position with the best fitness is added to the enhanced BAS, which can help BAS achieve a better direction and improve the convergence rate. If \(f\left( {x^{t} } \right) < f\left( {x_{best} } \right)\), \(x^{t}\) is assigned to \(x_{best}\). The formulation for update the position is defined as follows.

$$x^{t + 1} = x^{t} - \delta^{t} \cdot \left[ {\overrightarrow {D} \cdot sign\left( {f\left( {x_{r}^{t} } \right) - f\left( {x_{l}^{t} } \right)} \right) - \frac{{\left( {x_{best} - x_{t} } \right)}}{{\left\| {x_{best} - x_{t} } \right\|}}} \right]$$

in which the step size \(\delta^{t}\) is modified as follows.

$$\delta^{t} = \left\{ {\begin{array}{*{20}l} {\delta_{0} \cdot e^{{{{\left( {\eta - 1} \right)t} \mathord{\left/ {\vphantom {{\left( {\eta - 1} \right)t} {10}}} \right. \kern-\nulldelimiterspace} {10}}}} , \quad \quad \quad rand < \eta } \\ {\delta_{0} \cdot e^{{{{\left( {\eta - 1} \right)t} \mathord{\left/ {\vphantom {{\left( {\eta - 1} \right)t} {10}}} \right. \kern-\nulldelimiterspace} {10}}}} + \frac{{\delta_{0} }}{10t},\;rand \ge \eta } \\ \end{array} } \right.$$

where \(\delta_{0}\) is the initial step size. \(\delta^{t}\) will decrease with the epoch, and it will increase depending on probability \(\eta\), contributing to jump out of local optimal position.

To obtain a reliable WQImin model, the proposed enhanced BAS is applied to figure out the weight. The objective function and constraints are defined as follows.

$$\begin{array}{l} J = \min \frac{1}{n}\sum\limits_{k = 1}^{n} {\left( {WQI - WQ{\text{I}} min} \right)^{2} } + \frac{1}{2}p\left( {\sum {\beta_{i} - 1} } \right)^{2} \\ s.t.\left\{ {\begin{array}{*{20}c} {\beta_{i} - 1 \le 0,i - 1,2,...} \\ {\beta_{i} \ge 0,i = 1,2,...} \\ \end{array} } \right. \end{array}$$

where \(\frac{1}{n}\sum\limits_{k = 1}^{n} {\left( {WQI - WQ{\text{I}} min} \right)^{2} }\) is the mean square error (MSE). \(\beta_{i}\) is the weight for the ith crucial parameter, and \(WQ{\text{I}} min{ = }\sum\nolimits_{i} {\beta_{i} \cdot WQI_{i} }\). \(\frac{1}{2}\left( {\sum {\beta_{i} - 1} } \right)^{2}\) denotes the sum of the weights should be 1, and p is the penalty factor. The constraint term implies that \(\beta_{i} \in \left[ {0,1} \right]\).

3.4 Procedure for Water Quality Assessment

This paper proposes a novel method for urban river water quality assessment. The general procedures are summarized as follows and the flowchart is shown in Fig. 2.

Fig. 2
figure 2

The procedure for water quality assessment

  • Step 1. Collect the water and measure the physicochemical parameters.

  • Step 2. Calculate the comprehensive WQI based on the classification criteria.

  • Step 3. Select the crucial parameters according to coefficient of variation, water quality difference and mutual information.

  • Step 4. Design the constraints with certain physical meaning and optimize the weights of the WQImin model by using the enhanced BAS algorithm.

  • Step 5. Assess the water quality and report the results.

To report the results, all the WQImin models are estimated based on the criterion of the Pearson correlation coefficient (PCC), MSE, and mean absolute percentage error (MAPE) (Guo et al. 2021; Gao et al. 2021b). These formulas are defined as follows.

$$\begin{array}{l} PCC = \frac{{Cov\left( {WQI,WQ{\text{I}} min} \right)}}{{\sqrt {{\text{var}} \left( {WQI} \right){\text{var}} \left( {WQ{\text{I}} min} \right)} }} \\ MSE = \frac{1}{n}\sum\limits_{k = 1}^{n} {\left( {WQI - WQ{\text{I}} min} \right)^{2} } \\ MAPE = \frac{1}{n}\sum\limits_{k = 1}^{n} {\left| {\frac{{WQI - WQ{\text{I}} min}}{WQI}} \right|} \times 100\% \end{array}$$

where n is the number of samples.

4 Results and Discussion

4.1 Water Quality Assessment Using Comprehensive WQI

To reveal the urban river water quality, the comprehensive WQI is applied to Xi’an moat. The water quality index of parameter temperature (T) is set to 4 in this paper. Figure 3 shows the WQIi of different water quality parameters.

Fig. 3
figure 3

WQIi of different parameters

As Fig. 3 shows, the concentrations of TN, TP, COD and Chl-a exceed the water quality threshold of Class IV in the most cases. It is strict and inaccurate to assess the water quality as inferior Class V by only using the worst assessment of the physicochemical parameters to represent the water quality (Ban et al. 2014). Hence, this paper designs the comprehensive WQI for water quality assessment. WQI of Chl-a and WQI of DO manifest significant seasonal variation resulting from the changes of temperature and sunlight intensity (Asgari et al. 2021; Bajany et al. 2021). Meanwhile, the WQI of pH and the WQI of turbidity reflect the excellent water quality. Figure 4 is the statistical WQIi of these parameters.

Fig. 4
figure 4

The statistical WQIi

As Fig. 4 shows, the WQI of parameter pH ranges from 0.97 to 4.60. The WQI of parameter DO ranges from 0.28 to 4.31. The WQI of parameter TN ranges from 3.9 to 10.36. The WQI of parameter NH3-N ranges from 0.07 to 6.78. The WQI of parameter TP ranges from 2 to 10.6. The WQI of parameter COD ranges from 0.47 to 8.40. The WQI of parameter Turbidity ranges from 0.24 to 2.58. The WQI of parameter Chl-a ranges from 3.08 to 8.89. The WQI of parameter SD ranges from 3.38 to 5.78. WQI of NH3-N and WQI of TP exist many extreme values may due to human interference. In terms of TN, TP, Turbidity, Chl-a and SD, the WQI values before and after sampling point 4 show significant difference resulting from the inflow of reclaimed water. All the WQIi manifest significant changing tendency resulting from the flow direction and the input water quality of Xi’an moat.

To assess the water quality from a system perspective, Fig. 5 displays the comprehensive WQI of Xi’an moat. The comprehensive WQI shows significant periodic changes and seasonal difference. The water quality of Xi’an moat is getting better gradually due to the environmental governance. The average value of the comprehensive WQI is 3.54. The maximum value and the minimum value are 4.76 and 2.56 respectively. The comprehensive WQI indicates that the water quality is in the range of Class II to Class IV. Hence, this urban river water quality is suitable for the requirement of the common process water and the human body non-direct contact entertainment water. The comprehensive WQI indicates that water in sampling point 1 has the best quality, resulting from the inflow of reservoir water. The comprehensive WQI of sampling point 4 exhibits worst water quality resulting from the winding watercourse and the inflow of waste water.

Fig. 5
figure 5

The comprehensive WQI

To further reveal the water quality, Figs. 6 and 7 present the spatial distribution and the temporal variation of the comprehensive WQI respectively. In terms of Xi’an city, spring consists of March, Aril and May, summer implies the periods of June to August, autumn means the periods of September to November, and winter refers to December, January and February.

Fig. 6
figure 6

The spatial distribution of the comprehensive WQI

Fig. 7
figure 7

The temporal variation of the comprehensive WQI

As Fig. 6 shows, the comprehensive WQI indicates that sampling point 1 possesses the best water quality. Sampling point 4 shows the worst water quality, resulting from the inflow of reclaimed water and the geometry of the watercourse. Figure 7 demonstrates that Xi’an moat performs the best quality in autumn, and performs inferior quality in spring. This phenomenon may due to the plenty of rainfall in autumn and the severe air pollution in winter and spring. Xi’an city employs coal as the major energy source for urban heating in winter and spring, which will lead to severe air pollution. Due to the less windy in winter and spring, the atmospheric deposition will pollute the urban river. Besides, lots of pollutions will flow into Xi’an moat due to the most rainfall in summer and the frequent human activities.

4.2 Crucial Parameters in Xi’an Moat

In this paper, the crucial water quality parameters in different sampling points are selected independently. In terms of the sampling points, the average classes of different water quality parameters are figured out according to the classification criteria listed in Table 2. Then, the score V of every water quality parameters is calculated according to the designed strategy. Table 3 lists the score V in different sampling points.

Table 3 The score V

As listed in Table 3, the physicochemical parameters NH3-N, Tur, TN, Chl-a, TP and DO are the six crucial parameters, whichever the sampling point is monitored. NH3-N plays the most important role in explaining WQI, followed by turbidity, TN and so on.

4.3 The Performance of the Enhanced BAS Based WQImin

In this paper, the proposed enhanced BAS method is employed to optimize the weights of the crucial water quality parameters. To validate the effectiveness and superiority of the proposed method, the WQImin with different number of the crucial water quality parameters are established according to the order of the water quality parameters listed in Table 3.

Figure 8 displays the WQImin models with different number of the crucial water quality parameters at 5 sampling points. The WQImin3, WQImin4, WQImin5, WQImin6 refer to the WQImin with the first 3 parameters, first 4 parameters, the first 5 parameters and the first 6 parameters, respectively.

Fig. 8
figure 8

The WQImin models

As Fig. 8 shows, all the WQImin models can reflect the changing tendency of water quality, whichever the sampling point is selected. The WQImin model with 3 crucial water quality parameters can not express the water quality accurately in some cases. The assessment of WQImin model with 6 crucial water quality parameters is similar to that of the comprehensive WQI. The results confirm that WQImin6 model is an excellent and convenient manner with great generalization capability for urban river water quality assessment. In order to display the performance clearly, Table 4 lists the MSE, MAPE and the PCC between the WQImin model and the comprehensive WQI.

Table 4 The performance of the WQImin models

As Table 4 listed, the WQImin model with more crucial parameters will exhibit better performance. The PCC values between the WQImin with 6 crucial water quality parameters and the comprehensive WQI are all beyond 0.9, which illustrates effectiveness and superiority of the WQImin model. Besides the WQImin6 model, WQImin5 and WQImin4 can assess the water quality effectively as well. Meanwhile, the weights of WQImin model are optimized in a reasonable range due to the defined objective function and constraints. Table 5 and Fig. 9 lists the optimized weights of these WQImin models.

Table 5 The optimized weights
Fig. 9
figure 9

The optimized weights

Obviously, the weights of these WQImin models are all below to 1, and the sum of the weights is approximately equal to 1. Under such a scenario, the weight represents the ratio of different parameters in the WQImin model and the ratio of different parameters for water quality assessment. In view of the above results, it can be known that the proposed enhanced BAS based WQImin model is an effective manner with certain physical meaning for water quality assessment.

To validate the performance, the proposed enhanced BAS is compared with standard BAS, PSO and GSA. Figure 10 shows the convergence rates of these algorithms for building WQImin models on sampling point 1.

Fig. 10
figure 10

The convergence rates

As Fig. 10 shows, all these 4 algorithms can achieve the optimal results in the end. However, the convergence rates manifest significant difference. In terms of WQImin3 and WQImin5, the convergence rates of the proposed enhanced BAS are slightly faster as compared with other algorithms. From the convergence rates of WQImin4 and WQImin6, it can be known that the proposed enhanced BAS can use less iteration than other algorithms to figure out the optimal results. The proposed enhanced BAS has a remarkable promotion in comparison with the standard BAS algorithm, since the evolved direction and the modified step size can improve the performance of BAS.

As shown in Figs. 89 and 10, Tables 4 and 5, the proposed enhanced BAS can optimize the weights of WQImin models with a fast convergence rate. The values of the optimized weights range from 0 to 1, expressing the ratio of each crucial water quality parameters in the WQImin models. All the results demonstrate that the proposed enhanced BAS based WQImin model is an effective, accurate and convenient approach for urban river water quality assessment.

5 Conclusion

This paper focuses on the water quality assessment of urban river. The water samples collected from Xi’an moat and 10 water quality parameters were measured. On the basis of Chinese published standard, the classification criteria are designed to determine the water quality classes of different water quality parameters. The developed comprehensive WQI can assess the water quality from system point of view, resulting from the combination of the water quality classes and entropy weights. The proposed selection strategy can obtain the crucial water quality parameters automatically. The selection illustrates that NH3-N, Tur, TN, Chl-a, TP and DO are the crucial parameters of Xi’ an moat, and most important parameter is NH3-N. The enhanced BAS is proposed to optimize the weights of the crucial parameters within 0 to 1, which can reveal the ratio of the crucial parameters in the WQImin model. As compared with standard BAS, POS and GSA, the convergence rates confirm the excellent performance of the proposed enhanced BAS. The WQImin model with few crucial parameters is a simple and convenient manner for urban river water quality assessment. The WQImin model with 6 crucial parameters is a precise and superior approach for urban river water quality assessment. All the results demonstrate the enhanced BAS based WQImin model can assess the urban river water quality effectively.