Return density of ideal gas
function density extends Modelica.Icons.Function; input ThermodynamicState state "thermodynamic state record"; output Density d "Density"; end density;