Professional Documents
Culture Documents
Research Article
Mathematical Modeling and Simulation of SWRO Process
Based on Simultaneous Method
Aipeng Jiang, Qiang Ding, Jian Wang, Shu Jiangzhou, Wen Cheng, and Changxin Xing
School of Automation, Hangzhou Dianzi University, Hangzhou, Zhejiang 310018, China
Received 30 January 2014; Revised 23 May 2014; Accepted 28 May 2014; Published 23 June 2014
Copyright © 2014 Aipeng Jiang et al. This is an open access article distributed under the Creative Commons Attribution License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Reverse osmosis (RO) technique is one of the most efficient ways for seawater desalination to solve the shortage of freshwater.
For prediction and analysis of the performance of seawater reverse osmosis (SWRO) process, an accurate and detailed model
based on the solution-diffusion and mass transfer theory is established. Since the accurate formulation of the model includes many
differential equations and strong nonlinear equations (differential and algebraic equations, DAEs), to solve the problem efficiently,
the simultaneous method through orthogonal collocation on finite elements and large scale solver were used to obtain the solutions.
The model was fully discretized into NLP (nonlinear programming) with large scale variables and equations, and then the NLP
was solved by large scale solver of IPOPT. Validation of the formulated model and solution method is verified by case study on a
SWRO plant. Then simulation and analysis are carried out to demonstrate the performance of reverse osmosis process; operational
conditions such as feed pressure and feed flow rate as well as feed temperature are also analyzed. This work is of significant meaning
for the detailed understanding of RO process and future energy saving through operational optimization.
operation and performance of RO systems. Abbas analyzed 𝐽V and solute flux 𝐽𝑠 through membrane are expressed by the
and simulated an industrial medium-scale brackish water following equations:
reverse osmosis plant with semirigorous model, and then he
used it to analyze the optimal operation of RO system [13]. 𝐽V = 𝐴 𝑤 (𝑃𝑓 − 𝑃𝑑 − 𝑃𝑝 − Δ𝜋)
Geraldes considered both the investment cost and operation (2)
cost of SWRO system and provided the differential equations 𝐽𝑠 = 𝐵𝑠 (𝐶𝑚 − 𝐶𝑏 ) .
of the RO process with distributed method [14]. Then, to
Let
avoid computing difficulties, he simplified the simulation
process and solved his optimal problem with simple differ- 𝑃𝑏 = 𝑃𝑓 − 𝑃𝑑 ,
ence equations. Sundaramoorthy et al. build more complex (3)
analytical model of spiral wound reverse osmosis modules, Δ𝑃 = (𝑃𝑏 − 𝑃𝑝 ) .
based on complex model parameters estimation; the model
is computed based on sequential method [15]. To get more Then
accurate results, more modeling and simulation of reverse
osmosis system are carried out with CFD technique [16–18]. 𝐽V = 𝐴 𝑤 (Δ𝑃 − Δ𝜋) , (4)
But since these models are not founded with simultaneous
where 𝐴 𝑤 is the solvent transport parameter, 𝑃𝑓 is the feed
method, computing efficiency for simulation and optimiza-
pressure, 𝑃𝑑 is the pressure drop along a RO spiral-wound
tion cannot be guaranteed for online application.
module, 𝑃𝑏 is the pressure along the channel of spiral-wound
In this paper, to achieve accurate prediction of RO process
module, and 𝑃𝑝 is the pressure of permeate side, which in gen-
performance and to accelerate the computing efficiency for
eral is assumed as environment pressure. Δ𝜋 is the pressure
real time simulation, the mathematical modeling is carried
loss of osmosis pressure. 𝐵𝑠 is the solute transport parameter,
out based on rigid first principle, then simultaneous method
𝐶𝑚 and 𝐶𝑠𝑝 are solute concentration at the membrane surface
within which the differential variables are fully discretized
on the feed side and solute concentration on the permeate
by finite element collocation. The mathematical model is
side, respectively, and 𝐶𝑝 is the value of 𝐶𝑏 at the end of
verified and then simulation under different conditions will
module. That means 𝐶𝑝 = 𝐶𝑏 (𝐿). 𝐴 𝑤 and 𝐵𝑠 are sensitive with
be discussed.
operational temperature and related factors; the relationship
is expressed as follows:
2. Mathematical Modeling of 𝑇 − 273
Spiral-Wound RO Process 𝐴 𝑤 = 𝐴 𝑤0 exp (𝛼1 − 𝛼2 (𝑃𝑓 − 𝑃𝑑 ))
273
(5)
The performance of SWRO plants is quite sensitive to the 𝑇 − 273
𝐵𝑠 = 𝐵𝑠0 exp (𝛽1 ),
quality of the feed water and plant operating conditions. 273
Based on solution-diffusion model and film theory and
where 𝐴 𝑤0 and 𝐵𝑠0 are intrinsic transport parameter in
according to the schematic diagram of the SWRO process
standard condition and 𝛼1 , 𝛼2 , and 𝛽1 are constant parameters
shown in Figure 2, more accurate membrane transport equa-
for transport. 𝑇 represents operational temperature with unit
tions of steady-state in the form of distributed parameters can
of kelvin degree. The osmotic pressure is nearly linearly
be derived.
related to concentration by the equation
For the RO membrane, the overall fluid and solute mass
balance equations are
Δ𝜋 = 𝑅𝑇 (𝐶𝑚 − 𝐶𝑝 ) , (6)
RO
membrane module
Concentrate
(concentrated stream)
Feed source
Plant unit
Pressure Module Module
··· Module Module
vessel 1 ···
Pressure · · ·
Module Module Module Module Permeate
Pretreated .. vessel
.. ..2 .. ··· water
seawater .Pressure
. . . ···
Module Module Module Module
vessel (n − 1) ···
Pressure Module Module
· · · Module Module
vessel n ···
Brine water Brine to sea
(b) Detailed SWRO process and storage tank information for the desalination plant
Vin Vout
z
Volumetric permeate dz
RO membranes
flux, p
V(z)
Cs (z)
Figure 2: Scheme of the rectangular channel model of spiral wound module feed channel.
The relationship between 𝐽V and 𝐽𝑠 is where 𝜀𝑝 and 𝜀𝑝𝑓 are the mechanical efficiency and energy
recovery efficiency, respectively.
𝐽𝑠 = 𝐽V𝐶𝑝 . (11) Equations (1)–(20) explain the detailed reverse osmosis
process with spiral-wound membrane module. If the oper-
According to Figure 2, the pressure loss along the RO channel
ational variables, such as feed flow rate and feed pressure,
can be formulated as
are fixed, the permeate quality and related performance can
𝑑𝑃𝑑 𝜌 𝑉2 be obtained by the solution of the equations. Otherwise, the
= −𝜆 , (12) operational variables and related parameters can be calcu-
𝑑𝑧 𝑑𝑒 2
lated by (1)–(20) under certain constraints. The constraints
where listed in (21) include requirement of equipment safety, water
quality, and parameter of CP:
𝜆 = 6.23𝐾𝜆 Re−0.3 . (13)
𝑃𝑓𝑙𝑜 ≤ 𝑃𝑓 ≤ 𝑃𝑓𝑢𝑝
𝐾𝜆 is the empirical parameter. Since the pressure along RO
𝑃𝑏 = 𝑃𝑓 − 𝑃𝑑 , so 𝑄𝑓𝑙𝑜 ≤ 𝑄𝑓 ≤ 𝑄𝑓𝑢𝑝
𝑑𝑃𝑏 𝑑𝑃 𝜌 𝑉2 𝐶𝑝𝑙𝑜 ≤ 𝐶𝑝 ≤ 𝐶𝑝𝑢𝑝
=− 𝑑 =𝜆 , (14)
𝑑𝑧 𝑑𝑧 𝑑𝑒 2 (21)
𝑇𝑙𝑜 ≤ 𝑇 ≤ 𝑇𝑢𝑝
at 𝑧 = 0, 𝑃𝑏 = 𝑃𝑓 , at 𝑧 = 𝐿, 𝑃𝑏 = 𝑃𝑟 .
𝑉 is axial velocity in feed channel and satisfies 𝜙 ≤ 𝜙max
𝑑𝑉 2𝐽V 𝐻𝑡min ≤ 𝐻𝑡 ≤ 𝐻𝑡max .
=−
𝑑𝑧 ℎsp
𝑄𝑓 3. Discretization and the Solution Method
at 𝑧 = 0, 𝑉 = 𝑉𝑓 = (15)
𝑛𝑒 𝑊ℎsp Since (1)–(20) include a set of strong nonlinear equations
and even DAEs (differential and algebraic equations) and
𝑄𝑟
at 𝑧 = 𝐿, 𝑉 = 𝑉𝑟 = . since there are more constraints than those of the equation
𝑛𝑒 𝑊ℎsp mentioned above, it is fairly tough to solve this kind of
problem efficiently with high accuracy [20–22]. Here the
ℎsp is height of the feed spacer channel. DAEs (1)–(21) are converted into the form of NLP (non-
The bulk concentration 𝐶𝑏 varies along the membrane linear programming) through simultaneous approach by
channel and can be given as approximating state and control profiles with a family of
𝑑𝐶𝑏 2𝐽V polynomials on finite elements (shown as Figure 3) [20, 23].
= (𝐶 − 𝐶𝑝 ) , (16) These polynomials can be represented as power series, such
𝑑𝑧 ℎsp 𝑉 𝑏
as orthogonal polynomials, or in Lagrange form. Here the
and at 𝑧 = 0, 𝐶𝑏 = 𝐶𝑓 ; at 𝑧 = 𝐿, 𝐶𝑏 = 𝐶𝑟 . following monomial basis representation for the differential
From the solution of the above equations, 𝑄𝑝 and 𝐶𝑝 at profile was selected, which is popular for Runge-Kutta dis-
given operational conditions and specification of membrane cretizations [23]:
can be obtained, from which the water recovery rate Rec and 𝐾
𝑡 − 𝑡𝑖−1 𝑑𝑧
specific energy consumption SEC can be calculated by the 𝑧 (𝑡) = 𝑧𝑖−1 + ℎ𝑖 ∑ Ω𝑞 ( ) . (22)
equations 𝑞=1 ℎ𝑖 𝑑𝑡𝑖,𝑞
ti−1,0 ti−1,1 ti−1,2 ti−1,3 ti,0 ti,1 ti,2 ti,3 ti+1,0 ti+2,0
Time
Based on a number of studies of Larry group [20, 24–26], are operational variables and feed condition variables. The
Radau collocation points were selected in this study because equations are expressed in the following form:
they allow constraints to be set at the end of each element
and to stabilize the system more efficiently if high index DAEs 𝑇 − 273
are present. In addition, the control and algebraic profile are 𝐴 𝑤 (𝑖, 𝑗) = 𝐴 𝑤0 exp (𝛼1 − 𝛼2 (𝑃𝑓 − 𝑃𝑑 (𝑖, 𝑗)))
273
approximated using a Lagrange basis representation which
takes the following form: 𝑇 − 273
𝐵𝑠 = 𝐵𝑠0 exp (𝛼2 )
273
𝐾
𝑡 − 𝑡𝑖−1 𝐽V𝑖,𝑗 = 𝐴 𝑤 (𝑃𝑓 − 𝑃𝑑𝑖,𝑗 − Δ𝜋𝑖,𝑗 )
𝑦 (𝑡) = ∑ 𝜓𝑞 ( ) 𝑦𝑖,𝑞
𝑞=1 ℎ𝑖
(25) 𝐽𝑠𝑖,𝑗 = 𝐵𝑤 (𝐶𝑚𝑖,𝑗 − 𝐶𝑝𝑖,𝑗 )
𝐾
𝑡 − 𝑡𝑖−1 𝐽𝑠𝑖,𝑗
𝑢 (𝑡) = ∑ 𝜓𝑞 ( ) 𝑢𝑖,𝑞 .
ℎ𝑖 𝐶𝑝𝑖,𝑗 =
𝑞=1 𝐽V𝑖,𝑗
Here 𝑦𝑖,𝑞 and 𝑢𝑖,𝑞 represent the values of the algebraic and Δ𝜋𝑖,𝑗 = 𝑅𝑇 (𝐶𝑚𝑖,𝑗 − 𝐶𝑝𝑖,𝑗 )
control variables, respectively, in element 𝑖 at collocation
point 𝑞, 𝑡 is the value satisfying 𝑡𝑖−1 ⩽ 𝑡 ⩽ 𝑡𝑖 , and Ψ𝑞 is the 𝐽V𝑖,𝑗
𝐶𝑚𝑖,𝑗 = [(𝐶𝑏𝑖,𝑗 − 𝐶𝑝𝑖,𝑗 ) exp ( )] + 𝐶𝑝𝑖,𝑗
Lagrange polynomial of degree 𝐾 satisfying 𝑘𝑐𝑖,𝑗
𝑑𝑒
(𝑡 − 𝑡𝑟 )
𝐾 𝐾
(𝑡 − 𝑡𝑟 ) /ℎ 𝐾
(𝑡 − 𝑡𝑟 ) /ℎ𝑖 𝑘𝑐𝑖,𝑗 = 0.065Re0.875
𝑖,𝑗 Sc0.25
𝑖,𝑗
𝜓𝑞 (𝑡) = ∏ 𝑞 𝑟 = ∏ 𝑞 𝑟 𝑖 = ∏ 𝑞 𝑟
𝐷𝐴𝐵
𝑟=1 (𝑡 − 𝑡 ) 𝑟=1 (𝑡 − 𝑡 ) /ℎ𝑖 𝑟=1 (𝜌 − 𝜌 )
𝜇𝑖,𝑗
Sc𝑖,𝑗 =
𝜓𝑞 (𝜌𝑟 ) = 𝛿𝑞,𝑟 , 𝑞, 𝑟 = 1, . . . , 𝐾. (𝜌𝐷𝐴𝐵 )
(26)
𝜆 𝑖,𝑗 = 6.23𝐾𝜆 Re−0.3
𝑖,𝑗 .
×10−6 1.4
1.8
1.4
1
1.2
0.8
1
0.8 0.6
0.6
0.4
5 10 15 20 25 30 35
0.4 Feed temperature of seawater (∘ C)
0 10 20 30 40 50 60
Temperature of seawater (∘ C) Calculation value of TCF
Field value of TCF
0.32
−9
×10
0.3
4
Feed velocity (m/s)
0.28
Hydraulic dispersion coefficient (m2 /s)
3.5
0.26
3
0.24
2.5
0.22
2 0.2
1.5 0.18
0 1 2 3 4 5 6 7 8
1 Length of membrane (m)
×10−6 0.145
8
0.14
7 0.13
Permeate flux (m/s)
0.125
6.5
0.12
6 0.115
5.5 0.11
0.105
5
0.1
4.5
0.095
0 1 2 3 4 5 6 7 8
4 Length of membrane (m)
0 1 2 3 4 5 6 7 8
Length of membrane (m) Figure 10: Concentration polarization along membrane.
Figure 8: Permeate flux along the length of membrane.
50 0.4
60
55
50 40 0.2
45
Pressure (Bar)
40
35
30 0
0 1 2 3 4 5 6 7 8
30
Length of membrane (m)
25 Permeate TDS
Feed TDS
20
0 1 2 3 4 5 6 7 8 Figure 11: Values of feed TDS and permeate TDS along membrane.
Length of membrane (m)
Feed pressure
Osmosis pressure 60 99.6
60 100 60 100
40 98 20 99
6 8 10 12 14 16 18 5 10 15 20 25 30 35
Feed flow of single pressure vessel (m3 /h) Feed temperature of seawater (∘ C)
Figure 13: Rec and Ry as the function of feed flow rate. Figure 15: Rec and Ry as the function feed temperature.
50 99.6
5.5
Water recovery (%)
40 99.5
Salt reject (%)
5
SEC value (kW·h/m3 )
4.5
30
99.4
20 99.3
30 35 40 45
3.5
Feed concentration (kg/m3 )
Salt reject
Water recovery 3
30 40 50 60 70 80 90
Figure 14: Rec and Ry as the function of feed concentration. Feed pressure (bar)
Figure 16: Sec value change curve along the feed pressure.
5. Conclusion
recovery with temperature and feed pressure. SEC, which is
In this paper, based on the solution-diffusion and mass
the key performance parameter of energy consumption, is
transfer theory, a spiral-wound SWRO process model is
also calculated. The minimizing value in the middle curve
established. The model is expressed by DAEs (differential shows that, through improving the operational condition,
and algebraic equations) of (1)–(21) with some inequality
significant energy saving can be achieved. Factors including
and equality constraints of equipment and water quality. To
the feed conditions and operational temperature are also
solve the tough problem with high efficiency and accuracy,
analyzed. All the work is helpful to further understand the
orthogonal collocation on finite element is proposed to
mechanism of SWRO process, and shows the significant
transform the problem into NLP. All the state variables
potential for energy saving through optimal operation.
and intermediate variables are discretized and (1)–(21) are
transferred into (28)–(32). Then IPOPT solver under GAMS
platform is used for the efficient solution. And the effi- Nomenclature
cient solution yields detailed simulation results related to
operational variables and key performance. Profiles of feed 𝛼1 , 𝛼2 , 𝛽1 : Constant parameters
pressure, feed concentration, and feed velocity along feed 𝐴 𝑤: Membrane water permeability
channel are investigated as well as relationship of water (m s−1 Pa−1 )
10 Journal of Applied Mathematics
International
Journal of Journal of
Mathematics and
Mathematical
Discrete Mathematics
Sciences