Return thermodynamic state from p and s
function setState_ps extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input SpecificEntropy s "Specific entropy"; output ThermodynamicState state "Thermodynamic state record"; end setState_ps;