A method for controlling a wind turbine (14, 15, 16) of a wind farm connected to a power grid at a point of interconnection, the power grid being utilized to transfer electrical power from the wind farm to electrical loads, the method comprising: monitoring a frequency of the power grid; measuring a real power at the point of interconnection connecting the wind farm to the power grid as a pre-event measured grid power; in response to detecting a frequency event occurring in the power grid, activating a control scheme in order to meet one or more grid requirements of the power grid, the control scheme comprising: increasing a power output of the wind turbine (14, 15, 16) to, at least, the pre-event measured grid power at the point of interconnection; calculating a power correction factor for a power set point of the wind turbine (14, 15, 16) as a function of, at least, the frequency event; adjusting the power set point via the power correction factor such that the power output follows a predetermined trajectory; controlling, via a turbine controller (24, 26, 28), the wind turbine (14, 15, 16) based on the adjusted power set point for as long as the control scheme is activated; applying a gain to the power correction factor to obtain an adjusted power correction factor, the gain being determined as a function of one or more electrical or mechanical limits of the wind turbine (14, 15, 16); and calculating a torque correction factor as a function of the adjusted power correction factor and a speed of the wind turbine (14, 15, 16); adding the torque correction factor to a torque set point as a feedforward term; and, adding the adjusted power correction factor to the power set point in the power regulator closed loop. monitoring a frequency of the power grid; measuring a real power at the point of interconnection connecting the wind farm to the power grid as a pre-event measured grid power; in response to detecting a frequency event occurring in the power grid, activating a control scheme in order to meet one or more grid requirements of the power grid, the control scheme comprising: increasing a power output of the wind turbine (14, 15, 16) to, at least, the pre-event measured grid power at the point of interconnection; calculating a power correction factor for a power set point of the wind turbine (14, 15, 16) as a function of, at least, the frequency event; adjusting the power set point via the power correction factor such that the power output follows a predetermined trajectory; controlling, via a turbine controller (24, 26, 28), the wind turbine (14, 15, 16) based on the adjusted power set point for as long as the control scheme is activated; increasing a power output of the wind turbine (14, 15, 16) to, at least, the pre-event measured grid power at the point of interconnection; calculating a power correction factor for a power set point of the wind turbine (14, 15, 16) as a function of, at least, the frequency event; adjusting the power set point via the power correction factor such that the power output follows a predetermined trajectory; controlling, via a turbine controller (24, 26, 28), the wind turbine (14, 15, 16) based on the adjusted power set point for as long as the control scheme is activated; applying a gain to the power correction factor to obtain an adjusted power correction factor, the gain being determined as a function of one or more electrical or mechanical limits of the wind turbine (14, 15, 16); and calculating a torque correction factor as a function of the adjusted power correction factor and a speed of the wind turbine (14, 15, 16); adding the torque correction factor to a torque set point as a feedforward term; and, adding the adjusted power correction factor to the power set point in the power regulator closed loop.