You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Continuous stirred tank reactor model (CSTR)¶
The continuous stirred tank reactor model is a basic building block in unit operation networks and often used to model holdup volume. It describes a well mixed vessel that may hold a distribution of particle types, which makes it equally suited to the batch uptake experiment, in which a known volume of solution is contacted with a known amount of adsorbent and the decay of the liquid phase concentration is recorded.
Assuming that the liquid in the vessel is perfectly mixed, the bulk mass balance is written on the amount of substance held by the bulk liquid rather than on its concentration,
where \(\Phi_i\) is what the particles take up, see below, and
\(c^\ell_i\) is the bulk liquid phase concentration of component \(i\),
\(V^\ell\) is the volume of the bulk liquid, which is a state of the model,
\(F_{\text{in}}\), \(F_{\text{out}}\) and \(F_{\text{filter}}\) are the volumetric flow rates into the vessel, out of it, and of pure liquid drawn without components.
The additional parameter \(F_{\text{filter}}\) can be used to model a filtering unit. Note that it is the user’s duty to make sure that the liquid volume does not fall below 0. If it does, the simulation may fail to run or may produce unreasonable (e.g., unphysical) results.
A vessel of constant volume is obtained by prescribing \(V^\ell\) instead of its initial value, which requires the flow rates to cancel, \(F_{\text{in}} = F_{\text{out}} + F_{\text{filter}}\) in every section. A closed vessel, that is, a batch uptake experiment, is obtained for \(F_{\text{in}} = F_{\text{out}} = F_{\text{filter}} = 0\). Removing all bound states by setting \(N_{\text{bnd},j,i} = 0\) for all components \(i\) and particle types \(j\), and applying no binding model, results in a simple tank.
Particles in rapid equilibrium with the bulk liquid¶
A particle type without pores and without a film diffusion resistance is in rapid equilibrium with the bulk liquid. It has no liquid phase of its own, so its bound states take up directly what leaves the bulk liquid,
where:
\(c^s_{j,i,m_{j,i}}\) concentration of component \(i\) in the solid phase of particle type \(j\) and particle type \(m_{j,i}\).
\(V^{s}\) solid volume in the tank.
\(d_j\) volume fraction of the different solid volume in the tank.
The second term corrects the first: the uptake term assumes that whatever the bound states gain comes out of the bulk liquid, which a reaction between bound states does not. Since such a particle type has no liquid phase of its own, the liquid phase part of a cross-phase reaction of that type acts on the bulk liquid and enters \(f_{\text{react},i}^\ell\) above, weighted with \(V^\ell\).
The binding behaviour of \(c_i^{\ell}\) and \(c^s_j\) is described by
where \(f_{\text{ads},j}\) is the adsorption rate in the solid phase of particle type \(j\).
Particles with a film diffusion resistance¶
A particle type that has a film diffusion resistance carries a liquid phase of its own, and the transport into it is driven by the concentration difference at the particle surface,
where:
\(c^p_{j,i}\) is the particle liquid phase concentration of component \(i\) in particle type \(j\), evaluated at the particle surface \(r_{p,j}\),
\(V^p\) is the constant total volume of the particles, including the liquid held in their pores,
\(a_{p,j}\) is the surface to volume ratio of particle type \(j\), which is \(3 / r_{p,j}\) for a sphere without a solid core,
\(k_{f,j,i}\) is the film diffusion coefficient.
The two volumes are disjoint: \(V^\ell\) is the liquid outside the particles only, and the liquid in the particle pores counts towards \(V^p\). The bulk porosity follows as \(\varepsilon_b = V^\ell / \left( V^\ell + V^p \right)\), which changes over time whenever the liquid volume does.
Writing the balance on the amount of substance rather than on the concentration is what keeps a changing volume compatible with the particle models: the film transfer term carries the constant \(V^p\), whereas dividing by \(V^\ell\) would turn its prefactor \(\left( 1 - \varepsilon_b \right) / \varepsilon_b = V^p / V^\ell\) into a quantity that depends on a state.
The particle equations are the same as in the general rate model (see Section General rate model (GRM)) and in the lumped rate model with pores (see Section Lumped rate model with pores (LRMP)): a particle type is spatially resolved if it has pore or surface diffusion and lumped otherwise. Both quasi-stationary and dynamic binding models are supported:
Particle types¶
Multiple particle types types are supported, but particles in rapid equilibrium with the bulk liquid must not be mixed with particle types that have pores, as the two give the tank a different state layout.
By default, the following initial conditions are applied:
For information on model parameters see Continuous stirred tank reactor model and Particle Model.