A function to generate a nice string of a power variable with unit attached.
function displayPower extends Modelica.Icons.Function; input Real pwrVar "Variable to be converted into a string"; input String unitStr "Unit string to be appended"; output String pwrDsp "Resultant display string"; end displayPower;