What is the relationship between generator and energy input