Introduction

Cities worldwide are currently grappling with serious water security issues (Chandra et al., 2021; Delorit et al., 2019). Research on urban water security is defined and analyzed in various ways. While some studies evaluating urban water resources focus on industrial economics, municipal water use, and agricultural production, others concentrate on urban water stress and water supply systems (Arya et al., 2015; Dadmand et al., 2020). Previous research has proposed two strategies: optimal water resource allocation and sewage management (Canter et al., 2014; Daughton et al., 2017; Xie et al., 2022). In this study, we aim to optimize urban water supply systems based on sustainable development principles, specifically focusing on sewage discharge rights allocation, to ensure safe and robust urban water supply, water equity, and environmental protection.

The watershed urban water supply system functions as a closed-loop hydrological cycle, with watershed managers allocating water resources to individual cities to meet domestic, agricultural, and industrial needs (Yao et al., 2020; Pourmand et al., 2020). Meanwhile, individual water-using sectors discharge domestic, agricultural, and industrial effluents into the watershed, impacting the ecological environment (Shen et al., 2021; Dai et al., 2020). Additionally, decision-makers have varying preferences for future changes in supply and demand (Siciliano et al., 2017; Kroll et al., 2019). Consequently, we assign different weights to assess the changes in water supply under different scenarios.

However, to meet urban water supply demands, we require a specific allocation framework. When constructing a multi-objective optimization method, four factors should be taken into full consideration: water equity (Yuan et al., 2022), economic development (Zhang et al., 2017), agricultural production (Zhu et al., 2019; Zhang et al., 2018), and environmental protection (Xu et al., 2020; Zhang et al., 2018). Hence, this study aims to achieve the following four objectives: (1) ensure industrial water equity for regional economic development; (2) ensure agricultural production equity for food security; (3) ensure municipal water equity for water supply security; and (4) allocate sewage discharge rights equitably to minimize the negative impact of water activities on the environment.

To meet urban water supply demands, this study proposes a multi-objective planning model that maximizes the equitable allocation of sewage discharge rights while considering equitable allocation of industrial, agricultural, and domestic water use in the basin. The practicality and feasibility of the model are verified using the Minjiang River Basin (MRB) in western China. With uneven water resource allocation and significant regional development disparities in the MRB, some cities are facing severe water shortages (Xu et al., 2017; Yao et al., 2020). Despite the local government implementing various measures to restrict sewage discharge (Gong et al., 2022), improve water use efficiency, and promote water recycling, numerous challenges persist (Cao et al., 2020; Zhang et al., 2021). Consequently, based on existing urban water supply system optimization models, this study aims to optimize the urban water supply system in the MRB. The innovations of this study are as follows: (1) the development of a multi-objective model to optimize the urban water supply system and ensure sustainable and equitable water supply; (2) the incorporation of sewage discharge rights into the models to mitigate the impact of water pollution on urban water systems; and (3) the achievement of a collaborative allocation of water resources and sewage discharge rights by balancing equity and efficiency.

The remainder of this study is as follows: “Literature review” section summarizes the literature, and “Materials and method” section presents the multi-objective optimization model. In the “Results and discussion” section, the results and analysis of the model are given in the context of a case study. Conclusions and management insights are presented in the “Conclusion and policy implications” section.

Literature review

More and more researchers are paying attention to the subject of urban water security. Some experts have primarily analyzed the urban water delivery system and have made significant progress (Yazdi and Moridi, 2017; Murray et al., 2010; Nabi et al., 2019). However, the urban water system primarily concerns water equity, economic growth, and environmental preservation. As a result, prior research has integrated urban water safety, water supply, and sewage treatment methods (Yzac et al., 2019; Xu et al., 2015). Xie et al. (2013) considered all demands, costs, and water flows in urban water systems. In most places, research on water supply safety significantly differs from policymakers’ management strategies (Wang et al., 2019; Sun et al., 2010). A study on enhancing urban water resources is necessary to ensure shared growth within social, economic, and ecological contexts (Tu et al., 2015).

The use of mathematical programming models for water resource management has recently gained popularity (Friesen et al., 2017; Guo et al., 2010). Relevant scholars have developed an optimal allocation model for cross-border and cross-basin water resources (Liu et al., 2020a). There are also studies on maximizing economic benefits, equity, and ecological sustainability (Lekakis et al., 1997; Li et al., 2021). Furthermore, many scholars have created optimization models to address the paradox of regional water resource scarcity resulting from the balance of supply and demand for regional water resources (Mo et al., 2014; Nasiri-Gheidari et al., 2018). To ensure a long-term water supply, when evaluating or comparing the current plan for allocating water resources, Canter and Chawla (2014) use the Gini coefficient as a qualitative measure. However, there are few quantitative studies on the equitable allocation of urban water resources that take sewage discharge rights into account. Therefore, we developed a multi-objective programming model to optimize urban water resource allocation; consider allowable sewage discharge from cities; promote the equity of industrial, agricultural, and domestic water use in the basin; and assess the impact of sewage discharge on the water environment.

