Document Type: Original Article
Authors
^{1} Chemical Engineering Department, Islamic Azad University, North Tehran Branch, Tehran, Iran
^{2} Division of Thermal Sciences & Energy Systems, Department of Mechanical Engineering, Faculty of Technology & Engineering, University of Qom, Qom, Iran/ Center of Environmental Research, University of Qom, Qom, Iran
^{3} Center of Environmental Research, University of Qom, Qom, Iran/ Department of Chemical Engineering, University of Qom, Qom, Iran
Abstract
Keywords
Main Subjects
1. Introduction
Freshwater has always been a rare natural resource and it is one of today’s biggest problems. As water is consumed in various industries, it is necessary to optimize and minimize available water supply. With the rising costs of freshwater consumption and wastewater treatment, there is an essential requirement to amend the rate of water consumption in the process industry.
In the early 1980s, simultaneous energy crisis, pinch technology was introduced as a technique for designing a heat exchanger network. Pinch analysis was also considered as recovery energy. Heat integration was published by Linnhoff.
In general, pinch analysis is based on process integration and includes heat and mass designs. It has been used in various processes such as mass integration
(El-Halwagi & Spriggs, 1998), water (Mann & Liu, 1999), (Wang & Smith, 1994) and hydrogen (Alves & Towler, 2002). Researchers like (Hallale & Liu, 2001), (Ataei & Yoo, 2010), (Nabi Bidhendi, Mehrdadi, & Mohammadnejad, 2010) and others have been working on water pinch technology, too.
To minimize water consumption in industrial processes, there are four possible methods namely, reuse, recycling, regeneration - reuse/ recycling and process changes. In reuse and recycling processes, the extent of contamination is important because the effluent of one plant is returned directly to another plant or the same process is recycled without treatment.
The fourth method involves the replacement of utilities that use water from other utilities. For example, water cooling is replaced with an air cooling system (Buehner & Rossiter, 1996).
In the water pinch technique, the problems are divided into two types, a fixed flow (FF using the source and sink) and a fixed load (FL). The FL operation is based on mass transfer, like vessel cleaning, solvent extraction, gas absorption, etc. On the other hand, the problems of FF are various operations based on a massless transfer, such as a boiler, a cooling tower, filters, etc. For FF operation, Loss or gain occurs because the input rate is not equal to the output.
The initial graphical method, limiting the composite curve (LCC), was presented by Wang and Smith (Wang & Smith, 1995). This method was originally applied to the reuse and recycling of water systems for fixed load problems. It is possible to control a minimum of freshwater by diagnosing pinch point for reusing or recycling.
Material Recovery Pinch Diagram (MRPD) is another targeting method that was developed for FF issues. The MRPD was presented by two different teams (El-Halwagi, Gabriel, & Harell, 2003); (Prakash & Shenoy, 2005). The main flaw of this method is that just the visual solution and magnification graph are important.
Composite Table Algorithm (CTA) is a combination of graphical and numerical methods (Agrawal & Shenoy, 2006). CTA was developed for all types of problems and can simultaneously solve FL and FF operations. Although similar to the Water Cascade Diagram (WCD), CTA is less complicated and should be improved.
First, the concentration of the sink and source processes are getting more and more in order, after which the graphical representation of this method is obtained by LCC. CTA is used both graphically and numerically to handle various problems in the water system although regeneration problems cannot be satisfactory.
The Extended Composite Table Algorithm (ECTA) is an extension of the CTA with the development of numerical phases to control the water regeneration network (Bai, Feng, & Deng, 2007). All steps are similar to CTA. Only two levels are added to determine the regeneration flow rate (F_reg) and the concentration of the regeneration concentration (C_reg).
The post-regeneration concentration (C_0) is also taken into account. The next method is the composite matrix algorithm (CMA), which determines all possible decisions C_0. Eventually, the best C_0 is characterized by a minimum of water and optimization of the total cost of the water network (Parand, 2014).
In the other research, Pungthong & Siemanond proposed MINLP model for water and wastewater networks with considering multiple contaminants (Pungthong & Siemanond, 2015). All mathematical models are solved by DICOPT solver in GAMS software. This model gives better TAC than other previous studies.
Hong et al performed the optimization of heat-integrated water networks. It was a novel mathematical programming model to solve large scale problems and to use for separate and uniform treatment cases (Hong, Liao, Jiang, Wang, & Yang, 2016).
Salgot and Floch developed wastewater treatment and water reuse based on risk assessment. One of the main developments in the reuse world is risk assessment (Salgot & Folch, 2018).
A stochastic programming method has been applied by Naderi and Pishvaee to integrated water and wastewater network design (Naderi & Pishvaee, 2017). In this regards, two-level stochastic programming based on an accelerated benders decomposition algorithm is developed. Results illustrate the advantages of the extended stochastic programming model and the efficiency of the solution method.
Velasquez-Orta et al introduced retrofitting scenarios to target climate changes for wastewater networks. Energy demand and CO2 emission for a wastewater network were predicated (Velasquez-Orta, Heidrich, Black, & Graham, 2018).
Design of heat integrated water networks with considering multiple contaminants has been proposed by Zhao et al.
By using the proposed method, the obtained structures of the network were simple, and the total annual costs were comparable with other literature in this field (Zhao, Yang, & Liu, 2019).
Multi-agent hybrid particle swarm optimization (MAHPSO) to optimum network planning of wastewater treatment has been proposed by Ye et al. MAHPSO can solve problems with mixed variables and nonlinear relationships. The results compared with hybrid PSO & genetic algorithm (Ye, Chen, Jing, Zhang, & Liu, 2019).
In the other research, souifi and souissi performed water and energy - saving simultaneously in cooling water networks Using Pinch Approach (Souifi & Souissi, 2019). The main parameter of the proposed approach is the conversion of the cooling demands to its equivalent demand. In this regard, Demand-Composite Curve was introduced base on targeting concept.
As shown, in the previous literature in this field, the pressure drop and pumping costs have not been considered in the optimal design of water and wastewater networks. In addition, the comparison between different approaches to optimal design have not been performed. Also, CTA, ECT and CMA targeting methods have been not applied in a gas refinery case. Furthermore, Cuckoo search algorithm was not applied to the optimal design of such systems.
In this study, different new conceptual, mathematical and cuckoo search approaches have been employed to the optimal design of water and wastewater network of a gas refinery. Also, the pressure drop and pumping cost have been considered in the optimization model. To minimize water and wastewater, one part of a unit operation which is related to a gas refinery is chosen, and three graphical/numerical methods CTA, ECT, CMA targeting approaches are considered for this process. Also, MINLP and CS have been performed and evaluated. Finally, the appropriate method is discussed.
2. Case Study
The study is applied to a unit of an oil refinery for multi contaminants. This process is a segment of sour gas sweetening. The process of water absorption is located before Amine gas treating. Temperature can be one of the contaminants in the process, but in this research, it is not considered. The simplified process flow diagram of a water network in refinery has been shown in Fig1.
Total discharge of contaminants is 55.54 ppm, 368.66 ppm, and 312.42 ppm, for TOC, Soluble and Solids, respectively. Each inlet and outlet flow have a specific amount of contamination.
Figure 1. Water Network of selected Gas Refinery
3. Methodology
3.1. Problem Definition
Generally, problems are arranged in two types: FF and FL. Removal contamination is the main objective in FL problem, where water flow is used as a lean stream to separate mass load. In the FF problem, the inlet and outlet flow rates are not equal. This method surveys the process from the sink and source perspective. There is a possibility to convert FL model to FF and vice versa. In FL problems, inlet and outlet flow rates can be considered as sinks and sources of the FF model. Total water regeneration system includes process sinks or sink streams, process sources or source streams and regeneration unit. First of all, process sinks which are known as processes require water or inlet water streams. F_j and C_j are flow rate and inlet concentration, respectively. Besides, process sources are originally outlet wastewater streams which are reuse or recycle to process sinks. F_i and C_i are Flow rate and outlet impurity concentration. Regeneration unit is placed in the water regeneration system to partially purify process sources. Fixed post-regeneration concentration (outlet concentration from the regeneration unit (C_0)) and removal ratio (RR) are two main factors which are assessed in the regeneration unit (Parand, 2014).
RR=(C_reg-C_0)/C_reg (1)
If the process sources (outlet wastewater streams) are not satisfied for the process sinks after regeneration unit in both aspects of quality (contaminant mass load) and quantity (flow rate), the external Freshwater source enters into network water.
In ECTA method, the flow rate of freshwater (F_fw), wastewater flow rate (F_ww), regenerated water (F_reg), the concentration of wastewater (C_ww) and post-regeneration concentration (C_0) are key parameters. It is necessary to mention that the contaminant concentration of freshwater can be zero (C_fw=0) or impure (C_fw≠0) (Parand, 2014).
3.2. Extended Composite Table Algorithm (ECTA) Model:
According to the Flowsheet, data is extracted, and Limiting Data is listed in Table 1. Limiting data is adjusted by the FL problem. To apply the ECTA for the FL problems, first of all, it is necessary to convert the Limiting Data from FL problem to FF problem (by the process sinks and sources). Hence, inlet streams to processes are sinks (P1in, P2in, and P5in) and outlet streams from processes are sources (P1out, P2out, ... and P5out).
The converted Limiting Data are shown in Table 1. ECTA consists of eight steps; the first six steps are targeted for minimum freshwater for reuse-recycle.
Table 2 shows the extended composite table algorithm. As it is shown in column 2, concentration has an ascending trend and the arbitrary value is added (larger than other). The interval net flow rate (NetF_k) is calculated in column 3. For each concentration interval, the difference of the sum of process source flow rate from the sum of process sink flow rate is assessed. It is vitally important to notice that there is not any loss or gain for the FL problem which is converted to FF problem. In column 4 〖∆m〗_k interval impurity loads are indicated, which are computed by multiplying the net flow rate and the difference of contaminant concentration levels. To calculate cumulative load (C_um 〖∆m〗_k), the first input is assumed zero and (〖∆m〗_k) sum with each column, respectively. Next column is the interval freshwater (F_fw), and the flow rate is related to reuse/recycle. F_fw can be calculated in Table 3. In this column, the maximum value is known as the minimum amount of fresh water needed.
For the regeneration section, the minimum regeneration flow rate is set as a target, and it is indicated as the interval regenerated water flow rate (F_reg). Since the total regeneration system is assumed, the regeneration flow rate is equal to freshwater flow rate. The largest value in this column is known as a principal F_reg. The last column is the interval regeneration concentration (C_reg). The maximum value in this column is determined as minimum regeneration concentration. The associated concentration level is known as regeneration pinch concentration (C_preg). Wastewater flow rate (F_ww) and contaminant concentration are calculated. In the absence of water loss, F_fw is equal to F_ww .
Table1. Limiting water data according to source and sink
Sink F_skj C_skj Source F_SRi C_SRi
P1in 13.5 50 P1out 13.5 1011.99
P2in 77.77 50 P2out 18 77.77
P3in 250 50 P3out 18 250
P4in 50 50 P4out 13.5 50
P5in 150 50 P5out 27 150
Table 2. Extended Composite Table Algorithm
K C_k Net 〖F 〗_k(ton/h) (ton/h) Delta M Cum Delta M F_fw F_reg C_reg
1 50 0 0 0
2 77.77 76.5 2.124405 2.124405 27.3165102 15.6736388
3 150 58.5 4.225455 6.34986 42.3324 22.6780714 150
4 250 31.5 3.15 9.49986 37.99944 188.9007
5 1011.99 13.5 10.286865 19.786725 19.552293 -119.485
6 1050 0 0 19.786725 18.8445 -157.495
Table 3. key parameters of ECTA and CMA (Parand, 2014)
ECTA CMA
C_0 A proper C_0 is given 〖C_0〗_n=〖C_0〗^min+∆
〖C_0〗^min≤C_(0,n)≤〖C_0〗^max
∀n ∈ N^'=1,2,3,….,(〖C_0〗^max-〖C_0〗^min)/∆+1
F_fw F_fw=(C_um 〖∆m〗_k)/((C_k-C_fw)) F_fw=(C_um 〖∆m〗_k)/((C_k-C_fw))
F_reg
&
C_reg F_(reg,k)=(C_um ∆m)/(〖2C〗_k-C0)
C_(reg,k)=(C_um 〖∆m〗_k-F_reg (C_k-C_0 ))/F_reg 〖MF〗_(reg,k)=(C_um ∆m)/(〖2C〗_k-C_(0,n) )
∀n,k→C_(0,n)≤C_k≤C_pr & ∀n∈N^'
〖MC〗_(reg,nk)=(C_um 〖∆m〗_k-F_(reg,n) (C_k-C_(0,n) ))/F_(reg,n)
∀k,n→C_pr≤C_k & ∀n∈N
F_ww
&
C_ww F_fw-F_ww=∑_j▒F_j -∑_i▒F_i
〖(Ff〗_w×〖Cf〗_w)-〖(F〗_ww×C_ww)-(F_reg×(C_reg-C_0))=∑_j▒〖F_j C_j 〗-∑_i▒F_i C_i 〖F_fw〗_n-〖F_ww〗_n=∑_j▒F_j -∑_i▒F_i
-〖〖(F〗_ww〗_n×〖C_ww〗_n)-(〖F_reg〗_n×(〖C_reg〗_n-〖C_0〗_n))=∑_j▒〖F_j C_j 〗-∑_i▒F_i C_i
According to the Limiting data, C_preg.C_reg and C_pfw can be determined from the diagram of LCC and water composite curve.
3.3. Composite Matrix Algorithm (CMA):
Composite Matrix Algorithm is represented to determine the possible range of〖 C〗_0 for total water regeneration network. The difference between ECTA and CMA method is the range of C_0, which is increased from 〖C_0〗^min to 〖C_0〗^max. Regeneration flow rate is calculated for each C_0, and the maximum value of C_0 is associated with minimum regenerated flow rate. There is a matrix of C_0 and F_reg. Furthermore, the maximum value is chosen in each column.
It should be noted that there is an ascending trend of C_0. By raising〖 C〗_0, the minimum amount of freshwater flow rate increases, and the freshwater flow rate approaches the LCC and eventually crosses it. For higher value than 〖C_0〗^max, water supply line will cross the LCC. The first six stages are the same as the ECTA. 0
There are two new stages to identify the regenerated water flow rate matrix and regeneration concentration matrix.
First of all, as mention before, in the CMA method, there is a range of C_0 which must be calculated. 〖C_0〗^max Cannot be higher than〖 C〗_pr.
Steps of targeting maximum post-regeneration concentration are demonstrated in Fig.2.
Figure 2. targeting maximum post-regeneration concentration
∀n.k→C_(0.n)≤C_k & ∀nϵN^' & ∀k≥2
0≤y-intersect-C_(0.n)≤ε (2)
A=|■(C_um ∆m@C_fw ) . ∀k=1 (3)
B=|■((C_(0.n)-C_fw )×F_(reg.n)@C_(0.n) ) . ∀nϵN (4)
E_n=|■(C_um 〖∆m〗_(k-1)@C_(k-1) ) (5)
〖 F〗_n=|■(C_um 〖∆m〗_k@C_k ) ∀nϵN (6)
∀n,k→C_(0,n)≤C_k & ∀nϵN^' & ∀k≥2 (7)
0≤y-intersect-C_(0,n)≤ε (8)
The matrix of regenerated water flow rate 〖MF〗_reg is computed as Table 3 shows. It is presumed that the total regeneration system is applied because of F_fw=F_reg.
The matrix of regenerated water flow rate is set, and C_pfws for random C_0 are calculated. Table 4 shows the randomization of C_0.
The maximum value in each column is determined as F_reg and the corresponding concentration with F_reg is known as freshwater pinch concentration 〖C_p〗_fw.
→F_(〖fw〗_741 )=F_(〖reg〗_741 )=[■(21.86&22.64&23.48&25.36&27.56)]^T (9)
〖C_p〗_fw=[■(150&150&150&150&150)] (10)
To calculate the possible regeneration concentration of the first row of Table 3 is applied. The matrix of feasible regeneration concentration is formed, which the maximum value of each column determines C_reg, and the associated concentration levels are known as regeneration concentration pinchC_preg.
→C_(〖reg〗_741 )=[■(194.6&190&184.6&174.6&164.7)]^T (11)
Table 4.〖 MF〗_reg is calculated for random C_0
No C_0=10 C_0=20 C_0=30 C_0=50 C_0=70
C_k=50 0 0 0 0 0
C_k=77.77 14.56 15.67 16.88 20.8 24.78
C_k=150 21.86 22.64 23.48 25.36 27.56
3.4. Regeneration Reuse/Recycle Approach
Generally, the total water system is divided into three subsystems as shown in Fig.3; 1- water utilization units 2- wastewater regeneration units 3- wastewater treatment units. Each unit of subsystems impose some expense and finding the most efficient method is considered to reduce expenditure and consumption of fresh water simultaneously.
The most important and key parameter in the total cost function is post-regeneration concentration. When C_0 is low (higher RR), the quality of regenerated water goes up, and it gives more opportunities to reuse it in many other water-using operations. Through increasing the quality of regenerated water, the demand for freshwater supply reduces and consequently leads to a reduction of the volume of wastewater disposal. Therefore, the decline of C_0 which leads to increase in the costs of regeneration, imposes a high load of treatment of wastewater for regeneration. However, there is a reduction in freshwater consumption and effluent disposal. The target is to find optimum C_0, which minimizes the total cost of the water network.
3.5. MINLP Method
In this research, mixed-integer non-linear programming (MINLP) as the mathematical optimization method has been applied for finding the optimum solution. The objective function is the minimum cost. In this regards, GAMS Software has been used to find the optimum solution.
3.6. CS Approach
The CS algorithm is utilized for the water optimization and wastewater network. In the CS, three steps are followed (Fig.4) (Khoshgoftar Manesh & Ameryan, 2016):
1. In each repetition, each cuckoo bird begets one egg and retracts it in an accidental host nest.
2. The eggs which have the best quality remain and continue in the subsequent production.
3. The number of the host nest is predetermined and eggs are recognized and killed by the host with a paє [0,1] possibility.
To simplify the approach, the fraction pa of n nest exchanges for new random solutions. To apply CS in the maximization problem, the solution fitness value can be in proportion to the fitness function value. Moreover, the fitness function is used for other approaches, namely genetic algorithm, particle swarm optimization, etc. In this algorithm, repetitive solutions are altered with new and better solutions. An egg in a nest is a solution, and a cuckoo bird is new a. Initial cuckoo population sized P, are generated, hg randomly (Khoshgoftar Manesh & Ameryan, 2016).
h_p=R.×rand+V_min (12)
Figure 3. Schematic of the regeneration unit
Levy flight is an adventitious movement which has the specificity of an immediate jump step chosen via Power Law distribution function. By considering CS, a Levy flight is computed by Mantegna algorithm to find local and global optima.
The following formula is the first step:
S=[s_1,…,s_2 ]=U_1⁄〖(abs(U_2 ))〗^(1⁄χ) (13)
and are n-dimensional arrays distributed in [0, ]. And [0,1]. will be calculated as follows:
σ=((Γ(1+χ) sin(πχ))/(Γ(((1+χ)⁄2) χ^(((1-χ))⁄2) ) (14)
While is a constant value between 1 and 2, in many studies is assumed 1.5. The Gamma function is expressed as follows(Yang & Suash, 2009):
Γ(ε)=∫_0^∞▒e^(-c) m^(ε-1) dm (15)
Also, is computed considering the best remaining current solution.
Figure 4. The Algorithm of Cuckoo Search (Yang & Suash, 2009)
γ=0.01×S.×(h_p-h_b) (16)
The value 0.01 is a typical length scale.
h_p^'=h_p+γ.×R_n (17)
The accidental numbers are n-dimensional arrays in the range from 0 to 1. Also, is the next solution.
3.7. Cost Functions
The cost function is an essential factor in optimizing the water network system. The total cost of the water system includes the freshwater cost (CF), regenerated water cost (CR), and wastewater disposal (CD). Table 5 shows all cost function (Feng & Chu, 2004).
Total regeneration cost is adopted from (Parand, Yao, Pareek, & Tadé, 2014). It is a function of regeneration flow rate and post-regeneration concentration. F_reg, C_0, and contaminant regeneration load (M_reg) are the main parameters that affect the cost of regeneration unit. The contaminant regeneration load is calculated as follows (Parand et al., 2014):
〖 M〗_reg=F_reg×(C_reg-C_0) (23)
Generally, total regeneration cost increases to provide high-quality regeneration water for reusing and recycling water. As it was mentioned, the highest performance of the regenerator never guarantees the optimization of the total cost.
〖C_0〗^max is found from the CMA method. α, β and 𝛾 are constant empirical regeneration cost correlation and the values of them are set at 15, 0.14 and 1.75, respectively.
To calculate CD, both the effluent volume and concentration are taken into account. The famous Mogden Formula which is based on the volume and concentration is applied.
Where R= Reception Charge, V=Primary Treatment Charge, and M=Treatment Charge, where effluent goes to sea outfall, B_v=Biological Treatment Charge, V_m= Preliminary Treatment Charge for discharge to outfalls, B=Biological Oxidation Charge, S=Sludge Treatment Charge, O_s=Chemical Oxygen Demand of Settled Sewage, S_s=Suspended Solids Concentration in Crude Sewage.
According to the Mogden Formula 2016-2017, the cost parameters are R=32cent/ton, V=17cent/ton, S_s=490 ppm, B_v=5.02cent/ton, B=14.04cent/ton and S=16.99cent/ton (Kim, 2012).
3.8. Optimization by Targeting Approaches
To find an ideal solution among three targeting methods, the TOPSIS method is applied. TOPSIS is a famous method for multiple attribute decision making (MADM). The technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method which was first presented by Yoon (Yoon & Hwang, 1981). The underlying concept of the TOPSIS method is defined by the shortest geometric distance from the positive ideal solution (PIS) and the longest geometric distance from the negative ideal solution (NIS). For instance, PIS maximizes the benefit and minimizes the cost, whereas the NIS maximizes the cost and minimizes the benefit. It is assumed that each criterion requires being maximized or minimized.
To determine a positive ideal solution among CTA, ECTA, and CMA, TOPSIS is applied. Identifying weights for each criterion is important. Weights are set according to the importance of a criterion. Weights are between 0 to 1, thus, weighting was introduced from AHP (Analytical Hierarchy Process) technique to quantify the relative importance of the different selection criteria.
Table 5. Cost function
Total cost CT_n=CF_n+CR_n+CD_n
∀n∈N (18)
Regenerated water cost 〖CR〗_n=α×F_(reg,n)^β×((〖〖C_0〗^max/C_(0,n) )〗^γ )
∀n∈N (19)
Wastewater disposal cost CD=R+M+V+B_v+B O_t/O_s +S S_t/S_s (20)
Freshwater cost CF=8600h/yr×1$/ton×ton/h (21)
Piping cost 〖CP〗_n=Base Cost+ Non Base Cost (22)
3.9. Piping Cost
Considering the piping cost in the total cost function plays a key role in the economic trade-offs. The piping cost impacts on the design of a water network directly. Total piping cost consists of two parts: 1-The basic cost which comprises with purchase of pipe, pipefitting and preparing 2-None-basic Cost which includes pipe racks cost, field installation cost, and equipment, engineers and workers’ costs. The piping cost (CP) is shown in Table 5. The approximate length of the pipe can be specified using each possible connection, along with the materials of construction.
Short-cut piping cost method is the swift solution to predict the cost of piping and pipefitting of a processing unit. There are two types of Installation the: the first one is simple straight which is applied to convey raw materials from storage to a process module, and another one is the complex systems which are the plumbing connected to a distillation column or heat exchanger.
For simple straight pipe in 1993, Lindley and Floyd reported the base cost for more than 30 types of pipe in 3 various sizes of diameter 5, 10 and 15 cm. They calculated the price of carbon steel pipe, Schedule 40 and 5-cm (2 in.) nominal diameter to be $1,711 for a 500-ft long (152.4-m) section. By dividing $1,711 by 152.4, the basic price is calculated $11.23/m in 1993. For instance, the minimum price for the year 2018, is evaluated by multiplying the minimum cost by (X/(350 )) which is 350 (The CE Plant Cost Index) for 1993 and x (CE PCI) for 2018.
For simple straight method, Ulrich and Vasudevan represented a correlation for installation factor(Ulrich, Vasudevan, & Ulrich, 2004).
F_(Bm.a)=11.6D^(-.84)-1.13F_(m.a) (24)
F_(m.a) = Material factor for material “a“(the quotient of the base cost 〖Cp〗_(.a)for piping material divided by 〖Cp〗_(.cs)the minimum cost of carbon steel pipe having the same diameter),
F_(Bm,a) = Bare module installation factor for material “a“(ratio of the bare module installed cost to purchase price of carbon steel), dimensionless
D = Diameter nominal, which is considered 5, 10 and 15 cm.
In complex piping system, an elbow or tee is assumed for every 3m and one valve for every 7.5 m. The installation factor equation for complex networks is as follows:
F_(bm.a)=2-0.024D-0.001D^2+1.22F_(m.a)-0.011D.F_(m.a)-0.015D.〖(F_(m.a))〗^(-2) (25)
Two systems can be used simultaneously to calculate the piping cost.
And finally:
C_(B.m)=F_(Bm.a)×C_(p.a) (26)
C_(B.m)= capital cost of a process modules$⁄m. C_(p.cs) = the base cost or purchase cost of piping material a $⁄m.
4. Results
Freshwater supply cost is calculated by assuming the operation hours of the water system 8600 h/yr and the freshwater supply cost is 1 $/ton. The calculation has been performed based on Fig 1, Table 1 and Table 2 based on water and wastewater network a gas refinery to achieve the optimum solution.
Figure 5 indicates the relationships between the total cost, CF, CR, CD, and〖 C〗_(0 ). The interaction between all functions of cost can be - observed. The economic trade-off between freshwater, wastewater disposal, and regeneration cost have been carried out in the optimization model.
Figure 5. Cost Function
The optimum point is C_0=30 and the minimum total cost is 1142.19. At this optimumC_0, the minimum total cost leads to the reduction of freshwater supply, disposal treatment, and regeneration cost. By declining C_(0.p), increasing CR is expected to raise the total cost.
The main parameters of the case study for evaluation of different approaches are freshwater, wastewater and regeneration flow rates, wastewater concentration, post-regeneration concentration, removal ratio, freshwater costs, regenerative cost, total cost, and convergence speed.
Table 6 reveals the comparison among three targeting approaches, MINLP and CS methods.
According to the data, ECTA and CMA methods have a smaller demand for freshwater. In the CMA method, more freshwater is needed and, in turn, higher wastewater is generated in contrast with ECTA method. However, the total cost of the CMA is lower than the other methods. Thus, CMA guarantees the optimum cost. As shown, the convergence speed of CS algorithm is lowest. Furthermore, conceptual algorithms have the fastest speed to achieve a global solution. To indicate a positive ideal solution among CTA, ECTA, and CMA, TOPSIS is used as it is shown in Table 7.
As shown in the results, CMA is the best solution given of cost among other targeting approaches. CS and MINLP methods have similar results. Nonetheless, CS and MINLP are more time-consuming compared with other methods. CS is the worst method given the speed of convergence.
It is demonstrated that post-regeneration concentration and contaminant regeneration load are the key parameters to optimize the cost function. Economic trade-offs include freshwater cost, regenerated water cost, wastewater disposal cost, and piping cost. It is shown that short-cut piping cost is an efficient method to estimate the piping cost for pre-design. Also, TOPSIS is applied to find a positive ideal solution among the three methods. The results indicate that CMA is a positive ideal solution and CTA is a negative ideal solution.
Table 6. Comparison with different approaches
CS
Method MINLP
Method CMA Method ECTA Method CTA Method
23.22 23.10 23.48 22.67 42.26 Freshwater flow rate
23.22 23.10 23.48 22.67 42.26 Wastewater flow rate
23.22 23.10 23.48 22.67 --- Regeneration flow rate
688.10 688.10 688.10 703.97 468.21 Wastewater concentration (ppm)
30 30 30 20 --- Post-regeneration concentration (ppm)
84% 84% 84% 89% --- Removal ratio
202.31 202.1 201.928 194.962 363.436 Freshwater cost k$/yr.
103.82 104.21 102.84 99.29 184.67 Wastewater cost k$/yr.
102.34 102.15 101.71 234.95 --- Regeneration cost
408.47 408.46 406.478 529.212 503.547 Total cost
Medium Fast Very Fast Very Fast Very Fast Convergence Speed
Table 7. the criteria and weights
FWFR CFW WWFR CWW RFR CR
CTA 42.26 363.44 42.26 184.67 0 0
ECTA 22.67 194.96 22.67 99.29 22.67 234.95
CMA 23.48 201.93 23.48 102.84 23.48 101.71
min min min min max min
Weights 0.15 0.17 0.18 0.2 0.15 0.14
5. Conclusion
To minimize and optimize water supply and wastewater in oil refinery three different targeting methods are implemented: Composite Matrix table, Extended Composite Table and Composite Matrix Algorithm. In addition, to have a better comparison among different approaches, MINLP and CS methods are examined and evaluated. Each of them has its features. Regarding reusing and recycling, CTA is proper and to consider regeneration unit, ECTA and CMA are employed. Moreover, the difference between ECTA and CMA is considered. In ECTA the proper point is set as post-regeneration concentration, in contrast, CMA method gives the opportunity to choose the optimum post-regeneration concentration between the feasible ranges of post-regeneration concentration which lead to optimize regeneration cost and minimize the final total cost.