s_pTX_der

Return specific entropy of moist air as a function of pressure p, temperature T and composition X (only valid for phi<1)

Information

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

Specific entropy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction.

Syntax

ds = s_pTX_der(p, T, X, dp, dT, dX)

Inputs (6)

p

Type: Pressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Type: MassFraction[:]

Description: Mass fractions of moist air

dp

Type: Real (Pa/s)

Description: Derivative of pressure

dT

Type: Real (K/s)

Description: Derivative of temperature

dX

Type: Real[nX] (¹/s)

Description: Derivative of mass fractions

Outputs (1)

ds

Type: Real (J/(kg·K·s))

Description: Specific entropy at p, T, X