A method for controlling plant active power output (P Plant) ramp rate of a power plant to a Point of Common Coupling, PCC, with a power grid, the method comprising: obtaining information about a current RES active power output (P RES) of a Renewable Energy Source, RES, comprised in the power plant; forecasting future RES active power output (P RES), during a predefined future time period, based on input signals from a meteorological sensor; based on the obtained current RES active power output information and on the forecasted RES active power output, determining whether an expected ramp rate of the RES active power output (P RES) during said predefined time period exceeds a predefined maximum ramp rate limit (n) of a plant active power output (P Plant), the plant active power output (P Plant) being a combination of the RES active power output (P RES) and an ESS active power output (P ESS), of an Energy Storage System, ESS, comprised in the power plant, at any given time; selecting (S 4) a first control method (FCRR) which is based on the forecasted future RES active power output (P RES) when it has been determined that the expected ramp rate exceeds the predefined maximum ramp rate limit during the predefined time period, and selecting (S 4) a second control method (STDRR) which is not based on the forecasted future RES active power output (P RES) when it has been determined that the expected ramp rate does not exceed the predefined maximum ramp rate limit during the predefined time period; and using (S 5) the selected first and second control methods to generate an ESS control signal for controlling the ESS active power output (P ESS) such that the plant active power output (P Plant) ramp rate is kept below the predefined maximum ramp rate limit during the predefined time period. obtaining information about a current RES active power output (P RES) of a Renewable Energy Source, RES, comprised in the power plant; forecasting future RES active power output (P RES), during a predefined future time period, based on input signals from a meteorological sensor; based on the obtained current RES active power output information and on the forecasted RES active power output, determining whether an expected ramp rate of the RES active power output (P RES) during said predefined time period exceeds a predefined maximum ramp rate limit (n) of a plant active power output (P Plant), the plant active power output (P Plant) being a combination of the RES active power output (P RES) and an ESS active power output (P ESS), of an Energy Storage System, ESS, comprised in the power plant, at any given time; selecting (S 4) a first control method (FCRR) which is based on the forecasted future RES active power output (P RES) when it has been determined that the expected ramp rate exceeds the predefined maximum ramp rate limit during the predefined time period, and selecting (S 4) a second control method (STDRR) which is not based on the forecasted future RES active power output (P RES) when it has been determined that the expected ramp rate does not exceed the predefined maximum ramp rate limit during the predefined time period; and using (S 5) the selected first and second control methods to generate an ESS control signal for controlling the ESS active power output (P ESS) such that the plant active power output (P Plant) ramp rate is kept below the predefined maximum ramp rate limit during the predefined time period.