WOLFRAM SYSTEM MODELER

relativeHumidity_pTX

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

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Air.MoistAir.relativeHumidity_pTX"]
Out[1]:=

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