Method for the control of power ramp-rates minimizing energy storage requirements in intermittent power generation plants for complying with a maximum allowable ramp-rate value to the power being fed in the grid, P G (t), given by a grid code regulation, by the intermittent power generation plant characterized in that the method comprises: • a stage for calculating the maximum plant power, P Max (t), and the minimum plant power, P Min (t) of the instantaneous power generated by the intermittent power generation plant, P(t), being the maximum plant power, P Max (t), and the minimum plant power, P Min (t), the maximum and minimum power respectively that can occur at the photovoltaic plant at time t; • a stage for determining the worst possible fluctuation that can occur in the instantaneous power generated by the intermittent power generation plant, P(t), wherein the worst possible fluctuation is one of the two following fluctuations: a positive fluctuation being calculated between the instantaneous power P(t) and the maximum plant power, P Max (t) and a negative fluctuation being calculated between the instantaneous power P(t) and the minimum plant power, P Min (t); • a stage for calculating dynamically the target state of charge, SOC tar (t), of a energy storage system required to support the worst possible fluctuation; and • a control stage wherein the state of charge SOC(t) of the energy storage system associated to the difference between the power being fed in the grid, P G (t), and the instantaneous power generated by the intermittent power generation plant, P(t), is modified accordingly to the target state of charge, SOC tar (t) if the previous value of the target state of charge, SOC tar (t-1), is not able to support the worst possible fluctuation or is not modified if the previous value of the target state of charge, SOC tar (t-1), is able to support the worst possible fluctuation. • a stage for calculating the maximum plant power, P Max (t), and the minimum plant power, P Min (t) of the instantaneous power generated by the intermittent power generation plant, P(t), being the maximum plant power, P Max (t), and the minimum plant power, P Min (t), the maximum and minimum power respectively that can occur at the photovoltaic plant at time t; • a stage for determining the worst possible fluctuation that can occur in the instantaneous power generated by the intermittent power generation plant, P(t), wherein the worst possible fluctuation is one of the two following fluctuations: a positive fluctuation being calculated between the instantaneous power P(t) and the maximum plant power, P Max (t) and a negative fluctuation being calculated between the instantaneous power P(t) and the minimum plant power, P Min (t); • a stage for calculating dynamically the target state of charge, SOC tar (t), of a energy storage system required to support the worst possible fluctuation; and • a control stage wherein the state of charge SOC(t) of the energy storage system associated to the difference between the power being fed in the grid, P G (t), and the instantaneous power generated by the intermittent power generation plant, P(t), is modified accordingly to the target state of charge, SOC tar (t) if the previous value of the target state of charge, SOC tar (t-1), is not able to support the worst possible fluctuation or is not modified if the previous value of the target state of charge, SOC tar (t-1), is able to support the worst possible fluctuation. <EOS>