functionactivePower
Calculate active power of voltage and current input
Extends from Modelica.Icons.Function (Icon for functions).
Information
Calculates instantaneous power from polyphase voltages and currents. In quasi-static operation, instantaneous power equals active power;
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage[:] | v | Phase voltages | |
| SI.Current[size(v, 1)] | i | Phase currents |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | p | Active power |