A method for operating a wind farm comprising a plurality of wind turbines that can be controlled and/or adjusted so as to output a power in response to a received target value of a power-related electrical variable, wherein the method comprises the following steps: a) determining an amount of power that can be distributed to the wind turbines depending on a target power for the entire wind farm and on minimum powers of the individual wind turbines, b) creating a weighted distribution that assigns to each individual wind turbine a portion of the distributable amount of power, c) defining target values for the wind turbines, which, based on their momentarily available powers, can output less or as much power as was assigned to them by means of the weighted distribution, wherein their target values are defined such that said wind turbines are each controlled so as to output their momentarily available powers, or at least to output their minimum powers, d) determining a remaining amount of power still to be distributed, e) creating a further weighted distribution that assigns to each individual remaining wind turbine a portion of the remaining amount of power, which wind turbines, based on their momentarily available powers, can output more power than was assigned to them by means of the previous weighted distribution, f) defining target values for those of the remaining wind turbines which, based on their momentarily available power, can output less or as much power as was assigned to them by means of the further weighted distribution, wherein their target values are defined such that said wind turbines are each controlled so as to output their momentarily available powers, g) repeating steps d) to f) until a termination condition is met, h) specifying the defined target values to the respective wind turbines of the wind farm. a) determining an amount of power that can be distributed to the wind turbines depending on a target power for the entire wind farm and on minimum powers of the individual wind turbines, b) creating a weighted distribution that assigns to each individual wind turbine a portion of the distributable amount of power, c) defining target values for the wind turbines, which, based on their momentarily available powers, can output less or as much power as was assigned to them by means of the weighted distribution, wherein their target values are defined such that said wind turbines are each controlled so as to output their momentarily available powers, or at least to output their minimum powers, d) determining a remaining amount of power still to be distributed, e) creating a further weighted distribution that assigns to each individual remaining wind turbine a portion of the remaining amount of power, which wind turbines, based on their momentarily available powers, can output more power than was assigned to them by means of the previous weighted distribution, f) defining target values for those of the remaining wind turbines which, based on their momentarily available power, can output less or as much power as was assigned to them by means of the further weighted distribution, wherein their target values are defined such that said wind turbines are each controlled so as to output their momentarily available powers, g) repeating steps d) to f) until a termination condition is met, h) specifying the defined target values to the respective wind turbines of the wind farm. <EOS>