Reliability in a smart power system with cyber-physical interactive operation of photovoltaic systems and heat pumps