function setState_px extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input MassFraction x "Vapour quality"; output ThermodynamicState state "Thermodynamic state record"; end setState_px;