Next Article in Journal
p53 Signaling on Microenvironment and Its Contribution to Tissue Chemoresistance
Next Article in Special Issue
A Novel Application of Recycled Ultrafiltration Membranes in an Aerobic Membrane Bioreactor (aMBR): A Proof-of-Concept Study
Previous Article in Journal
Poly(lactic acid)-poly(ethylene glycol)/Magnesium Silicate Membrane for Methylene Blue Removal: Adsorption Behavior, Mechanism, Ionic Strength and Reusability Studies
Previous Article in Special Issue
Performance Comparison of Alternative Hollow-Fiber Modules for Hemodialysis by Means of a CFD-Based Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Neural Network Based Superstructure Optimization Approach to Reverse Osmosis Desalination Plants

by
Marcello Di Martino
1,2,
Styliani Avraamidou
3 and
Efstratios N. Pistikopoulos
1,2,*
1
Artie McFerrin Department of Chemical Engineering, Texas A&M University, College Station, TX 77843, USA
2
Texas A&M Energy Institute, Texas A&M University, College Station, TX 77843, USA
3
Department of Chemical and Biological Engineering, University of Wisconsin-Madison, Madison, WI 53706, USA
*
Author to whom correspondence should be addressed.
Membranes 2022, 12(2), 199; https://doi.org/10.3390/membranes12020199
Submission received: 15 January 2022 / Revised: 5 February 2022 / Accepted: 7 February 2022 / Published: 9 February 2022
(This article belongs to the Special Issue Honorary Issue for Prof. Dr. Anastasios Karabelas)

Abstract

:
An ever-growing population together with globally depleting water resources pose immense stresses for water supply systems. Desalination technologies can reduce these stresses by generating fresh water from saline water sources. Reverse osmosis (RO), as the industry leading desalination technology, typically involves a complex network of membrane modules that separate unwanted particles from water. The optimal design and operation of these complex RO systems can be computationally expensive. In this work, we present a modeling and optimization strategy for addressing the optimal operation of an industrial-scale RO plant. We employ a feed-forward artificial neural network (ANN) surrogate modeling representation with rectified linear units as activation functions to capture the membrane behavior accurately. Several ANN set-ups and surrogate models are presented and evaluated, based on collected data from the H 2 Oaks RO desalination plant in South-Central Texas. The developed ANN is then transformed into a mixed-integer linear programming formulation for the purpose of minimizing energy consumption while maximizing water utilization. Trade-offs between the two competing objectives are visualized in a Pareto front, where indirect savings can be uncovered by comparing energy consumption for an array of water recoveries and feed flows.

Graphical Abstract

1. Introduction

Due to a worldwide growing population the demand for water is ever-increasing, leading to global water scarcity that is not only driven by water quantity, but also by water quality issues [1]. The water supply systems are further stressed by climate change together with increased intensification of agriculture, industrialization, and water withdrawal [2,3,4,5], challenging the “clean accessible water for all” UN Sustainable Development Goal for 2030 [6].
Such stresses imply that conventional water sources are no longer sufficient to meet human water demands, especially in water-scarce regions [7]. Desalination is one of the technologies which can help overcome this challenge, since fresh or potable water can be obtained from available saline water sources [8,9]. Generally, desalination technologies can be classified based on either membrane processes or thermal separation [10]. The latter are highly energy-intensive and characterized by high capital and operational costs, due to their dependency on thermal energy, mainly produced from fossil fuels. On the other hand, membrane-based desalination processes are regarded as the most promising and practical desalination technologies, due to their high process energy efficiency [11]. Among membrane processes, reverse osmosis (RO) desalination is the industry leader constituting 69% of the worldwide installed desalination capacity, equalling 65.5 M m 3 day of produced fresh water [12]. Nevertheless, RO still remains an energy intensive process requiring process optimization, to minimize energy consumption [13,14].
The operation and design of brackish water reverse osmosis (BWRO) desalination plants has already been studied in the literature [11]. Ruiz-Garcia et al. for example evaluated operational windows of two BWRO systems based on hydrochemical fluctuations in well groundwater and derived optimal operational points in terms of minimum specific energy consumption and maximum water recovery [15]. Li studied the optimal operation of a BWRO desalination plant based on a constrained nonlinear optimization model resulting in a 10% energy consumption reduction while the same permeate flows are being maintained [16]. Further, Fellaou et al. analyzed the exergy of a full-scale BWRO desalination plant to analyze the performance of the main plant components to ultimately determine inefficiencies within the plant [17]. Additionally, Patel et al. used a rigorous system-scale RO model to determine the specific energy consumption and energy efficiency of the RO process over a wide range of brackish water conditions [18]. Kotb et al. optimized several multi-stage RO system arrangements identifying the cost minimizing operational parameters [19]. On the other hand, Sassi and Mujtaba combined the solution-diffusion model with film theory to derive a nonlinear optimization framework which minimizes the specific energy consumption of the RO system at fixed permeate output and quality based on operational parameters [20].
Generally, the optimization of RO systems requires modeling the mass transfer of the employed membrane modules [21], which may result in a complex mathematical model if first order principles are employed [22,23,24]; often a computationally expensive task [25]. Data-driven surrogate models can be utilized to capture the complex mass transfer behavior of membrane systems [26], utilizing machine learning (ML) methods [27]. ML can be classified into unsupervised and supervised learning, the difference between the two being that the former is used to analyze data with no apparent input-output connection, whereas the latter is used to obtain functions mapping an explicit input-output structure within the data [28]. Within supervised learning, the utilization of feed-forward artificial neural networks (ANNs) has been very popular [29], since ANNs have excellent approximation capabilities [30]. Given a sufficient number of neurons in only one hidden layer, ANNs can virtually approximate any function of interest to any degree of accuracy [31].
ANNs have already been applied to RO membranes and processes to analyze their respective performance [32,33,34,35]. Libotean et al. for example utilized an ANN surrogate model approach to estimate RO plant performance with applications in operational diagnostics [36]. Choi et al. employed surrogate models to analyze the long-term performance of full-scale RO desalination plants [37]. Sivanantham et al. modeled and optimized the rejection of chlorophenol in spiral wound RO modules using ANNs [38]. However, the data to train the ANN is either derived by model simulation [39,40], experimental single-stage RO membrane data points [41] or water sampling [42].
Furthermore, ANNs can be used for the operation optimization of membrane-based desalination systems, enabling effective decision making and better design [43,44]. Madaeni et al. modeled three RO systems with the aid of an ANN to forecast performance degradation optimizing the operating conditions [45]. Farsi and Rosen performed a multi-objective optimization case study based on an ANN for a geothermal desalination system to evaluate the trade-off between exergy efficiency and process cost [46]. Nazif et al. optimized the operation of a RO system to reduce fouling, increase membrane life span, and minimize system cost using an ANN [47]. Soleimani et al. employed an ANN to derive Pareto-optimal solutions for maximizing the permeate output and minimizing the fouling resistance for membrane separation of wastewater [48].
To generate sustainable solutions for RO systems it is vital to consider the system implications to resources other than water, including energy and food, referred to as food-energy-water nexus (FEWN) [49,50,51,52] when optimizing the system. Namany et al. optimized the FEWN for various food security scenarios realizing that the utilization of RO reduces the environmental impact of solutions [53]. Tsolas et al. investigated a network representation-based graphical approach to the energy-water nexus incorporating reverse osmosis desalination systems [54]. Apart from that, Elmaadawy et al. designed a renewable energy system to meet the electrical load demand of a large-scale reverse osmosis desalination plant [55].
In this work, we employ a feed-forward ANN to approximate the energy consumption of an industrial-scale RO plant. We use hourly measured industrial-scale RO plant data, representing one and a half years of plant operation, to train and analyze several ANN set-ups and other surrogate models to comprehensively describe the complete plant behavior. A multi-objective optimization study is employed, where sustainability considerations are systematically taken into account to evaluate the trade-off between permeate production and energy consumption.
The remainder of this paper is structured as follows: The next section introduces the RO desalination plant under investigation, describes the obtained data and states the problem definition. In Section 3, all surrogate models are presented, and various ANN set-ups evaluated. Then, in Section 4, the optimization model is derived using a mixed-integer linear reformulation of all developed neural networks. Subsequently, the optimization model is used for minimizing the RO plant’s energy consumption, as well as for multi-objective optimization to analyze the trade-offs between energy consumption and purified water production. Lastly, Section 5 concludes this work.

2. RO Plant Description and Problem Definition

