Four dimensional energy management