Dynamic simulation during summer of a reversible multi-function heat pump with condensation-heat recovery