Internal energy
function u_pTX extends Modelica.Icons.Function; input SI.AbsolutePressure p "Pressure"; input SI.Temperature T "Temperature"; input SI.MassFraction X[:] = ThermofluidStream.Media.myMedia.Air.ReferenceMoistAir.reference_X "Mass fractions"; output SI.SpecificEnergy u "Specific entropy"; end u_pTX;