velocityOfSound

Velocity of sound w.r.t. thermodynamic state (only valid for one-phase)

Information

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

This function calculates the velocity of sound of R134a from the state record (e.g., use setState_phX function for input). The velocity of sound is modelled by the fundamental equation of state of Tillner-Roth and Baehr (1994).

Restrictions

This property is only defined in one-phase region.

Syntax

a = velocityOfSound(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record

Outputs (1)

a

Type: VelocityOfSound (m/s)

Description: Velocity of sound