© 2021 IIETA. This article is published by IIETA and is licensed under the CC BY 4.0 license (http://creativecommons.org/licenses/by/4.0/).
OPEN ACCESS
An attempt is conducted in this paper to develop an artificial neural network (ANN) model for predicting the efficiency of small-scale NF/RO seawater desalination, then applied to the simulation of permeate flow rate and water recovery. A feed-forward back-propagation neural network with the Levenberg-Marquardt learning algorithm is considered. The performance of ANN compared to the multiple linear regression (MLR) is based on the calculated value of the coefficient of determination (R2). For ANN, R2 permeate flow rate was 0.997, and R2 permeate water recovery was 0.999, and for MLR, R2 permeate flow rate was 0.508, and R2 permeate water recovery was 0.713. It was observed that ANN performed better than the MLR.
NF/RO process, permeate water recovery, artificial neural network (ANN)
Nowadays, reverse osmosis membranes are utilized in various applications, such as the treatment of drinking water, wastewater reuse, and seawater desalination [1]. The membrane fouling often causes a limitation of the efficiency of reverse osmosis (RO) membranes in the treatment of water. To reduce or even overcome these limits, several studies have shown that nanofiltration (NF) membrane process is the concurrent technology and can be coupled to reverse osmosis for seawater desalination [2]. Thus, NF is a membrane technology that has positioned between reverse osmosis and ultrafiltration (UF) [3, 4].
Several researchers have tried to increase the water recovery of reverse osmosis systems without reducing the membrane's life [5, 6]. The performance of NF processes cannot meet drinking water standards because of its inability to reduce salinity in seawater [7-10].
A percentage of 92.8% for the water recovery was achieved by Drioli et al. [11, 12] by integrating the MF-NF-RO with membrane distillation/crystallization system. The adopted system allowed a reduction in the energy consumption of the NF-RO-MC process and the water cost to 1.54-1.61 kWh m-3 and 0.56 $/m3, respectively. NF is utilized as a pretreatment step of seawater feed and RO or MSF as final treatment step [13]. AlTaee and Sharif [14] carried out the cost analysis on a dual NF-NF, NF-RO, and single RO systems. Their findings indicated that NF-NF combination was the cheapest, followed by RO, then NF-RO systems. In other study by Kaya et al. [15], applicability of NF membranes prior to SWRO system was also investigated. They reported that SWRO flux increased from 30.1 LMH to 55.1 LMH when NF was utilized as a pretreatment before the seawater SWRO unit. The results showed an excellent rejection concerning all ions.
Many works reported the use of ANN to model the nanofiltration (NF) and reverse osmosis (RO) process of seawater desalination separately [16].
In recent years, the utilization of ANN is increasingly successful in various industrial areas [17-23]. The novelty of the current study is to investigate the use of ANNs to model the operation of small-scale NF/SWRO desalination plants to determine the performance of permeate flow rate and permeate water recovery. Moreover, a comparison with the multiple linear regression method (MLR) was made to test the robustness and performance of the ANN model.
2.1 Data
In this study, the database was provided by experimental data available in the literature [24]. A pilot plant testing in which the nanofiltration membrane NF product is sent to the RO unit and its brine reject is used as make-up to the MSF plant, the NF unit received pre-treated seawater with a temperature feed between 24℃ and 34℃ and was operated with operating pressure about 23.54 bar at a recovery of 53-57%. The SWRO unit received the NF product as feed, the operating pressure was maintained at 58.84 bar with temperature ranged from 23 to 34℃, and overall recovery of SWRO system was about 45%. The experimental data is presented in Figure 1.
The selected input parameters included: the feed pressure, temperature, conductivity, flow rate, permeate flow rate, and permeate water recovery. The variation of selected experimental inputs over time is depicted in Figure 2. The values of the standard deviations (STD) are given in Table 1.
Figure 1. Desalination pilot plant of NF/SWRO
(a) (b)
(c) (d)
Figure 2. Performance of NF/SWRO
Table 1. Parameters statistics of inputs and outputs
Variable category |
Parameters |
Symbol |
Unit |
STD |
mean |
min |
max |
inputs |
time |
t |
h |
385.92 |
680.317 |
25.197 |
1343.830 |
pressure |
p |
bar |
2.820 |
27.069 |
23.505 |
31.222 |
|
temperature |
T |
℃ |
2.7422 |
29.063 |
23.968 |
33.789 |
|
feed flow rate |
Qf |
m3h-1 |
0.088 |
7.748 |
7.586 |
8.014 |
|
feed conductivity |
δf |
μScm-1 |
535.01 |
60519.500 |
59851.06 |
61872.34 |
|
outputs |
permeate water recovery |
y |
% |
1.018 |
44.308 |
41.093 |
45.951 |
permeate flow rate |
Qp |
m3h-1 |
0.042 |
1.406 |
1.288 |
1.483 |
Figure 3. Schematic diagram of an artificial neural network model
2.2 Modeling development
To predict the efficiency of the hybrid NF/SWRO desalination system, two approaches were utilized to develop an adequate model to determine the permeate flow rate and water recovery.
2.2.1 Modeling with multiple linear regression (MLR)
The linear relationship between the explanatory (independent) variables xi and response (dependent) yi variables [25] as shown in Eq. (1):
${{y}_{i}}={{a}_{0}}+\underset{i=1}{\overset{n}{\mathop \sum }}\,{{a}_{i}}{{x}_{i}}$ (1)
where, yi represents the response or dependent variable (outputs), xi represents the explanatory independent (inputs), and a0 represents the constant (intercept). MLR calculations were performed using STATISTICA v. 8.0 (StatSoft, Inc.) software.
2.2.2 Modeling with neural network
To construct the ANN model, the database was presented in 75 samples divided into training and test subsets. A training subset has some 60 pieces, which is 80% of all available data. For the test subset, 15 samples (20%) have been considered. The neural network-training model was developed by means of a program written in MATLAB software.
The results showed that the optimal fully connected ANN was obtained using 24 neurons in the hidden layer, with high R2 and low RMSE. Different ANN structures with two hidden layers and other neurons in each layer have been tested. It was notable that the ANN with 02 hidden layers can predict the two outputs accurately (Figure 3).
3.1 Validation of the model
In the training and testing stage, the calculation of errors between the experimental values and prediction is a criterion for evaluating the model and optimum network structure determination.
The correlation coefficient R2, the root means square error RMSE (square root of the average sum of squares), and mean absolute error (MAE) are the statistical parameters commonly used in the literature [26-29] for error calculation. They are calculated according to the following equations:
${{R}^{2}}=\frac{\mathop{\sum }_{i}{{({{y}_{\text{exp}}}-{{y}_{\text{cal}}})}^{2}}}{\mathop{\sum }_{i}{{\left( {{y}_{\text{exp}}}-\overline{{{y}_{\text{exp}}}} \right)}^{2}}}$ (2)
$\text{RMSE}=\sqrt{\frac{1}{N}\underset{i=1}{\overset{N}{\mathop \sum }}\,{{\left( {{y}^{\text{exp}}}-{{y}^{\text{cal}}} \right)}^{2}}}$ (3)
$\text{MAE}=\frac{1}{N}\underset{i=1}{\overset{N}{\mathop \sum }}\,\left| \left( {{Y}_{\text{exp}}}-{{\text{Y}}_{\text{cal}}} \right) \right|$ (4)
where, N is the number of experiments, yexp is the experimental value for each parameter, ycal is respectively the predicted value of the ith experiment calculated by the model for each parameter. $~\overline{{{y}_{\text{exp}}}}$ and $\overline{{{y}_{\text{cal}}}}$ are the arithmetic mean of experimental and calculated values [30-33].
3.2 Mathematical equations of MLR developed model
The linear models obtained to determine the permeate flow rate (Qp) and permeate water recovery (y) are:
${{Q}_{\text{p}}}=2.607+0.661t-0.04P-0.07T-0.19{{Q}_{\text{A}}}+0.15{{\delta }_{\text{A}}}$ (5)
($F=14.259, P<0.001$)
$y=101.123+0.542t-0.124P-0.51T-0.34{{Q}_{\text{A}}}-0.27{{\delta }_{\text{A}}}$ (6)
($F=7.609, P<0.001$)
3.3 Mathematical equations of ANN developed model
The proposed neural network model successfully predicts the NF/RO performance parameters i.e. permeate flow rate and permeate water recovery. Integrating all the inputs xi by the mathematical formula is presented as follows. Knowing that fh is the exponential transfer function used in hidden layer:
${{Z}_{j}}={{f}_{h}}\left[ \underset{i=1}{\overset{5}{\mathop \sum }}\,{{w}_{ji}}{{x}_{i}}+b_{j}^{h} \right]=\exp (-\underset{i=1}{\overset{5}{\mathop \sum }}\,{{w}_{ji}}{{x}_{i}}+b_{j}^{h})$ (7)
$j=1,2,......24$
where, j is the number of neurons in the hidden layer (j=24), i is the number of neurons in the input layer (i=24), ${{w}^{I}}$ ($w_{\left( j,i \right)}^{H}$) and $~b_{1}^{H}$ are weights and bias between input and hidden layer, ${{w}^{H}}$($w_{\left( l,j \right)}^{0})$) and $b_{2}^{0}$ are weights and bias between hidden and output layer, and l is the number of neurons in output layer (l = 2). The output H, where f0 is the exponential transfer function used in output layer is presented as Eq. (8):
H=$~{{f}_{0}}\left[ \underset{i=1}{\overset{24}{\mathop \sum }}\,w_{ji}^{H}{{Z}_{i}}+b_{2}^{0} \right]$ (8)
Combining Eqns. (7) and (8) to obtain the relation formula of the output parameters of the ANN as follows:
${{Q}_{\text{p}}},y=\underset{i=1}{\overset{24}{\mathop \sum }}\,w_{ji}^{H}\exp (-\underset{i=1}{\overset{24}{\mathop \sum }}\,{{w}_{ji}}{{x}_{i}}+b_{j}^{h})+b_{2}^{0}$ (9)
The equation of the predicted permeate flow rate (Qp) and permeate water recovery (y) is given by the Eq. (9).
The results of the ANN model and MLR model were evaluated based on the comparison between the model values predicted and the experimental data using the different statistical parameters as shown in Table 2. The models statistical parameters for the prediction results obtained using MATLAB function “postreg”.
In fact, ANN showed a higher regression coefficient value than MLR, as presented in Figure 4. However, for the permeate flow rate and permeate water recovery, the error (MAE and RMSE) of the ANN model is lower than the MLR model. It appears that ANN is more appropriate than MLR. As shown in Figure 5, the result of ANN is a logic that can relatively quickly be reflected on the operating system for NF/RO process and the existence of a non-linear correlation between the outputs of the network (Qp and y) and the experimental variables. On the other hand, the result of MLR cannot be used by the NF/RO operating systems.
Table 2. Comparison of statistical parameters for ANN and MLR model
|
α |
β |
R2 |
RMSE |
MAE |
|
permeate flow rate/m3h-1 |
ANN |
0.9988 |
0.0017 |
0.997 |
0.00256 |
0.0014 |
MLR |
1 |
2.33×10-6 |
0.461 |
0.021 |
0.0246 |
|
permeate water recover/% |
ANN |
1.0005 |
-0.0212 |
0.999 |
0.0401 |
0.0257 |
MLR |
1 |
-7.56×10-5 |
0.327 |
0.482 |
0.6463 |
(a)
(b)
Figure 4. Results from ANN model of (a) permeate flow rate (b) permeate water recovery
Figure 5. Validation of the predicted values of (a) permeate flow rate (b) permeate water recovery for NN structure 5-24-2
4.1 Sensitivity analysis
To explore the sensitivity of the performance of hybrid NF/RO desalination pilot plant to the inputs and to find the most dominant parameters, the weights method was employed in this study.
The relative importance (%) was calculated based on the Garson equation [34-36] (see Eq. (10)).
${{R}_{Ij}}=\frac{\mathop{\sum }_{m=1}^{{{N}_{h}}}\left( \left( \frac{\left| W_{jm}^{ih} \right|}{\mathop{\sum }_{k=1}^{{{N}_{i}}}\left| W_{km}^{ih} \right|} \right)\times \left| W_{mn}^{h0} \right| \right)}{\mathop{\sum }_{k=1}^{{{N}_{i}}}\left\{ \mathop{\sum }_{m=1}^{{{N}_{h}}}\left( \frac{\left| W_{km}^{ih} \right|}{\mathop{\sum }_{k=1}^{{{N}_{i}}}\left| W_{km}^{ih} \right|} \right)\times \left| W_{mn}^{h0} \right| \right\}}$ (10)
where, Ij is the relative importance of the jth input variable on the output variable.
According to each input that exceeds 6% [28, 34], all the information has a considerable impact on the output (permeate flow rate and permeate water recovery). In the present study, the time has an effect of about 19% on both outcomes. The feed pressure (31.3%) strongly affects the permeate flow, whereas the feed pressure (26.6%) and feed flow rate (21.7%) significantly affect the permeate water recovery (Figure 6), which explains that the selected inputs parameters have a substantial effect on the outputs and a great significance in the performance of NF/RO desalination plant.
Figure 6. The importance percentage distribution of each inputs variable on: (a) Permeate flow rate and (b) Permeate water recovery
To predict the efficiency of small-scale NF/SWRO desalination plants, an ANN model was developed for simulation of the permeate flow rate and permeate water recovery. The efficiency of ANN models and MLR models was determined. The inspection of the results from the ANN models with the MLR models revealed that ANN models were good at predicting permeate flow rate and permeate water recovery with high R2 values and low RMSE and MAE values, which implied the robustness of the neural model. Finally, the ANN models can be considered as a powerful tool in predicting the efficiency of the seawater desalination hybrid process NF/RO.
ANN |
artificial neural network |
|
b |
bias factor |
|
H |
output function |
|
MAE |
mean absolute error |
|
MLR |
multiple linear regression |
|
MSF |
multi-stage flash |
|
NF |
nanofiltration membrane |
|
P |
pressure, bar |
|
Q |
flow rate, m3 h−1 |
|
R2 |
regression coefficient |
|
RI |
relative importance, % |
|
RMSE |
root mean square error |
|
t |
time, h |
|
T |
temperature, °C |
|
w |
weight factor |
|
x |
sigmoid function |
|
y |
permeate water recovery, % |
|
Z |
transfer function in the hidden layer |
|
Greek symbols |
||
δ |
conductivity, μS cm−1 |
|
α |
intercept |
|
β |
slope |
|
Subscripts |
||
exp |
exponential |
|
f |
feed |
|
i |
number of neurons in the input layer |
|
h |
number of neurons in the hidden layer |
|
p |
permeate |
[1] Eunsu, L., Lee, S., Hong, S. (2010). A new approach to the characterization of reverse osmosis membrane by dynamic hysteresis, Desalin. Water Treat, 18(1-3): 257-263. https://doi.org/10.5004/dwt.2010.1782
[2] Vuong, D.X. (2006). Two stage nanofiltration seawater desalination system. U.S. Patent No. 7,144,511. 2006. https://patents.google.com/patent/US7144511B2/en
[3] Diawara, K.C. (2008). Nanofiltration process efficiency in water desalination. Separ. Purific. Rev., 37(3): 302-324. https://doi.org/10.1080/15422110802228770
[4] Hilal, N., Al-Zoubi, H., Darwish, N.A., Mohamma, A.W., AArabi, M. (2004). A comprehensive review of nanofiltration membranes: Treatment, pretreatment, modelling, and atomic force microscopy. Desalination 170(3): 281-308. https://doi.org/10.1016/j.desal.2004.01.007
[5] Fritzmann, C., Löwenberg, J., Wintgens, T., Melin, T. (2007). State-of-the-art of reverse osmosis desalination. Desalination, 216(1-3): 1-76. https://doi.org/10.1016/j.desal.2006.12.009
[6] Khawaji, A.D., Kutubkhanah, I.K., Wie, J.M. (2008). Advances in seawaterdesalination technologies. Desalination, 221(1-3): 47-69. https://doi.org/10.1016/j.desal.2007.01.067
[7] Bellona, C., Drewes, J.E. (2005). Role of membrane surface charge and solute physicochemical properties in the rejection of organic acids by NF membranes. J. Membr. Sci., 249(1-2): 227-234. https://doi.org/10.1016/j.memsci.2004.09.041
[8] M’nif, A., Bouguecha, S., Hamrouni, B., Dhahbi, M. (2007). Coupling of membrane processes for brackish water desalination. Desalination, 203(1-3): 331-336. https://doi.org/10.1016/j.desal.2006.04.016
[9] Hassan, A.M., Farooque, A.M., Jamaluddin, A.T.M., Al-Amoudi, A.S., Al-Sofi, M.A.K., Rubaian, A.F., Gurashi, M.M., Kither, N.M., Dalvi, A.G.I., Al-Tisan, I.A.R. (1999). Optimization of NF Pretreatment of Feed to Seawater Desalination Plants. Presented at IDA World Congress on Desalination Water Reuse held at San Diego, USA, 29 Aug.-3 Sept. 1999.
[10] Hassan, A.M., Al-Sofi, M.A.K., Farooque, A.M., Dalvi, A.G.I., Jamaluddin, A.T.M., Kither, N.M., AI-Amoudi, A.S., Al-Tisan, I.A.R. (1999). A nano filtration (NF) membrane pretreatment of swro feed and MSF make-up (part - I). 4th WSTA Conference, Bahrain, pp. 13-17.
[11] Drioli, E., Criscuoli, A., Curcio, E. (2002). Integrated membrane operations for seawater desalination. Desalination, 147(1-3): 77-81. https://doi.org/10.1016/S0011-9164(02)00579-9
[12] Drioli, E., Curcio, E., DiProfio, G., Macedonio, F., Criscuoli, A. (2006). Integrating membrane contactors technology and pressure-driven membrane operations for seawater desalination: energy, exergy and costs analysis. Chem. Eng. Res. Des., 84(3): 209-220. https://doi.org/10.1205/cherd.05171
[13] Turek, M., Chorążewska, M. (2004). Nanofiltration process for seawater desalination–salt production integrated system. Desal. Water Treat., 7(1-3): 178-181. https://doi.10.5004/dwt.2009.713
[14] AlTaee, A., Sharif, A.O. (2011). Alternative design to dual stage NF seawater desalination using high rejection brackish water membranes. Desalination, 273(2-3): 391-397. https://doi.org/10.1016/j.desal.2011.01.056
[15] Kaya, C., Sert, G., Kabay, N., Arda, M., Yükse, M., Egemen, Ö. (2015). Pretreatment of nanofiltration (NF) in seawater Desalination-Preliminary integrated membrane tests in Urla. Turkey. Desalination, 369: 10-17. https://doi.org/10.1016/j.desal.2015.04.029
[16] Kaya, C., Jarma, Y.A., Guler, E., Kabay, N., Arda, M., Yükse, M. (2019). Seawater desalination by using nanofiltration (NF) and brackish water reverse osmosis (BWRO) membranes in sequential mode of operation. J. Membr. Sci. Resear., 6(1): 40-46. https://doi.org/10.22079/JMSR.2019.107844.1264
[17] Suykens, J.A., Vandewalle, J.P., De Moor, B.L.R. (1996). Artificial neural networks for modelling and control of non-linear systems. Springer Science & Business Media. https://doi.org/10.1007/978-1-4757-2493-6
[18] El-Hawary, M.E. (1993). Artificial neural networks and possible applications to desalination. Desalination, 92(1-3): 125-147. https://doi.org/10.1016/0011-9164(93)80078-2
[19] Murthy, Z.V.P., Vora, M.M. (2004). Prediction of reverse osmosis performance using artificial neural network. Indian J. Chem. Technol., 11(1): 108-115.
[20] Abbas, A., Al-Bastaki, N. (2005). Modeling of an RO water desalination unit using neural networks. Chem. Eng. J., 114(1-3): 139-143. https://doi.org/10.1016/j.cej.2005.07.016
[21] Lee, Y.G., Lee, Y.S., Jeon, J.J., Lee, S., Yang, D.R., Kim, I.S., Kim, J.H. (2009). Artificial neural network model for optimizing operation of a seawater reverse osmosis desalination plant. Desalination, 247(1-3): 180-189. https://doi.org/10.1016/j.desal.2008.12.023
[22] Soleimani, R., Shoushtari, N.A., Mirza, B., Salahi, A. (2013). Experimental investigation, modeling and optimization of membrane separation using artificial neural network and multi-objective optimization using genetic algorithm. Chem. Eng. Res. Des., 91(5): 883-903. https://doi.org/10.1016/j.cherd.2012.08.004
[23] Aish, A.M., Zaqoot, H.A., Abdeljawad, S.M. (2015). Artificial neural network approach for predicting reverse osmosis desalination plants performance in the Gaza Strip. Desalination, 367: 240-247. https://doi.org/10.1016/j.desal.2015.04.008
[24] Hamed, O.A., Hassan, A.M., Al-Shail, K., Farooque, M.A. (2009). Performance analysis of a trihybrid NF/RO/MSF desalination plant. Desal. Water Treat., 1(1-3): 215-222. https://doi.org/10.5004/dwt.2009.113
[25] Ge, Y., Wu, H. (2019). Prediction of corn price fluctuation based on multiple linear regression analysis model under big data. Neural. Comput. Appl., 32: 16843-16855. https://doi.org/10.1007/s00521-018-03970-4
[26] Bhagat, P. (1990). An introduction to neural nets. Chem. Eng. Prog., 86: 55-60.
[27] Tambe, S.S., Kulkami, B.D., Deshpande, P.B. (1996). Elements of Artificial Neural Networks with Selected Applications in Chemical Engineering, and Chemical and Biological Sciences, Simulation and Advanced Controls, Ltd., Louisville, KY, USA (1996).
[28] Adda, A., Hanini, S., Abbas, M., Sediri, M. (2019). Novel adsorption model of filtration process in polycarbonate track-etched membrane: Comparative study. Environ. Eng. Res., 25(4): 479-487. https://doi.org/10.4491/eer.2019.136
[29] Maouz, H., Khaouane, L., Hanini, S., Ammi, Y., Hamadache, M., Laidi, M. (2020). QSPR studies of carbonyl, hydroxyl, polyene indices, and viscosity average molecular weight of polymers under photostabilization using ANN and MLR approaches. Kem. Ind., 69(1-2): 1-16. https://doi.org/10.15255/KUI.2019.022
[30] Zare, A.H., Bayat, V.M., Daneshkare, A.P. (2011). Forecasting nitrate concentration in groundwater using artificial neural network and linear regression models. Int. Agrophys., 25(2): 187-192.
[31] Keskes, S., Hanini, S., Hentabli, M., Laidi, M. (2020). Artificial intelligence and mathematical modelling of the drying kinetics of pharmaceutical powders. Kem. Ind., 69 (3-4): 137-152. https://doi.org/10.15255/KUI.2019.038
[32] Melzi, N., Khaouane, L., Ammi, Y., Hanini, S., Laidi, M., Zentou, H. (2019). Comparative study of predicting the molecular diffusion coefficient for polar and non-polar binary gas using neural networks and multiple linear regressions. Kem. Ind., 68(11-12): 573-582. https://doi.org/10.15255/KUI.2019.010
[33] Ammi, Y., Khaouane, L., Hanini, S. (2020). A comparison of neural networks and multiple linear regressions models to describe the rejection of micropollutants by membranes. Kem. Ind., 69(3-4): 111-127. https://doi.org/10.15255/KUI.2019.024
[34] Garson, G.D. (1991). Interpreting neural network connection weights. AI Ex., 6(4): 47-51.
[35] Goh, A.T.C. (1995). Back-propagation neural networks for modeling complex systems. Artif. Intell. Eng., 9(3): 143-151. https://doi.org/10.1016/0954-1810(94)00011-S
[36] Laidi, M., Hanini, S. (2013). Optimal solar COP prediction of a solar-assisted adsorption refrigeration system working with activated carbon/methanol as working pairs using direct and inverse artificial neural network. Inter. J. Refrig., 36(1): 247-257. https://doi.org/10.1016/j.ijrefrig.2012.09.016