functionrelativeHumidity_pTX
Return relative humidity as a function of pressure p, temperature T and composition X
Extends from Modelica.Icons.Function (Icon for functions).
Information
Relative humidity is computed from pressure, temperature and composition with 1.0 as the upper limit at saturation. Water mass fraction is the first entry in the composition vector.Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| SI.Temperature | T | Temperature | |
| SI.MassFraction | X | Composition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | phi | Relative humidity |