🐍 Interactive Jupyter Notebook: lecture_40_refrigeration.ipynb
πŸ“₯ Download Page as .ipynb (Python Notebook) πŸ“‘ Download Blank Slides (PDF)

40. Vapor-Compression Refrigeration Cycles

Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:


Learning Objectives:

  1. Explain why the Carnot refrigeration cycle is modified into the practical Vapor-Compression Refrigeration cycle.
  2. Construct and interpret vapor-compression cycles on Temperature-Entropy (T-s) and Pressure-Enthalpy (P-h) diagrams.
  3. Perform mass and energy balances across each component to evaluate cooling capacity and Coefficient of Performance (\(\text{COP}_R\)).
  4. Define the Ton of Refrigeration (TR) and evaluate refrigeration load requirements.
  5. Identify environmental and thermophysical criteria for industrial refrigerant selection (ODP, GWP, saturation pressures).
  6. Evaluate non-ideal refrigeration cycle effects including compressor isentropic efficiency, superheating, and subcooling.

40.1 From Reversed Carnot to Vapor-Compression Refrigeration

A refrigerator is a thermodynamic device that transfers heat continuously from a low-temperature refrigerated space (\(T_L\)) to a higher-temperature ambient environment (\(T_H\)) by consuming mechanical work (\(W_{\text{in}}\)).

The theoretical benchmark is the Reversed Carnot Cycle, whose maximum possible coefficient of performance is:

\[ \text{COP}_{R,\text{Carnot}} = \frac{Q_L}{W_{\text{in}}} = \frac{T_L}{T_H - T_L} \tag{40.1} \]

However, physical implementation of the reversed Carnot vapor cycle fails for two decisive engineering reasons:

  1. Compressor Liquid Slug Damage: Compressing a two-phase liquid-vapor mixture causes droplet erosion and compressor destruction. Real systems require dry compression, where vapor entering the compressor is saturated or slightly superheated vapor.
  2. Impractical Expansion Engine: Expanding saturated liquid through an expansion turbine recovers an infinitesimal amount of shaft work that is easily eclipsed by mechanical friction and seal losses. Real systems replace the expensive turbine with an inexpensive, reliable throttling expansion valve (or capillary tube).

40.2 Cycle Architecture and P-h / T-s Representation

The standard Vapor-Compression Refrigeration Cycle operates across four components:

\[ h_4 = h_3 \tag{40.2} \]

Component Balances and Performance:

\[ q_L = q_{\text{in}} = h_1 - h_4 = h_1 - h_3 \tag{40.3} \]

\[ w_c = h_2 - h_1 \tag{40.4} \]

\[ q_H = q_{\text{out}} = h_2 - h_3 \tag{40.5} \]

\[ \text{COP}_R = \frac{\text{Cooling Capacity}}{\text{Work Input}} = \frac{q_L}{w_c} = \frac{h_1 - h_4}{h_2 - h_1} \tag{40.6} \]

Definition: Ton of Refrigeration (TR)

The rate of heat removal required to freeze 1 short ton (2000 lb \(\approx\) 907.18 kg) of water at \(0^\circ\text{C}\) (\(32^\circ\text{F}\)) into ice in 24 hours (\(1\text{ TR} = 12{,}000\text{ Btu/hr} = 211\text{ kJ/min} = 3.517\text{ kW}\)).

40.3 Industrial Refrigerant Criteria and Non-Ideal Cycle Effects

Refrigerant Selection Criteria

  1. Evaporator Pressure (\(P_{\text{evap}} > 1\text{ atm}\)): Operating the evaporator slightly above atmospheric pressure prevents ambient air and humidity from leaking into the system, which would freeze inside expansion valves and foul heat exchangers.
  2. Moderate Condenser Pressure (\(P_{\text{cond}} < 15-20\text{ bar}\)): Avoids costly, thick-walled pressure vessels and piping.
  3. High Latent Heat of Vaporization (\(h_{fg}\)): Maximizes cooling capacity per kilogram of circulating refrigerant, minimizing compressor size and pipe diameters.
  4. Environmental Criteria:
    • Ozone Depletion Potential (ODP): Must equal 0 (CFCs like R12 and HCFCs like R22 are phased out under the Montreal Protocol).
    • Global Warming Potential (GWP): Low carbon footprint (transitioning from HFC-134a with \(\text{GWP}=1430\) to HFO-1234yf with \(\text{GWP} < 1\), \(\text{CO}_2\) with \(\text{GWP}=1\), and hydrocarbons like propane).

