Optimization and operation of integrated homes with photovoltaic battery energy storage systems and power-to-heat coupling. (January 2019)