Temperature of the substance from its enthalpy
function temperature extends Modelica.Icons.Function; input SubstanceData substanceData "Data record of substance"; input Modelica.Units.SI.SpecificEnthalpy h "Specific enthalpy"; input Modelica.Units.SI.Pressure p = 100000 "Pressure"; input Modelica.Units.SI.ElectricPotential v = 0 "Electric potential of the substance"; input Modelica.Units.SI.MoleFraction I = 0 "Ionic strengh (mole fraction based)"; output Modelica.Units.SI.Temperature T "Temperature"; end temperature;