Mixed Integer Nonlinear Programming Model for ... - ACS Publications

Jan 23, 2017 - Another challenge about water management is one concerning wastewater. ... the area of process systems engineering to reduce environ- m...
0 downloads 0 Views 5MB Size
Research Article pubs.acs.org/journal/ascecg

Mixed Integer Nonlinear Programming Model for Sustainable Water Management in Macroscopic Systems: Integrating Optimal Resource Management to the Synthesis of Distributed Treatment Systems Jaime Garibay-Rodriguez,† Vicente Rico-Ramirez,*,† and Jose M. Ponce-Ortega‡ †

Downloaded via KAOHSIUNG MEDICAL UNIV on June 30, 2018 at 21:18:46 (UTC). See https://pubs.acs.org/sharingguidelines for options on how to legitimately share published articles.

Departamento de Ingenieria Quimica, Instituto Tecnologico de Celaya, Av. Tecnologico y Garcia Cubas S/N, Celaya, Guanajuato, Mexico 38010 ‡ Departamento de Ingenieria Quimica, Universidad Michoacana de San Nicolas de Hidalgo, General Francisco J. Mugica S/N, Morelia, Michoacan, Mexico 58060 S Supporting Information *

ABSTRACT: Recognizing the growing pressure on water resources, the literature reports several efforts in the area of mathematical programming to deal with the management of industrial and macroscopic water systems. This paper presents a mathematical programming model which integrates two strategies for sustainable water management. On the one hand, the model allows finding an optimal schedule for the distribution and storage of natural and alternative water sources to satisfy the demands of different users in a macroscopic system, while maintaining sustainable levels of water in the natural water resources. On the other hand, optimal decisions also involve the number, capacity, type, and location of treatment units in a macroscopic system. Our approach results in a mixed integer linear programming (MINLP) multiperiod model which has been solved through the GAMS modeling environment. A case study with different scenarios shows the scope of the proposed approach and the significance of the results. KEYWORDS: Sustainable water management, Mathematical programming, Distributed water treatment systems, MINLP formulation, Macroscopic systems



INTRODUCTION One of the many concerns for the sustainable development of the current and the future generations, regarding many challenges such as population growth and climate change, is the need for a safe and adequate supply of fresh water. A 40% deficit over the world’s water supply is projected under the current management and consumption by the year 2030.1 Furthermore, the increasing demand of water to produce energy and the lack of control of waste generation and disposal over water bodies only exacerbate the problem of reduced water supply capability.2 It is currently believed that there is enough fresh water available in the world to meet all of the demands from the different sectors of society.3 However, in many regions, due to climate and/or concentration of population in bigger cities, the natural supply of water rarely meets the demand. To face these challenges, there have been many efforts in the area of mathematical programming to assess the feasibility of implementing different technologies to obtain water from nonconventional sources.4−11 These nonconventional sources include the use of desalinated water, rainwater harvesting, and wastewater reuse. © 2017 American Chemical Society

The above approaches have in common that, no matter the water source, the problem to be solved is one about management of the resources, where the goal is to satisfy the demands of a given system at a minimum cost. One of these approaches8 considers the use of water collected from rain in addition to the conventional water sources, such as dams and deep wells, in order to satisfy the demand in a macroscopic system. Another challenge about water management is one concerning wastewater. A substantial effort has been made in the area of process systems engineering to reduce environmental impacts over the water bodies.12−22 Burgara-Montero et al.17 proposed a distributed treatment system throughout a watershed to ensure the sustainability, concerning the pollution levels of the natural bodies of water. This approach uses the MFA (material flow analysis) technique to assess the system. In the analysis of these distributed treatment systems, one thing that has not been considered is the use of treated water as Received: September 5, 2016 Revised: January 6, 2017 Published: January 23, 2017 2129

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 1. Global sustainability in a watershed.

The basic ideas provided by Nápoles-Rivera et al.8 were used to formulate some aspects of the water management and the rainwater harvesting systems. They introduced a novel mathematical programming approach to assess a rainwater harvesting system at a macroscopic level. Their assessment includes the optimal rainwater harvesting infrastructure needed to fulfill the water demand in a macroscopic system (e.g., city or municipality) at the minimum cost. On the other hand, Burgara-Montero et al.17 proposed a general framework to implement a distributed treatment system to mitigate the environmental impact of the wastewater over the water bodies in a watershed. Their ideas were used to formulate the wasterwater treatment system in this paper. So, even though both ideas have been evaluated separately by using mathematical programming formulations, our approach is focused on the integration of these two strategies. Through the integration of these approaches, we seek to provide a more efficient strategy to mitigate the harmful consequences of unnapropiate water management and wastewater disposal. This results in a new extended mixed integer nonlinear programming (MINLP) model. A direct advantage of an integrated formulation is that we could show the interactions among the various systems and processes involved and the individual significance or impact of each of them.

reclaimed water for different purposes in the watershed. Therefore, this paper proposes the integration of a rainwater collecting system to the optimal resources management as well as a distributed system to treat the effluents generated in a watershed. The objective of this integration is to assess the global impact of the usage and disposal of water in the whole extent of a watershed. Through this assessment, the main goal is to find the optimal distribution of the resources. That goal includes minimizing the total investment in the water storage technologies as well as the treatment technologies which can satisfy the demand of water, reducing the water consumption from the natural sources as well as the pollution levels in the natural water bodies. Scope. The literature reports mathematical programming formulations for both (i) the implementation of distributed treatment systems and (ii) the efficient management of water resources (including water harvesting strategies). Actually, those strategies could be applied sequentially to a macroscopic water system in order to achieve a sustainable solution. This work, however, integrates both of those sustainable water management strategies into a single mathematical formulation. This approach has not been reported in previous works. The formulation not only involves a larger number of constraints but also gets more complex due to the nonlinearities resulting from the integration; for instance, linear water balance constraints used in previous formulations become nonlinear (bilinear) since now both the flows as well as the compositions of a large number of streams are unknown.



PROBLEM STATEMENT A general description of the addressed system is shown in Figure 1. To account for the seasonal variability of the water 2130

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 2. Superstructure for one reach on the watershed.

solution with the desired compromise between the environmental and the economic objectives. The second component of the global system is introduced as a consequence of the first one. Once the water is used by the domestic and the industrial users, it has to be treated to avoid the accumulation of hazardous pollutants in the watershed. The amount and type of pollutants present in the wastewater depend on the source of usage and has a complex composition. Domestic wastewater usually contains nontoxic organic compounds (e.g., proteins, amines and carbohydrates), whereas industrial wastewater, besides containing nontoxic organic compounds, can also contain toxic metals (e.g., arsenic, chromium and mercury). To account for all the inlets and outlets, as well as the chemical and biochemical phenomena occurring in the watershed, an MFA technique is used. Along with the MFA, a division of the watershed in sections, called “reaches”, is used to track the flows and compositions of the main river. In practice, the division is made in the main river of the watershed so the reaches would correspond to sections of a river. The sections of the main river also contain a number of tributaries and a number of domestic, industrial and agricultural areas, which are near to them, and are bounded by the limits of the river section, thus defining one reach. The complete resulting model is a multiperiod MINLP model. The primary goal of the model is the minimization of the total costs while achieving sustainable limits on the water consumption from fresh sources and on the concentration of the pollutants in the watershed.

demands and the quantity of rain, the problem is divided in periods of time that could correspond to one or several years divided in months. The system involves a watershed as a natural drainage system for the different users (e.g., domestic, industrial, and agricultural). These users withdraw water from various natural sources (e.g., dams, springs, and deep wells) as well as from installed storage tanks and/or artificial ponds with an amount of water harvested from rain in a current or a previous period of time. In the context of this paper, a watershed is a hydrological macroscopic network of users and water bodies. The users and the water bodies interact with each other through the withdrawal of the available water resources and the disposal of wastewater streams generated by the different activities of the users. Our formulation is intended to be applicable to regions where there are water overexploitation problems. In such regions, the natural water resources may be sufficient now, but there will be water scarcity in the future (unsustainable water management) if the community keeps relying only on natural resources. The above description corresponds to one component of the whole system in which there are two goals: (i) reduce as much as possible the fresh water consumption from natural sources and (ii) minimize the total costs. For the reduction of the total fresh water consumed from natural sources, the best solution, without considering the economy of the system, would be to install every possible storage tank or artificial pond available, and also, to use as much reclaimed water as possible. The goal, however, is to provide decision makers with a wide range of different solutions, so that they can choose an appropriate 2131

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering In addition, given the associated costs in the system (rainwater harvesting devices, storage tanks, artificial ponds, piping and pumping, treatment facilities), the solution of the problem will also provide the number, size and location of the storage tanks and artificial ponds for the rainwater harvesting system and the number, type, location, and size of the treatment units that minimizes the costs of installation and operation.

