Report 115
Report 115
14. ABSTRACT
The initial components of a self-contained software application have been created to provide material balances (that is, the
permeate and retentate flowrates and compositions) and the pump energy for plant scale reverse osmosis (RO), nanofiltration
(NF), ultrafiltration (UF), and microfiltration (MF) membrane unit operations. The application modeling allows some input
parameters to come from the data normally reported from bench-scale measurements performed in standard stirred-cell,
crossflow (aka swatch) apparatus, or small hollow-fiber modules. The software application was developed using the LabView®
programming environment.
15. SUBJECT TERMS
membranes, water treatment processes, modeling
16. SECURITY CLASSIFICATION OF: 17. 18. NUMBER 19a. NAME OF RESPONSIBLE PERSON
LIMITATION OF OF PAGES Saied Delagah
ABSTRACT
a. REPORT b. ABSTRACT a. THIS PAGE 19b. TELEPHONE NUMBER (Include area code)
U U U 303-445-2248
The U.S. Department of the Interior protects America’s natural resources and
heritage, honors our cultures and tribal communities, and supplies the energy to
power our future.
Disclaimer
The views, analysis, recommendations, and conclusions in this report are those of
the authors and do not represent official or unofficial policies or opinions of the
United States Government, and the United States takes no position with regard to
any findings, conclusions, or recommendations made. As such, mention of trade
names or commercial products does not constitute their endorsement by the
United States Government.
Acknowledgments
We wish to recognize the major contributions made to this project by Kate
Worster and Laura Richards. Kate Worster undertook the original ill-fated, thrust
of developing this application as an Excel® Workbook, and then provided the
initial LabView® VIs that evolved into the final product. Laura Richards
undertook the thankless task of transcribing and creating fitting correlations for
the aqueous electrolyte properties that were used in the subroutines. In addition,
the Technical Project Manager, Mr. Saied Delagah, has continuously provided
both intellectual input and moral support that allowed us to bring the effort to its
current conclusion. This research was sponsored by the Desalination and Water
Purification Research and Development Program of the Bureau of Reclamation.
CONTENTS
Page
Executive Summary ................................................................................................ 1
Background ............................................................................................................. 2
Review of Membrane Process Modeling .......................................................... 2
Conclusions and Recommendations ....................................................................... 5
Results…. ................................................................................................................ 5
Overview ........................................................................................................... 5
Excel® Workbook Modeling Code Problem .............................................. 5
Current Approach........................................................................................ 6
Subprograms (vi’s)...................................................................................... 7
Benchmarking Data .................................................................................... 7
Vendor Software ......................................................................................... 7
Physical Property Data ................................................................................ 7
Modeling Approach .......................................................................................... 8
Membrane Element Geometric Model........................................................ 8
Net driving pressure .................................................................................. 10
Concentration ............................................................................................ 10
Mass transfer coefficient ........................................................................... 10
Code Structure (current programming flowsheet) .......................................... 11
Current Overall Model .......................................................................................... 15
Appendices ............................................................................................................ 17
Appendix 1: Description of Some of the Working Subprogram vi’s ............ 17
Appendix 2: Benchmarking Analysis of Vendor Specifications
(Hydranautics SWC-2521).................................................................. 23
Appendix 3. Vendor Design Software: Program Comparisons ...................... 8
ROSA 5.3 .................................................................................................... 8
Appendix 4: Physical and Chemical Property Data Accumulation and
Correlation ............................................................................................ 9
References ............................................................................................................. 13
Figures
Page
Figure 1. Unrolling a spiral-wound element. ..........................................................8
Figure 2. Division of membrane into sections (calculation-elements). ..................9
Figure 3. An individual area element; top view (left), side view (right). ...............9
Figure 4. Flowchart color code. ............................................................................11
Figure 5. Code flowchart of steady state problem. ...............................................12
Figure 6. Outline of subfunction for calculation of intrinsic property
parameters of the membrane and the feed stream. ...............................12
Figure 7. Outline of subfunction for stream composition. ....................................12
iii
Figure 8. Outline of subfunction for specifying problem criteria. ........................12
Figure 9. Flowchart for specifying the properties of the membrane
elements. ..............................................................................................13
Figure 10. Flowchart for shortcut analysis to develop the initial starting
guesses. ................................................................................................13
Figure 11. Flowchart for the pseudo-steady-state problem. .................................14
Figure 12. Flowchart for subfunctions to calculate the concentration
polarization of each solute (left) and the solute material balance
in each step (right). ..............................................................................14
Figure 13. Outline of next step in the problem. ....................................................14
Tables
Page
Table A-1. Bulk properties of aqueous NaCl solution at 293 K ............................ 6
Table A-2. Aqueous solutions properties at 293.15 K transcribed thus far ........... 9
Table A-3. Molarity (g-mol/L) as a function of mass percent salt ...................... 10
Table A-4. Relative density (kg/L) at 293 K as a function of mass percent salt . 10
Table A-5. Viscosity (Pa·s or kg·s·m–1) as a function of mass percent salt ........ 11
Table A-6. Conductance (mS/cm) as a function of mass percent salt ................. 12
iv
SYMBOLS, ACRONYMS, AND ABBREVIATIONS
d diameter of pipe
D diffusivity
f (as subscript) feed water
g-mol gram-mole
k boundary layer coefficient
L liter
L length
M molar concentration
MF microfiltration
mol mole
NDP net driving pressure
NF nanofiltration
P pressure
p (as subscript) permeate
R the ideal gas constant
Re Reynolds number
RO reverse osmosis
Sc Schmidt number
Sh Sherwood number
T temperature
UF ultrafiltration
vi any of various subroutines of the LabView® program
V velocity
MPa megapascals
r (as subscript) retentate, concentrate, or reject
V volumetric flowrate
C concentration
K kelvins
ΔP applied transmembrane pressure
μ fluid viscosity
Π osmotic pressure
ρ fluid density
v
EXECUTIVE SUMMARY
The initial components of a self-contained software application have been created
to provide material balances (that is, the permeate and retentate flowrates and
compositions) and the pump energy for plant scale reverse osmosis (RO),
nanofiltration (NF), ultrafiltration (UF), and microfiltration (MF) membrane unit
operations. The application modeling allows some input parameters to come from
the data normally reported from bench-scale measurements performed in standard
stirred-cell, crossflow (aka swatch) apparatus, or small hollow-fiber modules.
1
the local concentrations and pressure required over the course of time. The
ultimate output will be the permeate and retentate (reject) flowrates and
compositions, and the increase in pumping pressure over time that is required to
keep the specified production rate. Temperature changes are not be included in
this Version 1.
BACKGROUND
If we accept the conclusions of the Desalination Roadmap (2003), the
development of viable, cost-effective, and technically efficient water supplies will
include membrane processes for the foreseeable future. Membrane-based
separations are an embodiment of the ideal separation processes. Accepting that
premise, then it is clear that anything that reduces development time and cost will
hasten the installation of viable water reclamation process equipment and will
decrease the cost of the water produced. Better process design will not only lower
the development costs incurred, but will also lowering the cost of capital and
increase system reliability. In addition, process design tools that provide the
means to assess the value of technological innovations, will help focus limited
resources into the areas that will provide the greatest benefit and/or leveraging.
Process-modeling tools help create the means for extending lower-cost bench-
scale measurements into “virtual pilot-scale evaluations.” Many more bench scale
measurements can be done in a shorter period of time, which is desireable
following Allgeier and Summers (1995), and therefore fewer pilot-scale
evaluations need be performed with the optimum materials and under suitable
process conditions to validate the design premises. This software model can be
made widely accessible to maximize its impact on the development of new
membrane technology—the scale-up modeling approach does not need to change
as new membrane technology is developed, as long as the new technology is
embodied in the bench scale tests.
2
of more and more complicated systems, including such fundamental aspects as
solute and membrane pore-size distributions, fluid flow hydrodynamics, module
non-uniformities, and variable fluid properties (for example, viscosity gradients).
In addition, membrane manufacturers have their own proprietary, black-box
engineering models that are used to recommend their membrane systems to
customers. These prior contributions and resources will inform the proposed
project, but have been developed for different goals and thus manipulate physical
models that are not completely appropriate for the current purpose.
The engineering design of a membrane process includes at least three (3) levels of
transport phenomena:
1. The first level is the transport of solvent and other species through the
membrane (Mulder, 1992). This is the most fundamental level of membrane
science and technology and has been predominately studied by academia in
the current era (the last 40–50 years) of synthetic membrane development.
The variety of models include a spectrum of approaches that incorporate
solution-diffusion (Adam et al, 1983; Theil, 1990; Kataoka et al, 1991),
frictional flow (Sourirajan and Matsuura, 1986), and hindered
partitioning/diffusion (Deen, 1989; Schaep et al, 1999) which will cover the
range of reverse osmosis, nanofiltration, ultrafiltration, and microfiltration.
In fact, the most complete, and fundamental, form was presented by Mason
and Lonsdale (1990), with which they show how all other membrane
transport models directly result by making appropriate assumptions and
neglecting terms. Nonetheless, for the modeling of this proposed project,
we choose to use the “black box”, non-equilibrium transport model initially
developed by Kedem and Katchalsky (1958) and Spiegler and Kedem
(1966). This modeling approach has been widely accepted especially when
the parameters are experimentally measured (or estimated with minimum
assumptions.)
2. The next level of transport concern is in the mass transfer that occurs in the
fluid phase that is next to the membrane. It is well recognized that
concentration polarization, colloid (or particle) deposition, and adsorption
phenomena influence flux decline (fouling) as well as the solute and solvent
transport through the membrane—and vice-versa. Unlike membrane
transport, the study, prediction, and measurement of mass transfer (and
prevention of flux decline) in membrane filtration has been the major pre-
occupation of membrane technologists and researchers from, not only,
academia but also industry and government in the last 20 years. One of the
earliest reviews of this subject was presented by Brian (1967) (for RO) and
one of the most recent by Bowen (1995) is more broadly applicable. In
general, a robust description of the concentration of solutes at the membrane
interface is determined by solving a form of the advection-diffusion
equation in the channel next to the membrane. Alternatively, a less detailed
approach can be taken in which a “lumped” boundary-layer mass transfer
coefficient is used to describe the change in solute concentration between
the bulk fluid and the membrane interface, as done by Pradanos et al (1995).
3
In this case, a correlation is used to calculate the effective mass transfer
coefficient. The description of the hydrodynamic environment is critical to
this type of model and the effect of turbulence promoters must be
adequately included, as shown by DaCosta (1993).
3. The final level of transport concern is the extension of the above mass
transfer analysis to integration over the entire channel (or tube) length.
When this is done, the prediction of the flowrates and compositions from
complete elements, series of elements, and entire membrane process trains
can be made. Many academic and industrial studies have been published on
this topic. In the context of RO, the usefulness of short cut models (Sirkar
et al, 1982, 1983; Evanelista 1985) have been recognized and successfully
applied in proprietary software (Dow/FilmTec) and in academic studies to
optimize process configuration (Evangelista, 1989). More complex models
that include pressure drop in the module and variations in 10 geometry and
mass transfer coefficient, and that require numerical solutions, have been
developed and applied to RO (Wiley et al, 1985; El-Halwagi et al, 1996).
Considering NF and UF, a variety of numerical modeling developments that
include concentration polarization and particle deposition over an integrated
channel geometry have been reported (Bhattachajee et al., 2001; Bacchin et
al., 2002), with the recent NF-PROJECT (Noronha et al., 2002) being the
most closely aligned with the objectives of this proposal.
The current project builds very closely off the work of Norona et al. (2002, 2003),
with the additions that: i) we wish to incorporate flux decline mechanisms due to
adsorption and deposition, as well as, concentration polarization; ii) we will create
an interface that can work with bench-scale (“swatch”) measurements collected in
a variety of ways; iii) we will facilitate the adaptation of the software to all the
pressure-driven membrane filtration processes; iv) we will build in a framework
to extend the simulation to non-isothermal and unsteady-state operation (i.e.,
cleaning cycles); and, most importantly, v) the simulation tool will be directly
available for Reclamation and their constituency to use.
4
CONCLUSIONS AND RECOMMENDATIONS
The development of this software application needs to be continued. There is still
significant programming needed to complete even the simple RO design case
without fouling. The major items include finishing the iterative approach of
linking together elements (and the steps within elements), as well as the use of the
mixed solutes properties. The next step after that would be to develop a way to
link together multiple elements into a process train. The most straightforward
approach is to define a fixed number of possible configurations and allow the user
to choose among these.
The full program structure developed for the RO will be directly transferable to
MF, UF, and NF. Only the transport equations and input parameters would need
to be modified.
Comparison between the model application created in this project and the
commercial offerings from membrane vendors should also be part of a future
project.
RESULTS
Overview
As requested by Reclamation at the contract award, we had focused on
developing an Excel® workbook environment that facilitates partitioning full
membrane elements into smaller, discrete mass transfer units and solving the
conservation equations over these spatial elements in a step-wise and iterative
fashion for each time step.
5
overwhelms Excel’s ability to compute the final iterations using macros and
display them in a single output column.
Current Approach
We switched to a more suitable programming environment that is as user friendly
as Microsoft Excel®, and also meets the program interface criteria. It is National
Instrument’s LabView®. We followed the same algorithm structure that is
described in Appendix 1.
Some of the advantages to using LabView® are that graphical user interface is
more user friendly, the program is more capable of handling large loop and
iterative calculations, and the results can be outputed in other programming
languages or programs such as C+ and Microsoft Excel®. An application file
with the model can be created and distributed quite easily (across multiple
platforms), and does not require the expense of buying the full LabView®
Development Environment. The application file will also be resistant to user
tampering and unintentional changes. Reclamation will have the Full
Development version of the model and can make any changes in future versions.
Several initial LabView® subroutines (called vi’s) have been created (these are
described in Appendix 1), that calculate the previously outlined equations for an
element with multiple sub-sections—which had caused many problems in the
Excel® environment—and, as of this time, the current version has no errors. The
immediate benefit to using the LabView® programming environment is the
production of a program that not only works but is also stable and consistent,
which Microsoft Excel® has not been. In addition, it will be easier to implement
the use of collocation methods, to solve the entire mass and pressure balance in
membrane elements on a global basis, in the LabView® environment. This
collocation approach will take a future new project to develop and has some
uncertainties, but will probably be a more robust software tool if successful.
The following list are the primary tasks and their current status:
• Task 1a. Develop the time-dependent, shell-balance, engineering design
equations that include the pertinent macroscopic phenomena at a differential
level. These include key solute component(s) permeability (1 component
done); the solvent permeability (done); the hydrodynamic mass transfer
coefficient (done); and the three main modes of flux decline (not started).
• Task 1b. Define the step size (for both membrane area and time integration)
approaches for various types of membrane elements and module
configurations, including consideration of overall plant size (done for spiral
wound elements, not started for hollow fiber units).
• Task 1c. Develop the models for defining: i) the feed side mass transfer
coefficient and ii) the pressure drop through an element/module (done).
6
• Task 1d. Define the integration algorithm for performing the summation of
the material balance through each single element in a series and checking its
convergence accuracy (simple forward difference method done).
• Task 1e. Develop a set of experimental data to input into the model for
benchmark testing (done).
• Task 1f. Create a complete set of default parameters for all the model input
variables (in progress).
• Task 1g. Create the Excel® workbook application using the specifications
from subtasks 1a-f (effort using Excel® workbook has been cancelled in
favor of using LabView® visual programming environment—this work is in
progress).
• Task 1h. Beta test the Excel® workbook application with a selected data set
that includes both bench-scale and pilot-scale measurements over extended
periods of time (not begun).
Subprograms (vi’s)
Labview® calls its subprograms vi’s. Appendix 1 contains a detailed description
of the vi’s including the equations, definitions of the variables, and how the
subprogram executes.
Benchmarking Data
We illustrate a reverse-engineering analysis of an arbitrarily chosen vendor’s
(Hydranautics SWC-2521 RO) specifications for a membrane element in
Appendix 2. This was done in order to make comparisons with bench-scale data
and the modeling algorithm results—and to facilitate extrapolation of that
membrane to other process conditions.
Vendor Software
We need to compare and contrast our design modeling development with the
vendor software tools available for RO systems. We have started with ROSA 5.3
(Dow- FilmTec). The initial results are shown in Appendix 3.
7
function of recovery. We have included the correlations in Appendix 4 and are
included as subprogram vi’s.
Modeling Approach
This section presents the overall algorithm and general modeling equations for
performing stepwise material and energy (pressure) balances across a spiral-
wound membrane element.
8
Figure 2. Division of membrane into sections (calculation-elements).
Figure 3. An individual area element; top view (left), side view (right).
Referring to Figure 3 we see that the differential membrane (or mass transfer)
area is given by the following equation:
ΔA = wΔL (1)
where ΔL is determined by the degree that we discretize the overall element
length, L. (N.B., We will need to evaluate the process design result’s sensitivity
to the choice of ΔL but, initially, we will use ~15 cm as a starting value. Thus,
one would need to increase the size of the problem (that is, the number of
calculation area elements) as the length of the full membrane element increases.
For example, the number of differential area elements would be n = L/15, where L
is given in centimeters.)
The mass balance is depicted in the RHS of Figure 3, where Q is the flow in the
feed channel and W1 and W2 are the mass flows of water and solute (for example,
NaCl) that permeate the membrane. The mass flows through the membrane are
given (at any time t) by the specific flux equations and are coupled to the overall
mass balance—in an iterative sense—by the compositions.
9
The Reynolds number (Re) will be calculated using Eq. 2. The cross-sectional
area for flow is Ax = h·w (where h is the height of the feed channel —determined
by the spacer thickness). The superficial velocity in each area element is given by
v = (Qi + Qi+1)/(2Ax) and will be coupled with the fluid’s density (ρ) and viscosity
(μ).
𝑣𝑣𝑣𝑣ℎ 𝜌𝜌
Re = 𝜇𝜇
(2)
The Re will be used with the appropriate correlations to determine the mass
transfer coefficient and the frictional component of hydraulic pressure drop in the
area element.
Concentration
The concentrations of both the solvent and solute were required for all major
calculations and are therefore important items to calculate correctly when
converting units. The best estimates of real solution densities are being
incorporated in order to make certain that mass and molar balances are done
correctly. Even though fluxes are reported on a volumetric basis, the transport
equations are really only accurate on a molar basis.
10
(Sh), Schmidt (Sc), and Reynolds (Re) numbers were used to compute the mass
transfer coefficient (km), which is the rate of mass transfer per unit area per unit
concentration.
𝑘𝑘𝑘𝑘ℎ
𝑆𝑆ℎ = (5)
𝐷𝐷
𝜇𝜇𝜇𝜇
𝑆𝑆𝑐𝑐 = 𝜌𝜌
(6)
𝑚𝑚̇
𝑘𝑘𝑚𝑚 = 𝐴𝐴 (7)
𝑚𝑚 (𝐶𝐶𝑖𝑖 −𝐶𝐶𝑖𝑖+1 )
The equation for the mass transfer coefficient consists of ṁ, which is the mass
flow rate in units of kilograms per second; (Ci –Ci+1), which is the concentration
of Am in moles per cubic meter; and Am, which is the area of the membrane section
in square meters, thus giving the mass transfer coefficient units of meters per
second.
The ideal case of steady state example was first modeled and broken down into
sections that required sub-functions, user inputs, and program defined constants
Figure 5.
Each of the boxes designated as containing subfunctions (green) are also outlined
in the following flowcharts Figures 6 to 10.
11
Figure 5. Code flowchart of steady state problem.
Figure 7. Outline of
subfunction for Figure 8. Outline of subfunction for specifying problem
stream composition. criteria.
12
Figure 9. Flowchart for specifying the properties of the membrane elements.
Once an ideal (perfectly mixed) steady state case and its respective subfunctions
are modeled, a stepwise modeling (using the pseudo-steady-state approach) using
the same methodology, numbering conventions, and color codes as described
above for the steady state case is done. The time-dependent (pseudo-steady state
approach) flowchart for an element are shown below as Figures 11 and 12.
For a time dependent problem, a pre-processor (in the problem input) will define
the way to proceed in doing multiple time-steps. But, in general, each time-step
will require solution of the pseudo-steady problem with changing initial
conditions, until either a convergence criteria is reached, or a specified amount of
time has passed.
13
Figure 11. Flowchart for the pseudo-steady-state problem.
Figure 12. Flowchart for subfunctions to calculate the concentration polarization of each solute
(left) and the solute material balance in each step (right).
14
CURRENT OVERALL MODEL
The following “screenshot” presents the current topmost level. It is called the
“Differential Unit.vi”. The values in the input boxes are the current defaults.
This subprogram does the material and pressure balance on the inflows and
outflows for an element. It needs significant further refinement, but right now
does the calculations as described in Appendices 3 and 4 for a single element.
The input is in the four leftmost sections and the output is in the rightmost section.
To link together multiple elements the output from one element becomes the input
to the next. A higher level subprogram (vi) is needed to do this and there are a
variety of ways to approach this.
Feed Properties: The feed flow rate, composition, and pressure are the inputs.
Right now this subprogram (vi) works with a single “real” solute (and its
properties) as the feed. This single “real” solute can be replaced by a “virtual”
solute using the mixture properties as output from the Solution Properties.vi
subprogram (see the following screenshot). This subprogram currently is set up
for 3 components and uses a perfect mixture model (properties combine in
proportion to their mole fractions). The properties (viscosity, density, osmotic
15
pressure, and the conversion between mass fractions and molarity) are
recalculated throughout the modeling in order to correctly account for the
composition change. They are calculated at a constant temperature (20 °C), but
that can (and will) be modified to use a general temperature dependency
correlation based on perfect mixture theory.
General Settings: this is where items that relate to the calculation algorithm are
input. The tolerance on iterating for the flux is the only operational value at
present. The number of differential units is not used yet. It will be used to
control the step size when working with longer elements.
16
APPENDICES
Appendix 1: Description of Some of the Working
Subprogram vi’s
Average.vi
Purpose: Computes average of up to five numbers.
Inputs: Number of Values, Value 1–5.
Outputs: Average.
Notes: vi assumes number of variables is correct.
Equations:
∑𝑖𝑖 𝑉𝑉𝑖𝑖
𝑉𝑉𝑎𝑎𝑎𝑎𝑎𝑎 =
𝑖𝑖
Vavg : Average value
Vi : ith value
i : number of values
Boundary_layer_coeff2.vi
Purpose: Calculates the boundary layer coefficient in many different flow
regimes/using different methods (SW Eriksson, Laminar Flow Between
Parallel Plates, Laminar Flow in Round Tubes, Turbulent Flow in Stirred
Batch Vessels, Turbulent Flow in Tubes 1 and 2).
Inputs: Diffusivity, viscosity, length, shear viscosity, diameter, avg. velocity,
Reynold’s number, stirrer speed, density, Schmidt number, height.
Outputs: Boundary layer coefficient.
Notes: Not all inputs have to be used for every model, vi does not check for this.
User must make sure all required inputs have values.
Equations:
SW Eriksson
𝐷𝐷 ∙ Re0.54 ∙ Sc 0.33
𝑘𝑘 =
2 ∙ 𝑑𝑑
k: boundary layer coefficient
D: diffusivity
Re: Reynolds number
Sc: Schmidt number
d: diameter of pipe
17
Laminar Flow Between Parallel Plates
𝑈𝑈𝑐𝑐 ∙ 𝐷𝐷2
3
𝑘𝑘 = 1.177 ∙ �
ℎ ∙ 𝐿𝐿
3 2 ∙ 𝑈𝑈 ∙ 𝐷𝐷 2
𝑐𝑐
𝑘𝑘 = 1.295 ∙ �
𝑑𝑑 ∙ 𝐿𝐿
d: diameter of tube
L: length of tube
ρ: fluid density
μ: fluid viscosity
18
Program Flowsheet:
concentration_permeate.vi
Purpose: Calculates the concentration of the permeate using a very simplistic
model.
Inputs: Retentate concentration, intrinsic rejection, solution flux, boundary layer
coefficient.
Outputs: Permeate concentration.
Notes: N/A
Equations:
𝐽𝐽𝑣𝑣
𝐶𝐶𝑟𝑟 ∙ (1 − 𝑅𝑅𝑜𝑜 ) ∙ 𝑒𝑒 𝑘𝑘
𝐶𝐶𝑝𝑝 = 𝐽𝐽𝑣𝑣
𝑅𝑅𝑜𝑜 + (1 − 𝑅𝑅𝑜𝑜 ) ∙ 𝑒𝑒 𝑘𝑘
Cp: permeate concentration
Cr: concentration retentate
Ro: membrane’s intrinsic rejection
Jv: flux through membrane
k: boundary layer coefficient
19
concentration_retentate.vi
Purpose: Calculates the concentration of the retentate using a very simplistic
model.
Inputs: Boundary layer coefficient, intrinsic rejection, feed concentration,
solution flux, recovery.
Outputs: Retentate concentration.
Notes: N/A
Equations:
𝐶𝐶𝑓𝑓
𝐶𝐶𝑟𝑟 = 𝐽𝐽𝑣𝑣
𝜃𝜃 ∙ (1 − 𝑅𝑅𝑜𝑜 ) ∙ 𝑒𝑒 𝑘𝑘
(1 − 𝜃𝜃) + 𝐽𝐽𝑣𝑣
𝑅𝑅𝑜𝑜 + (1 − 𝑅𝑅𝑜𝑜 ) ∙ 𝑒𝑒 𝑘𝑘
concentration_wall.vi
Purpose: Calculates the concentration at the membrane wall.
Inputs: Boundary layer coefficient, intrinsic rejection, bulk concentration, solution
flux.
Outputs: Membrane wall concentration.
Notes: N/A
Equations:
𝐽𝐽𝑣𝑣
𝐶𝐶𝑏𝑏 ∙ 𝑒𝑒 𝑘𝑘
𝐶𝐶𝑤𝑤 = 𝐽𝐽𝑣𝑣
𝑅𝑅𝑜𝑜 + (1 − 𝑅𝑅𝑜𝑜 ) ∙ 𝑒𝑒 𝑘𝑘
Cw: wall concentration
C : bulk concentration
differential_unit_guess.vi
Purpose: Calculates initial guesses for multiple conditions which are not given.
This vi provides a starting point for differential_unit.vi. The values found by
this vi are, for the most part, inaccurate as they are only guesses.
Inputs: Feed flowrate, salt, salt concentration, minimum salt rejection, intrinsic
water permeability, feed pressure, permeate pressure, differential membrane
permeation area, number of differential units.
20
Outputs: Retentate concentration, permeate concentration, retentate volumetric
flowrate, retentate pressure, Jv, recovery.
Sub vi’s: Retentate_pressure.vi, Jv_Ro.vi.
Strategy: The vi first solves for the permeate concentration using the assumption
that volume is additive (bad assumption unless fluid is incompressible). The
vi then uses Retentate_pressure.vi which is a guess for the pressure drop along
the membrane. After, the vi uses Jv_Ro.vi to solve for the flux. This flux will
be off due to the fact that the initial guesses are off. The flux is then used to
solve for permeate flowrate, which is in turn used to solve for retentate
flowrate (doing a volumetric balance, assuming volume is additive once
again). Retentate flowrate can then be used to solve for recovery. This then
leads to retentate concentration being solvable.
Equations:
Cp = Cf ∙(1 – Ro)
Vp = Jv∙dAxp
Vr = Vf – Vp
21
Program Flowsheet:
Differential Unit.vi
Purpose: Puts together all the basic vi’s
22
Appendix 2: Benchmarking Analysis of Vendor
Specifications (Hydranautics SWC-2521)
Pure water permeability is the first figure-of-merit determined when performing
bench scale tests. This should be equivalent to the membrane’s nominal intrinsic
water permeability obtained when performing measurements containing solutes
that are rejected by the membrane (at constant temperature). Temperature
corrections would need to be made based on the change in viscosity and solute
activity. Manufacturers typically publish data for an element test performed
under specified conditions. In the following, we “deconstruct” a set of published
data to show the algorithm that will be followed for translating (and verifying)
bench scale data into parameters that will be forward-integrated in the modeling
process.
23
Vr = 0.9375 × 10–4 m3/s Using volumes to do the overall mass balance is the first
assumption which can be corrected after calculating
compositions. In the absence of certain knowledge of what
the manufacturer used for their specifications, it’s the best
we can do to get started.
Vr = Vf – Vp
4) Calculate the spacer dimension and open area for flow in the element:
We need to determine the average fluid velocity in the feed channel in order to
determine the mass transfer coefficient to be used in calculating the wall
concentration during the manufacturer’s test. To do this, we need the actual
cross-sectional area for flow.
2
Figure A-2. Side view of spiral element.
We need to estimate the overall length of the spiral in order to determine the
cross-sectional area for the feed flow to be passing through. Refer to the
following Figure A-3 for our nomenclature and note that is somewhat different
than that used in the report body when we are defining our flux modeling. This
change in nomenclature is simply an immediate convenience.
3
ts = the thickness of the feed channel (presumed equal to the feed spacer
thickness.)
D = the outer diameter of the spiral.
d= the core diameter for the permeate header.
c= the length of the core extensions.
n= the number of envelopes (and recognizing that each envelope has two
membranes.)
Ax,T = the total projected, cross-sectional area presented by the element to the
feed.
Ax,M = the total projected, cross-sectional area presented by the membrane
envelope to the feed.
Ax,F = the total projected, cross-sectional area available for feed flow (including
the feed spacer).
We assume that the nominal 2.5” diameter element is made from one envelope.
w = 0.4572 m We assume that some of the dimension A is used for the brine seals
and glue lines (~0.6 inches or 0.01524 m). Thus
w = 0.5334 – 2·0.0305 – 0.01524
The formula for the length of a spiral whose thickness is tm + ts is given by:
𝐷𝐷 − 𝑑𝑑 𝐷𝐷 + 𝑑𝑑
𝐿𝐿 = 𝜋𝜋 ∙ ∙
2 ∙ (𝑡𝑡𝑚𝑚 + 𝑡𝑡𝑠𝑠 ) 2
4
5) Calculate the superficial velocity through the feed channel and the bulk
fluid mass transfer coefficient:
v = 0.114 m/s v = the superficial velocity in the feed channel of the element
𝑉𝑉𝑓𝑓 + 𝑉𝑉𝑟𝑟 1 1.0417 + 0.9375 10−4
𝑣𝑣 = ∙ = ∙ −4
2 𝐴𝐴𝑥𝑥,𝐹𝐹 2 ∙ 8.68 10
Re = 78.33 We are using the properties for a 0.613 M (35,000 ppm)
solution; rigorous evaluation requires a trial-and-error approach
𝑣𝑣 ∙ 𝑑𝑑ℎ ∙ 𝜌𝜌
𝑅𝑅𝑅𝑅 =
𝜇𝜇
dh = ts = 7.112×10–4 m
ρ = density of the bulk fluid, 1.025×103 kg/m3
μ = viscosity of the bulk fluid, 1.061×10–3 kg·m–1·s–1
Sc = 1,293.9 𝜇𝜇
Sc =
𝜌𝜌 ∙ 𝐷𝐷
D = diffusion coefficient of salt in concentrated salt solution,
0.8×10–9 m2/s
k = 2.556×10–3 m/s we apply the mass transfer correlation presented by Eriksson
(1999)
𝐷𝐷
𝑘𝑘 = ∙ 𝑎𝑎 ∙ Re𝑏𝑏 ∙ Sc 0.33
𝑑𝑑ℎ
a = 0.5 and b = 0.54
5
Kw = 3×10–6 m·MPa–1·s–1 The phenomenological flux equation is:
Jv = Kw (ΔP – ΔΠ)
the applied transmembrane pressure was set at 5.514 MPa
𝐽𝐽𝑣𝑣 9.34 × 10−6 m⁄𝑠𝑠
𝐾𝐾𝑤𝑤 = =
(∆𝑃𝑃 − ∆Π) 5.514 − (2.421 − 0.022) MPa
The following Table A-1 is extracted from the CRC Handbook of Chemistry and
Physics, 71st Ed.
We have used this data to develop a density correlation which is needed to change
mole or mass fractions to volumetric flow rates. The correlation is:
6
7
Appendix 3. Vendor Design Software: Program
Comparisons
There are several reverse osmosis process simulators offered by equipment
vendors. They include the Dow/Filmtec ROSA (a computer design program for
designing plants with FILMTEC reverse osmosis membranes); GE Osmonics
WINFLOWSTM (a computer design program for complex system configurations
such as designs with feed bypass, recycle, two-pass, and two-stage configurations);
and IMSDesign (a comprehensive membrane software design package that allows
the user to design a membrane system using Hydranautics membranes).
ROSA 5.3
The ROSA version 5.3 commercial program was also run to compare with the
results of the calculations from the Microsoft Excel® code. The following results
were run for a reverse osmosis system under the same conditions as defined in the
Microsoft Excel® code.
8
As displayed above, the results are similar to the Microsoft Excel® results for a
single element with zero sub-sections.
9
Table A-3. Molarity (g-mol/L) as a function of mass percent salt
[Molarity = A×(Mass%)2 + B×(Mass%)]
Salt A B
Ammonia –0.0019 0.5814
Ammonium chloride 0.0005 0.187
Barium chloride 0.0006 0.0468
Cadmium chloride 0.0009 0.0465
Calcium chloride 0.0009 0.0876
Ethanol –0.0005 0.2231
Lead nitrate 0.0004 0.0288
Lithium chloride 0.0015 0.2342
Magnesium chloride 0.001 0.1033
Magnesium sulfate 0.001 0.0817
Potassium bicarbonate 0.0007 0.099
Potassium carbonate 0.0008 0.0695
Potassium chloride 0.0009 0.1333
Potassium hydroxide 0.0019 0.1733
Potassium nitrate 0.0007 0.0981
Potassium sulfate 0.0005 0.0572
Sea water ---- ----
Sodium carbonate 0.001 0.094
Sodium chloride 0.0013 0.1697
Sodium hydroxide 0.0027 0.251
Zinc sulfate 0.007 0.0613
Table A-4. Relative density (kg/L) at 293 K as a function of mass percent salt
[Density = A×(Mass%)2 + B×(Mass%) + C]
Salt A B C
Ammonia 3.00×10–5 –0.0043 0.99823
Ammonium chloride –1.00×10–5 0.0032 0.99823
Barium chloride 9.00×10–5 0.0085 0.99823
Cadmium chloride 0.0001 0.0074 0.99823
Calcium chloride 5.00×10–5 0.008 0.99823
Ethanol –8.00×10–6 –0.0013 0.99823
Lead nitrate 0.0001 0.0082 0.99823
Lithium chloride 1.00×10–5 0.0056 0.99823
10
Salt A B C
Magnesium chloride 4.00×10–5 0.008 0.99823
Magnesium sulfate 6.00×10–5 0.0099 0.99823
Potassium bicarbonate 3.00×10–5 0.0064 0.99823
Potassium carbonate 4.00×10–5 0.0088 0.99823
Potassium chloride 2.00×10–5 0.0063 0.99823
Potassium hydroxide 3.00×10–5 0.0086 0.99823
Potassium nitrate 3.00×10–5 0.0062 0.99823
Potassium sulfate 3.00×10–5 0.008 0.99823
Sea water 8.00×10–6 0.0075 0.99823
Sodium carbonate 2.00×10–5 0.0103 0.99823
Sodium chloride 3.00×10–5 0.007 0.99823
Sodium hydroxide –9.00×10–6 0.0112 0.99823
Zinc sulfate 8.00×10–5 0.0101 0.99823
11
Table A-6. Conductance (mS/cm) as a function of mass percent salt
[Conductance = A×(Mass%)5 + B×(Mass%)4 + C×(Mass%)3 + D×(Mass%)2 + E×(Mass%)]
Salt A B C D E
Ammonia 5.00×10–6 –4.00×10–4 9.50×10–3 –1.19×10–1 0.6406
Ammonium chloride --- --- --- –1.43×10–1 19.691
Barium chloride --- --- --- –8.13×10–2 8.4849
Cadmium chloride 1.00×10–6 –2.00×10–4 9.20×10–3 –2.83×10–1 4.3384
Calcium chloride --- 9.00×10–6 –1.00×10–3 –2.76×10–1 14.636
Lead nitrate --- --- 1.20×10–3 –1.02×10–1 4.3442
Lithium chloride --- --- 3.80×10–3 –5.43×10–1 17.794
Magnesium chloride --- --- 4.20×10–3 –5.49×10–1 15.978
Magnesium sulfate --- --- 9.00×10–4 –2.07×10–1 6.4111
Potassium bicarbonate --- --- --- –8.68×10–2 8.1201
Potassium carbonate --- --- --- –1.48×10–1 12.358
Potassium chloride --- --- --- –5.89×10–2 14.839
Potassium hydroxide --- --- --- –9.37×10–1 39.832
Potassium nitrate --- --- --- –9.79×10–2 9.7801
Potassium sulfate --- --- --- –1.68×10–1 10.491
Sea water --- --- --- –4.88×10–1 15.12
Sodium carbonate --- --- --- –3.54×10–1 11.097
Sodium chloride --- --- --- –2.50×10–1 15.165
Sodium hydroxide --- --- --- –1.76 49.943
Zinc sulfate --- --- --- –1.18×10–1 4.6183
12
REFERENCES
Adam, W.J., Luke, B., and Meares, P., The separation of mixtures of organic
liquids by hyperfiltration, J. Memb. Sci., 13, 127-149 (1983).
Allgeier, S.C. and Summers, R.S., Development of a rapid bench-scale membrane
test for the evaluation of nanofiltration performance. Proc. 1995 AWWA
Membrane Technology Conf., Reno, NV (1995).
Bacchin, P., Si-Hassen, D., Starov, V., Clifton, M.J., and Aimar, P., A unifying
model for concentration polarization, gel-layer formation, and particle
deposition in cross-flow membrane filtration of colloidal suspensions,
Chem. Eng. Sci., 57, 77-91 (2002).
Baruah, G. L., Venkiteshwaran, A., and Belfort, G., Global model for optimizing
crossflow microfiltration and ultrafiltration processes: A new predictive
and design tool, Biotechnol. Prog. 21 (4): 1013-1025 (2005).
Belfort, G., Membrane modules: comparison of different configurations using
fluid mechanics, J. Memb. Sci. 35 (1988) 245-270.
Bhattachajee, S., Chen, J.C., and Elimelech, M., Coupled model of concentration
polarization and pore transport in crossflow nanofiltration, AIChE J., 47,
2733-2745 (2001).
Bhattacharjee, C. and S. Datta, Numerical simulation of continuous stirred
ultrafiltration process: An approach based on moving boundary layer
concept, Sep. Sci. Technol. 38 (2003) 1749-1772.
Bowen, W.R. and Jenner, F., Theoretical descriptions of membrane filtration of
colloids and fine particles: an assessment and review, Adv. Coll. Interface
Sci., 56, 141-200 (1995).
Brian, P.L.T., Mass transport in reverse osmosis, Chap 5 in Desalination by
Reverse Osmosis, U. Merten (ed.), The MIT Press, Cambridge, MA
(1967).
CRC Handbook of Chemistry and Physics 62nd Edition, R.C. Weast ed.,
Concentrative Properties of Aqueous Solutions: Conversion Tables, CRC
Press, Boca Raton, Fl, 1982.
DaCosta, A.R., Fluid flow and mass transfer in spacer-filled channels for
ultrafiltration, PhD Thesis, University of New South Wales, Australia
(1993).
Desalination and Water Purification Technology Roadmap: A Report of the
Executive Committee, DWPR Report No. 95, USBR and Sandia
Laboratories, (2003).
Deen, W.M., Hindered transport of large molecules in liquid filled pores, AIChE
J., 33, 1409-1425 (1989).
Dow-FilmTec ROSA 5.3, http://www.dow.com/liquidseps/design/rosa.htm
13
El-Halwagi, A.M., Manousiouthakis, V., and El-Halwagi, M.M., Analysis and
simulation of hollow fiber reverse-osmosis modules, Separation Science
and Technology, 31, 2505-2529 (1996).
Elimelich, M. and S. Bhattacharjee, A novel approach for modeling concentration
polarization in crossflow membrane filtration based on the equivalence of
osmotic pressure model and filtration theory, J. Memb. Sci. 145 (1998)
223-241.
Eriksson, P., New design feed channel spacer in spiral-wound elements for
pretreatment cost reduction, USBR Final Report Agreement No. 1425-97-
FC-81-30006F (1998).
Evangelista, F., A short cut method for the design of reverse osmosis desalination
plants, Ind. Eng. Chem. Proc. Des. Dev., 24, 211-223 (1985).
Evangelista, F., Design and performance of two-stage reverse osmosis plants,
Chem. Eng. Processing, 25, 119-125 (1989).
Hamer, W. J. and Y. C. Wu, Osmotic coefficients and mean activity coefficients
of uniunivalent electrolytes in water at 25 °C, J. Phys. Chem. Ref. Data, 1
(4) 1972.
Hwang, S-T. and K. Kammermeyer, Engineering aspects of membrane
separations, Chap. 13 and Appendix C in Membranes in Separations,
Robert E. Krieger Publishing Co., Inc., Malabar, FL (1984).
Kahdim, A.S., S. Ismail, and A. Jassim, Modeling of reverse osmosis systems,
Desalination, 158 (2003), 323-329.
Kataoka, T., Tsuru, T., Nakao, S., and Kimura, S., Permeation equations
developed for prediction of membrane performance in pervaporation,
vapor permeation, and reverse osmosis based on the solution-diffusion
model, J. Chem. Eng. Jap., 24, 326-333 (1991).
Kedem, O. and Katchalsky, A., Thermodynamic analysis of the permeability of
biological membranes to non-electrolytes, J. Biochim. Biophys., 27, 229-
246 (1958).
Masken, Fazilet, Optimization of reverse osmosis membrane networks, PhD
Thesis (2000) University of New South Wales, Sydney, Australia (and
references therein).
Mason, E.A. and Lonsdale, H.K., Statistical-mechanical theory of membrane
transport, J. Memb, Sci., 51, 1-81, (1990).
Mulder, M., Basic Principles of Membrane Technology, Kluwer Academic
Publishers, Dordrecht, NL, (1992).
Noronha, M., Mavrov, V., and Chmiel, H., Computer-aided simulation and design
of nanofiltration processes, in Advanced Membrane Technology, N.N. Li,
E. Drioli, W.S.W. Ho, and G.G. Lipscomb (eds), Ann. N.Y. Acad. Sci.,
984, 142-158 (2003).
14
Noronha, M., Mavrov, V., and Chmiel, H., Efficient design and optimisation of
two-stage NF processes by simplified process simulation, Desalination,
145, 207-215 (2002).
Prabhakar, S. and M.P.S. Ramani, A new concept of mass transfer coefficient in
reverse osmosis—practical applications, J. Memb. Sci. 86 (1994) 145-154.
Pradanos, P., de Abajo, J., de la Campa, J.G., and Hernandez, A., A comparative
analysis of flux limit models for ultrafiltration membranes, J. Memb. Sci.,
108, 129-142 (1995).
Schaep, J., Vandecasteele, C., Mohammad, A.W., and Bowen, W.R., Analysis of
the salt retention of nanofiltration membranes using the donnan-steric
partitioning pore model, Sep. Sci. Tech., 34, 3009-3030 (1999).
Sirkar, K.K., Dang, P.T., and Rao, G.H., Approximate design equations for
reverse osmosis desalination by spiral-wound modules, Ind. Eng. Chem.
Proc. Des. Dev., 21, 517-527 (1982).
Sirkar, K.K. and Rao, G.H., Short cut design methods for reverse osmosis
separation with tubular modules, Desalination, 48, 25-42 (1983).
Song, L., Flux decline in crossflow microfiltration and ultrafiltration: mechanisms
and modeling of membrane fouling, J. Memb. Sci. 139 (1998) 183-200.
Song, L., J.Y. Hu, S.L. Ong, W.J. Ng, M. Elimelech, and M. Wilf, Performance
limitation of the full-scale reverse osmosis process, J. of Memb. Sci. 214
(2003) 239– 244.
Sourirajan, S. and Matsuura, T., Reverse osmosis and ultrafiltration, Chap. 25 in
Encyclopedia of Fluid Mechanics, Gulf Publishing Co., Houston, TX
(1986).
Spiegler, K.S. and Kedem, O., Thermodynamics of hyperfiltration (reverse
osmosis): criteria for efficient membranes, Desalination, 1, 311-326
(1966).
Thiel, S.W., Concentration-dependent solute activity coefficients and solute
transport in pressure-driven membrane separation processes, J. Memb.
Sci., 48, 127-140 (1990).
Wiley, D.E., Fell, C.J.D., and Fane, A.G., Optimisation of membrane module
design for brackish water desalination, Desalination, 52, 249-265 (1985).
Zhenhua, H., Equations for checking flow rate parameters of a reverse osmosis
device, Water Treatment, 10 (1995) 27-30.
15