Previous mode switching algorithms for heat exchanger moving boundary models in the literature are composed of a set of IF-THEN rules. These representations could lead to numerical challenges due to the inherited discontinuities associated with IF-THEN rules. This paper presents an alternative mode switching methodology which results in a continuous moving boundary heat exchanger model over all possible mode changes. Numerical performance of the proposed method for a heat exchanger has been tested using simulations and sample results are compared with a moving boundary model with switching based on IF-THEN rules and also a finite-volume method. The proposed switching algorithm was implemented within a complete vapor compression cycle model and results were compared with experimental data for a start-up transient.