FWCt =

∑ ∑ FWru,u ,t + ∑ ∑ FW ra,a ,t r∈R u∈U

∀t∈T

r∈R a∈A

(1)

The term FWCt represents the summation of all the natural water consumed in every sink over a period of time t. Rain Balance in the Storage System. Rain is seasonal and location dependent. In this context, the total rainwater harvested directly depends on the harvesting area, the runoff coefficient of the roofs of houses and buildings and the amount of precipitation. The balance for the rainwater harvested in every reach and every storage device is given in the following equations:



MATHEMATICAL MODEL Model Assumptions. The formulation of the various constraints of the model is based on the following considerations: • The system is at steady state and can be modeled by using the MFA technique. • The system can be represented by a deterministic model based on the most probable scenario from statistical reports and no sources of uncertainty are considered. • The treatment units can be described by using efficiency parameters. • The concentration of the selected contaminant in each section of the river is considered as uniform. • Transportation cost parameters are estimated through the optimum design of pipes and pumps in the water networks. These parameters correspond to averaged costs (depending upon the place where the water is sent from and its destination) per unit of flow. Figure 2 shows a schematic representation of one reach. The sets of the model are represented with uppercase letters. The elements in the set (indexes) are represented with the corresponding lowercase letters of each set. R is used to represent the reaches of the watershed (r represents the elements of the set in the model). For every reach r there are a number of tributaries (J) that discharge to the main river, a number of domestic/industrial sinks (both represented with the set U,) and a number of agricultural sinks (A) (the sinks can have one or more individual industrial, domestic or agricultural facilities respectively). The number and type of pollutant is represented with the set L. In addition, for the distributed treatment system, X stands for the set of interceptors, which represents individual interceptor x of the treatment unit (this concept will be explained further). For the rain harvesting system, S represents the set of the storage tanks, and P the set of the artificial ponds. The set T represents the period of time. Water Consumption from Natural Sources. Every sink in the watershed can satisfy its demands through consumption from natural sources, harvested rainwater from storage tanks and artificial ponds and, only for agricultural sinks, reused water from the treatment units. Equation 1 shows the main balance for the total water consumption from natural sources. This equation will be used to set a limit on the water consumption from natural sources. Note that the balance represents that all the water from natural sources is not withdrawn from the same source; many different sources, such as well or dams, can satisfy the water demand for one user (e.g., a city). The terms FWur,u,t and FWar,a,t represent the total amount of water used in the domestic/industrial sinks and agricultural sinks, respectively, not the number of natural sources from which these sinks withdraw water.

PrS, s , t = PAsr , t area Ss Ce S

∀ r ∈ R , s ∈ S, t ∈ T

(2)

PrP, p , t = PAsr , t area PpCe P

∀ r ∈ R, p ∈ P, t ∈ T

(3)

where PSr,s,t is the total rainwater available in the reach r, for the storage tank s over the period of time t. PAsr,t is used to represent the quantity of rain in the reach for the time period, areaSs represents the area available for every storage tank s, and CeS is the runoff coefficient. Equation 3 is analogous to eq 2 for the artificial ponds. Once the total amount of rainwater available in every reach is calculated, the balance for the storage tanks and artificial ponds are given by the following equations: PrS, s , t = srin, s , t + vrs, s , t

∀ r ∈ R , s ∈ S, t ∈ T

PrP, p , t = arin, p , t + vrp, p , t

∀ r ∈ R, p ∈ P, t ∈ T

(4)

(5)

where sinr,s,t and ainr,p,t are variables that represent the water sent to the storage tanks and artificial ponds, respectively. The last terms of eqs 4 and 5 are used to model the quantity of water that cannot be stored over a period of time t. Balance in Storage Tanks. There are a number of available storage tanks s that can be installed in every reach r. The model formulation allows finding the specific period of time in which these tanks must be installed and/or used. The mass balance in the storage tanks is given by the following equation: STr , s , t − STr , s , t − 1 = srin, s , t −

a out, u ∑ STrout, , s , a , t − ∑ STr , s , u , t ∀ a∈A

r ∈ R , s ∈ S, t ∈ T

u∈U

(6)

where STr,s,t is the amount of water stored in the storage tank for the current period of time, STr,s,t−1 is water accumulated out,u from the previous period and STout,a r,s,a,t, and STr,s,u,t are variables that represent the amount of water sent to the agricultural and domestic/industrial sinks, respectively. Balance in artificial ponds. The mass balance for artificial ponds is analogous to the balance for storage tanks. It is assumed that artificial ponds can only be installed in zones where there is enough area available, typically in locations outside the urban regions that do not interfere with the current uses of the territory for another purposes. Piping and pumping costs for sending water to the urban areas from artificial ponds are greater than those required from storage tanks. The mass balance for artificial ponds is given by 2132

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering APr , p , t − APr , p , t − 1 = arin, p , t −

in APrmax ,p ≥ a r ,p,t

a out, u ∑ AProut, , p , a , t − ∑ APr , p , u , t a∈A

u∈U

∀ r ∈ R, p ∈ P, t ∈ T

where APr,p,t represents the amount of water available in the out,u artificial pond. The terms APout,a r,p,a,t and APr,p,u,t are variables that represent the amount of water sent to the agricultural domestic/industrial sinks, respectively. Design of the Rainwater Harvesting and Storage System. A set of disjunctions is given for the decision of installing storage tanks and artificial ponds in terms of new max variables (STmax r,s and APr,p ). Disjunctions 8 and 9 model the decision of installing or not a storage tank or artificial pond, respectively.

cost rs , s = A′ + B′STrmax ,s

∀ r ∈ R, s ∈ S

cost rp, p = C′ + D′APrmax ,p

∀ r ∈ R, p ∈ P

APrmax , p ≥ APr , p , t

∀ r ∈ R, ∈ P, t ∈ T

(13)

(18)

ap ,min ap APrmax ·ξr , p , p ≥ δp

∀ r ∈ R, p ∈ P

(19)

ap ,max ap APrmax ·ξr , p , p ≤ δp

∀ r ∈ R, p ∈ P

(20)

∀ r ∈ R, p ∈ P

(21)

u out, u Dem ∑ STrout, , s , u , t + ∑ APr , p , u , t = Ur , u , t p∈P

(22)

where is a known parameter of water demand, which is divided in two terms in eq 23. The term CWr,u,t represents the consumed water, and UWWr,u,t stands for the wastewater. For modeling purposes, it is assumed that 50% of the total demand is consumed in the sinks and the rest is disposed. This assumption mainly affects the consumption from natural resources. The assumption is justified by both water purification for drinking and losses due to leaks and other uses (which cannot be reclaimed, so that water has to be replenished from natural resources). UrDem , u , t = CWr , u , t + UWWr , u , t

∀ r ∈ R, u ∈ U, t ∈ T (23)

Balance in Agricultural Sinks. The mass balance for agricultural sinks is given by eq 24. The difference between the agricultural and the domestic/industrial balances is that, for agricultural sinks, a new variable is introduced to account for the usage of reclaimed water. The term RWout,a r,u,a,t represents the amount of reclaimed water sent to an agricultural sink associated with a domestic/industrial treatment unit. It is assumed that all the water sent to the agricultural sinks is consumed in the processes.

(11)

(12)

∀ r ∈ R , s ∈ S, t ∈ T

∀ r ∈ R, s ∈ S

UDem r,t,u

APmax r,p

∀ r ∈ R , s ∈ S, t ∈ T

r ,s,t

(17)

∀ r ∈ R, u ∈ U, t ∈ T

(10)

STrmax , s ≥ STr , s , t

≥s

∀ r ∈ R, s ∈ S

s∈S

The variables and define the maximum capacity allowed for the storage devices. The following inequalities must hold:

in

s ,max st STrmax ·ξr , s , s ≤ δs

FWru, u , t +

(9)

