factors affecting energy demands