Functions

Basic Functions for ideal gases: cp, h, s, thermal conductivity, viscosity

Package Contents

cp_T

Compute specific heat capacity at constant pressure from temperature and gas data

cp_Tlow

Compute specific heat capacity at constant pressure, low T region

cp_Tlow_der

Compute derivative of specific heat capacity at constant pressure, low T region

h_T

Compute specific enthalpy from temperature and gas data; reference is decided by the refChoice input, or by the referenceChoice package constant by default

h_T_der

Derivative function for h_T

h_Tlow

Compute specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default

h_Tlow_der

Compute derivative of specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default

s0_T

Compute specific entropy from temperature and gas data

s0_Tlow

Compute specific entropy, low T region

s0_Tlow_der

Compute derivative of specific entropy, low T region

dynamicViscosityLowPressure

Dynamic viscosity of low pressure gases

thermalConductivityEstimate

Thermal conductivity of polyatomic gases (Eucken and Modified Eucken correlation)

Package Constants (4)

excludeEnthalpyOfFormation

Value: true

Type: Boolean

Description: If true, enthalpy of formation Hf is not included in specific enthalpy h

referenceChoice

Value: Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K

Type: ReferenceEnthalpy

Description: Choice of reference enthalpy

h_offset

Value: 0.0

Type: SpecificEnthalpy (J/kg)

Description: User defined offset for reference enthalpy, if referenceChoice = UserDefined

methodForThermalConductivity

Value: 1

Type: Integer