Patent ID: 8554387

Claim:
A method, comprising: measuring, by an AC frequency measuring device, a current AC frequency on an AC power line and storing said current AC frequency in a memory device; measuring, by a power consumption measuring device, a current power consumption on said AC power line over a period of time equal to a sampling interval and storing said current power consumption in a memory device; calculating, by a processor, a power consumption moving average of a last N power current power consumption measurements measured by said power consumption measuring device, where N is a positive integer greater than 1; generating, by a processor, credits, debits or credits and debits based on said current power consumption, said current AC frequency and said power consumption moving average; adding, by the processor, said credits, debits or credits and debits to a frequency regulation credit; and 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 credits, debits or credits and debits, and said adding said credits, debits or credits and debits to said frequency regulation credit.