Control, stability analysis and grid integration of wind turbines.