function activePower import Modelica.Constants.pi; extends Modelica.Icons.Function; input SI.Voltage v[m] "Phase voltages"; input SI.Current i[m] "Phase currents"; output SI.Power p "Active power"; end activePower;