You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X. For the latest pre-release documentation, please have a look at v6.0.0-alpha.2.
Spline Interpolation¶
The spline interpolation model is a non-parametric, data-driven binding model that represents the equilibrium relation between pore-phase and solid-phase concentration by cubic spline interpolation of tabulated data.
For each component \(i\) and bound state \(m\), an equilibrium loading
is constructed from user-provided data pairs \((\vec{c}^p_{i}, \vec{c}^s_{i,m})\). Here, \(c^p_{i},c^s_{i,m}\) denote the pore- and solid-phase concentration of component \(i\) and bound state \(m\), and \(c^{s,\ast}_{i,m}\) is the corresponding equilibrium solid-phase loading.
The spline function \(f_{i,m}\) is a piecewise cubic polynomial. On an interval \([c_{p,i}^{(k)}, c_{p,i}^{(k+1)}]\), it is evaluated as
The spline coefficients are generated from the tabulated data using a cubic spline construction. A monotonicity correction is applied to avoid non-physical oscillations between supporting points.
Kinetic form¶
The model is used in a kinetic linear-driving-force form. For each component \(i\) and bound state \(m\), the exchange term is based on the deviation of the current solid-phase loading \(c^s_{i,m}\) from the spline-predicted equilibrium loading \(c^{s,\ast}_{i,m}\):
Thus, the spline interpolation model provides the equilibrium target, while the kinetic constant \(k^{\mathrm{kin}}_{i,m}\) controls how fast the equilibrium state is approached.
Extrapolation behavior¶
If \(c^p_{i}\) lies outside the tabulated concentration range, the model extrapolates using mixed boundary conditions:
at \(c^p_i < \operatorname{min}\left(\vec{c}^p_{i}\right)\), the second derivative is set to zero, resulting in a linear continuation beyond the boundary,
at \(c^p_i > \operatorname{max}\left(\vec{c}^p_{i}\right)\), the first derivative is set to zero, resulting in a flat continuation beyond the boundary.
Parameter sensitivities¶
Sensitivities for the spline interpolation data \(\vec{c}^p_{i}, \vec{c}^s_{i,m}\) are currently not available. Sensitivities for the kinetic constant \(k^{\mathrm{kin}}_{i,m}\) are enabled.
CADET-Core interface¶
For more information on model parameters required to define in CADET file format, see Spline Interpolation.