if there is only one building, select it automatically when calculating
energy.