Complex electrical power
operator record ComplexPower = Complex(redeclare ActivePower re "Real part of complex power (active power)", redeclare ReactivePower im "Imaginary part of complex power (reactive power)");