functiondtofphOnePhase
Density and temperature w.r.t. pressure and specific enthalpy in one-phase region
Extends from Modelica.Icons.Function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | p | pressure | |
| Modelica.Units.SI.SpecificEnthalpy | h | enthalpy | |
| Modelica.Units.SI.Pressure | delp | relative error in p in iteration | |
| Modelica.Units.SI.SpecificEnthalpy | delh | relative error in h in iteration |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Density | d | density | |
| Modelica.Units.SI.Temperature | T | temperature | |
| Integer | error | 1 if had not converged |