WOLFRAM SYSTEM MODELER

velocityOfSound

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

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.R134a.R134a_ph.velocityOfSound"]
Out[1]:=

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