# pH in the Generalised Ion Exchange (genIEX) model

**URL:** <https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478>\
**Category:** Chromatography Modeling\
**Created:** [November 17, 2026, 8:15am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478 "2026-11-17T08:15:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyousuf](https://forum.cadet-web.de/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nyousuf](https://forum.cadet-web.de/u/nyousuf)\
**Post date:** [November 17, 2026, 8:15am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/1 "2026-11-17T08:15:14Z")

</div>

Hi everyone,

I’m currently working with the Generalised Ion Exchange (genIEX) model in CADET and would like to clarify how pH should be incorporated into the model.

According to the [genIEX model documentation](https://cadet.github.io/master/modelling/binding/generalized_ion_exchange.html#generalized-ion-exchange-model), the model accounts for the influence of ionic species on the binding behaviour. However, I’m unsure how to specify pH in the model.

Should pH as c\_{p,1} be entered directly as a numerical value (e.g. 7.0, 8.0, etc.), or should it be represented in terms of the corresponding hydrogen ion concentration (e.g. (10^{-7}), (10^{-8}) mol/L)?

I’d appreciate any clarification or examples of how pH is typically implemented in the genIEX model.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![h.lanzrath](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/h.lanzrath/32/1186_2.png) [@h.lanzrath](https://forum.cadet-web.de/u/h.lanzrath)\
**Post date:** [November 17, 2026, 8:42am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/2 "2026-11-17T08:42:22Z")

</div>

Hi nyousuf,

In the genIEX model, c\_{p,1} represents a non-binding modifier, which can be pH.

If you want to model the pH dependence of protein binding, you can enter the pH directly as a numerical value (e.g., 7.0 or 8.0). There is no need to convert it to the corresponding hydrogen ion concentration.

The important point is that genIEX uses empirical relationships to describe how the characteristic charge and adsorption/desorption rate constants depend on c\_{p,1}. Therefore, the model parameters must be fitted consistently with the chosen representation.

For example, if the parameters were fitted using pH values, c\_{p,1} should be specified directly as pH. If they were fitted using hydrogen ion concentrations, those concentrations should be used instead.

Also, note that genIEX does not explicitly calculate acid–base equilibria or pH from hydrogen ion concentrations. It treats pH as an externally specified modifier.

Hope this helps!

Cheers,  
Hannah

---

<div class="post-metadata">

**Author:** ![nyousuf](https://forum.cadet-web.de/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nyousuf](https://forum.cadet-web.de/u/nyousuf)\
**Post date:** [November 17, 2026, 9:11am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/3 "2026-11-17T09:11:25Z")

</div>

Thank you for your reply. It has clarified a lot!

I have one follow-up question regarding the meaning of **NBOUND** in this context. When fitting the breakthrough experiments, should I set both (c\_{p,0}) (Salt) and (c\_{p,1}) (pH) to zero?

Could you please elaborate on what this setting physically represents and why it is necessary? I learned this the hard way when working with genIEX, where I found that (c\_{p,1}) needed to be set to zero, although I am still not entirely clear on the underlying reason.

I would really appreciate it if you could explain the rationale behind this, particularly how it relates to the breakthrough experiments.

Thank you again for your help!

---

<div class="post-metadata">

**Author:** ![h.lanzrath](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/h.lanzrath/32/1186_2.png) [@h.lanzrath](https://forum.cadet-web.de/u/h.lanzrath)\
**Post date:** [November 17, 2026, 10:03am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/4 "2026-11-17T10:03:49Z")

</div>

Hi,

In CADET, `NBOUND` specifies the number of bound states associated with each component in the stationary phase.

A bound state represents a particular adsorption state of a component on the resin. In a standard binding model, such as the conventional SMA model, each protein typically has one bound state (`NBOUND = 1`), meaning that the model tracks one adsorbed amount for that protein.

However, some models allow multiple bound states. For example, in the multi-state SMA model, a protein can have several adsorption states, potentially representing different orientations or conformations on the resin. These states may have different binding properties, and the model can account for transitions between them. In this case, a protein could have `NBOUND = 2` or more.

~~In the genIEX model, salt (c\_{p,0}) and pH (c\_{p,1}) are treated as non-binding modifiers. They influence the adsorption behavior of the proteins but do not require their own independent bound-state variables. Therefore, `NBOUND = 0` should be used for both.~~

~~For a system containing salt, pH, and one protein, this gives:~~

~~`NBOUND = [0, 0, 1]`~~

_EDIT:_  
_In the genIEX model, only pH (c\_{p,1}) is treated as non-binding modifier. It influences the adsorption behavior of the proteins but doesnot require their own independent bound-state variables. salt (c\_{p,0}) binds to the column to enable the ion-exchange. Therefore, `NBOUND = 0` should be used obnly for pH._

_For a system containing salt, pH, and one protein, this gives:_

_`NBOUND = [1, 0, 1]`_

In breakthrough experiments, the model therefore tracks the amount of protein adsorbed onto the stationary phase, while salt concentration and pH influence its adsorption behavior.

Importantly, setting `NBOUND = 0` does not mean setting the corresponding concentration or pH value to zero. These should still reflect the experimental conditions.

Also, in genIEX, the salt counterion occupancy is accounted for through the ion-exchange site balance rather than through an independent bound-state variable.

I hope this helps clarify the distinction!

---

<div class="post-metadata">

**Author:** ![nyousuf](https://forum.cadet-web.de/letter_avatar_proxy/v4/letter/n/4491bb/32.png) [@nyousuf](https://forum.cadet-web.de/u/nyousuf)\
**Post date:** [November 18, 2026, 9:48am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/5 "2026-11-18T09:48:16Z")

</div>

Thank you for the clarification,

For two proteins with pH and Salt, When i try to set nbound = [0,0,1,1] for genIEX along with init\_q=[0,0] ,it throws the error

‘ERROR: Generalized ion exchange binding model requires exactly one bound state for salt component\n’

Can you please comment on this. Thank you

---

<div class="post-metadata">

**Author:** ![j.breuer](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/j.breuer/32/1139_2.png) [@j.breuer](https://forum.cadet-web.de/u/j.breuer)\
**Post date:** [November 18, 2026, 9:59am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/6 "2026-11-18T09:59:30Z")

</div>

Hi Yousuf,

I think an error slipped through in the previous comment.

The salt must be a binding component in an ion-exchange model, otherwise there are no ions to exchange. Only the second component is a non-binding modifier, in your case pH.  
The full bound-state vector for your four component example is then `NBOUND = [1, 0, 1, 1]`, where the first entry is salt, second is the modifier and the other two are proteins. The initial values for the bound phase (`INIT_Q`) is usually \Lambda for the salt, zero for the proteins, i.e. `INIT_Q` = [\Lambda, 0.0, 0.0].

Best regards,  
Jan

PS: i think the documentation could be more clear, it says that the second component is “another non-binding modifier”. It should be made more clear that the second component is another modifier that is non-binding.

---

<div class="post-metadata">

**Author:** ![h.lanzrath](https://forum.cadet-web.de/user_avatar/forum.cadet-web.de/h.lanzrath/32/1186_2.png) [@h.lanzrath](https://forum.cadet-web.de/u/h.lanzrath)\
**Post date:** [November 18, 2026, 10:46am UTC](https://forum.cadet-web.de/t/ph-in-the-generalised-ion-exchange-geniex-model/1478/7 "2026-11-18T10:46:35Z")

</div>

Ah yes, my bad, sorry for the confusion!
