CHEMICAL ENGINEERING TRANSACTIONS VOL. 61, 2017 A publication of The Italian Association of Chemical Engineering Online at www.aidic.it/cet Guest Editors: Petar S Varbanov, Rongxin Su, Hon Loong Lam, Xia Liu, Jiří J Klemeš Copyright © 2017, AIDIC Servizi S.r.l. ISBN 978-88-95608-51-8; ISSN 2283-9216 Synthesis of Total Water Networks for Batch Processes Considering the Impact of Contaminants Shuming Wang, Xiong Zou*, Hongguang Dong School of Chemical Engineering, Dalian University of Technology, NO. 2 Linggong Road, 116024, Dalian, P.R. China zouxiong@mail.dlut.edu.cn This article develops a systematic methodology to consider the impacts of contaminants on regeneration network when synthesizing the integrated water network for batch processes. The method is based on the improved state-space superstructure where full configurations of the network are incorporated and concentrate streams of two outflows regeneration modules can be reused and further purified. To bridge the gap to industrial applications, regeneration modules with variable removal efficiencies for different types of contaminants and the inhibitory impact of toxic substances on regeneration network are considered. On these basis, an overall mixed-integer nonlinear programming (MINLP) model is formulated. The results of the case study show that the further reuse of concentrate streams decreases the fresh water consumption and cost- optimal network can be achieved when considering the effects of contaminants. In addition, the toxic substances in wastewater for regeneration also lead to the integration of different regeneration technologies. 1. Introduction Wastewater minimization in batch plants has gained increasing attention from both academic and industrial communities because of stringent environmental legislation and growing application of batch processes. Wang and Smith (1995) first applied water pinch method to minimize wastewater generation in batch processes. Mathematical optimization-based approaches were also developed, such as optimization models considering water indirect reuse (Almató et al., 1999) and all possible recycle and reuse opportunities (Chen et al., 2008). After water reuse/recycle was deeply investigated, regeneration was introduced by many researchers to further reduce effluent. Liu et al. (2009) introduced a single semi-continuous regenerator for the single contaminant system, and Pintarič et al. (2014) introduced a batch regenerator when investigating various economic objectives. While the integration of various regeneration processes was considered by Cheng and Chang (2007) with economic objective and Tokos et al. (2013) with economic and environmental objectives. The different regeneration modes (batch and semi-continuous) and the selection of various regeneration technologies are considered by Wang et al. (2016), and the approach is improved to consider complex regeneration network and address multi-contaminant system (Dong et al., 2016). Although two outflows regeneration technologies like ultrafiltration and reverse osmosis have been involved in the work of Dong et al. (2016), opportunities that concentrate streams can be further reused and cleaned by regeneration modules are neglected to simplify the network structure. The majority of these works investigate the single contaminant systems and less attention has been paid to the effects of contaminants on regeneration subsystem. The research of Dong et al. (2016) related to total water network synthesis assumes that removal efficiencies for different contaminants in the regenerators are identical. This simplification cannot guarantee the true efficiency of the regeneration network, and even leads to infeasible design schemes, because the purification efficiencies always vary with different contaminants. It is common that wastewater generated from industrial production (i.e. the productions of fine organic chemicals) contains toxic substances that can contaminant certain regeneration processes. For example, heavy metals can greatly inhibit anaerobic process and nitrogen removal by nitrification/denitrification. This inhibitory impact of toxic substances on regeneration network has never been taken into consideration in previous studies. This paper aims to consider the effects of contaminants on the regeneration network and further reuse of concentrate stream from two outflows regeneration modules. DOI: 10.3303/CET1761164 Please cite this article as: Wang S., Zou X., Dong H., 2017, Synthesis of total water networks for batch processes considering the impact of contaminants, Chemical Engineering Transactions, 61, 997-1002 DOI:10.3303/CET1761164 997 2. Problem statement Given is a set of batch water-using processes i ∈ I with specific mass loads of each contaminant c ∈ C under a predefined production schedule. The water-using processes are assumed to operate in truly batch mode. During the time horizon of interest, a set of fresh water sources f ∈ F and end-of-pipe treatments e ∈ E are available. For further water reuse, a set of batch regeneration modules (br ∈ BR) and semi-continuous regeneration modules (cr ∈ CR) with various candidate technologies are involved to purify the wastewater. Three sets of storage tanks (ub ∈ Ub, vp ∈ Vp and vc ∈ Vc) are installed for wastewater, purified water and concentrate streams from two outflows semi-continuous regeneration modules. The objective is to consider the effects of contaminants when synthesizing the water network of batch processes. 3. Superstructure The formulated model relies on the superstructure (Figure 1) that consists of four blocks: distribution network (DN), water-using operator (WO), storage operator (SO) and regeneration operator (RO). The superstructure is adapted from our previous work (Dong et al., 2016), and the modifications are detailed below. (1) Original four sets of tanks designated before and after the regeneration modules are replaced by three sets of tanks for waste water, purified water and concentrate water, in order to ensure the full configurations of the network and reduce the number of sets of storage tanks. (2) The concentrate streams from two outflows regeneration modules are allowed to be directly reused and regenerated for further reuse, which can decrease the fresh water consumption and effluent discharge. Fresh water Effluent End-of-pipe treatment .. WO DN RO BRs SO Ub Vp Vc tb1 tbn .. .. CRs tc1 tcn .. .. Figure1: State space superstructure for batch water network 4. Model formulation The mathematical model is formulated on the basis of uniform discrete time representation, where constraints for WO can refer to our previous work (Dong et al., 2016). 4.1 Constraints for DN Mass balances for the mixers attached to the upper and right sides of DN are given as Eq(1) and Eq(2), when the water is transferred in truly batch mode. If water is transferred in semi-continuous mode, flow rate balances around the mixers will be formulated. It should be pointed out that mass and flow rate balances are both presented when truly batch and semi-continuous mode are involved at the same time. For the splitters attached to the lower and left sides of DN, mass and flow rate balances are shown by Eq(3) and Eq(4). , , , ,     in SP MX T mx mx t sp mx t sp m m mx t (1) , , , ,     in SP MX T mx mx t sp mx t sp f f mx t (2) 998 , , , ,     out MX SP T sp sp t sp mx t mx m m sp t (3) , , , ,     out MX SP T sp sp t sp mx t mx f f sp t (4) 4.2 Constraints for SO The overall mass balance around the storage tanks is formulated as constraint (5). , , 1 , , , 1 , 1| | ,             in out in out T T SR T c bsr t sr t sr t sr v sr t sr t sr u sr t q q m m f f sr t (5) In order to ensure the feasibility of mass balance in storage tanks, constraints (6) - (8) are given. max , ,   Q SR Tsr t sr srq w sr t (6) , , , ,      out T SR T Nsr t sr tq f sr t t (7) , , 0 , ,     in out SR Tsr t sr t bf f sr sr u t (8) 4.3 Constraints for RO The concentration balances around the batch and semi-continuous regeneration modules are respectively presented by constraints Eq(9) and Eq(10), where ,Rctb c and ,Rctc c are the removal ratios for contaminants. , , ' , , , , , , , ' , ,(2 ) (2 ) , , , , ' '                 out in out M (1-Rc ) M BR TB C T, t br c t br t br tb br c t tb c br c t br t br tb tb c w w c c w w br tb c t t t t (9) , , , , , , , , , , ,(2 ) (2 ) , , ,              out in out cM (1-Rc ) M CR TC C T cr c t cr t cr tc cr c t tc c cr c t r t cr tcc w w c c w w cr tc c t (10) The limitations for the inlet concentrations are imposed by additional constraints Eq(11) and Eq(12), in order to consider the inhibitory impact of toxic substances on the regeneration processes and the variation of removal efficiency with concentration of contaminants. ,min ,max , , , , , , ,         in in in TB TB C C BR Tbr tb tb c br c t br tb tb c tb tb w c w br t (11) ,min ,max , , , , , , ,         in in in TC TC C C CR Tcr tc tc c cr c t cr tc tc c tc tc w c w cr t (12) Other mass balance constraints for RO are similar to those in the work of Dong et al. (2016). 4.4 Objective function The objective function for the problem is to minimize the total annual cost determined by Eq(13), which encompasses the fresh water cost, the cost of treatment, the cost of storage tanks, capital and operational cost of regeneration modules. , , , , 1 1 , , , , , , 1 1 min ( )                                         ( ) in SR BR TB CR TC BR T TB N N in in out CR TC E CR T T = ICS IC IC NTC ( OC + TOC + T+ Ce Cf sr sr br tb tb cr tc tc br tb t tb sr br tb cr tc br t tb cr tc t tc cr e t e t e f t f cr t tc e cr t t f t TAC w w w m f f m m ) F (13) 5. Case study A multi-contaminant case study is introduced to explore the impact of contaminants on the total water network for batch plants. Limiting data of water-using operations is given in Table 1, relative parameters for regeneration modules in Table 2. The annual investment of each storage tank is set as 1,000 $/y, and the costs of fresh water and end-of-pipe treatment are assumed to be 1 $/t and 5 $/t. Total number of cycles in a year is set as 800. The problem is implemented in GAMS 23.4 by the DICOPT solver, using CPLEX as the MILP solver and MINOS as the NLP solver. 999 Table 1: Limiting data for water-using processes of the case Operation Contaminant [ minMi , max Mi ] (t) max Ci,c (g c/g water) Start time (h) End time (h) ,Mli c (kg) in out P1 A/B/C [0,200] 0/0/ 0 20/400/ 50 0 0.5 4/80/ 10 P2 A/B/C [0,300] 50/200/ 50 100/1,000/ 12,000 1 2 15/240/ 3,585 P3 A/B/C [0,150] 10/50/ 300 200/100/ 1,200 2 3.5 28.5/7.5/ 135 P4 A/B/C [0,200] 30/100/ 200 75/200/ 1,000 1 2 9/20/ 160 P5 A/B/C [0,100] 150/200/ 350 300/1,000/ 1,200 4 4.5 15/80/ 85 P6 A/B/C [0,150] 0/0/ 50 150/300/ 2,500 5.5 6.5 22.5/45/ 367.5 P7 A/B/C [0,50] 100/150/ 220 200/1,500/ 1,000 8 10 5/67.5/ 39 Fresh water effluent to end-of-pipe treatment 0 21 3 4 5 6 7 8 ub1 751.5 751.5 9 10 P1 P2 P3 P4 P5 P6 P7 vp2 Tc1cr1 2 0 0 2 9 9 .4 1 6 0 .4 1 5 0 8 3 .1 150 47.4 1 4 1 .3 1 5 1 .8 8 .7 141 2 .1 19 .4 1 9 .2 vp1 (a) 1 3 .2 Tc1cr1 T/h (e) 0 21 3 4 5 6 7 8 9 10 62.5 t/h 300 t/h (c) 0 21 3 4 5 6 7 8 v p 1 (t ) 100 150 200 T/h9 10 50 0 21 3 4 5 6 7 8 u b 1 (t ) 100 150 200 T/h9 10 50 (b) 0 21 3 4 5 6 7 8 v p 2 (t ) 100 150 200 T/h9 10 50 (d) Figure 2: (a) Resultant network configuration for Scenario B; (b) - (d) Variations of residue water in storage tanks; (e) The schedule of the regeneration module 1000 Tb1br1 Tc1cr1 T/h (e) 0 21 3 4 5 6 7 8 9 10 145 t 62.5 t/h 300 t/h (c) 0 21 3 4 5 6 7 8 v p 1 (t ) 100 150 200 T/h9 10 50 0 21 3 4 5 6 7 8 u b 1 (t ) 100 150 200 T/h9 10 50 (b) Fresh water effluent to end-of-pipe treatment 0 21 3 4 5 6 7 8 ub1 747.9 747.9 9 Tb1br1 10 P1 P2 P3 P4 P5 P6 P7 vp2 Tc1cr1 2 0 0 2 9 9 .3 1 6 0 1 5 0 8 1 .8 150 45.9 1 1 0 .9 2 3 .7 145 1 .8 5 16 .4 1 2 1 .3 7 4 vp1 7 .8 (a) 0 21 3 4 5 6 7 8 v p 2 (t ) 100 150 200 T/h9 10 50 (d) Figure 3: (a) Resultant network configuration for Scenario C; (b) - (d) Variations of residue water in storage tanks; (e) Schedules of regeneration modules Table 2: Process parameters for regeneration modules in the RO of the case Technology BRs CRs Tb1 Tb2 Tb3 Tc1 Tc2 Tc3 Rr 1 1 1 0.8 0.6 1 Rc (c1, c2, c3) 0.8/0.5/0 0/0.8/0.4 0/0.8/0.5 0/0.9/0.85 0.8/0.4/0.9 0.8/0.4/0.9 IC ($/y) 60,000 50,000 50,000 60,000 110,000 120,000 OC ($/t) 0.01 0.02 0.02 0.04 0.02 0.02 Capacity (t & t/h) [50 200] [50 300] [50 200] [50 300] [50 300] [50 200] Duration (h) 1 1.5 1 - - - Cin,min (ppm) 15/100/0 10/100/100 10/100/100 10/100/50 0/100/50 0/100/50 Cin,max (ppm) 300/1,200/ 1,500 50/1,200/ 1,500 50/1,200/ 1,500 20/1,200/ 1,500 300/1,200/ 1,500 300/1,200/ 1,500 Table 3: Comparison results for the case study Scenarios Fresh water consumption (t/y) Total annual cost ($/y) Scenario A (central storage tank only) 671,400 4,037,547 Scenario B (regeneration) 601,162 3,676,775 Scenario C (regeneration with maximum inlet concentration) 598,330 3,725,766 Three scenarios are analysed in this case study. Scenario A is the base scenario where only water reuse and recycle with storage tanks are involved, then the regeneration subsystem with variable removal ratios for different types of contaminants is both incorporated in Scenario B and C. In Scenario B, there are no 1001 limitations for maximum inlet concentrations of regeneration technologies, while Scenario C considers the limitations. Before directly solving the problem, technologies Tb2 and Tc2 are firstly removed from the synthesis framework according to the pre-processing rules proposed in the paper of Dong et al. (2016). Comparison results for these scenarios are shown in Table 3. Compared to Scenario A, the consumption of fresh water in Scenario B is reduced from 671,400 t/y to 601,162 t/y with a 10.47 % decrease, and the corresponding annual cost is reduced from 4,037,547 $/y to 3,676,775 $/y with an 8.94 % decrease. The fresh water consumption of 598,330 t/y and the annual cost of 3,725,766 $/y in Scenario C are obtained, corresponding to a 10.88 % reduction in fresh water consumption and a 7.72 % in annul investment as compared to Scenario A. The annual cost of the water network in Scenario C (3,725,766 $/y) is higher than that in Scenario B (3,676,775 $/y), while it yields a 0.47 % reduction (from 601,162 t/y to 598,330 t/y) in fresh water consumption. This is because the limitation for maximum inlet concentration of regeneration facilities calls for the integration of different technologies, resulting in higher investment for regeneration and less fresh water consumption. The corresponding design schemes for Scenario B and C are presented in Figure 2(a) and 3(a). Note that there exist direct recycle streams from both permeate and concentrate sides to the inlet of two outflows semi-continuous regeneration modules. This can further reduce the fresh water consumption and effluent, though it causes the network configuration more complex. For Scenario B and C, storage profiles of wastewater in tanks and schedules of active regeneration modules are also shown in Figure 2 and 3. 6. Conclusions In this article, an adapted superstructure is proposed to ensure the full configurations of the network and allow concentrate streams to be reused and further purified. The regeneration processes with variable purification efficiencies for different types of contaminants and the inhibitory impact of toxic substances on regeneration network have been considered. According to these, a MINLP model is then formulated. The effectiveness of proposed methodology is demonstrated by the case study. The results show that cost-optimal network configuration can be achieved when considering the effects of contaminants. Future work should investigate the effect of contaminants on the end-of-pipe treatment and uncertainties in regeneration efficiency. Acknowledgments This work is supported by the National Natural Science Foundation of China (No.21276039). References Almató M., Espuña A., Puigjaner L., 1999, Optimisation of Water Use in Batch Process Industries, Computers & Chemical Engineering, 23(10), 1427-1437. Chen C.L., Chang C.Y., Lee J.Y., 2008, Continuous-time Formulation for the Synthesis of Water-using Networks in Batch Plants, Industrial & Engineering Chemistry Research, 47(20), 7818-7832. Cheng K.F., Chang C.T., 2007, Integrated Water Network Designs for Batch Processes, Industrial & Engineering Chemistry Research, 46(4), 1241-1253. Dong H., Wang S., Zou X., Han Z., Sun L., 2016, Superstructure-based Synthesis Framework for a Batch Water Network with Multiple Regeneration Modules, Industrial & Engineering Chemistry Research, 55(42), 11114-11129. Liu Y., Li G., Wang L., Zhang J., Shams K., 2009, Optimal Design of an Integrated Discontinuous Water-using Network Coordinating with a Central Continuous Regeneration Unit, Industrial & Engineering Chemistry Research, 48(24), 10924-10940. George T., Franklin L.B., Stensel H.D, 2003, Wastewater Engineering: Treatment and Reuse, McGraw-Hill, New York. ISBN: 9780070418783. Pintarič Z.N., Ibrić N., Ahmetović E., Grossmann I.E., Kravanja Z., 2014, Designing Optimal Water Networks for the Appropriate Economic Criteria, Chemical Engineering Transactions, 39, 1021-1026. Tokos H., Pintarič Z.N., Yang Y., 2013, Bi-objective Optimization of a Water Network via Benchmarking, Journal of Cleaner Production, 39, 168-179. Wang S., Zou X., Dong H., Sun L., 2016, A Superstructure Based Optimisation Framework for Batch Water Network Synthesis with Multiple Wastewater Treatment Models, Chemical Engineering Transactions, 52, 55-60. Wang Y.P., Smith R., 1995, Time Pinch Analysis, Chemical Engineering Research & Design, 73(8), 905-914. 1002