functiondisplayPower

A function to generate a nice string of a power variable with unit attached.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
RealpwrVarVariable to be converted into a string
StringunitStrUnit string to be appended

Outputs

TypeNameDefaultDescription
StringpwrDspResultant display string