Skip to content
Tutorials Center
My learning

Topics

Lesson 22 of 37 · Thermodynamics

Heat Engines, Refrigerators and Efficiency

Learn how heat engines turn heat into work, how to calculate efficiency and the Carnot limit, and how refrigerators work, with Python examples.

A heat engine is a device that takes heat from a hot source, turns part of it into useful work, and releases the rest to a cooler place. Petrol engines, steam turbines in power stations and jet engines all work this way. No engine can turn all the heat into work, and in this lesson you will see exactly how much it can manage.

How a heat engine works

Every engine has three parts: a hot reservoir at temperature Tₕ, a working substance (such as steam or a gas) that goes around a cycle, and a cold reservoir at T_c.

In each cycle:

  1. The working substance absorbs heat Qₕ from the hot reservoir.
  2. It does net work W.
  3. It rejects heat Q_c to the cold reservoir.
flowchart LR
    H["Hot reservoir<br/>temperature Th"] -->|"Qh in"| E(("Engine"))
    E -->|"W out"| W["Useful work"]
    E -->|"Qc out"| C["Cold reservoir<br/>temperature Tc"]

Energy flow in a heat engine: heat in, work out, waste heat out.

After one full cycle the working substance returns to its starting state, so ΔU = 0. By the first law, the net work is the difference between heat in and heat out:

Text
W = Qₕ − Q_c

Efficiency

The efficiency η (Greek letter eta) is the fraction of heat input that becomes useful work:

Text
η = W / Qₕ = 1 − Q_c / Qₕ

Efficiency has no unit. You can quote it as a decimal or as a percentage.

Worked example 1

An engine absorbs 800 J from a hot reservoir and rejects 600 J to a cold one.

Text
W = 800 − 600 = 200 J
η = 200 / 800 = 0.25 = 25 %

The Carnot limit

In 1824 the French engineer Sadi Carnot showed that no engine working between two fixed temperatures can be more efficient than an ideal reversible engine, now called a Carnot engine. Its efficiency depends only on the two temperatures, measured in kelvin:

Text
η_Carnot = 1 − T_c / Tₕ

Always convert to kelvin first (K = °C + 273.15). Using Celsius in this formula gives wrong answers.

Worked example 2

A power station uses steam at 500 K and cools it at 300 K. The maximum possible efficiency is:

Text
η = 1 − 300/500 = 0.40 = 40 %

Real engines are less efficient because of friction, heat leaks and irreversible processes. To raise the Carnot limit, increase Tₕ or lower T_c. Efficiency would reach 100 % only if T_c were absolute zero, which cannot be reached.

Python Engine efficiency calculator

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Refrigerators and heat pumps

A refrigerator is an engine run backwards. It uses work W to move heat Q_c from a cold place (the inside of the fridge) to a warmer one (your kitchen), where Qₕ = Q_c + W is released. Its performance is given by the coefficient of performance (COP):

Text
COP (refrigerator) = Q_c / W
COP (heat pump)    = Qₕ / W

COP can be greater than 1, because the machine moves heat rather than creating it. The ideal (Carnot) refrigerator has COP = T_c / (Tₕ − T_c).

Worked example 3

A refrigerator removes 300 J from its cold interior using 100 J of electrical work. COP = 300/100 = 3. It releases 400 J into the room.

Python Plot Carnot efficiency against hot temperature

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Why the limit exists

The first law only says energy must balance. It does not forbid an engine that converts all heat into work. That restriction comes from the second law, described in Entropy and the Second Law. To see how engine cycles are drawn, review Thermodynamic Processes.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. An engine takes in 1000 J of heat and rejects 700 J. What is its efficiency?

    W = 1000 − 700 = 300 J, so η = 300/1000 = 30 %.
  2. 2. What is the Carnot efficiency of an engine working between 600 K and 300 K?

    η = 1 − 300/600 = 0.5, or 50 %.
  3. 3. Why must temperatures be in kelvin in the Carnot formula?

    The ratio T_c/Tₕ only makes physical sense on a scale that starts at absolute zero.
  4. 4. A refrigerator uses 200 J of work to remove 600 J from its interior. What is its COP?

    COP = Q_c / W = 600/200 = 3.

Summary

  • A heat engine absorbs Qₕ, does work W, and rejects Q_c, with W = Qₕ − Q_c.
  • Efficiency η = W/Qₕ = 1 − Q_c/Qₕ.
  • The Carnot efficiency 1 − T_c/Tₕ (in kelvin) is the maximum for any engine between two temperatures.
  • Refrigerators use work to move heat uphill; COP = Q_c / W.

Next: Entropy and the Second Law