The equitable allocation of urban water resources is crucial for alleviating conflicts between water sectors (Konishi et al., 2015; Song et al., 2016; Soller et al., 2018). Scholars have investigated the equity of water resource allocation from various perspectives (Hu et al., 2016; Mooselu et al., 2020; Hou et al., 2018). In terms of equity, Cullis et al. (2009) pioneered the use of the Gini coefficient to assess the equality of water resource allocation. Subsequently, Elbakidze et al. (2018) used the Gini coefficient as an evaluation or comparison index for the existing water resource allocation strategy to qualitatively measure the equality of water resources.

The literature is summarized in the following table (Liu et al., 2023). However, in the existing research, only the different characteristics of life, agriculture, industry, and value chain are considered, and there is no effective restriction on the environmental pollution caused by sewage discharge (Peng et al., 2022; Chang et al., 2022).

Study field

Method

Multi-objective

Reference

Urban water delivery system

Simulation-based optimization approach

No

Yazdi and Moridi (2017), Murray et al. (2010), Nabi et al. (2019)

Watershed water resources management

Urban water safety, water supply, and sewage treatment methods

Yes

Yzac et al. (2019), Xu et al. (2015), Xie et al. (2013)

Water supply safety research

Policymakers’ management strategy

No

Wang et al. (2019), Sun et al. (2010)

Urban water resources allocation

Multi-objective bi-level programming model

Yes

Tu et al. (2015)

Water resource management

Mathematical programming models

No

Friesen et al. (2017), Guo et al. (2010)

Cross-border and cross-basin water resources

Optimal allocation model

No

Liu et al. (2020b)

Water resource allocation

Multi-objective optimal

Yes

Lekakis et al. (1997), Li et al. (2021)

Balance of supply and demand for regional water resources

Optimization models

No

Mo et al. (2014), Nasiri-Gheidari et al. (2018)

Water resource allocation

Qualitative measurement

No

Canter and Chawla (2014)

Water resource and sewage discharge rights allocation

Multi-objective optimal allocation model

Yes

This study

Materials and method

Study area

The Minjiang River Basin (MRB), as an important Yangtze River tributary, Fig. 1(a) shows a map of China, Fig. 1(b) shows a map of Sichuan Province, and Fig. 1(c) shows the entire Minjiang River Basin jurisdiction, is rich in water resources (Fig. 1), with an average annual accessible water amount of 114,927 million m3. According to the geographical characteristics of the mainstream, the MRB includes eight cities and states in Sichuan Province, including Aba, Chengdu, Meishan, Ya’an, Leshan, Neijiang, Zigong, and Yibin City. By the end of 2019, the total population of the basin’s eight cities will be 36.529 million, the cultivated land area will be 2198.05 thousand hectares, and the entire value of the industrial sector will be 926.857 billion yuan. The total amount of water consumed is 11.274 billion cubic meters. The MRB supplies water to the domestic, agricultural, industrial, and ecological sectors of eight cities under the supervision of the basin management authority.

Fig. 1
figure 1

Map of MRB

Data sources and pre-processing

The population, cultivated land area, industrial GDP, and sewage discharge of eight cities in the MRB were statistically examined based on the Sichuan statistical yearbook 2006–2020 (Table 1). Simultaneously, the yearly average water amount and household, agricultural, industrial, and ecological water consumption of eight cities along the Minjiang River were statistically analyzed, according to the Sichuan Water Resources Communique (Table 2). The maximum and minimum water needs for the eight cities were calculated from 2015 to 2019. The average yearly water resources and water needs were computed using data from 2015 to 2019. The local subareas provided detailed socioeconomic statistics. According to the water resources bulletin, the MRB can provide 114.927 billion cubic meters of available water to 18.751 million residents each year, of which 0.25% is from other water sources (Table 3). From Tables 1, 2, and 3, it is evident that Chengdu is the area with the highest water consumption and also the largest wastewater discharge.

Table 1 Basic data of the MRB (2019, 108 m3)
Table 2 The water consumption of different parts of the subarea in MRB (2019, 109 m3)
Table 3 Minimum, maximum water demand and sewage discharge rights in all cities (2019, 109 m3)

Model

The optimal allocation strategy of water resources considering basin sewage discharge rights distribution is a complex multi-system integration problem. The following assumptions need to be made about the problem:

  1. (1)

    The Watershed Management Bureau makes rational decisions to avoid emergencies.

  2. (2)

    The Watershed Management Bureau fully understands the objective function and internal constraints. Furthermore, the behavior of watershed managers is reasonable.

  3. (3)

    The total available water quantity of the basin is considered a random variable with seasonal and natural variation, which is transformed into a deterministic variable through the annual average water flow of the basin.

