2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
LangmuirAdsorption Class Reference

This class calculates the adsorption equilibrium between sorbat and sorbent using the Langmuir isotherme. More...

+ Inheritance diagram for LangmuirAdsorption:
+ Collaboration diagram for LangmuirAdsorption:

Detailed Description

This class calculates the adsorption equilibrium between sorbat and sorbent using the Langmuir isotherme.

Langmuir Adsorption:

\[\frac{x_{ad}}{m} = q = \frac{K c}{1 + K c}\]

where

  • \(x_{ad} = x_{tot} - x_{free}\) is the adsorbed tracer mass
    • \(x_{tot}\) is the total tracer mass
    • \(x_{free}\) is the dissolved tracer mass
  • \(m\) is the mass of the sorbent in the same unit as the tracer mass
  • \(K\) is the Langmuir sorption coefficient
  • \(c = \frac{x_{free}}{V}\) is the concentration of the tracer in tracer mass per m3

CMF stores in a solute storage the total mass of a tracer and needs to calculate the free tracer mass. The analytical solution for \(x_{free}\) from \(x_{tot}\) is implemented in freesolute and derived using sympy. If you really want to see it, look in the code.

http://en.wikipedia.org/wiki/Langmuir_equation

Public Member Functions

LangmuirAdsorptioncopy (real m=-1) const
 returns a copy of the Adsorption object.
 
real freesolute (real xt, real V) const
 Returns the mass of dissolved tracer as a function of the total tracer mass in the solute storage and the water volume.
 
real totalsolute (real xf, real V) const
 Returns the total mass of the tracer from the dissolved concetration in tracer unit/m3.
 

Member Function Documentation

◆ copy()

LangmuirAdsorption * copy ( real m = -1) const
virtual

returns a copy of the Adsorption object.

If the adsorption is depending on the sorbent mass, you can give a positive value for the sorbent mass m. If the value is not given or negative, m is used from the original object.

Implements Adsorption.

◆ freesolute()

real freesolute ( real xt,
real V ) const
virtual

Returns the mass of dissolved tracer as a function of the total tracer mass in the solute storage and the water volume.

Parameters
xt\(x_t\) the total tracer mass in the storage
V\(V m^3\) the water volume in the storage
Returns
\(x_f\) the dissolved mass of the tracer

Implements Adsorption.

◆ totalsolute()

real totalsolute ( real xf,
real V ) const
virtual

Returns the total mass of the tracer from the dissolved concetration in tracer unit/m3.

Parameters
xf\(x_f\) the dissolved tracer mass in the storage
V\(V m^3\) the water volume in the storage
Returns
\(x_t\) the total mass of the tracer

Implements Adsorption.