The San Antonio Water System (SAWS) H 2 Oaks Desalination plant is located in Elmendorf, Texas, just South of San Antonio, Texas. It draws water from the lower Carrizo-Wilkox Aquifer, which has a total dissolved solids (TDS) concentration of approximately 1300 mg L [56]. The inorganic composition of the feed water is provided in Table A1 of the Appendix A. The RO system consists of three stages, four primary RO trains and two secondary or concentrator RO trains. The first and second stage build the primary RO train, whereas the third stages can be summarized as the concentrator RO train. The maximum water recovery of the first stage is W R 1 m a x = 56.25 % , of the second stage is W R 2 m a x = 54.32 % and of the third stage is W R 3 m a x = 50 % . Therefore the primary RO train has a maximum water recovery of W R p r i m m a x = 80 % . Overall, this results in a RO plant with a maximum achievable water recovery of W R s y s m a x = 90 % . The detailed RO process flow structure is given in Figure 1. It can be seen that the permeate of two primary RO trains are blended and used as a feed for the third stage or concentrator RO train. Only pressurization of the initial feed flow and repressurization of the feed flow of the third stage are taking place. Further, the Advanced Turbo Turbocharger AT-1500 of Energy Recovery Inc. is used as an energy recovery device (ERD) in the desalination plant. It is located on the concentrate side of the third stage. The membrane system of each stage is specified in Figure 1. Throughout the plant spiral wound membranes BW30-400/34 produced by Dow Filmtec are used. All available measurement points and their respective type throughout the RO plant are given in the same figure.
Measurements of all marked points for one and a half years in an hourly frequency were available (beginning of 2017 to mid 2018), resulting in 14,542 data points for each parameter. In January 2017, the H 2 Oaks desalination plant has commenced operation, and therefore a variety of operating points are captured from 2017 to mid 2018, since the plant operation was still being tested.The various operational feed flows (e.g., zero feed flow for maintenance) being tested are presented in Figure 2. Information regarding the maximum ramp up and ramp down rates was also collected from this set of data, with the maximum rump up in one hour in 2017 being 97 % or 1694.35 m 3 h , and the maximum ramp down in one hour being 49 % or 858.53 m 3 h .
The concentration of the permeate flows of each stage, the permeate flow of the primary RO train and the overall permeate concentration have been measured. The first and second stage consist of four parallel RO flows, whereas the third stage consists of two parallel flows. For each respective parallel RO flow separate pressure measurements are available. Taking into account the number of membranes, columns and pressure vessels incorporated in each stage, this results roughly in a “4-2-1” RO separation set-up. Only data regarding the feed flow of the system has been collected. It is important to note that the pressure measurement of the retentate in the third stage is taking place after the energy recovery device. Also, the retentate flow of the first stage is the feed flow of the second stage. Table 1 summarizes all available data. The feed and retentate pressure of the second stage, third parallel flow, are for example given as P f , 2 , 3 and P r , 2 , 3 . The permeate concentration is specified as C p , s t a g e and the feed flow as Q f . In addition, measurements regarding the concentration of the permeate after the primary RO train ( C p , p r i m , 1 , C p , p r i m , 2 , C p , p r i m , 3 , C p , p r i m , 4 ), as well as measurements of the overall permeate concentration of the system ( C p , s u m ) are available. It is worth noting that conductivity ( μ S cm ) is a measure of concentration ( mg L ) and can be expressed as such [57], thus the two terms are used interchangeably throughout this work.
Thus, in this work, we present a framework for the optimal operation of industrial-scale RO desalination plants, using plant data to derive optimized process parameter results, with the goal of minimizing the overall energy consumption of the RO system. To do so, the obtained data is analyzed to derive linear surrogate models for all possible process parameters. If the dependencies between parameters are non-linear, ANNs with rectified linear units (ReLU) as activation functions are introduced to capture the observed behavior adequately. Then, the derived surrogate models can be reformulated as one mixed-integer linear programming (MILP) problem to optimize the energy consumption of the plant. The optimization model can further be modified to obtain Pareto-optimal solutions regarding the energy consumption minimization and the output water maximization. This work further includes a comparison of various ANN set-ups with changing inputs and outputs for calculating the overall permeate concentration of the plant. Depending on the research task at hand, researchers can choose models most tailored to their application.

3. Surrogate Modeling

Using the phenomenological transport equations for RO membranes to derive operational desalination plant parameters, results in a complex system of equations, which is computationally expensive to solve, especially within the context of optimization [24,25]. To overcome these drawbacks, linear surrogate models are employed to capture the operational RO plant behavior. To be more precise, linear correlations for the approximation of the retentate pressures of each stage and parallel flows have been derived, together with estimations of the water recovery of each stage. Then, the data has been used for the training of a feed-forward ANN with ReLUs as activation functions to approximate the permeate concentrations of each stage with the aim of calculating the overall permeate concentration of the system. An ANN with ReLUs has been selected since it can be exactly reformulated as a MILP, facilitating the optimization of the system, as it can be embedded into optimization formulations and conserve their linearity [58]. For each ANN training the obtained data has been split at random into a training set (70%), a validation set (15%) and a testing set (15%) to reduce the possibility of over- and under-fitting [59,60]. To do so, initially, the ANN is fit to the training data set by adjusting the weights and biases of all neurons in each hidden layer using the Levenberg-Marquardt algorithm to minimize the sum of squared errors [61,62]. Then, the fitted model is used for an unbiased evaluation of a second data set called validation, while the model’s hyperparameters are tuned. Lastly, the final model is used for an unbiased approximation of the independent test data set [63]. Further, for all following surrogate models each data set has been normalized between −1 and 1. All reported root mean square error (R) values are referring to the normalized data and the complete data set under investigation (training, validation and testing for ANNs). Apart from that, a linearized objective function based on the energy consumption of the RO system is derived.

3.1. Retentate Pressures

To calculate the retentate pressure of each stage i and parallel flow j a linear correlation based on the respective feed pressure has been assumed, as summarized in Equation (1).
P r , i , j = a i , j · P f , i , j + b i , j
The results of the approximation are summarized in Figure 3, Figure 4 and Figure 5 for one of the parallel flows of the first, second and third stage. The remaining results can be found in the Appendix A Table A2, Table A3, Table A4 and Table A5 and Figure A1, Figure A2, Figure A3, Figure A4, Figure A5, Figure A6 and Figure A7.
Regarding stage 3, it can be seen that even with a relatively good root mean square error of R = 0.97 the actual behavior is not captured adequately. A reason for this is most likely that in this case, the pressure measurement occurs after the energy recovery device and not immediately after the RO unit. Nevertheless, for the energy optimization it is especially important to calculate the pressure drop across the energy recovery device ( Δ P E R D , j , j = { 1 , 2 } ) since it can be used accordingly for energy recovery and therefore has the potential to improve the energy efficiency of the system [64]. Therefore, for the third stage, the pressure difference across the ERD is approximated with an ANN with ReLU activation functions. To calculate said pressure difference from the obtained data, it is assumed that the pressure drop across the RO unit is negligible ( P f , 3 , j = P r , 3 , j , j = { 1 , 2 } ) for sufficiently high pressures [65]. Further, the data set for each parallel flow has been united in one overall data set, since the plant only uses one ERD. The most advantageous ANN in terms of simplicity and accuracy was obtained for one hidden layer and three nodes, resulting in an overall root mean square error of R = 0.9983 . Further, the derived weights and biases of the ANN are summarized in Table A6 of the Appendix A. In this case, not only the accuracy could be improved, but the surrogate model follows more closely the observed trend, as can be seen in Figure 6. However, using the obtained ANN for calculating the output pressures of the ERD based on the ANN ( P o u t , j E R D = P f , 3 , j Δ P E R D , j ) did not yield satisfactory results, as can be seen in Figure A8. It is important to note that P r , 3 , j as previously mentioned in Section 2, is now renamed as P o u t , j E R D .
Since it may be desired to not only approximate the pressure difference across the ERD, but also the outlet pressure of the ERD, another ANN with ReLUs as activation functions is utilized to to so. The most advantageous result was obtained when the ANN was only trained with the data set of parallel flow one, resulting in R = 0.9786 , with one hidden layer and two nodes. The derived weights and biases of the ANN are summarized in Table A7 of the Appendix A. The results of the surrogate are summarized in Figure A9 and Figure A10. The presented approach results overall in a mathematical description of the pressures of stage 3 according to Figure 7.

3.2. Water Recoveries

To ensure that the RO plant operates adequately in terms of water consumption, the water recoveries have been estimated for each stage based on the actual pressure measured P i , j and the maximum observed pressure m a x ( P i , j ) in each stage and parallel flow. A linear correlation between the pressures of each parallel flow and the water recovery of the respective stage is assumed [66], as introduced in Equation (2). Then, based on an overall mass balance the RO plant water recovery can be calculated according to Equation (3).
W R i = W R i m a x · j P i , j j m a x ( P i , j )
W R s y s = W R 1 + W R 2 · ( 1 W R 1 ) + W R 3 · ( 1 W R 2 ) · ( 1 W R 1 )
This approach results in water recovery estimations based on the obtained data as specified in Table 2.

3.3. Permeate Concentration