This study starts from the initial available water quantity of the water supply system in the basin; focuses on the equity of the urban water use sector; incorporates sewage discharge into the limitation of the water supply system; uses the Gini coefficient to measure the equity of domestic, agricultural, and industrial water use and the satisfaction rate of sewage rights; and establishes a water and sewage rights allocation scheme for the urban water supply system, so that the water use sector in Xiantao City can ensure water security in a sustainable and stable manner. The goal of stable economic development and environmental pollution control is achieved. The decision framework is shown in Fig. 2.

Fig. 2
figure 2

Decision-making framework

To facilitate a clearer model, we refer to the study of Zhang et al. (2022), where the nomenclature in the model is illustrated and the relevant parameters and variables are expressed as follows:

Nomenclature

MRB:

Minjiang River Basin

Dom:

Domestic water user sector

Agr:

Agricultural water user sector

Ind:

Industrial water user sector

Index

j:

Index of subarea i in the MRB, j = 1: Chengdu, j = 2: Zigong, j = 3: Neijiang, j = 4: Leshan, j = 5: Meishan, j = 6: Yibin, j = 7: Ya’an, j = 8: Aba

Parameters

\({x}_j^{dom},{x}_j^{agr},{x}_j^{ind}\)::

Domestic/agricultural/industrial water allocated to area j (109 m3)

\({R}_j^{wes}\):

Sewage emission permits allocated to area j (109 m3)

Pj:

The resident population of subarea j (104 p)

Nj:

The cultivated land of subarea j (103 hm2)

Ej:

The total value of industrial economy of subarea j (yuan/m3)

T0:

The annual average amount of water available in the MRB (109 m3)

Sj:

The ecological water demand in subarea j

OWi:

Other water resources such as groundwater and rainfall in subarea j (109 m3)

R0:

The total amount of sewage allocated to be discharged in the MRB (104 m3)

\({\left({x}_j^{dom}\right)}^{min}\), \({\left({x}_j^{dom}\right)}^{max}\):

The minimum/maximum of domestic water sector demand in subarea j (109 m3)

\({\left({x}_j^{agr}\right)}^{min}\), \({\left({x}_j^{agr}\right)}^{max}\):

The minimum/maximum of agricultural water sector demand in subarea j (109 m3)

\({\left({x}_j^{ind}\right)}^{min}\), \({\left({x}_j^{ind}\right)}^{max}\):

The minimum/maximum of industrial water sector demand in subarea j (109 m3)

\({\left({R}_j^{wes}\right)}^{min}\), \({\left({R}_j^{wes}\right)}^{max}\):

The minimum/maximum of sewage discharge rights in subarea j (104 m3)

\({evp}_j^{agr}\), \({evp}_j^{ind}\):

The economic value of agricultural/industrial produced by unilateral water in subarea j (yuan/m3)

Objective functions

  1. (1)

    Maximize equity in domestic water use

In this study, per capita water quantity is used to measure the equity of domestic water allocation. Watershed managers should try their best to meet the basic demand of domestic water use, that is, to minimize the Gini coefficient of domestic water use. It can be expressed as follows:

$$\mathit{\min}{g}_1\left({x}_j^{dom}\right)=\frac{1}{2\cdot J\cdot \sum_{j=1}^J\frac{x_j^{dom}+O{W}^{dom}}{p_j}}\sum_{a=1}^J\sum_{b=1}^J\left|\frac{x_a^{dom}+O{W}^{dom}}{p_a}-\frac{x_b^{dom}+O{W}^{dom}}{p_b}\right|$$
(1)

a and b represent any two cities in the basin; \(\left({x}_j^{dom}+O{W}^{dom}\right)/{p}_j\) represents the per capita water consumption of city j in river basin. pa and pb represent the resident population of a city and b city, respectively.

  1. (B)

    Maximize equity in agricultural water use

The subarea of cultivated land is used to measure the equity of agricultural water allocation. Watershed managers should try to meet the basic demand of agricultural water, that is, to minimize the Gini coefficient of agricultural water; it can be expressed as follows:

$$\mathit{\min}{g}_2\left({x}_j^{agr}\right)=\frac{1}{2\cdot J\cdot \sum_{j=1}^J\frac{x_j^{agr}+O{W}^{agr}}{N_j}}\sum_{a=1}^J\sum_{b=1}^J\left|\frac{x_a^{agr}+O{W}^{agr}}{N_a}-\frac{x_b^{agr}+O{W}^{agr}}{N_b}\right|$$
(2)

