RESOURCES | BLOG

Modeling Ion-Selective Membrane Separations with OLI Flowsheet V12.7

Leslie Miller

Director, Client Solutions

Membrane separation technologies are increasingly used in water treatment and lithium recovery, where controlling the movement of dissolved ions is an important part of process design. Nanofiltration and other ion-selective membranes allow different ions to be retained or transferred at different rates, creating separation behaviours that can be difficult to represent using conventional reverse osmosis models.

While established reverse osmosis models provide a theoretical basis for predicting membrane performance, their assumptions do not always extend to processes involving lower or more selective ion rejection. Representing these separations with conventional component splitters can also be challenging, particularly when individual ions are distributed between multiple species.

OLI Flowsheet: ESP Version 12.7 introduces Simple Membrane, a new process unit that allows users to represent ion-selective separations through specified ion rejection fractions and water recovery. The unit calculates the resulting permeate and concentrate streams while retaining OLI’s thermodynamic and thermophysical calculations.

Extending membrane modeling beyond conventional reverse osmosis

The existing reverse osmosis membrane model in OLI Flowsheet is based on the theoretical behaviour of RO membranes. However, nanofiltration and other selective membrane technologies can operate with rejection characteristics and recovery conditions that fall outside the assumptions of that model.

Simple Membrane provides an alternative for representing these processes without requiring a fundamental model of the membrane itself. It can also be used alongside the RO membrane unit, for example nanofiltration followed by reverse osmosis, so each separation step is represented with the most appropriate model.

Rather than predicting rejection from membrane properties, the unit uses rejection fractions specified by the user. Each cation and anion can be assigned an individual rejection value, or a common default can be applied across all ions.

These rejection fractions are applied to the total amount of each ion, regardless of how that ion is speciated in solution. Combined with a specified water recovery, they determine how material is distributed between the permeate and concentrate streams.

The rejection fraction sets the share of each ion’s total flow that stays in the concentrate. Membrane datasheets and pilot data usually report rejection on a concentration basis, so those values are converted before entry, where Y is the water recovery as a fraction:

In the example below, at 55% water recovery, an observed sodium rejection of 10% and an observed sulfate rejection of 97% become:

The conversion is recalculated whenever the water recovery changes.

This approach allows users to represent separation characteristics established through experimental measurements, membrane performance data or a defined process design basis.

Defining membrane separation conditions

Ion rejection and water recovery

Users specify rejection fractions for individual ions and define the percentage of feed water recovered in the permeate. This allows different separation behaviours to be represented, including membranes designed to reject divalent ions more strongly than monovalent ions.

Permeate pH

An optional permeate pH target can be specified, with users selecting whether cations or anions are adjusted to meet the target. An adjustable convergence tolerance controls the balance between achieving the specified pH and maintaining the requested ion rejection values.

Outlet temperature and pressure

Temperature and pressure can be defined independently for the outlet streams, allowing the modeled conditions to reflect the process design basis. Pressure changes are represented through the specified outlet pressures rather than a calculated membrane pressure-drop model.

Retaining the chemistry behind the separation

Specifying ion rejection is only part of representing a membrane separation process. The resulting streams may have substantially different compositions, with implications for their chemical behaviour and subsequent processing.

Simple Membrane retains OLI’s thermodynamic and thermophysical calculations for the permeate and concentrate streams. This allows users to evaluate properties such as mineral scaling tendency, osmotic pressure and pH after the separation.

Electroneutrality is maintained throughout the calculation. Where adjustments are required to balance charge or meet an optional pH target, calculated rejection fractions may differ from the specified inputs.

These calculations allow the outlet streams to be incorporated into a wider OLI Flowsheet model, where their chemistry can be evaluated alongside downstream process operations.

Simple Membrane in practice: sulfate-removal nanofiltration ahead of RO for produced water

Feed and process objective

Oilfield produced water is often too saline and too scale-prone to treat with reverse osmosis alone. In this example, a representative high-salinity produced water (about 44,000 mg/L TDS at 35 °C, with oil, solids and iron already removed) is acidified to pH 5.5 and fed to a nanofiltration stage. The NF permeate then feeds a seawater RO stage. The aim is to remove sulfate ahead of RO, so the sulfate scales that limit produced-water recovery (barite and celestite) are controlled, and to find how far the NF itself can be pushed before its own concentrate scales.

