A method for controlling a renewable energy system , comprising: controlling , by one or more control devices, a reactive power output for a renewable energy system based at least in part on an initial reactive power limit for the renewable energy system; determining , by the one or more control devices, a difference between a reactive power demand and an actual reactive power production for the renewable energy system ; wherein when the difference falls outside a threshold, the method comprises: determining , by the one or more control devices, a correction factor for the initial reactive power limit; adjusting , by the one or more control devices , the initial reactive power limit to a corrected reactive power limit based at least in part on the correction factor; controlling , by the one or more control devices, the reactive power output for the renewable energy system based at least in part on the corrected reactive power limit; detecting, by the one or more control devices , the difference returning to within the threshold; and in response to detecting the difference returning to within the threshold, controlling, by the one or more control devices , the reactive power output based at least in part on the initial reactive power limit. controlling , by one or more control devices, a reactive power output for a renewable energy system based at least in part on an initial reactive power limit for the renewable energy system; determining , by the one or more control devices, a difference between a reactive power demand and an actual reactive power production for the renewable energy system ; wherein when the difference falls outside a threshold, the method comprises: determining , by the one or more control devices, a correction factor for the initial reactive power limit; adjusting , by the one or more control devices , the initial reactive power limit to a corrected reactive power limit based at least in part on the correction factor; controlling , by the one or more control devices, the reactive power output for the renewable energy system based at least in part on the corrected reactive power limit; detecting, by the one or more control devices , the difference returning to within the threshold; and in response to detecting the difference returning to within the threshold, controlling, by the one or more control devices , the reactive power output based at least in part on the initial reactive power limit. determining , by the one or more control devices, a correction factor for the initial reactive power limit; adjusting , by the one or more control devices , the initial reactive power limit to a corrected reactive power limit based at least in part on the correction factor; controlling , by the one or more control devices, the reactive power output for the renewable energy system based at least in part on the corrected reactive power limit; detecting, by the one or more control devices , the difference returning to within the threshold; and in response to detecting the difference returning to within the threshold, controlling, by the one or more control devices , the reactive power output based at least in part on the initial reactive power limit. <EOS>