a method of controlling a wind turbine generator is provided , the wind turbine generator converting mechanical energy to electrical . the method comprises : determining an electromagnetic power reference representing the electromagnetic power generated by the wind turbine generator , wherein the electromagnetic power reference is determined based on a desired output of the wind turbine generator ; controlling the electrical power generated by the wind turbine generator using a control signal , wherein the control signal is derived from the electromagnetic power reference and is modified in dependence on an inverse power function of the wind turbine generator by incorporating minimal copper loss constraint and stator voltage limiting constraint such that non - linearity of the wind turbine generator plant is compensated in the control loop and it operates at its maximum efficiency . one effect of the method is that classical linear control loop design can be employed in spite of the plant being a non - linear identity .