.MultiPhaseMixture.Templates.ExternalTwoPhaseMixture.Auxilary.calcProperties_phX

Return thermodynamic state record from p and h

Interface

function calcProperties_phX
  extends Modelica.Icons.Function;
  input Modelica.SIunits.AbsolutePressure p "pressure";
  input Modelica.SIunits.SpecificEnthalpy h "specific enthalpy";
  input Modelica.SIunits.MassFraction X[nC] = reference_X "Mass fractions";
  input Integer X_unit = UnitBasis.MassFraction;
  input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  input MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject eo;
  output Properties state;
end calcProperties_phX;

Generated at 2025-03-14T19:24:29Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos