Patent ID: 8914158

Claim:
A method of regulating an output power of a source of electricity that is supplied to an electricity distribution grid, the method comprising: determining whether: (a) the output power of the electricity source is outside a predetermined range, and (b) a rate of change of the output power exceeds a predefined maximum value that is a function of one or more parameters that influence an expected output of the electricity source, wherein the one or more parameters is selected from the list consisting of: a charging constraint on charging an energy storage medium, wherein the charging constraint limits charging of the energy storage medium based on unused energy storage capacity of the energy storage medium and a maximum power rating of the energy storage medium, and a discharging constraint on discharging the energy storage medium, wherein the discharging constraint limits discharging of the energy storage medium based on available energy storage capacity of the energy storage medium and the maximum power rating of the energy storage medium; and in response to determining that either or both of conditions (a) and (b) is met, regulating the output power supplied to the grid by transferring energy between the energy storage medium and the electricity grid, wherein the transferring comprises discharging or charging the energy storage medium.