Assessing the changes required in the energy infrastructure with regard to the heating transition