functiondtofphOnePhase

Density and temperature w.r.t. pressure and specific enthalpy in one-phase region

Extends from Modelica.Icons.Function.

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.Pressureppressure
Modelica.Units.SI.SpecificEnthalpyhenthalpy
Modelica.Units.SI.Pressuredelprelative error in p in iteration
Modelica.Units.SI.SpecificEnthalpydelhrelative error in h in iteration

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.Densityddensity
Modelica.Units.SI.TemperatureTtemperature
Integererror1 if had not converged