where δap,min and δap,max are the lower and upper bounds for the p p capacity of the artificial ponds. In eq 8, if ξstr,s is true, then a storage tank is installed for the reach r, in the location s over the period of time t. In this case, the capacity of the storage tank must lie between the upper limit (δs,max ) and the lower limit (δs,min ). Also, the associated s s cost of installation, which includes the cost of gutters, pipes, pumps, and the appropriate treatment, is activated (costsr,s). On the contrary, if the storage tank is not required, the variable ξstr,s is false, and the term STmax r,s is equal to zero, indicating that for that reach and in that location, there is not a storage tank installed or used. Although the cost functions in eqs 8 and 9 should be nonlinear, an acceptable approximation of these expressions can be accomplished by assuming that the cost functions are linear. Thus, the linear cost functions are formulated as follows:

STrmax ,s

(16)

The decision of installing or not installing a storage device depends on two factors: the first one is the compliance of the demands of water in the watershed; the second one is related to the associated cost of each storage device. Balance in Domestic and Industrial Sinks. The demand of water in each domestic/industrial sink can be met through water from natural sources, as well as harvested rainwater. The mass balance for domestic/industrial sinks is given by

⎤ ⎥ 0⎥ ⎥ 0 ⎥⎦

∀ r ∈ R, p ∈ P

STmax r,s

∀ r ∈ R, s ∈ S

cost rp, p = C′·ξrap, p + D′·APrmax ,p (8)

⎡ ⎤ ξrap, p ⎢ ⎥ ⎡ ¬ξ ap r ,p ap ,min ⎢ ⎥ ⎢ δ ≥ APrmax ,p p ⎢ ⎥ ⎢ AP max = ⎢ ⎥ ∨ ⎢ r ,p ap ,max APrmax , p ≤ δp ⎢ ⎥ ⎢ p ⎣ cost r , p = ⎢ p max β ⎥ ⎢⎣ cost r , p = C + D(APr , p ) ⎥⎦

s ,min st STrmax ·ξr , s , s ≥ δs

cost rs , s = A′·ξrst, s + B′·STrmax ,s

⎤ ⎥ 0⎥ ⎥ 0 ⎥⎦

∀ r ∈ R, s ∈ S

(15)

The first two inequalities indicate that the amount of water stored over any period of time must be lower than the maximum capacity of the storage device. The last two inequalities state that the storage devices cannot receive more water than the maximum capacity of the storage devices over any period of time. Finally, the previous disjunctions can be reformulated using the “Big-M” reformulation:23

(7)

⎡ ⎤ ξrst, s ⎢ ⎥ ⎡ ¬ξ st r ,s ⎢ ⎥ ⎢ s ,min ≥ δ STrmax ,s s ⎢ ⎥ ∨ ⎢ ST max = s ,max ⎢ ⎥ ⎢ r ,s STrmax , s ≤ δs ⎢ ⎥ ⎢ cost s = ⎣ r ,s ⎢ s max β ⎥ ⎣ cos tr , s = A + B(STr , s ) ⎦

∀ r ∈ R, p ∈ P, t ∈ T

FW ra, a , t +

a out, a out, a ∑ RW rout, , u , a , t + ∑ STr , s , a , t + ∑ APr , p , a , t u∈U

=

(14) 2133

A rDem ,a,t

s∈S

∀ r ∈ R, a ∈ A, t ∈ T

p∈P

(24)

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 3. Superstructure of the distributed treatment system.

Balance in Reaches. The inlets (treated or nontreated wastewater from domestic and industrial sinks, tributary contribution and precipitation) and outlets (direct usage and evaporation or filtration loss) are accounted for in the mass balance for every reach, defined in the following equation: Q r , t = Q r − 1, t +

PrR, t

+

V

∫V r=,t 0 rxr , l dVr , t = kr , lCQ r , l , tVr , t , where kr,l is the Arrhenius r ,t

constant for the natural degradation of the pollutants and Vr,t is the volume of the main river in the reach at a period of time t. Please note that, the term rxr,l can be used to model complex phenomena occurring in the water bodies with different kinetic relationships. Design of the Distributed Treatment System. There are a number of different effluents that discharge pollutants throughout the watershed. To satisfy the environmental constraints of the system, it is necessary to treat these effluents with the appropriate technology. The optimization formulation proposed in this work must determine the location where the treatment is needed, as well as the magnitude of the flow to be treated and the type of technology necessary. This can be achieved through a distributed treatment system, in which there is a possible treatment unit in every effluent generated by the domestic and industrial sinks. Each treatment unit consists of a series of individual facilities called interceptors. Each interceptor can use a different type of technology to treat wastewater and, as consequence, the cost and efficiency of removal of the different type of pollutants varies in every one of them. The treated wastewater can be reused as reclaimed water for the agricultural sinks. However, the concentration of pollutants for the reclaimed water must be lower than a given parameter that ensures its safety. This adds a decision to be made in the design of the distributed treatment system, in which the treatment units and number and type of interceptors not only are used to maintain adequate levels of pollution in the watershed, but they are also used to reduce the water consumption from fresh sources through the usage of reclaimed water. Figure 3 shows the design of the distributed treatment system.

∑ tribr ,j ,t + ∑ WWr ,u ,t j∈J

+

The natural degradation of pollutants in water bodies is usually modeled as a first-order kinetic reaction. Thus,

u∈U

∑ XStpr ,u ,t − UrR,t − lossr ,t

∀ r ∈ R, t ∈ T (25)

u∈U

where Qr,t is the total flow of the reach. The flow of the previous section is represented by Qr−1,t, and the contribution of precipitation and tributaries are represented with PRr,t and ∑j ∈ J tribr , j , t , respectively. The wastewater discharges to the reach are represented by WWr,u,t. The term XStpr,u,t is used to model the excess of reclaimed water that cannot be used by the agricultural users over a period of time. Finally, URr,t represents the amount of water used directly from the reach and lossr,t is used to account for the evaporation and/or filtration losses. For the purpose of ensuring the quality of the water in the watershed, a component balance in the reaches is used. In this balance (eq 26) every term of eq 25 is multiplied by a term of concentration of pollutants and ∫

Vr

Vr = 0

rxr , l dVr is used to model

the natural degradation of pollutants by chemical and biochemical phenomena occurring in the water bodies. Q r , t ·CQ r , l , t = Q r − 1, t ·CQ r − 1, l , t + PrR, t ·CPr , l , t +

∑ tribr ,j ,t ·C tribr ,j ,l ,t + ∑ (WWr ,u ,t + XSrtp,u ,t )· j∈J

CTR r , u , l , t − −

Vr , t

u∈U

UrR, t ·CUrR, l , t

∫V =0 rxr ,l dVr ,t r ,t

− lossr , t ·C lossr , l , t

∀ r ∈ R , l ∈ L, t ∈ T

(26)

2134

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering ⎡ ⎤ Yr , u , t ⎢ ⎥ ⎢ ⎥ UWWr , u , t = ∑ fsr , u , x , t ⎢ ⎥ x∈X ⎢ ⎥ ⎢ ⎥ ∑ fsr ,u ,x , t × (1 − αx , l) × CTr , u , l ,t = ⎢ ⎥ x∈X ⎤ ¬Yr , u , t ⎢ ⎥ ⎡ ⎥ ⎢ ⎥ ⎢ UWWr , u , t × CTR r , u , l , t ⎢ ⎥ ⎢ CTR r , u , l , t = CTr , u , l , t ⎥ ⎥ ⎢ ⎥ ⎢ ⎡ ⎤ Zr , u , x , t ⎢ ⎥ ∨ ⎢ ∑ fsr , u , x , t = 0 ⎥ ⎢ ⎥ ⎡ ¬Zr , u , x , t ⎤ ⎥ ⎢ ⎥ ⎢ x∈X ⎢ fsr , u , x , t ≥ Ωmin r , u , x ⎥ ∨ ⎢ ⎥ ⎥ ⎢ ⎥ ⎢ ⎢ ⎥ ⎢⎣ fsr , u , x , t = 0 ⎥⎦ ⎥ RWrin, u , t = 0 ⎢ ⎥ ⎢ ⎢⎣ fsr , u , x , t ≤ Ωmax r , u , x ⎥⎦ ⎥ ⎢ ⎥ ⎢ ⎢⎣WWr , u , t = UWWr , u , t ⎥⎦ ⎢⎡ ⎥ ⎤ Wr , u , t ⎢⎢ ⎤⎥ ⎥ ⎡ ¬Wr , u , t ⎢ ⎢CTR max ⎢ ⎥⎥ ⎥ ≤ CRE r ,u,l ,t l ⎢⎢ in ⎥⎥ ⎥∨⎢ RWr , u , t = 0 ⎢⎢ in ⎥⎥ ⎥ ⎢ ⎢ ⎢ RWr , u , t = UWWr , u , t ⎥ ⎢WW = UWW ⎥ ⎥ ⎣ r ,u,t r , u , t ⎦⎥ ⎢⎢ ⎥⎦ WWr , u , t = 0 ⎣⎣ ⎦

