functiondofpT
Compute d for given p and T
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function calculates the density of NH3_ph from absolute pressure and temperature. The function can only be executed in one-phase region. The safety margin to the phase boundary is 1[K] and 1000[Pa].
Restrictions
The function cannot be inverted in a numerical way. Please use functions rho_props_ph and T_props_ph for this purpose.Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| Temperature | T | Temperature | |
| AbsolutePressure | delp | Iteration converged if (p-pre(p) < delp) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d | Density |