{Controlling the flow of liquid in a heat pump system where the flow direction of the refrigerant changes and an evaporator becomes condenser}