\(\left({x}_j^{agr}+O{W}^{agr}\right)/{N}_j\) represents the water consumption per unit cultivated land area in j city of the river basin. Na and Nb represent the cultivated land area of a city and b city, respectively.

  1. (III)

    Maximize equity in agricultural water use

Economic returns are a critical factor in measuring equality for industrial water allocation. The allocation of industrial water should be maximized to meet the demand for industrial water, that is, to maximize the Gini coefficient of industrial water use; it can be expressed as follows:

$$\mathit{\max}{g}_2\left({x}_j^{ind}\right)=\frac{1}{2\cdot J\cdot \sum_{j=1}^J\frac{x_j^{ind}+O{W}^{ind}}{E_j}}\sum_{a=1}^J\sum_{b=1}^J\left|\frac{x_a^{ind}+O{W}^{ind}}{E_a}-\frac{x_b^{ind}+O{W}^{ind}}{E_b}\right|$$
(3)

\(\left({x}_j^{ind}+O{W}^{ind}\right)/{E}_j\) represents the unilateral water industry GDP of j city in the basin; Ea and Eb represents the industrial GDP of a city and b city, respectively.

  1. (IV)

    Maximize the allocation of sewage discharge rights

The satisfaction rate of sewage discharge rights is the key factor to measure equality for the allocation of discharge rights. Therefore, the allocation of sewage discharge rights should maximize the Gini coefficient to meet the needs of discharge rights; it can be expressed as follows:

$$\mathit{\min}{g}_3\left({R}_j^{wes}\right)=\frac{1}{2\cdot J\cdot \sum_{j=1}^J\frac{R_j^{wes}}{E_j}}\sum_{a=1}^J\sum_{b=1}^J\left|\frac{R_a^{wes}}{E_a}-\frac{R_b^{wes}}{E_b}\right|$$
(4)

\({R}_j^{wes}/{E}_j\) represents the sewage discharge rights needed by j city to produce unit economic value in the MRB.

Constraints

  1. (1)

    Limited water resources available

