modelPowerSensor
Measures power flow through the component (port_a to port_b is default direction)
Extends from BaseClasses.PartialRotationIcon_withValueIndicator.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | precision (from PartialRotationIcon_withValueIndicator) | 0 | Number of decimals displayed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TRANSFORM.Electrical.Interfaces.ElectricalPowerPort_Flow | port_a | ||
| TRANSFORM.Electrical.Interfaces.ElectricalPowerPort_Flow | port_b | ||
| Modelica.Blocks.Interfaces.RealOutput | W | Power flowing from port_a to port_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | var (from PartialRotationIcon_withValueIndicator) | Variable to be converted | |
| Real | y (from PartialRotationIcon_withValueIndicator) | iconUnit(var) | Icon display |