Inverter technology for roof heat pumps