Patent ID: 7800926

Claim:
A method for controlling an inverter, comprising: converting, by the inverter, a direct current voltage (U dc ) into an alternating inverter voltage (V inv ) with a basic frequency (ω); supplying, by the inverter, the alternating inverter voltage (V inv ) to a load, the load providing a load voltage V n in accordance with the alternating inverter voltage (V inv ); calculating a transition time T tr for a change in active power (P) and/or reactive power (Q) within the load in accordance with an equation T tr = kT f - θ nc ω ; changing the active power (P) and/or the reactive power (Q) within the load in a length of time equivalent to the calculated transition time (T tr ), wherein k is substantially an integer number between 1-8, wherein T f is a fundamental period and is defined as T f = 2 ⁢ π ω , and wherein θ nc is a target phase angle, after the changing, between the alternating inverter voltage (V inv ) and the load voltage (V n ).