functionactivePower
Calculate active power of complex input voltage and current
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.ComplexVoltage[:] | v | QuasiStatic voltage phasors | |
| SI.ComplexCurrent[size(v, 1)] | i | QuasiStatic current phasors |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | p | Active power |