density_ps

Computes density as a function of pressure and specific enthalpy

Syntax

d = density_ps(p, s)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg·K))

Description: Specific entropy

Outputs (1)

d

Type: Density (kg/m³)

Description: Density