total energy generated