← Laboratorium

Heathow to pump heat uphill

Hot tea cools down, ice in a glass melts, and in winter the warmth of a house leaks out through the walls and windows. Heat always flows on its own from warmer to colder. And yet a fridge cools its inside, and a heat pump warms a house with energy taken from freezing outdoor air. How is that possible?

Look inside matter, inspect a house with a thermal camera, run a refrigeration cycle and a Carnot cycle, and try to outwit the second law of thermodynamics as Maxwell’s demon.

Thermal contact: energy flows from hot to cold

90 °C

10 °C

1 kg

Temperature A
90.0 °C
Temperature B
10.0 °C
Heat A → B
0.0 kJ
Predicted final temp.
50.0 °C

Each dot is an atom vibrating around its place in the crystal lattice. The more vibration energy, the brighter and warmer its color. Where the blocks meet, atoms “jostle” each other and pass energy along — in both directions, but more of it flows from hot to cold. Once the temperatures are equal the exchange goes on, but on balance nothing flows anymore. We assume the blocks are made of copper (c ≈ 385 J/(kg·K)) and A has a mass of 1 kg. Model: random exchange of energy between neighbors.

Temperature, heat, internal energy

Temperature tells you how fast, on average, the molecules move (vibrate, spin, dart around). Internal energy is the total energy of all the molecules in a body. Heat is energy that flows between bodies because of a temperature difference — a body doesn’t “contain heat”, only internal energy.

Ēk = 32·k·Taverage translational kinetic energy of a gas molecule; k = 1.380649·10⁻²³ J/K (Boltzmann constant), T in kelvins

Scale converter

20 °C = 293.15 K = 68 °F.

Absolute zero (0 K = −273.15 °C = −459.67 °F) is the state of lowest possible energy. It can’t be reached — labs get down to billionths of a kelvin, but never to zero (the third law of thermodynamics). Even then particles don’t freeze completely — quantum vibrations remain.

Latent heat: ice → water → steam

2,000 W

Temperature
−20.0 °C
State
ice
Heating time
0 s

While melting and boiling, the heater keeps supplying energy, yet the thermometer stands still: the energy goes into breaking the bonds between molecules (latent heat). Melting 1 kg of ice absorbs about 334 kJ, and boiling away 1 kg of water a whopping 2,257 kJ — more than heating it from 0 to 100 °C (419 kJ). More in States of matter. The model ignores heat losses to the surroundings.

Who heats up fastest? Specific heat

1,000 W

Heating time0.0 s

Each material: 1 kg, starting at 20 °C, a race to +10 °C. No heat losses; the animation runs 2× faster, the time shown is real.

Q = m · c · ΔT

Specific heat c tells you how much energy it takes to warm 1 kg of a substance by 1 K. Water has one of the highest specific heats among ordinary substances (about 4.19 kJ/(kg·K)) — that’s why the sea warms up slowly in summer and gives off heat for a long time in winter. Coastal climates are milder: cooler summers and warmer winters than far inland. For the same reason water is great at carrying heat in radiators.

How does it work?

Heat and temperature

Temperature measures the average energy of the random motion of molecules. Heat Q is energy transferred because of a temperature difference. How much heat it takes to warm a body is given by its specific heat:

Q = m·c·ΔTe.g. 1 kg of water by 10 °C: Q = 1 · 4186 · 10 = 41,860 J ≈ 41.86 kJ

The first law of thermodynamics

ΔU = Q − Wchange in internal energy = heat supplied − work done by the system. Energy is neither destroyed nor created from nothing.

Heat loss of a house

P = U·A·ΔTe.g. a 94 m² wall with U = 0.25 W/(m²·K) at a 30 K difference: 0.25 · 94 · 30 ≈ 705 W

Heat pump and engine

COP = QheatWelec ≤ ThTh − Tc  ·  η ≤ 1 − TcThe.g. flow at 35 °C and air at −7 °C: Carnot COP = 308.15/42 ≈ 7.34; realistically about 40–55% of that value

Entropy

S = k·ln W  ·  ΔS ≥ QTW — number of microstates; in an isolated system entropy never decreases (the second law)

Thermal radiation

λmax = b/T  ·  P = ε·σ·A·T⁴Wien’s law and the Stefan–Boltzmann law

The models on this page are simplified: ideal containers with no losses, a house with simple geometry, COP as a fixed fraction of the Carnot limit, a gas with no collisions between molecules in the demon game, simulated thermal images. Numbers are rounded.

Challenges

  1. Heat 1 kg of water by 10 °C the fastestIn the specific-heat race, water must reach +10 °C in under 15 s.not completed
  2. Cut the house’s heat loss in halfHeat loss coefficient H at least 2 times lower than in the starting house.not completed
  3. Get a COP above 4In “Heat pump” mode, choose the weather and the flow temperature.not completed
  4. Find the coldest day at which the pump has COP ≥ 2Set the flow temperature (e.g. 55 °C) and lower the air temperature down to the last degree at which COP ≥ 2.not completed
  5. Draw a Carnot cycle with 50% efficiencyChoose the reservoir temperatures and let the piston go through a full cycle.not completed
  6. Beat Maxwell’s demonIn the game, sort the molecules so that the right chamber is 100 K warmer than the left.not completed

Did you know…?

  • A fridge heats the kitchen. At the back it gives off all the heat taken from its inside plus the energy used by the compressor — a fridge left open in a closed room will raise the temperature, not lower it.
  • The idea of the heat pump is over 170 years old: in 1852 William Thomson (later Lord Kelvin) described a “heat multiplier” that would warm buildings using less energy than burning the fuel would give.
  • Absolute zero can’t be reached. The coldest places in the known Universe were made by humans: labs cool atoms to billionths of a kelvin, while the Boomerang Nebula (about 1 K) is colder than the cosmic background radiation (2.7 K).

Keys

Q W E R T Y
switch modes
← →
on the tabs: adjacent mode
Space
start / pause the main animation in the current mode
D
entropy: hold to open the demon’s door
1…5 P
thermal imaging: scene / next palette
↑ ↓ ← →
thermal imaging (image focused): move the crosshair