MaximaLabs
All unit operations

Ion Exchange Softener simulation

1 inlet -> 1 outlet (water passes through thermodynamically; the hardness balance rides alongside it as mg/L as CaCO3)

Governing equations

The exact equations the solver works for a ion exchange softener — the same math shown in the app's "Theory" panel, not a black box.

Vthroughput=CresinVresinHinHoutV_{throughput} = \frac{C_{resin}\,V_{resin}}{H_{in} - H_{out}}
tservice=VthroughputQt_{service} = \frac{V_{throughput}}{Q}
mNaCl=CresinVresinMNaClηsaltm_{NaCl} = \frac{C_{resin}\,V_{resin}\,M_{NaCl}}{\eta_{salt}}
CresinC_{resin}
resin operating capacity [eq/m^3]
VresinV_{resin}
resin volume in the bed [m^3]
Hin,HoutH_{in}, H_{out}
inlet and treated hardness [mg/L as CaCO3]
VthroughputV_{throughput}
water treated per service run [m^3]
tservicet_{service}
time between regenerations [s]
mNaClm_{NaCl}
salt per regeneration [kg]
ηsalt\eta_{salt}
regenerant utilisation [-]

Parameters

resin_volume [m^3, REQUIRED], inlet_hardness [mg/L as CaCO3], outlet_hardness [mg/L, default 5 — typical sodium-cycle leakage], resin_capacity [eq/m^3, default 1800 = 1.8 eq/L operating capacity for a strong-acid cation resin], salt_efficiency [0..1, default 0.6], pressure_drop [Pa, default 50000]. Reports the service run between regenerations, the salt each one costs, and the sodium released (one equivalent per equivalent of hardness — softening swaps divalent for monovalent rather than reducing total dissolved solids).

Example flowsheets that use it

Stop fighting legacy software. Build your first flowsheet in 60 seconds.