.TransiEnt.Producer.Gas.BiogasPlant.Base.ADM1.ADM1_Functions.VantHoffEquation

Information

1. Purpose of model

(Description)

2. Level of detail, physical effects considered, and physical insight

(Description)

3. Limits of validity

(Description)

4. Interfaces

(none)

5. Nomenclature

K_ref : "Equilibrium constant at reference temperature"

deltH0: "Enthalpy of Reaction for determination of equilibrium"

T: "Temperature at which equilibrium constant is calculated"

K: "Equilibrium constant at Temperature T"

T_ref = 298.15 "Reference Temperature for equilibrium constant"

6. Governing Equations

 K :=K_ref*exp(deltH0/R*(1/T_ref - 1/T))

7. Remarks for Usage

(none)

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Model created by Philipp Jahneke (philipp.koziol@tuhh.de), August 2018

Interface

function VantHoffEquation
  extends TransiEnt.Basics.Icons.Function;
  import Modelica.Constants.R;
  input Real K_ref "Equilibrium constant at reference temperature";
  input Modelica.Units.SI.MolarEnergy deltH0 "Enthalpy of Reaction for determination of equilibrium";
  input Modelica.Units.SI.Temperature T "Temperature at which equilibrium constant is calculated";
  output Real K "Equilibrium constant at Temperature T";
end VantHoffEquation;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos