relativeHumidity_pTX

Return relative humidity as a function of pressure p, temperature T and composition X

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

phi = relativeHumidity_pTX(p, T, X)

Inputs (3)

p

Type: Pressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Type: MassFraction[:]

Description: Composition

Outputs (1)

phi

Type: Real

Description: Relative humidity