Helper function to get the unit for a quantity.
function getUnit extends Modelica.Icons.Function; input Types.Quantities quantity; output String unit; end getUnit;