Analytical modeling of heat pump units as a design aid and for performance prediction