WOLFRAM SYSTEM MODELER

gasConstant_X

Return ideal gas constant as a function from composition X

Wolfram Language

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

Information

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

The ideal gas constant for moist air is computed from the gas phase composition. The first entry in composition vector X is the steam mass fraction of the gas phase.

Syntax

R_s = gasConstant_X(X)

Inputs (1)

X

Type: MassFraction[:]

Description: Gas phase composition

Outputs (1)

R_s

Type: SpecificHeatCapacity (J/(kg⋅K))

Description: Ideal gas constant