.MultiPhaseMixture.Templates.ExternalTwoPhaseMixture.Auxilary.logFugacityCoefficient_pTN

Information

The natural logarithmic fugacity coefficient arises frequently in thermodynamic expressions. According to [1], "unlike the fugacity itself this quantity is also well- defined at zero concentration of a a compound and the logarithmic form allows a wider range of numerical values to be represented".

Reference

[1] Cape-Open specification, Thermodynamic and Physical Properties v1.1.

Interface

function logFugacityCoefficient_pTN
  input Modelica.SIunits.Pressure p "Pressure";
  input Modelica.SIunits.Temperature T "Modelica.SIunits.Temperature";
  input Modelica.SIunits.AmountOfSubstance[nC] N_1ph "Molar substance for the specified phase";
  input Integer phaseLabel = PhaseLabelLiquid "Phase label";
  output Real log_phi[nC] "Natural logarithm of fugacity coefficients";
end logFugacityCoefficient_pTN;

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