Heat pumps are an attractive heating system in residential buildings. They operate based on the vapor compression cycle used in refrigeration systems. Design questions surrounding heat pumps can be investigated and answered using modelling tools that incorporate the necessary thermodynamics, fluid mechanics, and machinery component efficiency. Several modelling tools are available, however there is a need for more open-source, script-based programs that are competitive to those already available. This work presents a Python-based code for modeling the thermodynamics of the vapor compression cycle (VCC) in typical heat pumps. The main contribution of this work is an openly available online code, complete with a few examples to show its functionality, that provides the basic thermodynamic model of a heat pump for researchers or development engineers to use, modify, and extend. Its current features include choice of refrigerant, heat exchanger size and characteristics, compressor, and other design parameters such as heating load, and fluid temperatures in and out of the heat exchangers. Simulation outputs include the P-h and T-s diagrams and coefficient of performance (COP). The code is flexible and suggestions for future code development are given.
CITATION STYLE
Allen, R., Svortevik, E., & Bergersen, H. (2023). A Python-based code for modeling the thermodynamics of the vapor compression cycle applied to residential heat pumps. In Proceedings of the 64th International Conference of Scandinavian Simulation Society, SIMS 2023 Västerås, Sweden, September 25-28, 2023 (Vol. 200, pp. 167–174). Linköping University Electronic Press. https://doi.org/10.3384/ecp200022
Mendeley helps you to discover research relevant for your work.