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