According to China’s “three red lines system” (http://www.mwr.gov.cn/szs/slcs/201612/t20161222776422.html), the MRB’s available water resources vary with time every year, so the total water resources allocated to the MRB management authority’s eight cities should be less than the MRB’s annual average water quantity; it can be expressed as:

$$0\le \sum_{j=1}^8\left({x}_j^{dom}+{x}_j^{agr}+{x}_j^{ind}\right)<{T}_0$$
(5)
  1. (B)

    Ecological water restrictions

To protect the ecological environment and ensure water security, it is necessary to maintain ecological water use, so the MRB management authority should prioritize ecological water use when allocating water resources; it can be expressed as:

$${T}_0-\sum_{j=1}^8{S}_j\ge \sum_{j=1}^8\left({x}_j^{dom}+{x}_j^{agr}+{x}_j^{ind}\right)$$
(6)
  1. (III)

    Water demand restriction

To assure fundamental usage and development and prevent resource waste in the water sector, the minimum water demand for each sector must be satisfied. Each area will only receive the water necessary to meet its highest aspirations. It can be expressed as:

$${\left({x}_j^{dom}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{dom}\right)}^{max},{\left({x}_j^{agr}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{agr}\right)}^{max},{\left({x}_j^{ind}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{ind}\right)}^{max}$$
(7)
  1. (IV)

    Restrictions on the allocation of discharge rights

To ensure primary usage and development, prevent waste of discharge rights, and safeguard the ecological environment, the minimum discharge rights demand for each subarea of the basin must be satisfied, and the discharge rights allotted to each subarea must not exceed its maximum expectations. It can be expressed as:

$${\left({R}_j^{wes}\right)}^{min}\le {R}_j^{wes}\le {\left({R}_j^{wes}\right)}^{max}$$
(8)
  1. (E)

    Total discharge limit

The river basin management authority allows a limited amount of sewage to be discharged and will set a total amount to limit the discharge of sewage in river basin.

$$0<{R}_j^{wes},\sum_{j=1}^J{R}_j^{wes}\le {R}^0$$
(9)

Global model

The Gini coefficient represents the equity of water resource allocation and sewage discharge right allocation by fusing the objective function with constraint criteria. The following is the global model formula:

$${\displaystyle \begin{array}{c}\mathit{\min}{g}_1\left({x}_j^{dom}\right)=\frac{1}{2\cdot J\cdot \sum\limits_{j=1}^J\frac{x_j^{dom}+O{W}^{dom}}{p_j}}\sum\limits_{a=1}^J\sum\limits_{b=1}^J\left|\frac{x_a^{dom}+O{W}^{dom}}{p_a}-\frac{x_b^{dom}+O{W}^{dom}}{p_b}\right|\\ {}\mathit{\min}{g}_2\left({x}_j^{agr}\right)=\frac{1}{2\cdot J\cdot \sum\limits_{j=1}^J\frac{x_j^{agr}+O{W}^{agr}}{N_j}}\sum\limits_{a=1}^J\sum\limits_{b=1}^J\left|\frac{x_a^{agr}+O{W}^{agr}}{N_a}-\frac{x_b^{agr}+O{W}^{agr}}{N_b}\right|\\ {}\begin{array}{c}\mathit{\max}{g}_3\left({x}_j^{ind}\right)=\frac{1}{2\cdot J\cdot \sum\limits_{j=1}^J\frac{x_j^{ind}+O{W}^{ind}}{E_j}}\sum\limits_{a=1}^J\sum\limits_{b=1}^J\left|\frac{x_a^{ind}+O{W}^{ind}}{E_a}-\frac{x_b^{ind}+O{W}^{ind}}{E_b}\right|\\ {}\mathit{\max}{g}_4\left({R}_j^{wes}\right)=\frac{1}{2\cdot J\cdot \sum\limits_{j=1}^J\frac{R_j^{wes}}{E_j}}\sum\limits_{a=1}^J\sum\limits_{b=1}^J\left|\frac{R_a^{wes}}{E_a}-\frac{R_b^{wes}}{E_b}\right|\\ {}s.t\left\{\begin{array}{c}0\le \sum\limits_{j=1}^8\left({x}_j^{dom}+{x}_j^{agr}+{x}_j^{ind}\right)<{T}_0\\ {}{T}_0-\sum\limits_{j=1}^8{S}_j+ OW\ge \sum\limits_{j=1}^8\left({x}_j^{dom}+{x}_j^{agr}+{x}_j^{ind}\right)\\ {}\begin{array}{c}{\left({x}_j^{dom}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{dom}\right)}^{max}\\ {}{\left({x}_j^{agr}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{agr}\right)}^{max}\\ {}\begin{array}{c}{\left({x}_j^{ind}\right)}^{min}\le {x}_j^i\le {\left({x}_j^{ind}\right)}^{max}\\ {}{\left({R}_j^{wes}\right)}^{min}\le {R}_j^{wes}\le {\left({R}_j^{wes}\right)}^{max}\\ {}\begin{array}{c}\sum\limits_{j=1}^J{R}_j^{wes}\le {R}_0\\ {}{x}_j^i\ge 0,{R}_j^{wes}\ge 0\end{array}\end{array}\end{array}\end{array}\right.\end{array}\end{array}}$$
(10)

Specific solution steps for these objectives

According to the above global multi-objective optimization model, the weight preferences of decision-makers are set, and the multi-objective optimization model is converted into a single-objective optimization model as follows:

$$\mathit{\max}{\vartheta}_1g\left({x}_j^{dom}\right)+{\vartheta}_2g\left({x}_j^{agr}\right)+{\vartheta}_3g\left({x}_j^{ind}\right)+{\vartheta}_4g\left({R}_j^{wes}\right)$$
(11)

where ϑ1 + ϑ2 + ϑ3 + ϑ4 = 1. According to the established single-objective optimization model, the optimization solver in Matlab is invoked to solve it as follows:

  1. (1)

    Convert the established multi-objective optimization model into a single-objective optimization model, and convert that single-objective model into a specific code

  2. (2)

    Invoke the GA algorithm in Matlab given a specific range of values for the decision variables in the model

  3. (3)

    Bring the constraints into the model to determine the available range of water resources and wastewater discharge rights

  4. (4)

    Derive satisfactory solutions for different combinations of weight scenarios based on the values of ω, and select decision options according to the decision-maker’s preferences

Results and discussion

The weighted technique is employed to incorporate the agricultural, household, and industrial sectors, along with the Gini coefficient of discharge rights allocation, when applying the model to the MRB. It is important to note that the correlation between the allocation of sewage discharge rights and the conventional distribution of water resources is not taken into account; hence, the water use sector and sewage discharge rights are weighted simultaneously. Prior to utilizing the weighting approach, g1, g2, g3, and g4 are standardized to eliminate the impact of the target value range. Therefore, the equality objective function is formulated as a result:

$$Q\left({\vartheta}_i\right)=\mathit{\min}\left({\vartheta}_1\left(\frac{g_1-{g}_1^{\circ }}{g_1^{\circ \circ }-{g}_1^{\circ }}\right)+{\vartheta}_2\left(\frac{g_2-{g}_2^{\circ }}{g_2^{\circ \circ }-{g}_2^{\circ }}\right)-{\vartheta}_3\left(\frac{g_3-{g}_3^{\circ }}{g_3^{\circ \circ }-{g}_3^{\circ }}\right)+{\vartheta}_4\left(\frac{g_4-{g}_4^{\circ }}{g_4^{\circ \circ }-{g}_4^{\circ }}\right)\right),i=1,2,3,4$$
(12)

Q(ϑi) is the equal objective function of the watershed administration. The proportions of ϑ1, ϑ2, ϑ3 and ϑ4 are the proportions of corresponding decision variables g1, g2, g3 and g4. \({g}_1^{\circ },{g}_2^{\circ },{g}_3^{\circ }\ \textrm{and}\ {g}_4^{\circ }\) and \({g}_1^{\circ \circ },{g}_2^{\circ \circ },{g}_3^{\circ \circ }\ \textrm{and}\ {g}_4^{\circ \circ }\) represent the optimal/worst value of g1, g2, g3 and g4 when optimized separately.

Analysis of the rationality of the allocation plan

The model is applied to the MRB and the following allocation results are obtained by solving the equality function, which includes the allocation scheme of domestic, agriculture, industrial, and discharge rights. When ϑ1 = 0.25, ϑ2 = 0.25, ϑ3 = 0.25, ϑ4 = 0.25, it serves as the basic scheme for the allocation of water resources and discharge rights (Table 4).

Table 4 Basic plan for allocation of water resources and sewage discharge rights (109 m3)

Comparison of water allocation schemes with and without sewage discharge rights

The discharge rights are not taken into account when developing the model. The model’s output is shown in Table 4. The longitudinal axis of Fig. 3 indicates the amount of water allotted by the water use sector, while the horizontal axis represents the eight cities flowing through the MRB. The change in agricultural water use is the most evident, and the change in industrial water use is more clear, according to a comparison between the present water allocation plan of the water sector (without taking the discharge right into account) and the model water allocation scheme. Domestic water consumption has changed the least. Agricultural water consumption is more steady than real water allocation in the water diversion plan taking discharge rights into account, which benefits the equitable growth of 8 cities in the MRB. Among them, Chengdu’s industrial water consumption has been lowered by 476 million cubic meters, in keeping with the city’s scientific and technical transformation and development policy of lowering industrial water use and enhancing water use efficiency. In terms of industrial water consumption, Zigong, Neijiang, Leshan, Meishan, Yibin, Ya’an, and Aba prefectures have all increased, while Chengdu has decreased and the other seven cities have climbed.

Fig. 3
figure 3

Comparison between model water allocation plan and actual scheme

Comparison of sewage discharge rights allocation schemes

By comparing the emission rights allocation schemes in percentage form on the bar chart, Fig. 4 shows the comparison results and indicates the sewage discharge rights allocated to 8 cities on the Minjiang River when considered comprehensively. The changes in Chengdu, Zigong, and Leshan are the most stable. Yibin, Meishan, Ya’an, and Aba vary greatly, in which Yibin, Meishan, and Aba vary by 20.1%, 15.3%, and 10%, respectively. Because of the close relationship between sewage discharge and the location of the Chengdu Basin, the upstream sewage discharge is the least in the MRB, and the water quality of the basin is the best in the middle reaches of the river. Chengdu produces the most sewage, which has a great impact on water quality. However, the downstream water quality is the worst, so in the allocation of sewage rights, we should increase the sewage discharge rights of upstream Aba and downstream Zigong to promote economic development so that the ecological environment of the basin can be protected.

Fig. 4
figure 4

Model sewage right allocation scheme and actual discharge right allocation scheme

Robustness analysis of allocation schemes under different weights

Water sector and sewage discharge rights play a crucial role in measuring equity, and different weights can also reflect the preference of watershed management authorities in the water sector and discharge rights to a certain extent. Figure 3 shows the Gini coefficient of the allocation scheme under different weights. Figure 5 shows that when the weight is changed, the Gini coefficient of the allocation scheme remains stable and effective. Meanwhile, in Fig. 5, the Gini coefficient of the domestic water sector is the smallest; the Gini coefficient range is [0.08, 0.1]. The Gini coefficient of the agricultural water sector is smaller, and the Gini coefficient range is [0.2, 0.25]. There is no significant difference between the Gini coefficient of the sewage right and the industrial water use sector, but compared with the agricultural and domestic water sectors, the Gini coefficient is [0.25, 0.34]. Because most of the units of domestic water use are individuals, the water consumption is more average, and it is mainly used for the daily use of family life. Therefore, the Gini coefficient is the smallest, the agricultural water use is mainly used for cultivated land to produce grain, and the water consumption is also more average, but there is an impact on the scale of agriculture. As a result, the Gini coefficient of agriculture is larger than that of the life Gini coefficient. In the allocation of industrial water and discharge rights, priority is given to large-scale enterprises, which can maximize economic utility and lead to the largest Gini coefficient of industry and discharge rights.

Fig. 5
figure 5

Gini coefficient of water sector and sewage allocation scheme under different weights

Robustness analysis of equity in domestic water

The water allocation scheme for the domestic water sector under different weights is shown in Table 5. When ϑ1 = 0.25, ϑ2 = 0.25, ϑ3 = 0.25, ϑ4 = 0.25, as per the basic scheme of the allocation of water resources and sewage discharge rights, the amount of domestic water allocated to Chengdu at this time is the largest, and the sum of the water allocations of the other seven cities is not larger than that of the domestic water sector of Chengdu, which is consistent with the actual water allocation. It is worth noting that in this study, 12 sets of weight sets are compiled into numbers 1 to 12 in order to facilitate graphic interpretation and explanation. Figure 6 depicts the domestic water sector’s water allocation in the MRB’s eight cities using different weights. According to the change of weight value, the water allocation of the domestic water sector changes with the change of weight, among which the change of Chengdu is the most obvious. When the weight is (0.1, 0.2, 0.5) and (0.25, 0.2, 0.3, 0.25), there will be a wave peak in the water allocation of the domestic water sector in Chengdu. The water allocation of domestic water departments in eight cities in the MRB changed little, and the model results were stable.

Table 5 Water allocation schemes of domestic sector under different weights
Fig. 6
figure 6

Water allocation scheme for domestic water sector

Robustness analysis of equity in agricultural water

Table 6 shows the water allocation schemes for the agricultural water sector under different weights. When ϑ1 = 0.25, ϑ2 = 0.25, ϑ3 = 0.25, ϑ4 = 0.25, as per the basic scheme of the allocation of water resources and sewage discharge rights, the amount of agricultural water allocated to Chengdu is the largest, with a water allocation of 3.091 billion cubic meters. Figure 7 shows the water allocation of the agricultural water use department in 8 cities of the MRB under different weights. When the weight is (0.3, 0.2, 0.1, 0.4), the water allocation of the agricultural water sector in Chengdu will peak, and the water allocation of the agricultural water sector will increase in the end. Under the change of weight, the result of water allocation in the agricultural water use department in 8 cities of the MRB is small, and the result of the model is stable.

Table 6 Water allocation schemes of agricultural sector under different weights
Fig. 7
figure 7

Water allocation scheme for agricultural water sector

Robustness analysis of equity in industrial water

Table 7 and Fig. 8 show the water allocation scheme for the industrial water use sector under different weights in the MRB. The water allocation of the industrial water sector varies with the change of weight, among which Chengdu has the most stable change, among which Leshan and Meishan vary greatly. When the weights of Leshan are (0.1, 0.45, 0.25, 0.2), (0.2, 0.3, 0.2, 0.3), (0.25, 0.25, 0.25, 0.25), and (0.25, 0.2, 0.3, 0.25), the industrial water allocation reaches its peak; the industrial water content varies from about 120 million cubic meters to about 120 million cubic meters. Despite some adjustments in the MRB’s industrial water allocation for eight cities, the changes are minor, and the model’s predictions remain consistent.

Table 7 Water allocation schemes of industrial sector under different weights
Fig. 8
figure 8

Water allocation scheme for industrial water sector

Robustness analysis of equity of sewage discharge right

Table 8 shows the allocation of discharge rights under different weights. When ϑ1 = 0.25, ϑ2 = 0.25, ϑ3 = 0.25, ϑ4 = 0.25, as per the basic scheme of sewage discharge right allocation, Chengdu has the most prominent discharge right at this time. The discharge right is 1.073 billion cubic meters, and the sum of the other seven city discharge rights is not larger than the Chengdu sewage discharge right, which is consistent with the actual water allocation. Figure 9 shows the allocation scheme of discharge rights in 8 cities of the MRB under different weights. According to the change of weight value, the value of discharge right varies with the change of weight, among which the change of discharge right in Yibin City is the most obvious. When the weight is (0.25, 0.2, 0.3, 0.25), where will there be a peak of sewage discharge in Yibin City? The range of discharge rights allocation in the MRB has shifted slightly due to a weight change. The results of the model are stable and can show the allocation preference of watershed management authorities.

Table 8 Allocation schemes of sewage discharge rights under different weights
Fig. 9
figure 9

Allocation scheme of sewage discharge rights

The influence of preference degree on economy in allocation scheme

The allocation scheme generated by the multi-objective optimal configuration model can affect the economic development of each subarea. To a certain extent, the preference of watershed managers for agricultural water use is mainly reflected in the agricultural water use. The agricultural economy will give priority to the development of the agricultural economy, and the amount of water allocated in the subarea will be less. When considering economic growth, since domestic water use is mainly to solve the living problems of residents, it should not be included in the scope of economic calculation. Therefore, only agricultural and industrial water should be considered when measuring the economic benefits.

Table 9 shows that the Chengdu still ranks first with 9.273 billion yuan in agricultural economic value, while the rest are Leshan, Yibin, Zigong, Neijiang, Ya’an, Meishan, and Aba. However, the agricultural economic value of Chengdu does not exceed the sum of the other seven cities, which is due to the tremendous development of high-tech and precision manufacturing industries in Chengdu, resulting in a certain degree of agricultural economic value. When the weight is 9, the weight is (0.3, 0.2, 0.1, 0.4), when the proportion of agricultural water consumption reaches 30% and the proportion of multi-objective optimal allocation system is relatively large, which leads to the increase of the agricultural economy of Chengdu, Leshan, and Neijiang. When the weights of Leshan are (0.1, 0.2, 0.2, 0.5) and (0.025, 0.25, 0.1, 0.4), the proportion of agricultural water use is relatively small, accounting for less than 25%, but the sewage discharge weight is relatively large, accounting for about 40%. Watershed managers will pay more attention to sewage discharge and treatment and will use more water to treat sewage discharge and discharge, and then the agricultural economic value of Leshan City will decline. Chengdu and Leshan have changed violently. Yibin, Zigong, Neijiang, Ya’an, Meishan, and Aba have changed more smoothly (Fig. 10).

Table 9 Agricultural economic values under different weight sets in each subarea
Fig. 10
figure 10

Agricultural economic values of MRB subarea under different weight sets

For the preference degree of watershed managers, it is vital to consider the multi-objective optimal allocation model to obtain the greatest industrial economic value. Table 10 shows the industrial economic values of each subarea, the change of Leshan and Neijiang is more apparent, and the change degree of other cities is relatively small, which is because the water use of Leshan and Neijiang is mainly agricultural water. Industrial water use is mainly in the production of building materials and auto parts. When watershed managers pay attention to sewage treatment and discharge, the industrial economies of Leshan and Neijiang are greatly impacted. As a result, the industrial economic values of Leshan and Neijiang fluctuated wildly (Fig. 11). While watershed managers choose the allocation scheme, different preferences will affect the economic development of the basin subarea, so it is necessary to make reasonable adjustments and choices according to the actual water use situation of the regional industry.

Table 10 Industrial economic values under different weight sets in each subarea
Fig. 11
figure 11

Industrial economic values of MRB subarea under different weight sets

Through the analysis of the agricultural and industrial economies, it is discovered that the basin’s economic value and industrial economic value are closely associated. This is because the industrial economic value is significantly more than the agricultural economic value. Table 11 shows the total economic value of each subarea under various weight sets, and the total economic value of each subarea coincides with the degree of change of the regional industrial economic value. Figures 12 and 13 show the change in economic value of the MRB under the allocation scheme. From the point of view of the economic value of the whole basin, the degree of change in the economic value of the MRB under different weight sets is similar to that of the industrial economy of the whole basin. Therefore, the preference degree of watershed managers can reflect the synergistic relationship between sewage discharge and water resource allocation and determine the essential elements of economic development. This study also only provides the model presentation with the mentioned 12 special weights, indicating management decisions based on the preferences of watershed leaders.

Table 11 Total economic value under different weight sets in all each subarea
Fig. 12
figure 12

Total economic values of each subarea under different weight sets

Fig. 13
figure 13

Variation of economic value in the MRB under coordinative allocation scheme

Conclusion and policy implications

In the process of global SDG advancement, this study uses multi-objective planning to achieve equity in SDG 6 by combining the allocation of water resources with the allocation of sewage rights. Different weights are established to weigh the water demand of each sector under different preferences. According to the results of the study, the Gini coefficients of agricultural, household, industrial, and discharge rights allocations show simultaneous optimization and stable modification, and the following conclusions are drawn: (1) the allocation of discharge rights is an important part of the water allocation plan, and the synergistic allocation of sewage discharge rights and water resources facilitates the achievement of equity; (2) the allocation of discharge rights has a greater impact on the equity and economic value of domestic and industrial water allocations; and (3) the greater the proportional importance of wastewater discharge, the lower the economic return and the more equitable the allocation of water resources between domestic and industrial sectors.

Based on the basin allocation plans and the model results, the following insights were obtained: (1) basin managers must consider wastewater discharge within the basin as an inherent constraint to measure equity when allocating water resources; (2) more preference can be given to the allocation of wastewater discharge rights when considering environmental risks; and (3) sectors with higher water demand can increase the economics of water allocation.

In summary, the developed model has specific applicability to individual watersheds. The model conclusions given in this study are also achieved by applying alternative weights to the objective function and do not include every potential outcome under the model. In addition, multi-basin case studies and effluent measurements are frequent in water management practice, which is a major direction for further research in the future.