specificEntropy

Return specific entropy from thermodynamic state record, only valid for phi<1

Information

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

Specific entropy is calculated from the thermodynamic state record, assuming ideal gas behavior and including entropy of mixing. Liquid or solid water is not taken into account, the entire water content X[1] is assumed to be in the vapor state (relative humidity below 1.0).

Syntax

s = specificEntropy(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record

Outputs (1)

s

Type: SpecificEntropy

Description: Specific entropy