Calculates instantaneous power from polyphase voltages and currents. In quasi-static operation, instantaneous power equals active power;
function activePower extends Modelica.Icons.Function; input SI.ComplexVoltage v[:] "QuasiStatic voltage phasors"; input SI.ComplexCurrent i[size(v, 1)] "QuasiStatic current phasors"; output SI.Power p "Active power"; end activePower;