Isentropic efficiency and specific work
The Vapour-Compression Cycle
On this page
A technician reads two pressures and two pipe temperatures on a cold room’s condensing unit, writes them on the service sheet, and nobody can say whether the machine is healthy or is using 30 percent more electricity than it should. The readings are enough to answer the question, but only for someone who can turn them into the four states of the cycle. This lesson builds that cycle for one real system, state by state, with numbers. You will calculate the cooling each kilogram of refrigerant gives, the work the compressor needs, the electrical power the meter sees, and the temperature of the gas that leaves the compressor. #Refrigeration #VapourCompression #ColdRoom
Learning Objectives
By the end of this lesson, you will be able to:
- Name the four components and four processes of the vapour-compression cycle and the state of the refrigerant between them
- Find the temperature, pressure, enthalpy and entropy of each state with CoolProp
- Calculate the refrigerating effect, specific work, COP, mass flow, shaft power, electrical input and heat rejected
- Explain why the enthalpy does not change across the expansion valve and what flash gas is
- Compare an ideal compressor with a real one in COP and discharge temperature
Real-World System Problem: The condensing unit of a small cold room
A cold room of 30 m³ holds fresh produce at 4 °C inside a store building where the air is at 30 °C. Heat flows into the room all day, and the refrigeration system must carry it out to the warmer building air. Heat does not flow from cold to warm by itself, so the system needs work, and that work is the electricity bill.
The system is a closed circuit of R134a with four components. The evaporator, a finned coil inside the room, runs at −6 °C, 10 K below the room air, so heat flows from the air into the refrigerant. The condenser, a finned coil outside, runs at 42 °C, 12 K above the building air, so heat flows from the refrigerant into the air. The compressor and the expansion valve hold the two coils at their two pressures.
At its design point the system gives 3.0 kW of cooling. The owner asks what that costs in electrical power; the designer asks how hot the compressor runs. Both answers come from the same four states.
Fundamental Theory: Four processes on one circuit
The idea: boil cold, condense warm
A liquid absorbs a large amount of heat when it boils and gives the same heat back when it condenses, at a temperature set only by the pressure. R134a boils at −6 °C at 2.34 bar and condenses at 42 °C at 10.72 bar (both absolute).
The whole machine follows. In the low pressure coil the refrigerant boils at −6 °C and takes heat from the 4 °C room. In the high pressure coil it condenses at 42 °C and gives heat to the 30 °C air. The compressor raises the pressure of the vapour between the coils; the expansion valve lowers the pressure of the liquid on the way back. Picture a sponge carried round a loop: it soaks up heat in the cold room and is wrung out in the warm air. The picture stops at one point: the squeeze of the compressor adds energy, so more heat is wrung out than was soaked up.
The four states
This course numbers the states the same way in every lesson.
| State | Where | Condition of the refrigerant |
|---|---|---|
| 1 | Compressor inlet | Low pressure vapour, slightly superheated |
| 2 | Compressor outlet | High pressure vapour, hot |
| 3 | Condenser outlet | High pressure liquid, slightly subcooled |
| 4 | Evaporator inlet | Low pressure mixture of liquid and vapour |
The evaporating temperature
The cycle on the p-h diagram
On a diagram of pressure against specific enthalpy
Because the horizontal axis is enthalpy, every energy quantity of the cycle is a horizontal distance, which is why the diagram is used on every refrigeration job.
Finding a state with CoolProp
Two independent properties fix the state of a pure refrigerant. For state 1 they are the pressure
from CoolProp.CoolProp import PropsSIh1 = PropsSI("H", "T", 273.15, "P", 234278, "R134a") # J/kgCoolProp works in SI units: kelvin, pascal, J/kg. Install it once with pip install CoolProp. Every refrigerant property in this lesson comes from CoolProp’s reference equation of state for R134a.
Process 1 to 2: compression
The compressor takes in vapour at
The extra work does not disappear: friction and internal leakage turn it into heat inside the gas, so state 2 has a higher enthalpy, entropy and temperature than state 2s. The temperature at state 2 is the discharge temperature. It matters because the lubricating oil breaks down when the gas is too hot. Limits differ between makers; figures between about 100 °C and 120 °C at the discharge pipe are commonly quoted.
A common mistake is to apply the efficiency to the temperature rise. It applies to the enthalpy rise: find
Process 2 to 3: condensation
In the condenser the refrigerant gives up heat at constant pressure in three stages: the hot gas cools to 42 °C, it condenses at 42 °C (the largest part), and the liquid cools a little further, to
Process 3 to 4: throttling in the expansion valve
The expansion valve is a small orifice: liquid at 10.72 bar is forced through it and leaves at 2.34 bar. It has no moving shaft, so no work leaves the refrigerant, and the flow passes in a fraction of a second, so almost no heat enters. With no work and no heat, the first law leaves one possibility:
Throttling
The enthalpy does not change across the expansion valve. The pressure, the temperature and the entropy all change.
Liquid at 38 °C cannot exist at 2.34 bar, where the boiling temperature is −6 °C. So part of it boils at once, taking the heat from the rest, which cools to −6 °C. This vapour is called flash gas. The quality
where
Flash gas is a loss: it has already boiled, so it takes almost no heat from the room, yet the compressor must still compress it. Subcooling reduces it, because cooler liquid has less heat to dispose of.
Why the valve produces no work
The high pressure liquid could in principle drive a small turbine on its way down to
The valve has a second job that a fixed turbine could not do: it meters the flow so that the evaporator receives the amount of liquid it can boil.
Process 4 to 1: evaporation
In the evaporator the liquid part of the mixture boils at −6 °C and takes heat from the room air. Near the outlet the vapour warms by the superheat. The heat absorbed by each kilogram is the refrigerating effect.
The energy quantities
The cycle in four lines
The COP (coefficient of performance) is the cooling delivered divided by the work supplied, a ratio with no unit. A COP of 3 means 3 kW of heat moved for 1 kW of work; this does not break energy conservation, because the machine moves heat and does not create it.
This course uses two COP values; do not confuse them. The cycle COP uses the work that reaches the refrigerant. The system COP uses the electrical power at the meter, which is larger because the motor and the mechanical parts of the compressor have losses:
where
What this model leaves out
The cycle drawn here has no pressure drop in the coils or pipes, no heat gained by the suction pipe, no heat lost from the compressor body, and a fixed isentropic efficiency. A real system has all of these effects, and its efficiency changes with the pressure ratio. The model is good enough to size the system and to judge measurements within several percent, but it does not replace the maker’s performance data.
Application 1: The design-point cycle of the cold room system
Step 1: The two pressures and state 1
Click to reveal the pressures and the compressor inlet
-
Saturation pressures. Ask CoolProp for the pressure at each saturation temperature (quality 1 at
, quality 0 at ). The pressure ratio is
. ✅ -
Temperature at state 1. The vapour is 6 K above the evaporating temperature.
State 1 is fixed by
and . ✅ -
Properties at state 1. From CoolProp at
and : The density
is needed later for the volume flow. ✅
Step 2: Compression, ideal and real
Click to reveal states 2s and 2
-
State 2s. The ideal outlet is at
with . From CoolProp: The ideal work is
. ✅ -
Real work. Divide the ideal work by the isentropic efficiency.
The real compressor needs 15.39 kJ/kg more than the ideal one. (The values are carried unrounded, so the last digit can differ by one from a calculation with the rounded figures.) ✅
-
State 2.
From CoolProp at
and : and . The discharge temperature is 67.7 °C, which is 25.7 K above the condensing temperature. ✅
Step 3: Condenser outlet and expansion valve
Click to reveal states 3 and 4
-
State 3. The liquid is 4 K below the condensing temperature, at
. ✅
-
State 4. Throttling keeps the enthalpy, and the pressure falls to
. State 4 is inside the saturation dome, so its temperature is the saturation temperature at
. ✅ -
Quality at state 4. At
, CoolProp gives and , so with the unrounded values. 30.2 percent of the mass is flash gas before the refrigerant has cooled anything. ✅
-
Entropy at state 4. From CoolProp at
and : . The entropy rose from 1.1807 to 1.2004 across the valve with no heat added, which is the mark of an irreversible process. ✅
The complete state table:
| State | Condition | ||||
|---|---|---|---|---|---|
| 1 | 0.0 | 2.343 | 400.27 | 1.7499 | Superheated vapour |
| 2s | 53.3 | 10.722 | 432.98 | 1.7499 | Superheated vapour (ideal) |
| 2 | 67.7 | 10.722 | 448.38 | 1.7961 | Superheated vapour |
| 3 | 38.0 | 10.722 | 253.42 | 1.1807 | Subcooled liquid |
| 4 | −6.0 | 2.343 | 253.42 | 1.2004 | Mixture, |
Step 4: Refrigerating effect, COP and flows
Click to reveal the cycle performance
-
Refrigerating effect.
Each kilogram of refrigerant removes 146.85 kJ from the room. ✅
-
Cycle COP.
✅
-
Mass flow. The capacity is
. ✅
-
Volume flow at the compressor inlet. The compressor is a volume machine, so this is the figure that sets its size.
The compressor must draw in 1.81 litres of vapour each second. A real compressor does not fill its cylinder completely each stroke: gas left in the clearance space re-expands, and the hot cylinder warms the incoming gas. The volumetric efficiency (often about 0.70 to 0.80 at this pressure ratio) states how full, so the swept volume must be larger, about 8.1 to 9.3 m³/h here. Choose the compressor from the maker’s capacity table at
°C and 42 °C, not from 6.50 m³/h. ✅
Step 5: Power, heat rejected and the check
Click to reveal the power and the energy balance
-
Shaft power.
✅
-
Electrical input.
The meter sees 1.16 kW for the compressor. The difference of 0.17 kW is lost as heat in the motor and the mechanism. ✅
-
System COP with the motor.
The same result is
. The fans are not included in this figure. ✅ -
Heat rejected.
✅
-
Check by the first law. Draw a boundary round the refrigerant circuit. Heat enters at the evaporator, work enters at the compressor, and heat leaves at the condenser.
The heat rejected equals the capacity plus the shaft power. The Python script prints the same two numbers. ✅
Application 2: The same cycle with an ideal compressor
Step 1: The ideal cycle
Click to reveal the ideal-compressor results
-
What changes. Only state 2 moves. It becomes state 2s:
and . States 1, 3 and 4 do not depend on the compressor, so and as before. ✅ -
Work and COP.
✅
-
Power.
✅
-
Heat rejected.
, which equals . ✅
Step 2: What the real compressor costs
Click to reveal the comparison
-
Side by side.
Quantity Ideal, 1.00 Real, 0.68 Specific work (kJ/kg) 32.71 48.11 Cycle COP 4.49 3.05 Shaft power (kW) 0.668 0.983 Electrical input (kW) 0.786 1.156 Heat rejected (kW) 3.668 3.983 Discharge temperature (°C) 53.3 67.7 ✅
-
Cost in COP. The ratio of the two COP values is the isentropic efficiency itself.
This must be so, because
is the same and is divided by . The compressor’s losses remove 32 percent of the COP. ✅ -
Cost in power.
of extra electrical input for the same 3.0 kW of cooling. ✅ -
Cost in temperature.
hotter discharge gas. The extra shaft power of all appears as extra heat at the condenser: . ✅
Verify It in Python
The script builds the cycle from the seven design values, prints the state table and the performance for the real and the ideal compressor, and draws both cycles on a pressure-enthalpy diagram with the saturation dome. It needs CoolProp as well as numpy and matplotlib: pip install CoolProp.
"""Design-point vapour-compression cycle of the cold room (R134a), with a log p-h plot."""import numpy as npimport matplotlib.pyplot as pltfrom CoolProp.CoolProp import PropsSI
FLUID = "R134a"T_E, T_C = -6.0, 42.0 # evaporating and condensing temperature, degCSUPERHEAT, SUBCOOLING = 6.0, 4.0 # KETA_IS = 0.68 # compressor isentropic efficiencyETA_MOTOR = 0.85 # motor and mechanical efficiencyCAPACITY = 3.0 # kW of coolingK0 = 273.15
def cycle(eta_is): """Return the states of the cycle as a dict of (T degC, p Pa, h J/kg, s J/kg.K).""" p_e = PropsSI("P", "T", T_E + K0, "Q", 1, FLUID) p_c = PropsSI("P", "T", T_C + K0, "Q", 0, FLUID) t1 = T_E + SUPERHEAT + K0 h1 = PropsSI("H", "T", t1, "P", p_e, FLUID) s1 = PropsSI("S", "T", t1, "P", p_e, FLUID) h2s = PropsSI("H", "P", p_c, "S", s1, FLUID) t2s = PropsSI("T", "P", p_c, "S", s1, FLUID) h2 = h1 + (h2s - h1) / eta_is t2 = PropsSI("T", "P", p_c, "H", h2, FLUID) s2 = PropsSI("S", "P", p_c, "H", h2, FLUID) t3 = T_C - SUBCOOLING + K0 h3 = PropsSI("H", "T", t3, "P", p_c, FLUID) s3 = PropsSI("S", "T", t3, "P", p_c, FLUID) h4 = h3 # throttling: enthalpy is unchanged s4 = PropsSI("S", "P", p_e, "H", h4, FLUID) x4 = PropsSI("Q", "P", p_e, "H", h4, FLUID) return { "1": (t1 - K0, p_e, h1, s1), "2s": (t2s - K0, p_c, h2s, s1), "2": (t2 - K0, p_c, h2, s2), "3": (t3 - K0, p_c, h3, s3), "4": (T_E, p_e, h4, s4), "x4": x4, "rho1": PropsSI("D", "T", t1, "P", p_e, FLUID), }
def report(name, eta_is): st = cycle(eta_is) h1, h2, h3, h4 = (st[k][2] / 1e3 for k in ("1", "2", "3", "4")) q_e, w = h1 - h4, h2 - h1 m = CAPACITY / q_e # kg/s shaft = m * w elec = shaft / ETA_MOTOR q_c = m * (h2 - h3) print(f"{name} (isentropic efficiency {eta_is:.2f})") print(" state T degC p bar h kJ/kg s kJ/(kg.K)") for k in ("1", "2s", "2", "3", "4"): t, p, h, s = st[k] print(f" {k:>3} {t:7.1f} {p / 1e5:7.3f} {h / 1e3:8.2f} {s / 1e3:8.4f}") print(f" quality at state 4: {st['x4']:.3f}") print(f" q_e {q_e:.2f} kJ/kg, w {w:.2f} kJ/kg, cycle COP {q_e / w:.3f}") print(f" mass flow {m:.5f} kg/s = {m * 3600:.1f} kg/h") print(f" suction density {st['rho1']:.3f} kg/m3, volume flow " f"{m / st['rho1'] * 1e3:.3f} L/s = {m / st['rho1'] * 3600:.2f} m3/h") print(f" shaft power {shaft:.3f} kW, electrical input {elec:.3f} kW, " f"system COP {CAPACITY / elec:.3f}") print(f" heat rejected {q_c:.3f} kW, capacity + shaft power " f"{CAPACITY + shaft:.3f} kW") print(f" discharge temperature {st['2'][0]:.1f} degC, " f"pressure ratio {st['2'][1] / st['1'][1]:.2f}") return st
real = report("Real compressor", ETA_IS)ideal = report("Ideal compressor", 1.0)
p_e = real["1"][1]h_f = PropsSI("H", "P", p_e, "Q", 0, FLUID) / 1e3h_g = PropsSI("H", "P", p_e, "Q", 1, FLUID) / 1e3print(f"At p_e: h_f {h_f:.2f}, h_g {h_g:.2f}, h_fg {h_g - h_f:.2f} kJ/kg")print(f" quality by hand: {(real['4'][2] / 1e3 - h_f) / (h_g - h_f):.3f}")
# ---------- Plot: cycle on a log p-h diagram with the saturation dome ----------t_crit = PropsSI("Tcrit", FLUID)temps = np.linspace(233.15, t_crit - 0.05, 300)h_liq = [PropsSI("H", "T", t, "Q", 0, FLUID) / 1e3 for t in temps]h_vap = [PropsSI("H", "T", t, "Q", 1, FLUID) / 1e3 for t in temps]p_sat = [PropsSI("P", "T", t, "Q", 0, FLUID) / 1e5 for t in temps]
fig, ax = plt.subplots(figsize=(8, 6))ax.plot(h_liq, p_sat, "k", linewidth=1.2)ax.plot(h_vap, p_sat, "k", linewidth=1.2, label="saturation dome")for st, style, label in ((real, "o-", "real, 0.68"), (ideal, "s--", "ideal, 1.00")): order = ("1", "2", "3", "4", "1") ax.plot([st[k][2] / 1e3 for k in order], [st[k][1] / 1e5 for k in order], style, label=label)for k, dx in (("1", 4), ("2", 4), ("3", -12), ("4", -12)): ax.annotate(k, (real[k][2] / 1e3 + dx, real[k][1] / 1e5 * 1.08))ax.set_yscale("log")ax.set_xlim(150, 480)ax.set_ylim(1, 50)ax.set_xlabel("specific enthalpy h (kJ/kg)")ax.set_ylabel("absolute pressure p (bar)")ax.set_title("R134a cycle: evaporating -6 degC, condensing 42 degC")ax.grid(True, which="both", linewidth=0.3)ax.legend()fig.tight_layout()fig.savefig("vapour_compression_cycle.png", dpi=120)print("Saved vapour_compression_cycle.png")Expected output
Real compressor (isentropic efficiency 0.68) state T degC p bar h kJ/kg s kJ/(kg.K) 1 0.0 2.343 400.27 1.7499 2s 53.3 10.722 432.98 1.7499 2 67.7 10.722 448.38 1.7961 3 38.0 10.722 253.42 1.1807 4 -6.0 2.343 253.42 1.2004 quality at state 4: 0.302 q_e 146.85 kJ/kg, w 48.11 kJ/kg, cycle COP 3.053 mass flow 0.02043 kg/s = 73.5 kg/h suction density 11.306 kg/m3, volume flow 1.807 L/s = 6.50 m3/h shaft power 0.983 kW, electrical input 1.156 kW, system COP 2.595 heat rejected 3.983 kW, capacity + shaft power 3.983 kW discharge temperature 67.7 degC, pressure ratio 4.58Ideal compressor (isentropic efficiency 1.00) state T degC p bar h kJ/kg s kJ/(kg.K) 1 0.0 2.343 400.27 1.7499 2s 53.3 10.722 432.98 1.7499 2 53.3 10.722 432.98 1.7499 3 38.0 10.722 253.42 1.1807 4 -6.0 2.343 253.42 1.2004 quality at state 4: 0.302 q_e 146.85 kJ/kg, w 32.71 kJ/kg, cycle COP 4.489 mass flow 0.02043 kg/s = 73.5 kg/h suction density 11.306 kg/m3, volume flow 1.807 L/s = 6.50 m3/h shaft power 0.668 kW, electrical input 0.786 kW, system COP 3.816 heat rejected 3.668 kW, capacity + shaft power 3.668 kW discharge temperature 53.3 degC, pressure ratio 4.58At p_e: h_f 191.99, h_g 395.06, h_fg 203.08 kJ/kg quality by hand: 0.302Saved vapour_compression_cycle.pngIn the plot the two cycles share three corners. Only the top right corner moves: the real compressor ends further right, by the 15.39 kJ/kg of lost work. State 4 lies about one third of the way across the dome, the quality of 0.302.
Common Mistakes
- Putting a gauge reading into a property calculation. Gauges read pressure above the atmosphere, and CoolProp needs absolute pressure. Add the local atmospheric pressure first.
- Applying the isentropic efficiency to the temperature rise. It is defined on enthalpy. Calculate
, then find from and . - Treating state 4 as pure liquid. About 30 percent of the mass is already vapour, so the refrigerating effect is
and not the full enthalpy of evaporation. - Taking the condensing temperature as the temperature of the gas that leaves the compressor. The discharge gas here is 25.7 K hotter than the condensing temperature.
- Mixing enthalpy values from a printed chart with values from CoolProp. The reference states can differ. Use one source and work with differences.
- Quoting a COP without saying which one. Here the cycle COP is 3.05 and the system COP with the motor is 2.59. With the fans it is lower again.
Summary
- The cycle has four processes: compression (1 to 2), condensation (2 to 3), throttling (3 to 4) and evaporation (4 to 1). Two pressures, set by the two saturation temperatures, organise all of it.
- Each state is fixed by two properties, and CoolProp returns the rest. Only differences of enthalpy are used.
- Across the expansion valve
. Part of the liquid flashes to vapour, 30.2 percent of the mass in this system, and that part does no cooling. - At the design point the cold room system has
, , a cycle COP of 3.05, a mass flow of 73.5 kg/h, 0.983 kW of shaft power, 1.156 kW of electrical input and 3.983 kW of heat rejected. - An ideal compressor would give a COP of 4.49 and a discharge temperature of 53.3 °C. The real compressor, at 0.68, gives 3.05 and 67.7 °C.
Exercises
1. A larger room needs 5.0 kW of cooling from a system with the same states as the design point (
Answer
2. The condenser of the design-point system loses its subcooling, so the liquid leaves as saturated liquid at 42 °C with
Answer
3. A better compressor has
Answer
PropsSI("T", "P", 1072228, "H", 443889, "R134a") gives 336.58 K, which is 63.4 °C.
4. The condenser fan of the design-point system moves 0.50 m³/s of air. Take the air density as 1.15 kg/m³ and its specific heat as 1.006 kJ/(kg·K). The condenser rejects 3.983 kW. Find the temperature rise of the air through the coil.
Answer
Air mass flow
5. Use CoolProp to solve the full cycle for R134a at
Answer
T_E and T_C in the script to obtain these values.
References
- Y. A. Çengel and M. A. Boles, Thermodynamics: An Engineering Approach, 8th edition, McGraw-Hill, 2015.
- W. F. Stoecker and J. W. Jones, Refrigeration and Air Conditioning, 2nd edition, McGraw-Hill, 1982.
- I. H. Bell, J. Wronski, S. Quoilin and V. Lemort, “Pure and Pseudo-pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp”, Industrial and Engineering Chemistry Research, vol. 53, no. 6, 2014.
Liquid R134a enters the expansion valve at 38 °C and leaves a moment later at −6 °C. The valve is a small brass part with no fan and no shaft. Where did the heat of the liquid go?
The lesson's design point: R134a at −6 °C and 42 °C, superheat 6 K, subcooling 4 K, every value from CoolProp. Blue dots are cold, red dots are hot gas, gold dots are condensing. The followed dot draws its path on the pressure-enthalpy diagram: across the bottom in the evaporator, up the slope in the compressor, back across the top in the condenser, and straight down in the valve. The times are chosen for the eye; the real refrigerant takes about half a minute for one lap. Switch to the ideal compressor and watch only corner 2 move.
Check yourself
Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.
1. A second room needs 4.0 kW of cooling from a system with the same four states as the design point (qe = 146.85, w = 48.11 and qc = 194.96 kJ/kg). How much heat must its condenser release?
2. A larger condenser lowers the liquid temperature at the valve from 38 °C to 34 °C, so the subcooling goes from 4 K to 8 K. Nothing else changes. What happens to the refrigerating effect qe?
3. On a site visit the suction and discharge pressures and the superheat match the design point, but the discharge pipe reads about 85 °C, where the cycle predicts 67.7 °C. What does this point to?
- The compressor lifts vapour from 2.34 to 10.72 bar: 48.11 kJ of work for each kilogram.
- The condenser gives 194.96 kJ/kg to the air and leaves liquid at 38 °C.
- The valve drops the pressure; the enthalpy stays at 253.42 kJ/kg.
- 30 percent of the liquid flashes to vapour, which cools it to −6 °C.
- The evaporator boils the rest and takes 146.85 kJ/kg from the room. The loop is closed.
- Cooling over work: COP = 146.85 ÷ 48.11 = 3.05.
Discussion
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.
My notes on this page
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
Notes on earlier wording
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.