Heat pumps in energy and cost efficient nearly zero energy