A control method for determining components (u 1,inv, u 2,inv, u 3,inv) of a control voltage of an inverter (10, 104) adapted for feeding power to a grid, in the course of which - a vector direction (θ*) of a voltage of the grid is determined, - on the basis of active power (P ref) and reactive power (Q ref) of the grid, current reference signal components (i d,ref, i q,ref) are determined, and - Park vector components (i x, i y) are generated by Park transformation from components (i 1, i 2, i 3) associated with phase currents of the inverter (10, 104), characterised by - transforming the current reference signal components (i d,ref, i q,ref) into transformed current reference signal components (i x,ref, i y,ref) on the basis of the vector direction (θ*), - generating a first error signal by leading the first component (i x) of the Park vector and the first component (i x,ref) of the transformed current reference signal to a first subtracting unit, and generating a second error signal by leading the second component (i y) of the Park vector and the second component (i y,ref) of the transformed current reference signal to a second subtracting unit, - guiding the error signals through control blocks each comprising three parallel signal paths (81, 83, 85) and outputting summed up outputs of the signal paths (81, 83, 85), wherein out of the three signal paths (81, 83, 85), - in a first signal path, the error signal is guided through a proportional controller, - in a second signal path, the error signal is guided through a first unit multiplying with the cosine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the cosine of the vector direction (θ*), and - in a third signal path, the error signal is guided through a first unit multiplying with the sine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the sine of the vector direction (θ*), and - determining the components (u 1,inv, u 2,inv, u 3,inv) of the control voltage on the basis of outputs (u x,inv, u y,inv) of the control blocks by inverse Park transformation. - a vector direction (θ*) of a voltage of the grid is determined, - on the basis of active power (P ref) and reactive power (Q ref) of the grid, current reference signal components (i d,ref, i q,ref) are determined, and - Park vector components (i x, i y) are generated by Park transformation from components (i 1, i 2, i 3) associated with phase currents of the inverter (10, 104), - transforming the current reference signal components (i d,ref, i q,ref) into transformed current reference signal components (i x,ref, i y,ref) on the basis of the vector direction (θ*), - generating a first error signal by leading the first component (i x) of the Park vector and the first component (i x,ref) of the transformed current reference signal to a first subtracting unit, and generating a second error signal by leading the second component (i y) of the Park vector and the second component (i y,ref) of the transformed current reference signal to a second subtracting unit, - guiding the error signals through control blocks each comprising three parallel signal paths (81, 83, 85) and outputting summed up outputs of the signal paths (81, 83, 85), wherein out of the three signal paths (81, 83, 85), - in a first signal path, the error signal is guided through a proportional controller, - in a second signal path, the error signal is guided through a first unit multiplying with the cosine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the cosine of the vector direction (θ*), and - in a third signal path, the error signal is guided through a first unit multiplying with the sine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the sine of the vector direction (θ*), and - in a first signal path, the error signal is guided through a proportional controller, - in a second signal path, the error signal is guided through a first unit multiplying with the cosine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the cosine of the vector direction (θ*), and - in a third signal path, the error signal is guided through a first unit multiplying with the sine of the vector direction (θ*), an integrator unit, and a second unit multiplying with the sine of the vector direction (θ*), and - determining the components (u 1,inv, u 2,inv, u 3,inv) of the control voltage on the basis of outputs (u x,inv, u y,inv) of the control blocks by inverse Park transformation.