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.Voltage v[:] "Phase voltages"; input SI.Current i[size(v, 1)] "Phase currents"; output SI.Power p "Active power"; end activePower;