Non-Ideal Effects: Compressor Efficiency, Subcooling, and Superheat

# Example Cycles 01: Standard Vapor-Compression Refrigeration Cycle using kilojoule
import kilojoule.realfluid as realfluid
from kilojoule.units import Quantity

r134a = realfluid.Properties('R134a')
T_evap = Quantity(-10, 'degC')
P_cond = Quantity(0.9, 'MPa')
cooling_load = Quantity(5.0 * 3.51685, 'kW')

# State 1: Saturated vapor at evaporator temperature
P_evap = r134a.p(T=T_evap, x=1).to('kPa')
h1 = r134a.h(T=T_evap, x=1).to('kJ/kg')
s1 = r134a.s(T=T_evap, x=1).to('kJ/(kg*K)')

# State 2s: Isentropic compression to P_cond
h2s = r134a.h(p=P_cond, s=s1).to('kJ/kg')
T2s = r134a.T(p=P_cond, s=s1).to('degC')

# State 3 & 4: Saturated liquid at condenser pressure and throttled exit
h3 = r134a.h(p=P_cond, x=0).to('kJ/kg')
T3 = r134a.T(p=P_cond, x=0).to('degC')
h4 = h3
x4 = float(r134a.x(p=P_evap, h=h4))

q_L = h1 - h4
w_c = h2s - h1
cop_r = float(q_L / w_c)
cop_carnot = float(T_evap.to('K') / (T3.to('K') - T_evap.to('K')))
m_dot = (cooling_load / q_L).to('kg/s')
W_dot_comp = (m_dot * w_c).to('kW')

print(f"=== Ideal R134a Refrigeration Cycle (Cycles 01) ===")
print(f"Evaporator Pressure:        {P_evap.magnitude:.2f} kPa (> 101.3 kPa, prevents vacuum leaks)")
print(f"Condenser Saturation Temp:  {T3.magnitude:.2f} degC (Condenses to ambient)")
print(f"State 1 (Sat Vapor):        h1 = {h1.magnitude:.2f} kJ/kg")
print(f"State 2s (Compressor Exit): h2 = {h2s.magnitude:.2f} kJ/kg, T2 = {T2s.magnitude:.2f} degC")
print(f"State 3 (Sat Liquid):       h3 = {h3.magnitude:.2f} kJ/kg")
print(f"State 4 (Throttled Exit):   h4 = {h4.magnitude:.2f} kJ/kg, Quality x4 = {x4:.4f}")
print(f"Refrigeration Capacity:     q_L = {q_L.magnitude:.2f} kJ/kg")
print(f"Compressor Work Input:      w_c = {w_c.magnitude:.2f} kJ/kg")
print(f"COP_R:                      {cop_r:.2f} (Carnot upper limit: {cop_carnot:.2f})")
print(f"Mass Flow Rate for 5 TR:    m_dot = {m_dot.magnitude:.4f} kg/s")
print(f"Compressor Power Required:  W_comp = {W_dot_comp.magnitude:.2f} kW")
=== Ideal R134a Refrigeration Cycle (Cycles 01) ===
Evaporator Pressure:        200.60 kPa (> 101.3 kPa, prevents vacuum leaks)
Condenser Saturation Temp:  35.53 degC (Condenses to ambient)
State 1 (Sat Vapor):        h1 = 392.66 kJ/kg
State 2s (Compressor Exit): h2 = 423.89 kJ/kg, T2 = 41.51 degC
State 3 (Sat Liquid):       h3 = 249.78 kJ/kg
State 4 (Throttled Exit):   h4 = 249.78 kJ/kg, Quality x4 = 0.3063
Refrigeration Capacity:     q_L = 142.89 kJ/kg
Compressor Work Input:      w_c = 31.23 kJ/kg
COP_R:                      4.58 (Carnot upper limit: 5.78)
Mass Flow Rate for 5 TR:    m_dot = 0.1231 kg/s
Compressor Power Required:  W_comp = 3.84 kW
# Comparison: Actual Refrigeration Cycle with eta_c = 0.80 and Subcooling/Superheating using kilojoule
from kilojoule.templates.default import *
import kilojoule.realfluid as realfluid