Since surrogate models for the retentate pressures and energy recovery have already been defined, the only variable left to compute is the overall permeate concentration. To do so, again an ANN with ReLUs as activation functions is employed. Further, instead of simply using defined inputs as the sole inputs of the ANN ( i n p u t = { i n ( t ) } ) to compute the outputs ( o u t p u t = { o u t ( t ) } ), it is also possible to consider as an additional input the inputs of the previous time point ( i n p u t = { i n ( t ) , i n ( t 1 ) } ) or the outputs of the previous time point ( i n p u t = { i n ( t ) , o u t ( t 1 ) } ). The latter two approaches are used to capture the dynamics of the system. For all here presented ANN results, the last approach ( i n p u t = { i n ( t ) , o u t ( t 1 ) } ) was selected, since the R value was the highest for all investigated cases, compared to the other two set-ups.
Generally, with the available data, it is possible to generate surrogate models based on ANNs for several plant set-ups. It is possible to generate an ANN for each respective stage, for each RO train or for the complete RO plant. Further, several different process parameters can be considered as inputs of the ANN, as summarized in Table 3. It is worthy to note that adding several layers has been investigated for all presented cases as well. However, the accuracy could not be improved. The presented number of nodes (#nodes) in the hidden layer represents the number of nodes after which no significant change in the R value (second decimal) could be detected by further increasing the number of nodes.
Moreover, Table 3 also summarizes the results of each ANN training in terms of R, to compare the accuracy of the derived surrogate models. In this case, we desire a compromise between accuracy and simplicity of the model. The most accurate networks are being generated, when each stage is modeled separately. However, in this case the results of each surrogate have to be used for further calculations, i.e., closing the overall permeate mass balance, which reduces the accuracy of the obtained results in terms of approximating the overall permeate concentration of the system. In addition, more nodes are required to achieve these high R values (with the expectation of stage 3). Apart from that, in only 56 out of 14,543 data points (0.39%) the observed permeate concentration is higher than the restriction for drinking water ( 500 mg L [67]), with a maximum observed overall permeate concentration of 626 mg L . Therefore, we decided to use the overall RO plant surrogate model one (R = 0.895), which is arguably one of the least accurate surrogates of the presented ones, but by far the simplest one and yet still sufficiently accurate for the purpose of energy optimization, while fulfilling the drinking water quality restriction. The results of the ANN training for the selected case, split into the training, testing, validation, as well as showing the overall result, is summarized in Figure A11 of the Appendix A. Additionally, the derived weights and biases of the ANN are presented in Table A8 of the Appendix A.
It is important to mention that also a multivariate linear regression was employed instead of using an ANN, for the same inputs and outputs as the selected surrogate, which resulted in less accurate approximations (R = 0.848), as can be seen in Figure A12.

3.4. Objective Function

To calculate the overall RO plant energy consumption, the specific energy consumption (SEC) of a single pump, according to Equation (4), is applied to the RO system, resulting in an expression as shown in Equation (5) [68].
S E C = Q f · Δ P η · Q p
S E C = Q f Q p · ( 1 4 · η 1 j = 1 i = 4 P f , 1 , j + ( 1 W R 1 ) ( 1 W R 2 ) η 1 ( 1 2 j = 1 i = 2 · P f , 3 , j 1 4 j = 1 i = 4 P r , 2 , j ) ( 1 W R 1 ) ( 1 W R 2 ) ( 1 W R 3 ) · η 2 2 j = 1 i = 2 Δ P E R D , j )
Here, η 1 denotes the pump efficiency and is assumed to be 0.74. In contrast, the efficiency of the ERD is assumed to be η 2 = 0.8 [69]. The remaining factors are derived from mass balance equations considering the process flows, as presented in Figure 1. To obtain a linear objective function W R 1 , W R 2 and W R 3 are substituted for their respective maximum possible values and the first factor is neglected, resulting in Equation (6):
S E C * = 1 4 · η 1 j = 1 i = 4 P f , 1 , j + 1 10 · η 1 ( j = 1 i = 2 P f , 3 , j 1 2 j = 1 i = 4 P r , 2 , j ) η 2 20 j = 1 i = 2 Δ P E R D , j

4. Optimization Model

To incorporate the ANN to calculate the pressure difference across the ERD and the ANN to approximate the permeate concentration in the optimization model, both ANN models are reformulated as MILPs, as presented in [58,70]. Therefore, the weights and biases of the former ANN are referred to as W k , l E R D and b k , l E R D , where the hidden and output layer can be distinguished with k = { 1 , 2 } and the number of nodes in the hidden layer are given as l = { 1 , 2 , 3 } . For the latter ANN, an additional index h = { 1 , 2 , 3 , 4 , 5 } has to be introduced to distinguish the weights of the input layer for the set of inputs, resulting in W h , k , l R O and b k , l R O . Further, auxiliary variables x 1 , l , j , s 1 , l , j and z 1 , l , j are introduced for the reformulation of the ANN approximating Δ P E R D , j . Accordingly, for the ANN calculating C p , t , x 2 , l , s 2 , l and z 2 , l are introduced. To differentiate between the permeate concentration of a previous time point and the permeate concentration in the time point under investigation the indices t and t 1 are utilized. Together with the other surrogate models for the retentate pressures and the water recovery estimation, this results in the following optimization model (Equations (7)–(25)) to minimize the overall energy consumption of the RO system.
min S E C * = 1 4 · η 1 j = 1 i = 4 P f , 1 , j + 1 10 · η 1 ( j = 1 i = 2 P f , 3 , j 1 2 j = 1 i = 4 P r , 2 , j ) η 2 20 j = 1 i = 2 Δ P E R D , j
s . t . Q f Q f r e s
W R i W R i r e s , i = { 1 , 2 , 3 }
C p , t C p r e s
C p , t = C p , t 1
W R i = W R i m a x · j P i , j j m a x ( P i , j ) , i = { 1 , 2 , 3 }
P r , i , j = a i , j · P f , i , j + b i , j , i = { 1 , 2 } , j = { 1 , 2 , 3 , 4 }
P f , 2 , j = P r , 1 , j , j = { 1 , 2 , 3 , 4 }
W 1 , l E R D · P f , 3 , j + b 1 , l E R D = x 1 , l , j s 1 , l , j , j = { 1 , 2 } , l = { 1 , 2 , 3 }
l = 1 3 W 2 , l E R D · x 1 , l , j + b 2 E R D = Δ P E R D , j , j = { 1 , 2 }
x 1 , l , j z 1 , l , j · U 1 , l , j 0 , j = { 1 , 2 } , l = { 1 , 2 , 3 }
s 1 , l , j ( 1 z 1 , l , j ) · L 1 , l , j 0 , j = { 1 , 2 } , l = { 1 , 2 , 3 }
W 1 , 1 , l R O · Q f + i = 1 3 W 1 , i + 1 , l R O · W R i + W 1 , 5 , l R O · C p , t 1 + b 1 , l E R D =
= x 2 , l s 2 , l , l = { 1 , 2 , 3 }
l = 1 3 W 2 , l R O · x 2 , l + b 2 E R D = C p , t
x 2 , l z 2 , l · U 2 , l 0 , l = { 1 , 2 , 3 }
s 2 , l ( 1 z 2 , l ) · L 2 , l 0 , l = { 1 , 2 , 3 }
x 1 , l , j , s 1 , l , j , x 2 , l , s 2 , l 0 , l = { 1 , 2 , 3 } , j = { 1 , 2 }
z 1 , l , j , z 2 , l { 0 , 1 } , l = { 1 , 2 , 3 } , j = { 1 , 2 }
The objective function denoting the energy consumption of the RO plant, as derived in the previous section, is presented in Equation (7). To calculate the overall energy consumption in kW, the objective function is multiplied with Q f . To derive the specific energy consumption in kWh m 3 , the objective is divided by the overall water recovery of the system as calculated with Equation (3). From Equations (8)–(10) process restrictions are introduced to guarantee that a minimum feed flow and a minimum water recovery per stage are fulfilled, to produce drinking water ( C p r e s = 500 mg L ). Equation (11) is introduced to incorporate a steady-state process assumption and guarantee that in t 1 the water quality is comparable to the one obtained in t. Then, the water recoveries of each stage based on the presented linear pressure correlations (see Equation (2)) of the pressure in the respective parallel flows of each stage (Equation (12)) and the retentate pressure of stages one and two according to the linear pressure correlations are calculated (Equation (13)). Further, the retentate pressure of stage one is used as the feed pressure of stage two (Equation (14)). Equations (15)–(18) summarize the MILP reformulation of the ANN to approximate the pressure difference across the ERD, whereas Equations (20)–(23) are used as the representation of the ANN to calculate the overall permeate concentration. To successfully implement these reformulations, the auxiliary variables x 1 , l , j , s 1 , l , j , x 2 , l and s 2 , l have to be positive, to split the ReLU output into a positive and negative component according to the binary variables z 1 , l , j and z 2 , l (Equations (24) and (25)). This ReLU output distinction is further implemented with the inequality constraints shown in Equations (17), (18), (22) and (23), which introduce lower and upper boundaries for each output of a node in the hidden layer ( L 1 , l , j , U 1 , l , j and L 2 , l , U 2 , l ). Overall, the optimization model results in a MILP, which was solved in MATLAB using the CPLEX solver.

5. Results and Discussion

Next, the optimization model is used for two studies. First of all, the energy of the system is minimized for distinct water recovery and feed flow restrictions to enable a comparison of generated results with the actual energy consumption of the desalination plant. Then, the trade-off between energy minimization and water utilization in terms of the feed flow and the overall water recovery are visualized in a Pareto front. To do so, the ϵ -constrained method is used for multi-objective optimization [71].

5.1. Energy Minimization

To evaluate the optimization model, the overall energy consumption of the RO plant for the year 2017 is compared to the energy optimization results. Therefore, the data set for the year 2017 for the feed flow and the estimated water recovery of the system are split into 12 sets according to the month of the year. Then, the monthly average of the feed flow and the overall water recovery are calculated. The obtained values are summarized in Table 4. These values are used as a pairwise input of the optimization model to update the restrictions shown in Equations (8) and (9). More specifically, the optimization model is solved while the restrictions of Equation (9) are updated to fulfill the set overall water recovery as presented in Table 4, calculated with Equation (3).
The results of this case study are presented in Figure 8. In June 2017, the fraction of the derived RO desalination energy consumption to the overall energy consumption of the plant is at a year high of 51%, to compare, in March 2017 said fraction is at a year low of 10%, whereas calculating the average results in a fraction of only 40%. Generally, the energy consumption of the RO system is the major energy consumer of a RO plant having a major impact on the process performance and sustainability [72]. Therefore, the minimized energy consumption of the RO system is comparably low, i.e., less than half the overall consumed energy of the plant on average, yielding satisfactory results which can lead to substantial energy savings.
Originally, the obtained monthly energy consumptions were planned to be compared to literature values. However, the energy consumption of RO plants is reported in the literature normalized with the permeate output in kWh m 3 permeate . The here presented results are derived in MWh. However, the SEC of the plant for various operating points is presented and compared to literature values in Section 5.2. For now, the results of the energy optimization are compared to the overall energy consumption of the high service pumps of the desalination plant, to classify the order of magnitude of results. In 2017, the high service pumps consumed 1.5169 × 10 3 MWh year . Summing up the obtained results to calculate the energy consumption for 2017 results in 1.3929 × 10 3 MWh year . Consequently, the difference in energy consumption is 124 MWh or around 8%. Since the overall energy consumption of the RO system is in the same order of magnitude as the energy consumption of the high service pumps, the initial statement of obtaining advantageous results, in terms of minimizing the systems energy consumption, is confirmed.

5.2. Multi-Objective Optimization

After confirming the capabilities of the optimization model, the model was expanded to consider multiple objectives using multi-objective optimization. To do so, the constraints summarized in Equations (8) and (9) are updated to calculate the minimized energy for a set of water recoveries and feed flows. Compared to the previous study, where a pair of water recovery and feed flow were the inputs, an array of water recoveries and feed flows are used as inputs, performing the minimization at each feed flow for all specified water recoveries. The multi-objective optimization has only been performed in the RO plant’s relevant water recovery region of 40% to 85%. The obtained Pareto-optimal solutions are visualized in Figure 9. It can be seen that the energy consumption increases with increasing water recoveries, as well as increasing feed flows. Apart from that, it can be deducted that the energy consumption from the lowest water recovery to the highest water recovery for all feed flows increases approximately by a factor of 5. Additionally, comparing the calculated energy consumption for the highest feed flow with the lowest one, results in the deduction that the gap between the two feed flows increases with increasing water recoveries. For a water recovery of 50% the energy consumption difference between the two is approximately 125,883 kW, whereas the difference increases to 636,471 kW for a water recovery of 85%. Therefore, depending on the separation task at hand, this result can lead to indirect energy savings.
To further analyze the results, the specific energy consumption in kWh m 3 of the results is calculated and summarized in Table 5. The specific energy consumption can be approximated with the linear correlation presented in Equation (26), with an accuracy of R = 0.998.
S E C ( kWh m 3 ) = 0.753 · W R s y s ( % ) 100 0.1326
As expected, the specific energy consumption increases with the water recovery of the system. Increasing the water recovery by a factor of 1.7 from 50% to 85% results in approximately doubling the specific energy consumption (factor of 2.07), from 0.2455 kWh m 3 to 0.5072 kWh m 3 . This underlines the sensitivity of the specific energy consumption to changes in water recovery since the relative change between the respective factors is more than 20%. Lastly, we compared the obtained minimum specific energy consumption with literature values. Stillwell and Webber report observed literature values for the SEC of BWRO desalination plants between 0.5 kWh m 3 and 3 kWh m 3 [73]. In addition, Sassi and Mujtaba report a minimized SEC between 0.578 kWh m 3 and 0.730 kWh m 3 [20]. The highest here observed SEC is 0.5072 kWh m 3 for W R s y s = 85 % . Overall, this comparison underlines the competitiveness of the presented optimization methodology, as well as the potential energy savings when this approach is employed.

6. Conclusions

We presented a comprehensive methodology to utilize industrial scale RO desalination plant data for surrogate modeling and subsequent optimization. Linear surrogate models were developed for the retentate pressures of the parallel flows of the first and second stage. For the pressure difference across the ERD, as well as the output pressure of the ERD, ANNs with ReLUs were trained and reformulated as MILPs with the feed pressure of stage three as the sole input. To calculate the permeate concentration of the system several possible ANN formulations have been presented and compared in terms of their respective inputs and accuracy (R). Depending on the task at hand different surrogate models can be selected. For the subsequent optimization case studies the simplest ANN system resulted in sufficiently accurate results and was therefore reformulated as a MILP.
The optimization model was first used for minimizing the energy consumption of the RO plant based on the monthly averaged feed flows and water recoveries of the year 2017. The derived energy consumption constituted at most 51% of the monthly overall RO desalination energy consumption and on average 40% throughout the year, underlining the major energy saving potential using the presented methodology. In fact, the derived energy consumption is on the same order of magnitude as the energy consumption of the high service pumps of the RO plant.
Then, the model was used to derive a Pareto front to illustrate the trade-offs between minimizing the energy of the system as well as maximizing the feed flow and water recovery of the system. Here, the potential for indirect savings was uncovered by comparing the increase in energy consumption for the lowest and highest utilized feed flows. The results were further analyzed in terms of the specific energy consumption of the system, which ultimately showed the significant impact of changing water recoveries on the specific energy consumption.
Overall, the presented methodology should be understood as a recipe for other researchers on how to move from obtained RO data sets to an optimization model for single and multi-objective optimization using linear data driven surrogate models. In subsequent work, the objective function can be re-evaluated by introducing a nonlinear function and compare obtained results to the linear case. Moreover, if other data points across the plant can be obtained, i.e., the permeate flows or water recoveries for each stage, the accuracy of the surrogates can be further validated and if necessary modified.

Author Contributions

Conceptualization, M.D.M. and S.A.; methodology, M.D.M. and S.A.; software, M.D.M.; validation, M.D.M.; formal analysis, M.D.M. and S.A.; investigation, M.D.M.; resources, E.N.P.; data curation, M.D.M.; writing—original draft preparation, M.D.M.; writing—review and editing, M.D.M., S.A. and E.N.P.; visualization, M.D.M.; supervision, S.A. and E.N.P.; project administration, E.N.P.; funding acquisition, E.N.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Texas A&M University and the Texas A&M Energy Institute.

Data Availability Statement

The data of this study can be provided by the authors upon request.

Acknowledgments

The authors would like to thank the Texas A&M Energy Institute and the Multi-parametric optimization & control group for their help and support. Furthermore, the authors would like to thank the SAWS H 2 Oaks Desalination Facility.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial neural network
BWROBrackish water reverse osmosis
ERDEnergy recovery device
FEWNFood-energy-water nexus
GPMGallons per minute
MILPMixed-integer linear programming
MLMachine learning
PSIPounds per square inch
ROReverse osmosis
SAWSSan Antonio Water System
SECSpecific energy consumption
TDSTotal dissolved solids

Symbols

The following Symbols are used in this manuscript:
QVolume flow m 3 h ( gal min )
W R Water recovery%
PPressurebar (psi)
Δ P Pressure differencebar (psi)
CConcentration mg L ( μ S cm )
RRoot mean square error-
WWeight of an ANN node-
bBias of an ANN node-
xPositive ReLU output-
sNegative ReLU output-
zBinary variable to distinct between positive and negative ReLU outputs-
LLower boundary-
UUpper boundary-
η 1 Pump efficiency-
η 2 ERD efficiency-

Indices

The following Indices are used in this manuscript:
fFeed
pPermeate
rRetentate
s y s System (water recovery specific)
s u m Overall system value (permeate concentration specific)
p r i m a r y Primary RO train
m a x Maximum possible value
r e s restriction (bound on a variable)
hinput factors of hidden layer h { 1 , 2 , 3 , 4 , 5 }
inumber of stages i { 1 , 2 , 3 }
jnumber of parallel flows j { 1 , 2 , 3 , 4 }
knumber of ANN layers k { 1 , 2 }
lnumber of nodes in hidden layer l { 1 , 2 , 3 }
E R D Energy recovery device

Appendix A

Table A1. Inorganic feed water composition of the RO plant. Comparison of taken measurements in January and July 2017.
Table A1. Inorganic feed water composition of the RO plant. Comparison of taken measurements in January and July 2017.
AnalyteResults January 2017 ( mg L )Results July 2017 ( mg L )
Total Alkalinity as CaCO 3 222227
Total Dissolved Solids13001350
Chloride237243
Fluoride0.215Not measured
Nitrate<0.5Not measured
Phosphate<0.1Not measured
Sulfate462481
Calcium26.824.4
Iron0.2160.171
Magnesium12.511.0
Silicon7.608.15
Sodium418416
Strontium2.171.96
Iron Dissolved<0.1250.159
Aluminum 13.9 × 10 3 14.1 × 10 3
Barium 32.8 × 10 3 31.5 × 10 3
Hardness (Ca/Mg calculation)118106
Silica as SIO 2 , Total16.317.4
Table A2. Normalized liner regression results for the retentate pressure of Stage 1.
Table A2. Normalized liner regression results for the retentate pressure of Stage 1.
Stage 1
Parallel Flow1234
Slope0.97380.99610.96390.9394
Intercept−0.0178−0.0109−0.0159−0.0429
Table A3. Normalized liner regression results for the retentate pressure of Stage 2.
Table A3. Normalized liner regression results for the retentate pressure of Stage 2.
Stage 2
Parallel Flow1234
Slope0.94280.97170.93870.8924
Intercept−0.04380.0002−0.0344−0.0821
Table A4. Normalized liner regression results for the retentate pressure of Stage 3.
Table A4. Normalized liner regression results for the retentate pressure of Stage 3.
Stage 3
Parallel Flow12
Slope0.57040.5551
Intercept−0.2841−0.3053
Table A5. Linear regression performance for the retentate pressure of each stage and parallel flow, in terms of R (root mean square error).
Table A5. Linear regression performance for the retentate pressure of each stage and parallel flow, in terms of R (root mean square error).
Parallel FlowStage 1Stage 2Stage 3
10.99960.99970.9744
20.99650.99970.9746
30.99970.9999X
40.99960.9998X
Figure A1. Linear regression results of retentate pressure of stage 1, second parallel flow.
Figure A1. Linear regression results of retentate pressure of stage 1, second parallel flow.
Membranes 12 00199 g0a1
Figure A2. Linear regression results of retentate pressure of stage 1, third parallel flow.
Figure A2. Linear regression results of retentate pressure of stage 1, third parallel flow.
Membranes 12 00199 g0a2
Table A6. Weights and biases of the ANN to approximate Δ P o u t E R D . One input ( P f , 3 , j ) and one hidden layer with three nodes.
Table A6. Weights and biases of the ANN to approximate Δ P o u t E R D . One input ( P f , 3 , j ) and one hidden layer with three nodes.
LayerWeightBias
Hidden layer0.7617−0.2093
−0.93460.6925
0.77750.3956
Output layer−0.5216
−0.4094−0.3413
1.2498
Figure A3. Linear regression results of retentate pressure of stage 1, fourth parallel flow.
Figure A3. Linear regression results of retentate pressure of stage 1, fourth parallel flow.
Membranes 12 00199 g0a3
Figure A4. Linear regression results of retentate pressure of stage 2, second parallel flow.
Figure A4. Linear regression results of retentate pressure of stage 2, second parallel flow.
Membranes 12 00199 g0a4
Table A7. Weights and biases of the ANN to approximate P o u t , j E R D , j = { 1 , 2 } . One input ( P f , 3 , j ) and one hidden layer with two nodes.
Table A7. Weights and biases of the ANN to approximate P o u t , j E R D , j = { 1 , 2 } . One input ( P f , 3 , j ) and one hidden layer with two nodes.
LayerWeightBias
Hidden layer−1.7695−1.3021
1.7932−1.3353
Output layer−2.0706−0.017
2.1311
Figure A5. Linear regression results of retentate pressure of stage 2, third parallel flow.
Figure A5. Linear regression results of retentate pressure of stage 2, third parallel flow.
Membranes 12 00199 g0a5
Figure A6. Linear regression results of retentate pressure of stage 2, fourth parallel flow.
Figure A6. Linear regression results of retentate pressure of stage 2, fourth parallel flow.
Membranes 12 00199 g0a6
Table A8. Weights and biases of the ANN to approximate C p , s u m . Five inputs ( Q f , W R 1 , W R 2 , W R 3 , C p , t 1 ) and one hidden layer with three nodes.
Table A8. Weights and biases of the ANN to approximate C p , s u m . Five inputs ( Q f , W R 1 , W R 2 , W R 3 , C p , t 1 ) and one hidden layer with three nodes.
LayerWeightBias
Hidden layer−0.9282 0.1619 1.1833 −0.7842 1.22630.2516
−0.0198 −0.0470 0.0774 0.0187 −1.4914−0.4574
−0.6438 1.0768 −2.2842 0.9856 0.7062−0.5085
Output layer−0.2997
−0.5658−0.3704
1.8043
Figure A7. Linear regression results of retentate pressure of stage 3, second parallel flow.
Figure A7. Linear regression results of retentate pressure of stage 3, second parallel flow.
Membranes 12 00199 g0a7
Figure A8. Calculation results P o u t E R D based on the surrogate model for Δ P o u t E R D . Both parallel flows are taken into account.
Figure A8. Calculation results P o u t E R D based on the surrogate model for Δ P o u t E R D . Both parallel flows are taken into account.
Membranes 12 00199 g0a8
Figure A9. Approximation of P o u t E R D , 1 with a separate ANN, based on stage 3 parallel flow one.
Figure A9. Approximation of P o u t E R D , 1 with a separate ANN, based on stage 3 parallel flow one.
Membranes 12 00199 g0a9
Figure A10. Approximation of P o u t E R D , 2 with a separate ANN, based on stage 3 parallel flow one.
Figure A10. Approximation of P o u t E R D , 2 with a separate ANN, based on stage 3 parallel flow one.
Membranes 12 00199 g0a10
Figure A11. Results of the ANN training for the approximation of the overall permeate concentration, R = 0.895.
Figure A11. Results of the ANN training for the approximation of the overall permeate concentration, R = 0.895.
Membranes 12 00199 g0a11
Figure A12. Normalized results multivariate linear regression of the RO system to approximate the overall permeate concentration C p , s u m , R = 0.848.
Figure A12. Normalized results multivariate linear regression of the RO system to approximate the overall permeate concentration C p , s u m , R = 0.848.
Membranes 12 00199 g0a12

References

  1. van Vliet, M.T.H.; Jones, E.R.; Flörke, M.; Franssen, W.H.P.; Hanasaki, N.; Wada, Y.; Yearsley, J.R. Global water scarcity including surface water quality and expansions of clean water technologies. Environ. Res. Lett. 2021, 16, 024020. [Google Scholar] [CrossRef]
  2. UNEP. A Snapshot of the World’s Water Quality: Towards a global assessment. In Nairobi, United Nations Environment Programme; 2016; Available online: https://uneplive.unep.org/media/docs/assessments/unep_wwqa_report_web.pdf (accessed on 3 February 2022).
  3. Prudhomme, C.; Giuntoli, I.; Robinson, E.L.; Clark, D.B.; Arnell, N.W.; Dankers, R.; Fekete, B.M.; Franssen, W.; Gerten, D.; Gosling, S.N.; et al. Hydrological droughts in the 21st century, hotspots and uncertainties from a global multimodel ensemble experiment. Proc. Natl. Acad. Sci. USA 2014, 111, 3262–3267. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. MacDonald, A.; Bonsor, H.; Ahmed, K.; Burgess, W.; Basharat, M.; Calow, R.; Dixit, A.; Foster, S.; Gopal, K.; Lapworth, D.; et al. Groundwater quality and depletion in the Indo-Gangetic Basin mapped from in situ observations. Nat. Geosci. 2016, 9, 762–766. [Google Scholar] [CrossRef]
  5. Kulat, M.I.; Mohtar, R.H.; Olivera, F. Holistic Water-Energy-Food Nexus for Guiding Water Resources Planning: Matagorda County, Texas Case. Front. Environ. Sci. 2019, 7, 3. [Google Scholar] [CrossRef] [Green Version]
  6. UN. General Assembly. General Assembly Resolution 70/1: Transforming Our World: The 2030 Agenda for Sustainable Development. 2015. Available online: https://www.un.org/en/development/desa/population/migration/generalassembly/docs/globalcompact/A_RES_70_1_E.pdf (accessed on 3 February 2022).
  7. Jones, E.; Qadir, M.; van Vliet, M.T.; Smakhtin, V.; mu Kang, S. The state of desalination and brine production: A global outlook. Sci. Total Environ. 2019, 657, 1343–1356. [Google Scholar] [CrossRef] [PubMed]
  8. Bundschuh, J.; Kaczmarczyk, M.; Ghaffour, N.; Tomaszewska, B. State-of-the-art of renewable energy sources used in water desalination: Present and future prospects. Desalination 2021, 508, 115035. [Google Scholar] [CrossRef]
  9. Di Martino, M.; Avraamidou, S.; Pistikopoulos, E. Superstructure Optimization for the Design of a Desalination Plant to Tackle the Water Scarcity in Texas (USA). In Proceedings of the 30th European Symposium on Computer Aided Process Engineering, Milan, Italy, 31 August–2 September 2020; Pierucci, S., Manenti, F., Bozzano, G.L., Manca, D., Eds.; Elsevier: Amsterdam, The Netherlands, 2020; Volume 48, pp. 763–768. [Google Scholar] [CrossRef]
  10. Okampo, E.J.; Nwulu, N. Optimisation of renewable energy powered reverse osmosis desalination systems: A state-of-the-art review. Renew. Sustain. Energy Rev. 2021, 140, 110712. [Google Scholar] [CrossRef]
  11. Qasim, M.; Badrelzaman, M.; Darwish, N.N.; Darwish, N.A.; Hilal, N. Reverse osmosis desalination: A state-of-the-art review. Desalination 2019, 459, 59–104. [Google Scholar] [CrossRef] [Green Version]
  12. Feria-Díaz, J.J.; Correa-Mahecha, F.; López-Méndez, M.C.; Rodríguez-Miranda, J.P.; Barrera-Rojas, J. Recent Desalination Technologies by Hybridization and Integration with Reverse Osmosis: A Review. Water 2021, 13, 1369. [Google Scholar] [CrossRef]
  13. Di Martino, M.; Avraamidou, S.; Cook, J.; Pistikopoulos, E.N. An optimization framework for the design of reverse osmosis desalination plants under food-energy-water nexus considerations. Desalination 2021, 503, 114937. [Google Scholar] [CrossRef]
  14. Shammi, M.; Mostafizur, M.R. 13 - Desalination technologies and potential mathematical modeling for sustainable water–energy nexus. In Water Engineering Modeling and Mathematic Tools; Samui, P., Bonakdari, H., Deo, R., Eds.; Elsevier: Amsterdam, The Netherlands, 2021; pp. 251–269. [Google Scholar] [CrossRef]
  15. Ruiz-García, A.; Nuez, I.; Carrascosa-Chisvert, M.; Santana, J. Simulations of BWRO systems under different feedwater characteristics. Analysis of operation windows and optimal operating points. Desalination 2020, 491, 114582. [Google Scholar] [CrossRef]
  16. Li, M. Chapter 5: Optimization and Plant Validation of BWRO Operation. In Analysis and Design of Membrane Processes; AIP Publishing LLC: Melville, NY, USA, 2020; pp. 5-1–5-42. [Google Scholar] [CrossRef]
  17. Fellaou, S.; Ruiz-Garcia, A.; Gourich, B. Enhanced exergy analysis of a full-scale brackish water reverse osmosis desalination plant. Desalination 2021, 506, 114999. [Google Scholar] [CrossRef]
  18. Patel, S.K.; Biesheuvel, P.M.; Elimelech, M. Energy Consumption of Brackish Water Desalination: Identifying the Sweet Spots for Electrodialysis and Reverse Osmosis. ACS ES&T Eng. 2021, 1, 851–864. [Google Scholar] [CrossRef]
  19. Kotb, H.; Amer, E.; Ibrahim, K. On the optimization of RO (Reverse Osmosis) system arrangements and their operating conditions. Energy 2016, 103, 127–150. [Google Scholar] [CrossRef]
  20. Sassi, K.M.; Mujtaba, I.M. Simulation and Optimization of Full Scale Reverse Osmosis Desalination Plant. In 20th European Symposium on Computer Aided Process Engineering; Pierucci, S., Ferraris, G.B., Eds.; Elsevier: Amsterdam, The Netherlands, 2010; Volume 28, pp. 895–900. [Google Scholar] [CrossRef]
  21. Seo, J.; Kim, Y.M.; Chae, S.H.; Lim, S.J.; Park, H.; Kim, J.H. An optimization strategy for a forward osmosis-reverse osmosis hybrid process for wastewater reuse and seawater desalination: A modeling study. Desalination 2019, 463, 40–49. [Google Scholar] [CrossRef]
  22. Ling, B.; Xie, P.; Ladner, D.; Battiato, I. Dynamic Modeling of Fouling in Reverse Osmosis Membranes. Membranes 2021, 11, 349. [Google Scholar] [CrossRef]
  23. Wei, W.; Zou, X.; Ji, X.; Zhou, R.; Zhao, K.; Wang, Y. Analysis of Concentration Polarisation in Full-Size Spiral Wound Reverse Osmosis Membranes Using Computational Fluid Dynamics. Membranes 2021, 11, 353. [Google Scholar] [CrossRef]
  24. Putić, L.; Alnouri, S.; Stijepović, V.; Stajić-Trošić, J.; Grujić, A.; Stijepović, M. A universal transportation model for reverse osmosis systems. Comput. Chem. Eng. 2021, 148, 107264. [Google Scholar] [CrossRef]
  25. Rall, D.; Schweidtmann, A.M.; Kruse, M.; Evdochenko, E.; Mitsos, A.; Wessling, M. Multi-scale membrane process optimization with high-fidelity ion transport models through machine learning. J. Membr. Sci. 2020, 608, 118208. [Google Scholar] [CrossRef]
  26. White, D.A.; Arrighi, W.J.; Kudo, J.; Watts, S.E. Multiscale topology optimization using neural network surrogate models. Comput. Methods Appl. Mech. Eng. 2019, 346, 1118–1135. [Google Scholar] [CrossRef]
  27. Schweidtmann, A.M.; Esche, E.; Fischer, A.; Kloft, M.; Repke, J.U.; Sager, S.; Mitsos, A. Machine Learning in Chemical Engineering: A Perspective. Chem. Ing. Tech. 2021, 93, 2029–2039. [Google Scholar] [CrossRef]
  28. Bishop, C.M.; Nasrabadi, N.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2006; Volume 4, ISBN 978-0-387-31073-2. [Google Scholar]
  29. Lee, J.H.; Shin, J.; Realff, M.J. Machine learning: Overview of the recent progresses and implications for the process systems engineering field. Comput. Chem. Eng. 2018, 114, 111–121. [Google Scholar] [CrossRef]
  30. Schweidtmann, A.M.; Mitsos, A. Deterministic Global Optimization with Artificial Neural Networks Embedded. J. Optim. Theory Appl. 2019, 180, 925–948. [Google Scholar] [CrossRef] [Green Version]
  31. Hornik, K.; Stinchcombe, M.; White, H. Multilayer feedforward networks are universal approximators. Neural Netw. 1989, 2, 359–366. [Google Scholar] [CrossRef]
  32. Cabrera, P.; Carta, J.A.; González, J.; Melián, G. Artificial neural networks applied to manage the variable operation of a simple seawater reverse osmosis plant. Desalination 2017, 416, 140–156. [Google Scholar] [CrossRef]
  33. Li, Q.; Loy-Benitez, J.; Nam, K.; Hwangbo, S.; Rashidi, J.; Yoo, C. Sustainable and reliable design of reverse osmosis desalination with hybrid renewable energy systems through supply chain forecasting using recurrent neural networks. Energy 2019, 178, 277–292. [Google Scholar] [CrossRef]
  34. Farahbakhsh, J.; Delnavaz, M.; Vatanpour, V. Simulation and characterization of novel reverse osmosis membrane prepared by blending polypyrrole coated multiwalled carbon nanotubes for brackish water desalination and antifouling properties using artificial neural networks. J. Membr. Sci. 2019, 581, 123–138. [Google Scholar] [CrossRef]
  35. Khayet, M.; Cojocaru, C.; Essalhi, M. Artificial neural network modeling and response surface methodology of desalination by reverse osmosis. J. Membr. Sci. 2011, 368, 202–214. [Google Scholar] [CrossRef]
  36. Libotean, D.; Giralt, J.; Giralt, F.; Rallo, R.; Wolfe, T.; Cohen, Y. Neural network approach for modeling the performance of reverse osmosis membrane desalting. J. Membr. Sci. 2009, 326, 408–419. [Google Scholar] [CrossRef]
  37. Choi, Y.; Lee, Y.; Shin, K.; Park, Y.; Lee, S. Analysis of long-term performance of full-scale reverse osmosis desalination plant using artificial neural network and tree model. Environ. Eng. Res. 2020, 25, 763–770. [Google Scholar] [CrossRef]
  38. Sivanantham, V.; Narayana, P.; Hyeong, K.J.; Pareddy, P.; Sangeetha, V.; Kyoung-Seok, M.; In, K.H.; Sung, H.K.; Reddy, N. Modeling and optimization of chlorophenol rejection for spiral wound reverse osmosis membrane modules. Chemosphere 2021, 268, 129345. [Google Scholar] [CrossRef] [PubMed]
  39. Gu, J.; Luo, J.; Li, M.; Huang, C.; Heng, Y. Modeling of pressure drop in reverse osmosis feed channels using multilayer artificial neural networks. Chem. Eng. Res. Des. 2020, 159, 146–156. [Google Scholar] [CrossRef]
  40. Jbari, Y.; Abderafi, S. Parametric study to enhance performance of wastewater treatment process, by reverse osmosis-photovoltaic system. Appl. Water Sci. 2020, 10, 217. [Google Scholar] [CrossRef]
  41. Srivastava, A.; K, A.; Nair, A.; Ram, S.; Agarwal, S.; Ali, J.; Singh, R.; Garg, M.C. Response surface methodology and artificial neural network modelling for the performance evaluation of pilot-scale hybrid nanofiltration (NF) & reverse osmosis (RO) membrane system for the treatment of brackish ground water. J. Environ. Manag. 2021, 278, 111497. [Google Scholar] [CrossRef]
  42. Aish, A.M.; Zaqoot, H.A.; Abdeljawad, S.M. Artificial neural network approach for predicting reverse osmosis desalination plants performance in the Gaza Strip. Desalination 2015, 367, 240–247. [Google Scholar] [CrossRef]
  43. Mahadeva, R.; Manik, G.; Goel, A.; Dhakal, N. A review of the artificial neural network based modelling and simulation approaches applied to optimize reverse osmosis desalination techniques. Desalin. Water Treat. 2019, 156, 245–256. [Google Scholar] [CrossRef]
  44. Jawad, J.; Hawari, A.H.; Javaid Zaidi, S. Artificial neural network modeling of wastewater treatment and desalination using membrane processes: A review. Chem. Eng. J. 2021, 419, 129540. [Google Scholar] [CrossRef]
  45. Madaeni, S.S.; Shiri, M.; Kurdian, A. Modeling, optimization, and control of reverse osmosis water treatment in kazeroon power plant using neural network. Chem. Eng. Commun. 2015, 202, 6–14. [Google Scholar] [CrossRef]
  46. Farsi, A.; Rosen, M.A. Multi-Objective Optimization of a Geothermal Steam Turbine Combined With Reverse Osmosis and Multi-Effect Desalination for Sustainable Freshwater Production. J. Energy Resour. Technol. 2022, 144, 052102. [Google Scholar] [CrossRef]
  47. Nazif, S.; Mirashrafi, E.; Roghani, B.; Bidhendi, G.N. Artificial Intelligence–Based Optimization of Reverse Osmosis Systems Operation Performance. J. Environ. Eng. 2020, 146, 04019106. [Google Scholar] [CrossRef]
  48. Soleimani, R.; Shoushtari, N.A.; Mirza, B.; Salahi, A. Experimental investigation, modeling and optimization of membrane separation using artificial neural network and multi-objective optimization using genetic algorithm. Chem. Eng. Res. Des. 2013, 91, 883–903. [Google Scholar] [CrossRef]
  49. Allen, R.C.; Nie, Y.; Avraamidou, S.; Pistikopoulos, E.N. Infrastructure Planning and Operational Scheduling for Power Generating Systems: An Energy-Water Nexus Approach. In Proceedings of the 9th International Conference on Foundations of Computer-Aided Process Design; Muñoz, S.G., Laird, C.D., Realff, M.J., Eds.; Elsevier: Amsterdam, The Netherlands, 2019; Volume 47, pp. 233–238. [Google Scholar] [CrossRef]
  50. Nie, Y.; Avraamidou, S.; Xiao, X.; Pistikopoulos, E.N.; Li, J.; Zeng, Y.; Song, F.; Yu, J.; Zhu, M. A Food-Energy-Water Nexus approach for land use optimization. Sci. Total Environ. 2019, 659, 7–19. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  51. Avraamidou, S.; Beykal, B.; Pistikopoulos, I.P.; Pistikopoulos, E.N. A hierarchical food-energy-water nexus (FEW-N) decision-making approach for land use optimization. In Computer Aided Chemical Engineering; Elsevier: Amsterdam, The Netherlands, 2018; Volume 44, pp. 1885–1890. [Google Scholar]
  52. Avraamidou, S.; Milhorn, A.; Sarwar, O.; Pistikopoulos, E.N. Towards a quantitative food-energy-water nexus metric to facilitate decision making in process systems: A case study on a dairy production plant. In Computer Aided Chemical Engineering; Elsevier: Amsterdam, The Netherlands, 2018; Volume 43, pp. 391–396. [Google Scholar]
  53. Namany, S.; Al-Ansari, T.; Govindan, R. Optimisation of the energy, water, and food nexus for food security scenarios. Comput. Chem. Eng. 2019, 129, 106513. [Google Scholar] [CrossRef]
  54. Tsolas, S.D.; Karim, M.N.; Hasan, M.F. Optimization of water-energy nexus: A network representation-based graphical approach. Appl. Energy 2018, 224, 230–250. [Google Scholar] [CrossRef]
  55. Elmaadawy, K.; Kotb, K.M.; Elkadeem, M.; Sharshir, S.W.; Dán, A.; Moawad, A.; Liu, B. Optimal sizing and techno-enviro-economic feasibility assessment of large-scale reverse osmosis desalination powered with hybrid renewable energy sources. Energy Convers. Manag. 2020, 224, 113377. [Google Scholar] [CrossRef]
  56. Texas Water Development Board. Carrizo-Wilcox Aquifer: Summary. 2019. Available online: https://www.twdb.texas.gov/groundwater/aquifer/majors/carrizo-wilcox.asp (accessed on 12 January 2022).
  57. Atekwana, E.A.; Atekwana, E.A.; Rowe, R.S.; Werkema, D.D.; Legall, F.D. The relationship of total dissolved solids measurements to bulk electrical conductivity in an aquifer contaminated with hydrocarbon. J. Appl. Geophys. 2004, 56, 281–294. [Google Scholar] [CrossRef]
  58. Grimstad, B.; Andersson, H. ReLU networks as surrogate models in mixed-integer linear programs. Comput. Chem. Eng. 2019, 131, 106580. [Google Scholar] [CrossRef] [Green Version]
  59. Katz, J.; Pappas, I.; Avraamidou, S.; Pistikopoulos, E.N. Integrating deep learning models and multiparametric programming. Comput. Chem. Eng. 2020, 136, 106801. [Google Scholar] [CrossRef]
  60. Jabbar, H.; Khan, R.Z. Methods to avoid over-fitting and under-fitting in supervised machine learning (comparative study). Comput. Sci. Commun. Instrum. Devices 2015, 70, 163–172. [Google Scholar] [CrossRef]
  61. Ripley, B.D. Pattern Recognition and Neural Networks; Cambridge University Press: Cambridge, UK, 1996. [Google Scholar] [CrossRef]
  62. Lera, G.; Pinzolas, M. Neighborhood based Levenberg-Marquardt algorithm for neural network training. IEEE Trans. Neural Netw. 2002, 13, 1200–1203. [Google Scholar] [CrossRef]
  63. Brownlee, J. What Is the Difference Between Test and Validation Datasets? 2017. Available online: https://machinelearningmastery.com/difference-test-validation-datasets/ (accessed on 3 February 2022).
  64. Alsarayreh, A.A.; Al-Obaidi, M.; Al-Hroub, A.; Patel, R.; Mujtaba, I. Evaluation and minimisation of energy consumption in a medium-scale reverse osmosis brackish water desalination plant. J. Clean. Prod. 2020, 248, 119220. [Google Scholar] [CrossRef]
  65. Merten, U. Flow relationships in reverse osmosis. Ind. Eng. Chem. Fundam. 1963, 2, 229–232. [Google Scholar] [CrossRef]
  66. Villafafila, A.; Mujtaba, I. Fresh water by reverse osmosis based desalination: Simulation and optimisation. Desalination 2003, 155, 1–13. [Google Scholar] [CrossRef]
  67. Pick, T. Assessing Water Quality for Human Consumption, Agriculture, and Aquatic Life Uses; Environment Technical Note No. MT-1 (Rev. 2); United States Department of Agriculture, Natural Resources Conservation Service: Washington, DC, USA, 2011; Volume 1, p. 31.
  68. Zhu, A.; Rahardianto, A.; Christofides, P.D.; Cohen, Y. Reverse osmosis desalination with high permeability membranes—Cost optimization and research needs. Desalin. Water Treat. 2010, 15, 256–266. [Google Scholar] [CrossRef]
  69. Marcovecchio, M.G.; Aguirre, P.A.; Scenna, N.J. Global optimal design of reverse osmosis networks for seawater desalination: Modeling and algorithm. Desalination 2005, 184, 259–271. [Google Scholar] [CrossRef]
  70. Katz, J.; Pappas, I.; Avraamidou, S.; Pistikopoulos, E.N. The Integration of Explicit MPC and ReLU based Neural Networks. IFAC-PapersOnLine 2020, 53, 11350–11355. [Google Scholar] [CrossRef]
  71. Pappas, I.; Avraamidou, S.; Katz, J.; Burnak, B.; Beykal, B.; Türkay, M.; Pistikopoulos, E.N. Multiobjective Optimization of Mixed-Integer Linear Programming Problems: A Multiparametric Optimization Approach. Ind. Eng. Chem. Res. 2021, 60, 23. [Google Scholar] [CrossRef]
  72. Karabelas, A.; Koutsou, C.; Kostoglou, M.; Sioutopoulos, D. Analysis of specific energy consumption in reverse osmosis desalination processes. Desalination 2018, 431, 15–21. [Google Scholar] [CrossRef]
  73. Stillwell, A.S.; Webber, M.E. Predicting the Specific Energy Consumption of Reverse Osmosis Desalination. Water 2016, 8, 601. [Google Scholar] [CrossRef]
Figure 1. RO process overview and available measurements of the H 2 Oaks Desalination plant.
Figure 1. RO process overview and available measurements of the H 2 Oaks Desalination plant.
Membranes 12 00199 g001
Figure 2. Feed flows of the RO plant of the fist six month of the year 2017.
Figure 2. Feed flows of the RO plant of the fist six month of the year 2017.
Membranes 12 00199 g002
Figure 3. Linear regression results of retentate pressure of stage 1, first parallel flow.
Figure 3. Linear regression results of retentate pressure of stage 1, first parallel flow.
Membranes 12 00199 g003
Figure 4. Linear regression results of retentate pressure of stage 2, first parallel flow.
Figure 4. Linear regression results of retentate pressure of stage 2, first parallel flow.
Membranes 12 00199 g004
Figure 5. Linear regression results of retentate pressure of stage 3, first parallel flow.
Figure 5. Linear regression results of retentate pressure of stage 3, first parallel flow.
Membranes 12 00199 g005
Figure 6. ANN with ReLUs for the approximation of the pressure difference across the ERD in stage 3.
Figure 6. ANN with ReLUs for the approximation of the pressure difference across the ERD in stage 3.
Membranes 12 00199 g006
Figure 7. Stage 3 pressure description.
Figure 7. Stage 3 pressure description.
Membranes 12 00199 g007
Figure 8. Energy minimization results of the year 2017. Comparison of minimized energy results and the overall RO plant energy consumption.
Figure 8. Energy minimization results of the year 2017. Comparison of minimized energy results and the overall RO plant energy consumption.
Membranes 12 00199 g008
Figure 9. Pareto front evaluating the trade-off between minimizing the energy consumption in kW, the feed flow, as well as the water recovery of the system.
Figure 9. Pareto front evaluating the trade-off between minimizing the energy consumption in kW, the feed flow, as well as the water recovery of the system.
Membranes 12 00199 g009
Table 1. Overview of measured data throughout the RO plant per stage. The pressures were measured in psi and the feed flow in gal min . Both have been converted to SI units.
Table 1. Overview of measured data throughout the RO plant per stage. The pressures were measured in psi and the feed flow in gal min . Both have been converted to SI units.
ParameterStage 1Stage 2Stage 3
Feed pressure (bar) P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4 P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4 P f , 3 , 1 , P f , 3 , 2
Retentate pressure (bar) P r , 2 , 1 , P r , 2 , 2 , P r , 2 , 3 , P r , 2 , 4 P r , 3 , 1 , P r , 3 , 2
Permeate Conductivity ( μ S cm ) C p , 1 , 1 , C p , 1 , 2 , C p , 1 , 3 , C p , 1 , 4 C p , 2 , 1 , C p , 2 , 2 , C p , 2 , 3 , C p , 2 , 4 C p , 3 , 1 , C p , 3 , 2
Feed flow ( m 3 h ) Q f
Table 2. Results of estimating the water recoveries throughout the RO plant.
Table 2. Results of estimating the water recoveries throughout the RO plant.
ParameterMeanMaxMin
W R 1 31.13 % 52.77 % 0.37 %
W R 2 29.35 % 50.16 % 0.34 %
W R 3 18.60 % 39.50 % 0 %
W R s y s 57.92 % 85.66 % 0.97 %
Table 3. Inputs and outputs of various possible ANNs. In each case only one hidden layer has been considered ( i n p u t = { i n ( t ) , o u t ( t 1 ) } ; o u t p u t = { o u t ( t ) } ).
Table 3. Inputs and outputs of various possible ANNs. In each case only one hidden layer has been considered ( i n p u t = { i n ( t ) , o u t ( t 1 ) } ; o u t p u t = { o u t ( t ) } ).
ApproachInputOutput#NodesR
Q f , W R 1 C p , 1 , 1 , C p , 1 , 2 ,70.961
C p , 1 , 3 , C p , 1 , 4
Q f , W R 1 , C p , 1 , 1 , C p , 1 , 2 ,100.973
Stage 1 P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4 C p , 1 , 3 , C p , 1 , 4
Q f , W R 1 , C p , 1 , 1 , C p , 1 , 2 ,
C p , 1 , 3 , C p , 1 , 4
90.972
P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4 ,
P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4
( 1 W R 1 ) · Q f , W R 2 C p , 2 , 1 , C p , 2 , 2 ,80.958
C p , 2 , 3 , C p , 2 , 4
( 1 W R 1 ) · Q f , W R 2 , C p , 2 , 1 , C p , 2 , 2 ,120.965
Stage 2 P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4 C p , 2 , 3 , C p , 2 , 4
( 1 W R 1 ) · Q f , W R 2 , C p , 2 , 1 , C p , 2 , 2 ,
C p , 2 , 3 , C p , 2 , 4
110.964
P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4 ,
P r , 2 , 1 , P r , 2 , 2 , P r , 2 , 3 , P r , 2 , 4
Q f , W R 1 , W R 2 C p , p r i m , 1 , C p , p r i m , 2 ,80.952
C p , p r i m , 3 , C p , p r i m , 4
Q f , W R 1 , W R 2 , C p , p r i m , 1 , C p , p r i m , 2 ,
C p , p r i m , 3 , C p , p r i m , 4
50.951
P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4 ,
Primary RO train P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4
Q f , W R 1 , W R 2 , C p , p r i m , 1 , C p , p r i m , 2 ,
C p , p r i m , 3 , C p , p r i m , 4
60.954
P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4 ,
P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4
P r , 2 , 1 , P r , 2 , 2 , P r , 2 , 3 , P r , 2 , 4
( 1 W R 1 ) · ( 1 W R 2 ) · Q f , C p , 3 , 1 , C p , 3 , 2 30.954
W R 3
( 1 W R 1 ) · ( 1 W R 2 ) · Q f , C p , 3 , 1 , C p , 3 , 2 50.968
Stage 3 W R 3 , P f , 3 , 1 , P f , 3 , 2
( 1 W R 1 ) · ( 1 W R 2 ) · Q f , C p , 3 , 1 , C p , 3 , 2 40.968
W R 3 , P f , 3 , 1 , P f , 3 , 2
P r , 3 , 1 , P r , 3 , 2
Q f , W R 1 , W R 2 , W R 3 , C p , s u m 30.895
Q f , W R 1 , W R 2 , W R 3 , C p , s u m 40.894
P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4
P f , 3 , 1 , P f , 3 , 2
Overall plant Q f , W R 1 , W R 2 , W R 3 , C p , s u m 30.898
P f , 1 , 1 , P f , 1 , 2 , P f , 1 , 3 , P f , 1 , 4
P f , 2 , 1 , P f , 2 , 2 , P f , 2 , 3 , P f , 2 , 4
P r , 2 , 1 , P r , 2 , 2 , P r , 2 , 3 , P r , 2 , 4
P f , 3 , 1 , P f , 3 , 2 , P r , 3 , 1 , P r , 3 , 2
Table 4. Monthly averaged feed flow and water recovery of the RO plant for the year 2017.
Table 4. Monthly averaged feed flow and water recovery of the RO plant for the year 2017.
ParameterJanFebMarAprMayJunJulAugSeptOctNovDec
Q f ( · 10 2 m 3 h ) 8.11 9.52 2.13 6.95 6.45 10.7 10.2 8.29 9.86 10.6 11.7 10.7
W R s y s ( % ) 54.2 56.8 14.5 47.41 40.0 61.9 60.9 52.6 60.4 63.2 67.4 62.8
Table 5. Specific energy consumption of the obtained multi-objective optimization results.
Table 5. Specific energy consumption of the obtained multi-objective optimization results.
WR sys ( % ) SEC ( kWh m 3 )
440.1923
500.2455
550.2868
600.3245
650.3597
700.3941
750.4294
800.4665
850.5072
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Di Martino, M.; Avraamidou, S.; Pistikopoulos, E.N. A Neural Network Based Superstructure Optimization Approach to Reverse Osmosis Desalination Plants. Membranes 2022, 12, 199. https://doi.org/10.3390/membranes12020199

AMA Style

Di Martino M, Avraamidou S, Pistikopoulos EN. A Neural Network Based Superstructure Optimization Approach to Reverse Osmosis Desalination Plants. Membranes. 2022; 12(2):199. https://doi.org/10.3390/membranes12020199

Chicago/Turabian Style

Di Martino, Marcello, Styliani Avraamidou, and Efstratios N. Pistikopoulos. 2022. "A Neural Network Based Superstructure Optimization Approach to Reverse Osmosis Desalination Plants" Membranes 12, no. 2: 199. https://doi.org/10.3390/membranes12020199

APA Style

Di Martino, M., Avraamidou, S., & Pistikopoulos, E. N. (2022). A Neural Network Based Superstructure Optimization Approach to Reverse Osmosis Desalination Plants. Membranes, 12(2), 199. https://doi.org/10.3390/membranes12020199

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop