generator energy consumption monitoring