function to calculate some extra thermophysical properties in regions 1, 2, 3 and 5 as f(p,h)
function extraDerivs_ph extends Modelica.Icons.Function; input SI.Pressure p "pressure"; input SI.SpecificEnthalpy h "specific enthalpy"; input Integer phase = 0 "phase: 2 for two-phase, 1 for one phase, 0 if unknown"; output ThermalSeparation.Media.WaterBasedLiquid.BaseClasses.Common.ExtraDerivatives dpro "thermodynamic property collection"; end extraDerivs_ph;