A chromatography column can be described as having two phases, the mobile phase and the stationary phase. Substances will move between the two phases, subject to an equilibrium. Substances in the mobile phase will also move toward the bottom of the column. Partial differential equations describe the substance concentrations of the two phases at each point in the column. Using the method of lines
, the spatial points can be discretized and the resulting DAE solved numerically.