Return thermodynamic state record from p and T
function setState_pT_library extends Modelica.Icons.Function; input AbsolutePressure p "pressure"; input Temperature T "temperature"; input Integer phase = 1 "2 for two-phase, 1 for one-phase, 0 if not known"; input String name "name and mass fractions"; output ThermodynamicState state; end setState_pT_library;