duration of energy demand