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.

Example flowsheet showing interconnected unit operations
Figure 1. A flowsheet connecting unit operations into a directed graph. Flow moves from inlets through mixers, tubing, columns, and detectors.

Source

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+c1⋅tc_{\text{out}}(t) = c_0 + c_1 \cdot t

where c0,c1c_0, c_1 are the concentration 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,in−ci)\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.

Tubings can also use the CSTR model, with the volume calculated from their length and inner diameter. A single CSTR gives a much broader, exponentially tailing response than real tubing, so this is mainly useful for lumping dead volume or extra-column mixing into one unit. For ordinary tubing, the PFR or Delay model is more realistic.

Plug Flow Reactor (PFR)

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.

∂c∂t+u∂c∂z=D∂2c∂z2\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.

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.

∂c∂t=−u∂c∂z⏟convection+D∂2c∂z2⏟dispersion−βdqdt⏟binding\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−εtot)/εtot(1 - \varepsilon_{\text{tot}}) / \varepsilon_{\text{tot}} 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.

Valve

Valves route flow between upstream and downstream units. A valve has one or more named positions (states), each defining a set of active connections. Each connection maps one upstream unit to one downstream unit through the valve.

During simulation, each method phase selects the position of every valve in the system. Only the connections defined by the active position carry flow in that phase; all other connections through the valve are inactive. This enables column switching, bypass routing, and other multi-path configurations.

Valves have no internal volume and do not modify concentrations. They are modeled as pass-through units that propagate the inlet concentration and flow rate directly to downstream units.

Detectors

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

DetectorSignal
UVBeer-Lambert: Ai=εi⋅l⋅ciA_i = \varepsilon_i \cdot l \cdot c_i
ConductivityBased on ion properties, charge, and temperature
pHBased on simulated H+ 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=∑kck⋅Qk∑kQkc_{\text{in}} = \frac{\sum_k c_k \cdot Q_k}{\sum_k Q_k}