How a heat pump works
A heat pump heats a house using a little electricity and a lot of free heat from outside — even when it is freezing. Here is how it does that, and the handful of equations an engineer uses to design one. You only need to know how to add, subtract, multiply and divide.
1. What is a heat pump?
You already own one: your fridge. A fridge takes heat out of the food inside and pushes it out at the back — feel the back of a fridge and it is warm. A heat pump does exactly the same thing, but the other way round: it takes heat out of the cold air (or the ground, or water) outside and pushes it into your house.
Wait — how can cold air contain heat? Because "cold" is only relative. Air at 0 °C still holds plenty of heat compared with something at −20 °C. Heat only stops when you reach absolute zero, −273 °C. So winter air is full of heat; it is just at a low temperature.
Heat naturally flows from warm to cold, like water flowing downhill. A water pump can push water uphill; a heat pump pushes heat "uphill", from the cold outside to the warm inside. Pushing uphill takes work, and that work comes from electricity.
2. Heat for (almost) free
An electric heater turns 1 kWh of electricity into exactly 1 kWh of heat. A heat pump does something smarter: it uses the electricity to move heat, not to make it. Moving heat takes much less energy than making it, so the same 1 kWh of electricity can deliver 3, 4 or even 5 kWh of heat.
Energy can never appear from nowhere, so all the heat delivered must come from somewhere. It comes from two places: the outside, and the electricity. That is the first equation, the energy balance:
Qheat is the heat delivered to the house, Qsource the heat taken from outside and W the electrical work. All three are measured in kilowatts (kW): energy per second.
How good a heat pump is, is measured by its coefficient of performance, the COP: how many kilowatts of heat you get for each kilowatt of electricity.
3. The four steps
Inside the heat pump a special fluid, the refrigerant, goes round and round in a closed loop. The trick is that a liquid boils at a lower temperature when the pressure is low, and condenses at a higher temperature when the pressure is high. The heat pump uses this in four steps:
- Evaporate (take heat in). At low pressure the refrigerant boils at a very low temperature, for example −20 °C. Outdoor air at −5 °C is warmer than that, so heat flows from the air into the refrigerant and makes it boil into a gas — just like water boiling on a stove takes heat from the flame.
- Compress (the electricity goes in here). A compressor squeezes the gas to a high pressure. Squeezing a gas heats it up — feel a bicycle pump after pumping a tyre. The gas leaves hot, at perhaps 80 °C.
- Condense (give heat out). The hot gas passes the water of the heating system. At high pressure it condenses back into a liquid at around 50 °C, giving its heat to the water, which goes to the radiators or the floor.
- Expand (cool down). The liquid goes through an expansion valve, a tiny opening that drops the pressure. Like a spray can that feels cold when you spray it, the refrigerant becomes very cold, ready to take heat in again. And round it goes.
4. Why temperature matters
The bigger the "hill" the heat must be pushed up, the more work it takes. The hill is the difference between the hot side (the heating water) and the cold side (outside). Physics sets a hard upper limit on the COP, found by the French engineer Sadi Carnot in 1824:
Here the temperatures must be in kelvin: the temperature in °C plus 273. Kelvin starts at absolute zero, where there is no heat left at all.
A real heat pump reaches roughly half of the Carnot limit, because its parts are not perfect. But the lesson is clear: keep the hill small. Floor heating at 35 °C instead of radiators at 55 °C, or heat from the ground instead of freezing air, makes a big difference. Try it:
5. Designing one, equation by equation
Now let's design a heat pump for a real house, the way Heat Pump Studio does it: a renovated 150 m² house in Copenhagen, where the coldest design day is −12 °C, heated with low-temperature radiators at 45 °C. Every number below is calculated live by the studio's own equations.
Step 1 — How much heat does the house need?
A house loses heat through its walls, windows, roof and air leaks, faster the colder it is outside. Engineers describe this with one number, H, the heat loss in watts for every degree of difference between inside and outside:
Step 2 — Choose the temperatures
Heat only flows from warm to cold, and it needs a temperature gap to flow quickly. So the refrigerant must boil a bit colder than the outdoor air, and condense a bit hotter than the heating water:
Step 3 — Look up the energy in each kilogram
To count energy, engineers use enthalpy, written h: the energy carried by one kilogram of refrigerant, in kilojoules per kilogram (kJ/kg). It depends on the refrigerant's pressure and temperature, and is looked up in tables measured in laboratories (the studio uses CoolProp). We need it at the four points of the cycle:
Step 4 — How much refrigerant must flow?
Each kilogram of refrigerant gives off (h2 − h3) kilojoules in the condenser. To deliver the heat the house needs, enough kilograms must pass every second. That is the mass flow, ṁ:
Step 5 — How much work does the compressor do?
The compressor adds (h2 − h1) kilojoules to each kilogram. A perfect compressor would only need to reach h2s; a real one wastes some energy, described by its isentropic efficiency η (the Greek letter "eta"), typically 0.7:
Step 6 — How big must the heat exchangers be?
The condenser and evaporator are heat exchangers: thin metal plates or fins with refrigerant on one side and water or air on the other. How much heat gets through depends on how well heat passes through the metal (U), how much surface there is (A) and the average temperature gap (ΔTm):
A small temperature gap means you need a large surface. Somewhere inside each heat exchanger the gap is smallest; engineers call that the pinch. If the gap there drops to zero or below, the design cannot work, however big you make it — the studio warns you when that happens.
Step 7 — How big is the compressor?
Gas at low pressure takes up a lot of space. The compressor must suck in the refrigerant's volume every second: the mass flow times the volume of one kilogram, v. Dividing by its speed gives the volume it must sweep in each turn, its displacement:
Step 8 — The whole year
The coldest day only happens a few hours a year. Most of the winter is milder, the hill is smaller and the COP is higher. To find the real average, the studio takes ten years of hourly weather, sorts the hours by outdoor temperature (one "bin" per degree), works out the heat and the electricity in each bin, and adds them up. The result is the seasonal COP, or SCOP:
Step 9 — Money and CO₂
Finally the energy becomes money and emissions: multiply the kilowatt-hours by the price, or by the kilograms of CO₂ released for each kilowatt-hour. A gas boiler burns about 1.1 kWh of gas for every kWh of heat; a heat pump needs only about a quarter of a kWh of electricity.
Want to see it work? Build a toy heat pump from a compressor, a valve and two coils, run it between two buckets of water, and find the parts to build a real one.
6. Words to know
- Refrigerant
- The fluid that goes round inside the heat pump, boiling and condensing. Propane (R290) is a common modern one.
- kW and kWh
- A kilowatt (kW) is a rate: how fast energy flows. A kilowatt-hour (kWh) is an amount: 1 kW for one hour. Your electricity bill counts kWh.
- COP and SCOP
- How many kW of heat per kW of electricity, at one moment (COP) or averaged over a whole year (SCOP).
- Kelvin
- A temperature scale that starts at absolute zero, −273 °C. Add 273 to a temperature in °C to get kelvin.
- Enthalpy (h)
- The energy carried by one kilogram of fluid, in kJ/kg. Differences in enthalpy tell you how much heat or work goes in or out.
- Evaporator and condenser
- The two heat exchangers: the evaporator takes heat in from outside, the condenser gives heat out to the house.
- Pinch
- The place in a heat exchanger where the temperature gap between the two sides is smallest.
- Flow temperature
- The temperature of the water going out to the radiators or floor. The lower it is, the better the heat pump works.