Dynamic modeling and simulation of a heat pump system for enhancing cycle flexibility