functiondisplayPower
A function to generate a nice string of a power variable with unit attached.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pwrVar | Variable to be converted into a string | |
| String | unitStr | Unit string to be appended |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | pwrDsp | Resultant display string |