Unit Operations

A chromatography simulation is built from interconnected unit operations. Each unit type contributes its own governing equations to the system. Units are connected via a directed graph, with flow routed from upstream to downstream.

Source (Inlet)

Source (or inlet) unit operations can be thought of as buffer flasks that feed the system with feed and buffer solutions. They are a parametric boundary condition that provides time-dependent concentration and flow to downstream units. Sources have no internal states.

Outlet profiles:

cout(t)=c0+c1tc_{\text{out}}(t) = c_0 + c_1 \cdot t
Q(t)=f0+f1tQ(t) = f_0 + f_1 \cdot t

where c0,c1c_0, c_1 are the concentration intercept and slope, and f0,f1f_0, f_1 are the flow rate intercept and slope. Parameters are re-specified per phase, allowing piecewise-linear inlet profiles.

Continuous Stirred Tank Reactor (CSTR)

Continuous stirred tank reactors are typically used to model mixers, pumps, large column adaptors, and other chambers with relatively large volumes. A CSTR is modeled as a perfectly mixed reactor tank with volume VV. The concentration of component ii in the tank evolves according to:

dcidt=QV(ci,inci)\frac{dc_i}{dt} = \frac{Q}{V} \left( c_{i,\text{in}} - c_i \right)

where QQ is the volumetric flow rate through the tank, and ci,inc_{i,\text{in}} is the inlet concentration of component ii.

Plug Flow Reactor (PFR) / Delay

Plug flow reactors are typically used to model tubings. PFRs are 1D axial transport units with optional axial dispersion. The Delay unit is a special case with zero dispersion.

ct+ucz=D2cz2\frac{\partial c}{\partial t} + u \frac{\partial c}{\partial z} = D \frac{\partial^2 c}{\partial z^2}

where u=Q/Au = Q / A is the interstitial velocity and A=π(d/2)2A = \pi (d/2)^2 is the cross-sectional area.

The plug flow reactor uses a finite volume scheme similar to the column models but simplified:

  • Velocity: u=Q/Au = Q / A (no porosity factor)
  • Optional axial dispersion via central difference

Column Models

Columns are the core separation units where solutes interact with stationary phase particles. There are different types of column models that trade off complexity and accuracy, but all are based on the same general convection-dispersion-binding structure.

ct=uczconvection+D2cz2dispersionβdqdtbinding\frac{\partial c}{\partial t} = \underbrace{-u \frac{\partial c}{\partial z}}_{\text{convection}} + \underbrace{D \frac{\partial^2 c}{\partial z^2}}_{\text{dispersion}} - \underbrace{\beta \frac{dq}{dt}}_{\text{binding}}

where β\beta is the phase ratio converting between solid-phase and liquid-phase concentration bases (model-dependent, e.g. (1εt)/εt(1 - \varepsilon_t) / \varepsilon_t for the LRM).

The different column models differ in how they describe mass transfer within and around particles. For example, some models include a pore diffusion term, whilst others assume instantaneous equilibrium between the mobile and stationary phases. You can learn more about the different column model types in the Column Models page.

Column models are accompanied with binding models, which describe the adsorption and desorption kinetics of molecules onto the adsorber. See the Binding Models page for more information.

Detectors

Detectors are purely algebraic pass-through units that propagate inlet concentrations and compute signals during post-processing.

DetectorSignal
UVBeer-Lambert: Ai=εilciA_i = \varepsilon_i \cdot l \cdot c_i
ConductivityBased on ion properties, charge, and temperature
pHBased on hydrogen concentration

Unit Connections and Flow Routing

Units are connected via a directed graph. The solver topologically sorts units so that upstream units are evaluated before downstream ones.

  • Flow splitting: When a unit feeds multiple downstream units, flow is split equally.
  • Flow mixing: When a unit has multiple upstream connections, concentrations are mixed by flow-weighted average:
cin=kckQkkQkc_{\text{in}} = \frac{\sum_k c_k \cdot Q_k}{\sum_k Q_k}