I see Langmuir and Bi-Langmuir models in CADET already, but if I’m understanding correctly, Linear + Langmuir version is not possible at the moment. What would be my options?
It seems like you have a two-component system (i=2). I don’t think combinations of different isotherms are supported now, but as you mentioned, you can always implement customized isotherm in CADET core, but it will take some efforts. I would instead think about some numerical treatment to configure the available isotherms to your ones. For instance, a two-component Bi-Langmuir isotherm is:
This is already available in CADET. You can set b_{11} and b_{12} to a small number such that the denominator (b_{11} C_1 + b_{12} C_2) is approximately 1. And further set Q_{11} and Q_{12} to large numbers such that Q_{11} b_{11} = m_1 and Q_{12} b_{12} = m_2. This would make the first term the same as the linear isotherm.
I agree with Flynn, the Bi-Langmuir (or in CADET, the N-Langmuir) can already be considered a superset of Linear and Langmuir isotherms. There are even further extensions that we would love to implement eventually, e.g. as reported in Lars Aumann’s PhD thesis.
Edit: I just remembered, we do have the Extended Mobile Phase Modulator model where you can set flags for Linear vs (modulated) Langmuir for each component. So this one should work out of the box.
Hacking the Bi-Langmuir model to fall back to Linear+Langmuir was on my mind but I was wondering if I it would play nice since b_i is in both the denominator and numerator. I will try it.
I was not aware of the Extended Mobile Phase Modulator model, I will look into it.