image thumbnail

Refrigeration Cycle in Simscape

version 1.2.0.0 (1.49 MB) by Leo Ng
Refrigeration cycle model in a custom Simscape two-phase flow domain.

4.2K Downloads

Updated 06 Aug 2014

View License

This file contains a refrigeration model built using a custom Simscape two-phase flow domain. The model contains a compressor, a condenser, an expansion valve, and an evaporator. The R-134a refrigerant leaves the compressor as a hot gas. It condenses in the condenser via heat transfer with the environment. The pressure drops as the refrigerant passes through the expansion valve. The drop in pressure causes the refrigerant to vaporize in the evaporator as it absorbs heat from the refrigerator compartment. The cold gas then returns to the compressor to repeat the cycle. The controller turns the compressor on and off to maintain the refrigerator compartment temperature around the desired temperature.
The fluid properties of the R-134a refrigerant spanning the liquid phase to the vapor phase are described by look-up tables as a function of pressure and specific internal energy. Homogeneous equilibrium is assumed in the phase transition regime. The values are obtained from the NIST Chemistry WebBook "Thermophysical Properties of Fluid Systems":
http://webbook.nist.gov/chemistry/fluid/

Please read the README.txt file to get started.

To find other physical modeling examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Physical Modeling Products, go to:
http://www.mathworks.com/physical-modeling/

Cite As

Leo Ng (2021). Refrigeration Cycle in Simscape (https://www.mathworks.com/matlabcentral/fileexchange/46448-refrigeration-cycle-in-simscape), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Engine Cooling Model in Simscape

Inspired: Vehicle HVAC System in Simscape

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!