.ThermofluidStream.Media.myMedia.Air.MoistAir.setState_phX

Return thermodynamic state as function of pressure p, specific enthalpy h and composition X

Information

The thermodynamic state record is computed from pressure p, specific enthalpy h and composition X.

Interface

function setState_phX
  extends Modelica.Icons.Function;
  input AbsolutePressure p "Pressure";
  input SpecificEnthalpy h "Specific enthalpy";
  input MassFraction X[:] = reference_X "Mass fractions";
  output ThermodynamicState state "Thermodynamic state";
end setState_phX;

Generated at 2025-03-09T19:25:01Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos