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

TypeNameDefaultDescription
SI.ComplexVoltage[:]vQuasiStatic voltage phasors
SI.ComplexCurrent[size(v, 1)]iQuasiStatic current phasors

Outputs

TypeNameDefaultDescription
SI.PowerpActive power