∀ r ∈ R, u ∈ U, t ∈ T

(27)

CTR rd,1u , l , t ≤ CTr , u , l , t ·yr , u , t

In the previous disjunction, eq 27, fsr,u,x,t is used to represent the segregated flow into interceptor x. The segregated flow is the fraction of the total amount of the wastewater stream that is treated in one interceptor. The efficiency of removal of pollutants of each interceptor is model with the parameter αx,l. The term CTr,u,l,t stands for the concentration of the domestic effluents before the treatment and CTRr,u,l,t is a variable that represents the concentration of pollutants after the treatment. There are three Boolean variables in the disjunction. In the first level, the variable Yr,u,t is used to model the existence or nonexistence of the treatment unit for the associated domestic sink. If Yr,u,t is true, the design equations for the interceptor network are activated. If Yr,u,t is false, the outlet concentration is equal to the inlet concentration, there are no segregated flows, the variable for reclaimed water (RWinr,u,t) is equal to zero and WWr,u,t is equal to the total amount of wastewater generated in the domestic sink (UWWr,u,t). In the second level of the disjunction, the Boolean variable Zr,u,x,t is activated. If Zr,u,x,t is true, the flow of each segregated effluent lies between the lower limit Ωminr,u,x and the upper limit Ωmaxr,u,x; on the other hand, if Zr,u,x,t is false, the segregated flow is equal to zero. Finally, the Boolean variable Wr,u,t is used to model the usage of reclaimed water. If Wr,u,t is true, the treated concentration must be lower than the maximum concentration of pollutant allowed for reclaimed water (CREmax l ), the direct discharge of wastewater to the reach is equal to zero (WWr,u,t) and the total flow of treated wastewater is equal to the available reclaimed water from domestic sinks (RWinr,u,t). If Wr,u,t is false, the concentration achieved in the interceptors is not sufficient to consider the use of reclaimed water; hence the variable RWinr,u,t is equal to zero and WWr,u,t is equal to the total amount of the wastewater generated in the domestic sink (UWWr,u,t). Equation 27 is reformulated using the convex-hull reformulation24 as follows:

∀ r ∈ R , u ∈ U , l ∈ L, t ∈ T (29)

CTR rd,2u , l , t = CTr , u , l , t ·(1 − yr , u , t ) ∀ r ∈ R , u ∈ U , l ∈ L, t ∈ T yr , u , t ·UWWr , u , t =

∑ fsr ,u ,x ,t

(30)

∀ r ∈ R, u ∈ U, t ∈ T

x∈X

(31)

∑ fsr ,u ,x , t × (1 − αx , l) × CTr , u , l ,t = UW x∈X

Wr , u , t × CTR rd,1u , l , t

∀ r ∈ R , u ∈ U , l ∈ L, t ∈ T (32)

fsr , u , x , t ≥ Ωmin r , u , x ·zr , u , x , t ∀ r ∈ R, u ∈ U, x ∈ X, t ∈ T

(33)

fsr , u , x , t ≤ Ωmax r , u , x ·zr , u , x , t ∀ r ∈ R, u ∈ U, x ∈ X, t ∈ T

(34)

⎞ ⎛ MU − 1 CTR rd,1u , l , t ≤ MU · CRElmax ·⎜1 − ·wr , u , t ⎟ U ⎠ ⎝ M ∀ r ∈ R , u ∈ U , l ∈ L, t ∈ T

RWrin, u , t = UWWr , u , t ·wr , u , t

(35)

∀ r ∈ R, u ∈ U, t ∈ T

WWr , u , t = UWWr , u , t ·(1 − wr , u , t )

(36)

∀ r ∈ R, u ∈ U, t ∈ T (37)

U

In eq 35, M is a positive integer number greater than one. Additionally, the following constraints are used to ensure that only when a treatment unit is selected, there could be segregated flows and reclaimed water streams:

CTR r , u , l , t = CTR rd,1u , l , t + CTR rd,2u , l , t ∀ r ∈ R , u ∈ U , l ∈ L, t ∈ T

(28) 2135

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering (1 − yr , u , t ) +

∑ zr ,u ,x ,t ≥ 1

tanks and artificial ponds to the sinks (ppRHS), (ii) the cost for sending reclaimed water from the treatment units to the agricultural sinks (ppRW), and (iii) the costs for the extraction, treatment, and distribution of water from fresh sources (ppNS). The piping and pumping costs for the rainwater harvesting system (ppRHS) are given by the following equation:

∀ r ∈ R, u ∈ U, t ∈ T

x∈X

(38)

yr , u , t + (1 − zr , u , x , t ) ≥ 1

∀ r ∈ R, u ∈ U, t ∈ T

yr , u , t + (1 − wr , u , t ) ≥ 1

∀ r ∈ R, u ∈ U, t ∈ T

(39) (40)

RWrin, u , t =

r∈R s∈S a∈A t∈T

+ + +

∀ r ∈ R, u ∈ U, t ∈ T

∀ r ∈ R, u ∈ U, x ∈ X, t ∈ T

(42)

where is a binary variable that multiplies the fixed cost parameter of each interceptor and activates such fixed cost once the interceptor is installed (See eq 44). Costs. The capital cost of the treatment units, the rain harvesting and the storage system are the main contributors to the total annual cost (TAC). Furthermore, piping and pumping costs for the rainwater harvesting system and for the usage of reclaimed water are considered. The TAC is the summation of the treatment costs for the domestic and industrial wastewater, the installation of the storage tanks and artificial ponds and the piping and pumping costs as follows:

ppRW =

ppNS =

∑ ∑ ∑ ∑ (Cuxop·fsr ,u ,x ,t ) r∈R u∈U x∈X t∈T

+

∑ ∑ ∑ FW ra,a ,tPCNSA r ,a r∈R a∈A t∈T

ppcost = ppRHS + ppRW + ppNS

(45)

minimize TAC totalFWC ≤ ∈1

Piping and Pumping Costs. The piping and pumping costs include (i) the costs for sending water from the storage

CQ discharge ≤ ∈2

s

r

p

(49)

Objective Function. The goal of our formulation involves the minimization of the TAC while achieving sustainable limits on two environmental constraints: (i) the total amount of water consumed from natural sources (totalFWC) and (ii) the concentration of pollutants in the final disposal (CQdischarge). The objective function is then expressed in eq 49. Observe that the constraint method25 will be used as our approach to obtain a reasonable compromise among the economic objective and the environmental constraints (ϵ1 and ϵ2).

∑ ∑ cost rs ,s + ∑ ∑ cost rp,p r

(48)

PCNSUr,u is the unitary cost per flow unit for domestic/ industrial users, and PCNSAr,a is the unitary cost for agricultural users. The total piping and pumping cost is given by the following equation:

(44)

FCx and VCx are coefficients for the capital costs (fixed and variable) of interceptor x, and Cuop x is the operational cost of interceptor x. The exponent γ is used to consider the economies of scale. In our analysis we are assuming that a total time period of one year is divided in months. Therefore, the cost relationships are defined as annual cost relationships ($/y). If the case-study considers a smaller or a larger number of periods, adjustments to the relationships would have to be made in order to estimate the annual cost for every year or the averaged annual cost for all of the years considered. Rainwater Harvesting and Storage System Costs. The total annual cost of installation of storage tanks and artificial ponds in the watershed is equal to the total sum of the previously defined cost functions for every reach. stcost =

∑ ∑ ∑ FWru,u ,tPCNSUr ,u r∈R u∈U t∈T

VCx·fsrγ, u , x , t )

r∈R u∈U x∈X t∈T

+

(47)

PCRWr,u,a is the cost per flow unit to send water from a treatment unit associated with a domestic/industrial sink u to an agricultural sink a in a reach r. The costs that account for the extraction, treatment, and distribution of water from fresh sources are given in the following equation:

(43)

+

a ∑ ∑ ∑ ∑ RW rout, , u , a , t PCRWr , u , a r∈R u∈U a∈A t∈T

Treatment Costs. The fixed and variable costs as well as the operational costs of the treatment units for the domestic/ industrial wastewater are given in eq 44.

∑∑∑∑

(46)