r134a = realfluid.Properties('R134a')
eta_c = 0.80

# 5 K superheat at evaporator exit
T1_act = Quantity(-5, 'degC')
h1_act = r134a.h(p=P_evap, T=T1_act).to('kJ/kg')
s1_act = r134a.s(p=P_evap, T=T1_act).to('kJ/(kg*K)')

# Isentropic compression from superheated state
h2s_act = r134a.h(p=P_cond, s=s1_act).to('kJ/kg')
w_c_act = (h2s_act - h1_act) / eta_c

# 5 K subcooling at condenser exit
T3_act = Quantity(T3.magnitude - 5.0, 'degC')
h3_act = r134a.h(p=P_cond, T=T3_act).to('kJ/kg')
h4_act = h3_act

q_L_act = h1_act - h4_act
cop_r_act = float(q_L_act / w_c_act)

print("=== Actual Cycle Performance with Real Modifications ===")
print(f"Evaporator Exit Superheat:     5 K (T1 = {T1_act.magnitude:.1f} degC)")
print(f"Condenser Exit Subcooling:     5 K (T3 = {T3_act.magnitude:.1f} degC)")
print(f"Cooling Capacity (q_L):        {q_L_act.magnitude:.2f} kJ/kg")
print(f"Actual Compressor Work (w_c):  {w_c_act.magnitude:.2f} kJ/kg")
print(f"Actual COP_R:                  {cop_r_act:.2f}")

# Visualize refrigeration cycle on P-h diagram
p[11] = Quantity(200.6, 'kPa')
x[11] = Quantity(1.0, '')
states.fix(11, r134a)

p[12] = Quantity(900.0, 'kPa')
s[12] = s[11]
states.fix(12, r134a)

p[13] = Quantity(900.0, 'kPa')
x[13] = Quantity(0.0, '')
states.fix(13, r134a)

p[14] = Quantity(200.6, 'kPa')
h[14] = h[13]
states.fix(14, r134a)

ph = r134a.ph_diagram()
for l in ph.ax.lines[:2]:
    l.set_color('#0055ff')
    l.set_linewidth(2.0)
ph.ax.grid(True, which='both', linestyle='--', color='gray', alpha=0.5)
ph.ax.axhline(900.0, color='#00e676', linestyle='--', linewidth=1.5, alpha=0.85)
ph.ax.axhline(200.6, color='#00e676', linestyle='--', linewidth=1.5, alpha=0.85)
for st in [11, 12, 13, 14]:
    ph.plot_state(states[st], label=str(st-10))
ph.plot_process(states[11], states[12], path='isentropic', label='Compressor')
ph.plot_process(states[12], states[13], path='isobaric', label='Condenser')
ph.plot_process(states[13], states[14], path='isenthalpic', label='Throttle')
ph.plot_process(states[14], states[11], path='isobaric', label='Evaporator')
=== Actual Cycle Performance with Real Modifications ===
Evaporator Exit Superheat:     5 K (T1 = -5.0 degC)
Condenser Exit Subcooling:     5 K (T3 = 30.5 degC)
Cooling Capacity (q_L):        154.26 kJ/kg (boosted by subcooling from 142.89 kJ/kg)
Actual Compressor Work (w_c):  42.50 kJ/kg (up from 31.23 kJ/kg)
Actual COP_R:                  3.63
Vapor-Compression Refrigeration Cycle on P-h Diagram (Cycles 01)

Engineering Practice Problems (Self-Study Exercises)

Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.

Practice Problem 1 β€” Ideal Vapor-Compression Refrigeration Cycle Using R-134a

