energy allocation