-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix literature reference, tweak code for HIC isotherms
Fixes the literature reference in the code and the docs of the HIC binding models. Also removes unnecessary casts and promotes the constant water activity to a (constant) parameter with a default value.
- Loading branch information
1 parent
25e87b1
commit 4b55de8
Showing
8 changed files
with
474 additions
and
437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 8 additions & 9 deletions
17
doc/modelling/binding/hic_water_on_hydrophobic_surfaces.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
.. _hic_water_on_hydrophobic_surfaces_model: | ||
|
||
Water on Hydrophobic Surfaces | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
HIC Water on Hydrophobic Surfaces | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
This model implements a slightly modified version of the HIC Isotherm by Wang et al. based on their 2016 paper :cite:`WANG201671`. | ||
This model implements a slightly modified version of the HIC isotherm by Wang et al. based on their 2016 paper :cite:`Wang2016`. | ||
A naive multicomponent version was added that reduces to the original formulation if only 1 binding species is present. | ||
|
||
.. math:: | ||
\begin{align} | ||
\beta&=\beta_0 e^{c_{p,0}\beta_1}\\ | ||
\frac{\mathrm{d}q_i}{\mathrm{d}t} &= k_{a,i} c_{p,i} \left( 1 - \sum_j \frac{q_j}{q_{max,j}} \right)^{\nu_i} | ||
- k_{d,i} q_i \left(\sum_j q_j \right)^{\nu_i \beta} | ||
\beta &= \beta_0 e^{c_{p,0}\beta_1} \\ | ||
\frac{\mathrm{d}q_i}{\mathrm{d}t} &= k_{a,i} c_{p,i} \left( 1 - \sum_j \frac{q_j}{q_{max,j}} \right)^{\nu_i} - k_{d,i} q_i \left(\sum_j q_j \right)^{\nu_i \beta} | ||
\end{align} | ||
Component :math:`c_0` is assumed to be salt without a bound state. | ||
Multiple bound states are not supported. | ||
Components without bound state (i.e., salt and non-binding components) are supported. | ||
- Component :math:`c_0` is assumed to be salt without a bound state. | ||
- Multiple bound states are not supported. | ||
- Components without bound state (i.e., salt and non-binding components) are supported. | ||
|
||
For more information on model parameters required to define in CADET file format, see :ref:`hic_water_on_hydrophobic_surfaces_config`. |
Oops, something went wrong.