Patent ID: 8249756

Claim:
A method, comprising: using an AC frequency measuring device, measuring a current AC frequency on an AC power line; using a power consumption measuring device, measuring a current power consumption on said AC power line over a period of time equal to a sampling interval; calculating, by a processor, a power consumption moving average of a last N power current power consumptions measured, where N is a positive integer greater than 1; generating credits or debits based on said current power consumption, said current AC frequency and said power consumption moving average; adding said credits or debits to a frequency regulation credit; for each next sampling interval, repeating said measuring said current AC frequency, said measuring said current power consumption, said calculating said power consumption moving average, said generating said credit or debit, and said adding said credits or debits to said frequency regulation credit; and wherein said generating said credit or debit includes: generating a debit when said current AC frequency is greater than or equal to an upper threshold frequency and said current power consumption is less than said power consumption moving average; generating a credit when said current AC frequency is greater than or equal to an upper threshold frequency and said current power consumption is greater than said power consumption moving average; generating a debit when said current AC frequency is less than or equal to a lower threshold frequency and said current power consumption is greater than said power consumption moving average; generating a credit when said current AC frequency is less than or equal to a lower threshold frequency and said current power consumption is less than said power consumption moving average; and not generating a credit or a debit when said current AC frequency is between said upper threshold frequency and said lower threshold frequency.