modelLangmuir

reaction rate using Langmuir sorption isotherms and activities

Extends from BaseReactionRates (base class for reaction rates).

Information

This model takes into account reaction. It is possible to have several (independent, parallel or consecutive) reactions, irreversible as well as reversible reactions. A kinetic approach is used, i.e. the equilibrium is not attained at once.

The parameter nR denotes the number of reactions. For each reaction, it has to be stated whether the reaction is reversible or irreversible using the boolean parameter vector reversible. The stocheometric coefficients of the reaction are stored in the parameter nu. The reaction order for forward and reverse reaction is stored in powerCoeffForward and powerCoeffReverse respectively. If no reverse reaction takes place, any values for powerCoeffReverse can be used. The reaction order can not vary during simulation (even though in reality there are reactions where the reaction order changes; often due to a change in temperature). The reaction rate equation is usually written for one component. The number of this component has to be stated in the parameter reacComp.

The reaction rate coefficient of the reverse reaction, k_reverse, is calculated using the reaction rate coefficient of the forward reaction, k_forward, and the equilibrium constant K. The values for k_forward and K are calculated in separate classes which are declared replaceable in this model. The assumption that K is the ratio of k_forward to k_reverse only holds for elementary reactions, not for overall reactions (so it is true for example for A+B <--> C and C+B <--> D but not necessarily for A+2B <--> D).

Example:

  • Medium with 5 substances: A, B, C, D, E
  • reaction 1:
  • A + D <--> C

    r_A = k1_forward * c_D*c_A - k1_reverse * c_C

  • reaction 2:

B--> E

r_B = k2 * c_B^2

Parameters:

  • nR = 2
  • reversible = {true, false}
  • nu = {{-1, 0, 1, -1, 0},{0, -1, 0, 0, 1}}
  • powerCoeffForward = {{1, 0, 0, 1, 0},{0, 2, 0, 0, 0}}
  • powerCoeffReverse = {{0, 0, 1, 0, 0},{0, 0, 0, 0, 0}}
  • reacComp = {1, 2}

Parameters

TypeNameDefaultDescription
IntegernS (from BaseReactionRates)number of substances
IntegernR (from BaseReactionRates)number of reactions
SI.MolarMass[nS]MMX (from BaseReactionRates)
Real[nR,nS]powerCoeffForwardpower coefficients for forward reaction
Real[nR,nS]powerCoeffReversepower coefficients for reverse reaction
Real[nS]K_ads
SI.MolarMass[nS]MMMMX*1000

Components

TypeNameDefaultDescription
SI.Concentration[nS]c (from BaseReactionRates)
Real[nS]gamma (from BaseReactionRates)
ThermalSeparation.Units.ReactionRate[nR]r (from BaseReactionRates)
Real[nR]k_forward (from BaseReactionRates)reaction rate coefficient forward reaction
SI.MoleFraction[nS]x (from BaseReactionRates)
SI.TemperatureT (from BaseReactionRates)
Real[nR,nS]A_forward
Real[nR,nS]A_reverse
ThermalSeparation.Units.ReactionRate[nR]r_forwardreaction rate for forward reaction
ThermalSeparation.Units.ReactionRate[nR]r_reversereaction rate for reverse reaction
ThermalSeparation.Units.ReactionRate[nR]r_backreaction rate for reverse reaction
Real[nR,nS]a_dash
Real[nR]sum_a_dash
RRC_forwardrrc_forward
RRC_reverserrc_reverse
Real[nR]k_reverserrc_reverse.kreaction rate coefficient reverse reaction

Contents

NameDescription
RRC_forward
RRC_reverse