Effect of heat capacity modulation of heat pump to meet variable hot water demand