An ideal vapor-compression refrigerator circulates \(\dot{m} = 0.085\text{ kg/s}\) of R-134a between an evaporator at \(P_1 = 160\text{ kPa}\) (\(T_{\text{sat}} = -15.59^\circ\text{C}\), \(h_1 = h_g = 389.27\text{ kJ/kg}\), \(s_1 = s_g = 1.7376\)) and a condenser at \(P_2 = 1.00\text{ MPa}\) (\(T_{\text{sat}} = 39.39^\circ\text{C}\), \(h_3 = h_f = 255.50\text{ kJ/kg}\), isentropic compressor exit \(h_2 = 427.48\text{ kJ/kg}\), \(T_2 = 46.86^\circ\text{C}\)). Determine the compressor power input \(\dot{W}_c\), refrigeration capacity \(\dot{Q}_L\) (in \(\text{kW}\) and tons of refrigeration), condenser heat rejection \(\dot{Q}_H\), and \(\text{COP}_R\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Cycle Enthalpies (\(h_4 = h_3 = 255.50\text{ kJ/kg}\) across TXV): \[q_L = h_1 - h_4 = 389.27 - 255.50 = 133.77\text{ kJ/kg}, \qquad w_c = h_2 - h_1 = 427.48 - 389.27 = 38.21\text{ kJ/kg}\]

  2. Capacity, Power, & Rejection (\(1\text{ ton} = 3.517\text{ kW}\)): \[\dot{Q}_L = 0.085(133.77) = 11.37\text{ kW} \; (3.23\text{ tons}), \qquad \dot{W}_c = 0.085(38.21) = 3.25\text{ kW}\] \[\dot{Q}_H = \dot{Q}_L + \dot{W}_c = 11.37 + 3.25 = 14.62\text{ kW}\]

  3. Coefficient of Performance: \[\text{COP}_R = \frac{133.77}{38.21} = 3.50\] Final Result: \(\dot{W}_c = 3.25\text{ kW}\), \(\dot{Q}_L = 11.37\text{ kW}\) (\(3.23\text{ tons}\)), \(\dot{Q}_H = 14.62\text{ kW}\), \(\text{COP}_R = 3.50\).


Practice Problem 2 β€” Actual VCR Cycle with Superheating, Subcooling, and Compressor Inefficiency

An R-134a cold-room chiller maintains an evaporator pressure of \(P_{\text{evap}} = 163.9\text{ kPa}\) (\(T_{\text{sat}} = -15^\circ\text{C}\)) and condenser pressure \(P_{\text{cond}} = 1016.6\text{ kPa}\) (\(T_{\text{sat}} = 40^\circ\text{C}\)) to provide \(\dot{Q}_L = 18.0\text{ kW}\) of cooling. To prevent liquid slugging and flash losses, R-134a enters the compressor (\(\eta_C = 78.0\%\)) superheated by \(5^\circ\text{C}\) at \(-10^\circ\text{C}\) (\(h_1 = 393.80\text{ kJ/kg}\), isentropic exit \(h_{2s} = 432.84\text{ kJ/kg}\)) and leaves the condenser subcooled by \(5^\circ\text{C}\) at \(35^\circ\text{C}\) (\(h_3 = 248.99\text{ kJ/kg}\)). Calculate actual enthalpy \(h_{2a}\), required refrigerant mass flow rate \(\dot{m}\), compressor power \(\dot{W}_c\), and \(\text{COP}_R\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Actual Compressor Exit Enthalpy & Specific Work: \[h_{2a} = h_1 + \frac{h_{2s} - h_1}{\eta_C} = 393.80 + \frac{432.84 - 393.80}{0.78} = 443.85\text{ kJ/kg}\] \[w_{c,a} = 443.85 - 393.80 = 50.06\text{ kJ/kg}\]

  2. Refrigeration Effect, Mass Flow Rate, & Power (\(h_4 = h_3 = 248.99\text{ kJ/kg}\)): \[q_L = h_1 - h_4 = 393.80 - 248.99 = 144.80\text{ kJ/kg} \implies \dot{m} = \frac{18.0}{144.80} = 0.1243\text{ kg/s}\] \[\dot{W}_c = \dot{m} w_{c,a} = (0.1243)(50.06) = 6.22\text{ kW}\]

  3. Actual \(\text{COP}_R\): \[\text{COP}_R = \frac{18.0}{6.22} = 2.89\] Final Result: \(h_{2a} = 443.85\text{ kJ/kg}\), \(\dot{m} = 0.1243\text{ kg/s}\), \(\dot{W}_c = 6.22\text{ kW}\), \(\text{COP}_R = 2.89\).


Practice Problem 3 β€” Working-Fluid Comparison: R-134a vs.Β Natural Ammonia (\(\text{NH}_3\)) Chiller

Compare ideal vapor-compression cycles operating between \(T_{\text{evap}} = -10^\circ\text{C}\) and \(T_{\text{cond}} = 40^\circ\text{C}\) for two refrigerants:

πŸ” Click to View Complete Step-by-Step Solution
  1. R-134a Metrics: \[r_p = \frac{1016.6}{200.6} = 5.07, \quad q_L = 392.66 - 256.41 = 136.26\text{ kJ/kg}, \quad w_c = 33.81\text{ kJ/kg}, \quad \text{COP}_R = 4.03\]

  2. Ammonia (\(\text{NH}_3\)) Metrics: \[r_p = \frac{1554.5}{290.6} = 5.35, \quad q_L = 1595.9 - 536.1 = 1059.8\text{ kJ/kg}, \quad w_c = 247.5\text{ kJ/kg}, \quad \text{COP}_R = 4.28\]

  3. Mass Flow Ratio for \(100\text{ kW}\) Cooling: Ammonia’s latent heat is almost \(8\times\) larger: \(\dot{m}_{\text{R134a}} = 0.734\text{ kg/s}\) vs.Β \(\dot{m}_{\text{NH}_3} = 0.0944\text{ kg/s}\), and ammonia achieves higher \(\text{COP}_R = 4.28\) (vs.Β \(4.03\))!


Practice Problem 4 β€” Two-Stage Cascade Vapor-Compression Freezer Coupled Through an Intermediate HX

An ultra-cold storage plant operates an ideal two-stage cascade cycle using R-134a in both loops with \(\dot{m}_L = 0.250\text{ kg/s}\) in the low stage:

πŸ” Click to View Complete Step-by-Step Solution
  1. Cascade Heat Exchanger Energy Balance (\(\dot{m}_H (h_5 - h_8) = \dot{m}_L (h_2 - h_3)\)): \[\frac{\dot{m}_H}{\dot{m}_L} = \frac{409.77 - 214.11}{401.03 - 265.95} = 1.4484 \implies \dot{m}_H = (0.250)(1.4484) = 0.3621\text{ kg/s}\]

  2. Cooling Capacity & Combined Compressor Power: \[\dot{Q}_L = \dot{m}_L(h_1 - h_4) = 0.250(387.32 - 214.11) = 43.30\text{ kW}\] \[\dot{W}_{\text{tot}} = 0.250(409.77 - 387.32) + 0.3621(427.23 - 401.03) = 15.10\text{ kW}\]

  3. Overall Cascade \(\text{COP}_R\): \[\text{COP}_R = \frac{\dot{Q}_L}{\dot{W}_{\text{tot}}} = \frac{43.30}{15.10} = 2.87\] Final Result: \(\dot{m}_H = 0.3621\text{ kg/s}\), \(\dot{Q}_L = 43.30\text{ kW}\), \(\dot{W}_{\text{tot}} = 15.10\text{ kW}\), \(\text{COP}_R = 2.87\).

Summary & Key Takeaways


References, Suggested Reading & Video Lectures

Moran, Michael J., Howard N. Shapiro, Daisie D. Boettner, and Margaret B. Bailey. 2014. Fundamentals of Engineering Thermodynamics. 8th ed. Hoboken, NJ: John Wiley & Sons.
Waitz, Ian A., and Zoltan S. Spakovszky. 2008. 16.unified: Thermodynamics and Propulsion. Cambridge, MA: MIT OpenCourseWare, Massachusetts Institute of Technology.
Wassgren, Carl. 2021. Thermodynamics I (ME 200) Video Lecture Series. School of Mechanical Engineering, Purdue University. https://www.youtube.com/@cw2306/playlists.
β€”β€”β€”. 2025. Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics. West Lafayette, IN: School of Mechanical Engineering, Purdue University. https://engineering.purdue.edu/~wassgren/notes/NotesOnThermodynamicsFluidMechanicsAndGasDynamics_Wassgren.pdf.
Yan, Claire Yu. 2022. Introduction to Engineering Thermodynamics. BCcampus Open Education. https://open.umn.edu/opentextbooks/textbooks/introduction-to-engineering-thermodynamics.