PCSTAr,s,a and PCSTUr,s,u are the piping and pumping costs per flow unit to send water from a storage tank s to the agricultural and domestic/industrial, respectively. The terms PCAPAr,p,a and PCAPUr,p,u are parameters that account for the piping and pumping costs associated with the distribution of water from the artificial ponds. The following equation defines the piping and pumping costs for reclaimed water:

zfr,u,x

TAC = tr cost + st cost + ppcost

u ∑ ∑ ∑ ∑ AProut, , p , u , t PCAPUr , p , u r∈R p∈P u∈U t∈T

(41)

The following restriction is used to activate the fixed cost of each interceptor:

tr cost =

a ∑ ∑ ∑ ∑ AProut, , p , a , t PCAPA r , p , a r∈R p∈P a∈A t∈T

a∈A

(FCx·zrf, u , x

u ∑ ∑ ∑ ∑ STrout, , s , u , t PCSTUr , s , u r∈R s∈S u∈U t∈T

a tp ∑ RW rout, , u , a , t + XS r , u , t

zrf, u , x ≥ zr , u , x , t

a ∑ ∑ ∑ ∑ STrout, , s , a , t PCSTA r , s , a

ppRHS =

In addition to eq 27, the following relationship is used to model the amount of water that is sent to the agricultural sinks. The term RWout,a r,u,a,t represents the amount of water sent to each agricultural sink and the term XStpr,u,t represents the amount of reclaimed water that cannot be used in any period of time.

2136

(50) DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 4. Layout of the system in the illustrative example.

where the TAC has been previously defined (eq 43). The totalFWC and the CQdischarge are defined by eqs 51 and 52, respectively. totalFWC =

∑ FWCt

(51)

t∈T

CQ discharge ≤ CQ r , l , t

its pollutants. The ideal value of pollutants in the treated wastewater/river should be zero; however, wastewater treatment plants usually do not have 100% efficiencies in their removal of pollutants. An important reference value on this issue is of course provided by the environmental regulations imposed by the authorities. Our approach proposes to reduce the pollutant’s concentration in the final section of the river to have the best solution from the wastewater treatment point of view. With such optimal value we can then analyze how other solutions differ from it (e.g., imposing a wastewater concentration limit of discharge for every point source, which is the strategy followed by regulation agencies to maintain adequate levels of pollution in the water bodies). Solution Strategy. As mentioned before, the constraint method25 is used to obtain a set of alternative solutions to the optimization problem. There are two main environmental constraints. The first one is the preservation of the natural bodies of water regarding their pollution levels. The second one is the conservation of the fresh water sources through the reduction of the total annual consumption. These constraints relate each other through the use of reclaimed water in the system. The solution strategy used in this paper is as follows: (i) A limit to the maximum allowable concentration of pollutants discharged to the river is set; then (ii) a limit on the maximum allowable amount of water consumed from fresh sources is given and, finally, (iii) the total annual costs are minimized. Such strategy is repeated by changing the value of

∀ r = R , l ∈ L, t ∈ T

(52)

Remarks concerning the model formulation are as follows: • The proposed model is a nonconvex MINLP problem. It allows selecting the optimal configuration of a distributed system in a watershed that deals with domestic and industrial effluents (discharged to the main river) that can be used as reclaimed water for agricultural users. In addition, the model allows finding the optimal distribution of storage tanks and artificial ponds that help reduce the consumption of water from natural sources. • The solution strategy allows identifying a set of solutions that simultaneously considers the two environmental constraints (∑t ∈ T FWCt , CQr,l,t) and the economic objective (min TAC). Notice that a region concerned with water-stress issues may seek to reduce its overexploitation of natural resources to avoid water-scarcity in the future. Further, a system conformed by a large population will have large flows of wastewater, which can be very difficult/expensive to treat to completely remove 2137

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

through such property. This property accounts for the total amount of organic matter in the water and is the most widely used parameter to assess the quality of wastewater in urban and industrial locations. This assumption avoids the highly computational-expensive problem resulting from a large number of pollutants and makes the approach practical, given the extensive use of the BOD to characterize water. Typically, the BOD ranges from 400 to 600 mg/L in domestic wastewater and from 800 to 1200 mg/L in industrial wastewater. Three interceptors are considered in this example. The last interceptor is a fictitious one and serves for the case where only a part of the total wastewater flow is to be treated. The parameters are given in Table 1. A maximum of nine storage

the water consumed from fresh sources for the same concentration discharged and then minimizing the costs. Once an appropriate number of solutions are obtained for the same concentration value, the whole process can be repeated for different values of the pollutant concentrations with the same values of water consumed from fresh sources. The proposed strategy will allow having a wide range of solutions that will show the optimum compromises for very different scenarios regarding the environmental and economic objectives of the problem.



ILLUSTRATIVE EXAMPLE To show the scope of the model, an illustrative example is presented in this section. The system consists of a typical river serving as both a source of water and a natural drainage system for several domestic, industrial and agricultural locations. Figure 4 shows the layout of the system and its division for modeling purposes. In addition, Figure 4 provides the annual average concentrations of the wastewater generated and its impact over the main river, without the use of a distributed treatment system. Note that the agricultural areas do not have an annual wastewater concentration because their activities only include the use of water for irrigation of crops. Although those values and the configuration do not correspond to a real problem, all parameters in the example were defined and/or estimated in order to achieve realistic orders of magnitude on the variables as well as to show the scope and significance of the model; to that end, we made a search on the primary sources of information on water management in Mexico. Those are governmental institutions, such as INEGI (National Institute of Statistics and Geography; http://www.inegi.org.mx/), CONAGUA (National Water Commission; http://www.gob.mx/ conagua), and SEMARNAT (Environmental and Natural Resources Agency; http://www.gob.mx/semarnat). For the parameters involved in water harvesting approaches (such as the dimensions and costs of storage tanks and artificial ponds) we used the values reported in refs 7−9. The proposed MINLP model was coded in the GAMS modeling language, and the solvers26 DICOPT/CONOPT/ CPLEX were used for solving the resulting MINLP/NLP/LP problems. The illustrative example consists of 19 917 equations, 25 612 continuous variables, and 2900 binary variables. Each alternative solution can be obtained in approximately 30 s on a computer with an Intel core i5 processor of 2.40 GHz and 8 GB of RAM. The optimality gap of the master MILP problem for each iteration was zero. Despite of the model having a large number of binary variables, an acceptable computational time has been achieved through the use of appropriate initial values. Initial values for the continuous variables were estimated before optimizing the discrete decisions. The solution of the mass balance equations were used for that purpose. Then, when performing the sensitivity of the optimal solution to changes on the environmental and fresh water constraints, we used a loop for solving successive optimization problems; a solution was achieved with given values of the parameters was used as the initial value of the subsequent optimization problem (with a different set of values of the environmental and fresh water consumption constraints). The main river is divided into five reaches and a pseudosingle pollutant case is considered in this example. For this case, the biological oxygen demand (BOD) of the wastewater is considered. We assume that, due to the origins and composition of the wastewater, its quality can be measured

Table 1. Parameters of Interceptors of the Distributed Treatment System interceptor

fixed cost ($)

variable cost ($/m3)

efficiency

operating cost ($/m3)

1 2 3

195,000 144,000 0

0.058 0.031 0

0.95 0.71 0

0.00170 0.00144 0

tanks and four artificial ponds can be installed in the extent of each reach. Their distribution depends on the location of the sinks present in the reaches. As in many urban and industrial areas, the storage tanks considered are elevated above the ground. Therefore, there are pumping costs associated with the operation of the storage tanks. The artificial ponds are large locations which store rainwater collected directly on it and collected from houses and buildings. Detailed technical information about the storage infrastructure is not considered in the example. The capacity and cost parameters for storage tanks and artificial ponds are given in Table 2. The water demand in the system throughout the year per sector (agricultural, domestic, and industrial) and per reach is shown in Figure 5. Table 2. Parameters of Storage Devices in the Rain Harvesting System maximum capacity (m3) A′ ($) B′ ($) C′ ($) D′ ($)

storage tank

artificial pond

50000 13,080 1.8135

600000

111,968 0.8895



RESULTS AND DISCUSSION The optimization approach is based on the constraint method and it is explained in the following sections. The method requires first solving the model for three different scenarios. Scenario A. For this scenario, the TAC is minimized. The solution of this scenario will provide a system functioning at conditions where no technology exists to promote the sustainability of the watershed. The results are shown in Table 3. The BOD in the final discharge is the maximum possible because there are no treatment units installed in the system. Scenario B. In this scenario, the concentration in the final discharge is minimized and is used as objective function. The solution is expected to involve a high value of TAC because 2138

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 5. Water demand of the illustrative example.

With respect to scenario A, the water consumed from fresh sources is reduced 12.68%. This scenario shows potential since the TAC is 6 times the TAC of scenario A (a value smaller than the factor of 7.34 obtained in scenario B). Additionally, the maximum number of possible storage tanks (45) and artificial ponds (20) in the system will be installed. This scenario also results in 30 installed interceptors in the domestic and industrial sinks; however, 15 are class 1 interceptors and 15 are fictitious interceptors (class 3). Alternative Optimal Solutions through the Constraint Method. In most cases, environmental and economic objectives oppose to each other. There is no unique optimal solution; a wide range of solutions are to be considered in order to make the best investment decision. To illustrate the scope of the model, two widely different scenarios are analyzed. The first one corresponds to an environmentally constrained scenario with a high investment cost. The second one is a much less constrained scenario from the environmental point of view. Such scenario is evaluated at the same conditions for the consumption of water from fresh sources that the ones in the first scenario. One of the environmental goals is to achieve adequate levels of pollution in the watershed. To attain this result, some works suggest monitoring only the concentration of the final discharge.18 This approach allows finding the distribution, number, and type of treatment units necessary in the system to perform under a given bound of BOD in the final discharge. This optimal distribution of treatment units can be obtained within a wide range of possibilities, including the installation of just a few scattered units throughout the watershed. Even though omitting the use of treatment units in some wastewater streams will result in a less expensive distributed system, such a situation, in a realistic scenario, can cause management, normative, and even social conflicts. For this reason, instead of only limiting the BOD of the final discharge, we propose imposing an upper bound on the BOD concentration in every

Table 3. Results of Scenarios A, B, and C concept

scenario A

scenario B

scenario C

TAC ($) water consumption from fresh sources (m3) discharge BOD (mg/L) total number of interceptors installed total number of storage tanks installed total number of artificial ponds installed

8,552,558 285,085,267

62,791,101 285,085,267

52,157,086 248,939,788

26.99 0

5.47 22

23.33 30

0

0

45

0

0

20

there is no constraint with respect to the maximum costs. Furthermore, the water consumption from natural sources is also unconstrained. Because of the conditions of the problem, this scenario results in the installation of most of the treatment units and the solution will not include any storage tanks or artificial ponds. The results are shown in Table 3. The BOD of the final discharge is reduced 79% from the BOD of scenario A. As expected, the TAC increases by a factor of 7.34 with respect to scenario A where there are no treatment units installed. A total of 22 interceptors are installed in this scenario; all of them are of class 1. Scenario C. This scenario minimizes the water consumption from fresh sources. To be consistent with the previous two scenarios, the TAC and the BOD in the final discharge are unconstrained; however, the use of treated water as reclaimed water may also help reduce the concentration of pollutants in the final discharge. A low value on the upper bound of BOD for a safe reuse (CREmax l ) might cancel the possibility of using reclaimed water, since the wastewater streams might not reach such concentration because of the efficiency of the interceptors. A maximum BOD of 30 mg/L is then chosen for this scenario. Table 3 provides the results obtained for this case. 2139

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering wastewater stream, whether domestic or industrial, to achieve this environmental constraint. Despite the TAC may increase when comparing this approach to the conventional strategy, a more robust and controllable treatment system is achieved. To reduce water consumption from fresh sources, a combination of harvested rainwater from storage devices and reclaimed water from treatment units can be used. This is where the integration proposed in this work becomes important. By limiting both the BOD in the treated water and the maximum allowable consumption from fresh sources, a reduction in the optimal cost of the system is achieved. If the BOD limit is low (environmental constraint is tight), the use of reclaimed (treated) water becomes less expensive than using storage devices; the water consumption constraint from fresh sources is therefore met at a lower cost. Scenario I. A BOD of 150 mg/L is assumed as the maximum allowable discharge to the main river. In fact, the monthly average allowable BOD discharge for domestic and industrial wastewater in Mexico is 150 mg/L.27 The maximum annual demand of fresh water obtained in scenario B is 285 085 267 m3/y. As shown in scenario C, the minimum achievable consumption from fresh sources is 248 939 788 m3/y. The solutions for this scenario will then be obtained within this range of water consumption rates for a fixed BOD in the treated wastewater of at most 150 mg/L. The upper bound of BOD for reclaimed water (CREmax l ) is the same as before (30 mg/L). Figure 6 shows the sensibility of the model to changes on the constraint of maximum allowable consumption of water from fresh sources. The behavior of the key variables is presented, which includes the behavior of the water treated in alternative technologies, the wastewater discharges, the concentration of pollutant in the final discharge of the river and the design of the distributed treatment system. Figure 6b shows the behavior of such variables in dimensionless form as the water consumed from fresh sources varies. In the figures, for better representation, CQdischarge is the value of the concentration of pollutants in the final discharge of the main river (See eq 52). A critical value of 265 hm3/y of totalFWC is observed; at higher values of maximum consumption of water from natural sources there is no need to treat a large number of wastewater streams for their reuse as reclaimed water. Therefore, most of the streams are discharged to the main river at 150 mg/L of BOD and the CQdischarge suddenly increases. As a consequence, at the same critical value of 265 hm3/y of totalFWC, there is a dramatic fall in the use of reclaimed water (totalRW) as shown in Figure 6a. On the other hand, the value of totalFWC does not reach the maximum value of 285 085 267 m 3 /y. Starting from 272 888 109 m3/y of totalFWC, the TAC is lower when using reclaimed water than when using storage devices or fresh sources. This is only feasible due to the value of the BOD limit of treated water imposed to the problem. Within the range from 249 × 106 to 265 × 106 m3/y of totalFWC, the amount of reclaimed water used remains practically constant. Figure 6a also shows the total amount of water from storage tanks and artificial ponds, respectively. Storage tanks have less capacity at the benefit of being cheaper; on the contrary, artificial ponds can store more rainwater at a higher cost. Notice that the same tendency of reclaimed water use continues, since, at high values of totalFWC, there is practically no water consumed from rainwater harvesting devices. There is at least one interceptor installed in every domestic/ industrial sink. This is due to the value of the BOD limit, since

Figure 6. (a) Water consumption from different sources vs TAC. (b) Behavior of different variables vs water consumption from fresh sources (scenario I).

the BOD concentrations of all of the wastewater streams are between 400 mg/L and 1200 mg/L. If the concentrations of wastewater streams were below 150 mg/L, that behavior would not occur. Because of the BOD limit, only class 1 interceptors are selected for this scenario, with only a portion of the wastewater streams being segregated into class 3 interceptors (fictitious). From values of totalFWC of 249 to 264 × 106 m3/y, the same number of class 1 and class 3 interceptors is kept, until the totalFWC value is low enough (265 × 106 m3/y) so there can be a greater amount of water segregated into class 3 interceptors. This case, however, does not imply that the optimal distribution of the treatment units losses significance; 2140

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Figure 7. Annual average concentration of pollutants with wastewater treatment (scenario I).

the optimal treatment distribution is still useful to determine the number of interceptors of each class that must be installed. The same trend with respect to the rest of the variables is followed by the averaged value of BOD of domestic treated wastewater (CTRD). The BOD of industrial treated wastewater is kept at 150 mg/L because the efficiency of interceptors is not enough to achieve a BOD of 30 mg/L for its use as reclaimed water. To compute the values in dimensionless form, the actual values were divided by the maximum value obtained for each variable and used as a reference. The values that correspond to the dimensionless value of one (maximum) in Figure 6b are as follows: 1.24 m3/s (total wastewater treated in class 1 interceptors), 0.21 m3/s (total wastewater treated in class 3 interceptors), 114.64 mg/L (average concentration of domestic discharges), and 7.59 mg/L (CQdischarge). To further illustrate the significance of the results, Figures 7 and 8 show the improvement on the quality of the water in the system at a value of 265 hm3/y of the water consumption from natural sources. The TAC for this value of water consumption is $62,183,177/y. Figure 7 shows how the various wastewater discharges change their concentration with the distributed treatment system (see Figure 4). Furthermore, Figure 8 shows the improvement of the water quality of the river with the distributed treatment system throughout a year. Scenario II. As an alternative analysis, the BOD upper bound is now set at 600 mg/L. Although the value appears as arbitrary, it was selected because is much larger than the value

Figure 8. Concentration of pollutants in the main river with and without a distributed treatment system (scenario I).

of 150 mg/L used in the previous scenario and, at the same time, water treatment would still be needed in the system. The most interesting aspect of this scenario is that there will be some wastewater streams below the 600 mg/L that will not need any treatment to meet the environmental objective; nevertheless, they will probably still require treatment if reclaimed water is needed to reduce fresh water consumption, 2141

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

and alternative sources. Storage tanks play a much more significant role in this scenario than the one in scenario I. The same is not true for artificial ponds. Figure 9a shows that water stored in ponds drops rapidly and it is significantly smaller than the amount of storage tanks. Finally, Figure 9b shows the amount of wastewater treated in classes 1, 2, and 3 interceptors, respectively. The values that correspond to the dimensionless value of one (maximum) in Figure 9b are as follows: 0.76 m3/s (total wastewater treated in class 1 interceptors), 0.13 m3/s (total wastewater treated in class 2 interceptors), 0.65 m3/s (total wastewater treated in class 3 interceptors), 552.06 mg/L (average concentration of domestic discharges), and 20.06 mg/L (CQdischarge). The number of treatment units is calculated to satisfy the upper bound of water consumption from natural sources. Then, as totalFWC increases, the number of class 1 interceptors rapidly and steadily decreases. The purpose of analyzing scenario II is not to provide a better alternative for decision makers that the one shown on scenario I. Scenario II is used to show the implications of using the integrated approach for water management.

since the constraint for reclaimed water is the same as in the previous scenarios (30 mg/L). In Figure 9b, opposed to



CONCLUSIONS This paper has proposed a multiperiod optimization model for the sustainable management of water in macroscopic systems. The resulting MINLP uses an MFA approach to account for all the inlets and outlets as well as the natural phenomena occurring in a watershed that considers different domestic, industrial and agricultural users. The interactions among these users in the watershed, the different domestic and industrial discharges, the surrounding areas and the disposal of wastewater to the environment are taken into account. Furthermore, the optimal management of the resources, from traditional (e.g., deep wells or dams) to alternative sources (rain harvested water), is considered through an optimal rainwater harvesting and storage system. On the other hand, the model formulation allows selecting an optimal distributed treatment system that deals with domestic and industrial wastewater which can be used as reclaimed water for agricultural users to further ensure the sustainability of the system. The integration of these two approaches is required to ensure the sustainability of the watershed from two different perspectives: the preservation of the natural sources of water and the maintenance of adequate levels of pollution in the water bodies of the watershed. A set of alternative optimal solutions for the problem is obtained by the constraint method, considering a wide range of compromises among the minimization of the total annual costs and the limits on the water consumption from traditional sources and on the pollution levels in the water bodies. Results of the illustrative example show that the integration of a distributed treatment system to the optimal management of the resources is an interesting approach to ensure safe levels of pollution in the water bodies; further, with the use of reclaimed water, the approach can also reduce the consumption from fresh sources along with rainwater harvesting technologies.

Figure 9. (a) Water consumption from different sources vs TAC. (b) Behavior of different variables vs water consumption from fresh sources (scenario II).



scenario I, changes in CQdischarge are smoother as the totalFWC increases its value. This indicates that reclaimed water is not preferred over harvested rainwater to reduce water consumption from fresh sources. Therefore, as the BOD constraint is relaxed, the installation of storage infrastructure is less expensive than water treatment. Figure 9a provides the behavior of the TAC against water consumption from fresh

ASSOCIATED CONTENT

S Supporting Information *

The Supporting Information is available free of charge on the ACS Publications website at DOI: 10.1021/acssuschemeng.6b02128. 2142

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering

Ctribr,j,l,t concentration of tributary j of pollutant l in reach r at time period t CTRd1 r,u,l,t disaggregated variable used for modeling CTRd2 r,u,l,t disaggregated variable used for modeling RWinr,u,t reclaimed water of a treatment unit associated with domestic/industrial sink u in reach r at time period t RWout,a r,u,a,t reclaimed water from domestic/industrial sink u sent to agricultural sink a in reach r at time period t fsr,u,x,t segregated flow to interceptor x associated with a treatment unit in domestic/industrial sink u in reach r at time period t FWar,a,t water sent from natural sources to agricultural sink a in reach r at time period t FWur,u,t water sent from natural sources to domestic/industrial sink u in reach r at time period t FWCt water consumed from natural sources at time period t Qr,t flow of reach r at time period t sinr,s,t rainwater collected in artificial pond p in reach r at time t STr,s,t available amount of water of storage tank s in reach r at time period t STout,a water sent from storage tank s to agricultural sink a in r,s,a,t reach r at time period t STout,u water sent from storage tank s to domestic/industrial r,s,u,t sink u in reach r at time period t STmax maximum capacity of storage tank s in reach r r,s vpr,p,t rainwater excess of artificial pond p in reach r at time period t vsr,s,t rainwater excess of storage tank s in reach r at time period t WWr,u,t wastewater disposed to the environment from domestic/industrial sink u in reach r at time period t XStpr,u,t nonreclaimed water excess from a unit treatment associated with a domestic/industrial sink u in a reach r at a time period t

Mathematical programming model developed in the GAMS modeling environment. Tables with the values of parameters of the case study not included in the paper (PDF)



AUTHOR INFORMATION

Corresponding Author

*Tel.: +52 461-6117575 x 5579. Fax: +52 461-6117744. E-mail: [email protected] (V.R-R.). ORCID

Jaime Garibay-Rodriguez: 0000-0001-8774-996X Vicente Rico-Ramirez: 0000-0003-1783-854X Jose M. Ponce-Ortega: 0000-0002-3375-0284 Notes

The authors declare no competing financial interest.



ACKNOWLEDGMENTS The authors would like to thank the financial support provided by the Mexican National Council for Science and Technology (CONACYT, Grants 257018 and 253660).



NOMENCLATURE

Sets

R = {1, 2, 3, ... nR} J = {1, 2, 3, ... nJ} U = {1, 2, 3, ... nU} A = {1, 2, 3, ... nA} L = {1, 2, 3, ... nL} X = {1, 2, 3, ... nX} S = {1, 2, 3, ... nS} P = {1, 2, 3, ... nP} T = {1, 2, 3, ... nT}

reaches tributaries domestic and industrial sinks agricultural sinks pollutants interceptors storage tanks artificial ponds periods of time

Indices

r j u a l x s p t

represents represents represents represents represents represents represents represents represents

the the the the the the the the the

elements elements elements elements elements elements elements elements elements

of of of of of of of of of

set set set set set set set set set

R J U A L X S P T

Binary Variables

wr,u,t binary variable associated with the existence of reclaimed water from the treatment unit of domestic/industrial sink u yr,u,t binary variable associated with the existence of a treatment unit in domestic/industrial sink u zr,u,x,t binary variable associated with the existence of interceptor x in the treatment unit of domestic/industrial sink u zfr,u,x binary variable used to activate the fixed cost of interceptor x in the treatment unit of domestic/industrial sink u ξstr,s binary variable associated with the existence of storage tank s ξap binary variable associated with the existence of artificial r,p pond p

Variables

ainr,p,t APmax r,p APr,p,t APout,a r,p,a,t APout,u r,p,u,t costpr,p costsr,s CQr,l,t CTr,u,l,t CTRr,u,l,t

rainwater collected in storage tank s in reach r at time t maximum capacity of artificial pond p in reach r available amount of water of artificial pond p in reach r at time period t water sent from artificial pond p to agricultural sink a in reach r at time period t water sent from artificial pond p to domestic/ industrial sink u in reach r at time period t cost of artificial pond p in reach r cost of storage tank s in reach r concentration of pollutant l in reach r at time period t untreated wastewater concentration of domestic/ industrial sink u of pollutant l in reach r at time period t concentration of pollutant l of treated wastewater from domestic/industrial sink u in reach r at time period t

Parameters

A′ ADem r,a,t areapp areaSs B′ C′ CeP CeS 2143

cost factor for storage tanks demand in agricultural sink a in reach r at time period t harvesting area for artificial pond p harvesting area for storage tank s cost factor for storage tanks cost factor for artificial ponds runoff coefficient for artificial pond p runoff coefficient for storage tank s DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

ACS Sustainable Chemistry & Engineering Clossr,l,t CPr,l,t CREmax l CUr,l,t Cuop x CWr,u,t D′ FCx MU lossr,t PAsr,t PCAPAr,p,a PCAPUr,p,u PCNSAr,a PCNSUr,u PCSTAr,s,a PCSTUr,s,u PCRWr,u,a PPr,p,t PRr,t PSr,s,t rxr,l tribr,j,t Ur,t UDem r,u,t UWWr,u,t Vr,t VCx



concentration of losses of pollutant l in reach r at time period t rainwater concentration of pollutant l in reach r at time period t maximum concentration of reclaimed water of pollutant l concentration of direct usage of pollutant l in reach r at time period t operational cost for interceptor x consumed water in domestic/industrial sink u in reach r at time period t cost factor for artificial ponds fixed cost parameter for interceptor x positive integer number greater than one used for modeling filtration and evaporation losses in reach r at time period t available rainwater in reach r at time period t piping and pumping cost to send water from artificial pond p to agricultural sink a piping and pumping cost to send water from artificial pond p to domestic/industrial sink u piping and pumping cost to send water from natural sources to agricultural sink a piping and pumping cost to send water from natural sources to domestic/industrial sink u piping and pumping cost to send water from storage tank s to agricultural sink a piping and pumping cost to send water from storage tank s to domestic/industrial sink u piping and pumping cost to send reclaimed water from the treatment unit associated with domestic/ industrial sink u to agricultural sink a available rainwater in artificial pond p in reach r at time period t rainwater contribution in reach r at time period t available rainwater in storage tank s in reach r at time period t reaction carried out in reach r for pollutant l contribution of tributary j to reach r at time period t direct usage in reach r at time period t demand in domestic/industrial sink u in reach r at time period t wastewater of domestic/industrial sink u in reach r at time period t volume of reach r at time period t variable cost parameter for interceptor x

Ωmin r,u,x

REFERENCES

(1) WRG 2030, 2009. Charting our water future: Economic frameworks to inform decision-making, WRG, Washington, DC. (2) WWAP, 2014. The United Nations World Water Development Report 2014: Water and Energy, UNESCO, Paris. (3) WWAP, 2015. The United Nations World Water Report 2015: Water for a Sustainable World, UNESCO, Paris. (4) Dvarioniene, J.; Stasiskiene, Z. Integrated water resource management model for process industry in Lithuania. J. Cleaner Prod. 2007, 15 (10), 950−957. (5) Abdulla, F. A.; Al-Shareef, A. W. Roof rainwater harvesting systems for household water supply in Jordan. Desalination 2009, 243 (1−3), 195−207. (6) Dakwala, M.; Mohanty, B.; Bhargava, R. A process integration approach to industrial water conservation: a case study for an Indian starch industry. J. Cleaner Prod. 2009, 17 (18), 1654−1662. (7) Morales-Pinzón, T.; Rieradevall, J.; Gasol, C.; Gabarrell, X. Potential of rainwater resources based on urban and social aspects in Colombia. Water Environ. J. 2012, 26 (4), 550−559. (8) Nápoles-Rivera, F.; Serna-González, M.; El-Halwagi, M. M.; Ponce-Ortega, J. M. Sustainable water management for macroscopic systems. J. Cleaner Prod. 2013, 47, 102−117. (9) Bocanegra-Martínez, A.; et al. Optimal design of rainwater collecting systems for domestic use into a residential development. Resources, Conservation and Recycling 2014, 84, 44−56. (10) Bishnu, S.; Linke, P.; Alnouri, S.; El-Halwagi, M. M. Multiperiod planning of optimal industrial city direct water reuse networks. Ind. Eng. Chem. Res. 2014, 53 (21), 8844−8865. (11) López-Díaz, D. C.; Lira-Barragán, L. F.; Rubio-Castro, E.; Ponce-Ortega, J. M.; El-Halwagi, M. M. Synthesis o eco-industrial parks integrating with a surrounding watershed. ACS Sustainable Chem. Eng. 2015, 3 (7), 1564−1578. (12) Galan, B.; Grossmann, I. Optimal design of distributed wastewater treatment networks. Ind. Eng. Chem. Res. 1998, 37 (10), 4036−4048. (13) El-Baz, A. A.; Ewida, K. T.; Shouman, M. A.; El-Halwagi, M. M. Material flow analysis and integration of watersheds and drainage systems: I. Simulation and application to ammonium management in Bahr El-Baqar drainage system. Clean Technol. Environ. Policy 2004, 7 (1), 51−61. (14) El-Baz, A. A.; Ewida, K. T.; Shouman, M. A.; El-Halwagi, M. M. Material flow analysis and integration of watersheds and drain systems: II. Integration and solution strategies with application to ammonium management in Bahr El-Baqar drain system. Clean Technol. Environ. Policy 2005, 7 (2), 78−86. (15) Ponce-Ortega, J. M.; Hortua, A. C.; El-Halwagi, M.; JiménezGutiérrez, A. A property-based optimization of direct recycle networks and wastewater treatment processes. AIChE J. 2009, 55 (9), 2329− 2344. (16) Lovelady, E. M.; El-Baz, A. A.; El-Monayeri, D.; EL-Halwagi, M. M. Reverse problem formulation for integrating process discharges with watersheds and drainage systems: managing phosphorus in lake Manzala. J. Ind. Ecol. 2009, 13 (6), 914−927. (17) Burgara-Montero, O.; Ponce-Ortega, J. M.; Serna-González, M.; El-Halwagi, M. M. Optimal design of distributed treatment systems for the effluents discharged to the rivers. Clean Technol. Environ. Policy 2012, 14 (5), 925−942. (18) Martinez-Gomez, J.; Burgara-Montero, O.; Ponce-Ortega, J. M.; Nápoles-Rivera, F.; Serna-González, M.; El-Halwagi, M. M. On the environmental, economic and safety optimization of distributed treatment systems for industrial effluents discharged to watersheds. J. Loss Prev. Process Ind. 2013, 26 (5), 908−923. (19) Hortua, A.; El-Halwagi, M.; Ng, D.; Foo, D. Integrated approach for simultaneous mass and property integration for resource conservation. ACS Sustainable Chem. Eng. 2013, 1 (1), 29−38. (20) Burgara-Montero, O.; El-Baz, A. A.; Ponce-Ortega, J. M.; ElHalwagi, M. M. Optimal design of a distributed treatment system for increasing dissolved oxygen in watersheds through self-rotating discs. ACS Sustainable Chem. Eng. 2013, 1 (10), 1267−1279.

Greek Symbols

αx,l δs,max s δs,min s δap,max p δap,min p γ Ωmax r,u,x

Research Article

efficiency of interceptor x with respect to pollutant l maximum capacity of storage tank s minimum capacity of storage tank s maximum capacity of artificial pond p minimum capacity of artificial pond p parameter for considering the economies of scale upper bound for the segregated flow of interceptor x associated with a treatment unit of domestic/industrial sink u in reach r lower bound for the segregated flow of interceptor x associated with a treatment unit of domestic/industrial sink u in reach r 2144

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145

Research Article

ACS Sustainable Chemistry & Engineering (21) Burgara-Montero, O.; Ponce-Ortega, J. M.; Serna-González, M.; El-Halwagi, M. M. Incorporation of the seasonal variations in the optimal treatment of industrial effluents discharged to watersheds. Ind. Eng. Chem. Res. 2013, 52 (14), 5145−5160. (22) Pacsi, A.; Sanders, K.; Webber, M.; Allen, D. Spatial and temporal impacts on water consumption in Texas from shale gas development and use. ACS Sustainable Chem. Eng. 2014, 2 (8), 2028− 2035. (23) Vecchietti, A.; Lee, S.; Grossmann, I. Modeling of discrete/ continuous optimization problems: characterization and formulation of disjunctions and their relaxations. Comput. Chem. Eng. 2003, 27 (3), 433−448. (24) Raman, R.; Grossmann, I. E. Modelling and computational techniques for logic based integer programming. Comput. Chem. Eng. 1994, 18 (7), 563−578. (25) Diwekar, U. Introduction to applied optimization; Springer Science & Business Media, 2008. (26) Rosenthal, R. E. GAMSA User’s Guide; GAMS Development Corporation. Washington, DC, USA, 2012. (27) SEMARNAT. Mexican Environmental and Natural Resources Agency 2012. http://biblioteca.semarnat.gob.mx/janium/ Documentos/Ciga/agenda/DOFsr/DO2470.pdf (accessed 05 2015).

2145

DOI: 10.1021/acssuschemeng.6b02128 ACS Sustainable Chem. Eng. 2017, 5, 2129−2145