Figure 1. OLI Flowsheet: ESP model: produced water feed (PW_FEED) to Simple Membrane nanofiltration (NF_A), with the NF permeate feeding reverse osmosis (RO_A).

 Table 1. Feed composition: representative high-TDS produced water (oil, solids and iron removed), acidified to pH 5.5. Converted from OLI element mass % at a feed density of 1.026 g/mL.

Simple Membrane suits this case because loose NF membranes do not fit the assumptions of the RO model: they retain sulfate strongly but let most of the monovalent ions, and a large share of the hardness, pass.

Membrane specification

Rejections were based on a commercial loose NF membrane. Its datasheet gives 97% MgSO₄ rejection and 40–60% CaCl₂ rejection, so sulfate was set at 97% and calcium and strontium at 50%. Magnesium (55%), barium (45%), sodium, potassium and lithium (10%) and the remaining species are engineering estimates, since datasheets do not publish ion-by-ion rejections. Chloride was set so the permeate is charge-balanced. The values were converted to flow-based inputs and entered with a water recovery of 55%. The RO stage uses the existing RO membrane unit at 45% recovery.

Figure 2. Simple Membrane definition: outlet temperature and pressure for the permeate and concentrate, and 55% water recovery.

Figure 3. Ion rejection fractions, entered as flow-based values converted from observed (concentration-based) rejections at 55% recovery. For example, an observed sodium rejection of 10% becomes 0.505.

For design work, these rejections should be replaced with values from the membrane supplier or pilot testing.

Calculated separationThe NF removed 97% of the sulfate (400 to 12 mg/L), while calcium and magnesium were only about half removed and sodium, chloride and lithium largely passed with the water. Because the permeate is almost sulfate-free, the RO concentrate stays far from sulfate scale: celestite and barite scaling tendencies are about 0.01, even though RO concentrates the stream to 65,000 mg/L TDS and 53 atm osmotic pressure.

Electroneutrality: with a charge-consistent set of rejections, the calculated rejection of every ion matched its input to four decimal places, the mass balance closed, and the calculated water recovery was 54.9% against a 55% target (Figure 4).

Figure 4. Simple Membrane calculated results: the mass balance closes, water recovery is 54.94% against a 55% target, and every calculated rejection matches its input.

Chemistry evaluation: where does the NF stage scale?

Because OLI calculates the full chemistry of the concentrate, the recovery limit of the NF stage itself can be found by sweeping recovery (Figure 6). Without acid (feed pH 6.15), calcite reaches saturation at about 46% recovery. Acidifying the feed to pH 5.5 removes calcite as a constraint, and the limit moves to about 62%, where celestite, followed by barite at about 66%, become saturated. Acid has no effect on these sulfate scales, so recovery beyond about 62% would need an antiscalant or strontium and barium removal ahead of the NF. The design point of 55% sits below all of these limits.

Figure 5. Scaling tendencies in the NF concentrate (left) and RO concentrate (right) at the 55% design point. Removing sulfate in the NF keeps the RO concentrate far from barite and celestite scale.

Figure 6. NF concentrate scaling tendency vs. recovery. Acidifying the feed to pH 5.5 removes calcite as a limit; celestite and barite then limit recovery at about 62% and 66%.

Engineering interpretation

  • Loose NF here is a sulfate-removal step, not a softener. It protects the downstream RO from sulfate scale but leaves about half the hardness, so it does not concentrate lithium relative to calcium or magnesium (Mg/Li falls only from 17.5 to 8.8).
  • The scale-controlling mineral changes with pretreatment, from calcite without acid to celestite and barite with acid, and the model shows exactly where each takes over.
  • Combining Simple Membrane with the RO unit lets each stage be represented appropriately while the full stream chemistry is carried through the flowsheet, giving osmotic pressure and scaling tendency at every step for evaluating recovery targets, chemical programs and downstream options.

Applying Simple Membrane in process simulation

Simple Membrane extends the range of membrane separation processes that can be represented in OLI Flowsheet without requiring detailed membrane transport parameters.

Its rejection-based approach is particularly relevant where membrane performance can be described through measured or specified separation characteristics, but conventional reverse osmosis assumptions are unsuitable. It is a generic representation of a membrane and is not intended for comparing commercial membranes from different manufacturers.

By combining these separation specifications with OLI’s chemistry calculations, and with the RO membrane and other process units, Version 12.7 allows users to examine the resulting fluid properties as part of a wider process model.

Explore Simple Membrane in OLI Flowsheet: ESP Version 12.7

Version 12.7 is available to download now.