Operate heat pump with PV electricity