Skip to content
LumenaryAcademy
Thermofluids 75 min

The second law and entropy

Why no engine turns all its heat into work, how far the best one can go, and the property — entropy — that keeps the accounts of what is lost.

Code tested · 5AI-draftedAwaiting review by a mechanical engineer

Your guides: Chloe · The Designer, Margaret · The Test Engineer, Gideon · The Checker

MotivationH

Which way do things go?

The first law is a strict accountant: every joule in must come out somewhere. But it is strangely indifferent to direction. A cup of tea cooling in a room satisfies the first law; so would the same cup growing hotter by drawing heat out of the cooler room, which never happens. A flywheel spinning down by friction warms its bearings; the bearings never cool down by themselves and spin the flywheel back up. An engine that took heat from the sea and turned all of it into work would conserve energy perfectly, and would power every ship on Earth for nothing. No one has built one, and no one ever will.

In Energy and efficiency you saw that a car engine turns only a quarter to a third of its fuel's energy into motion, and were promised that this is not only poor design but a law of physics. This lesson keeps the promise. The second law of thermodynamics says which processes can happen and which cannot, and it sets a hard ceiling on the efficiency of every engine and the performance of every refrigerator and heat pump. Its quantitative tool, entropy, lets an engineer find exactly where in a machine the potential to do work is being thrown away, and how much.

Chemists use the same law to decide which reactions can run, counting microscopic arrangements of molecules; that side of the story is told in Lumenary Chemistry's entropy and free energy. This lesson tells the engineer's side: engines, refrigerators, turbines and the cost of irreversibility.

IntuitionH

Engines, refrigerators and heat pumps

Strip any engine down to its essentials and you find the same pattern. A working fluid — steam, air, combustion gas — receives heat QHQ_H from something hot, delivers net work WW, and rejects heat QLQ_L to something cold, then returns to its starting state to repeat the cycle. To keep the analysis clean, we imagine the hot and cold bodies as thermal reservoirs: bodies so large that taking heat from them or giving heat to them does not change their temperatures. A furnace, the atmosphere, a river and the sea are good approximations.

hot reservoir, THcold reservoir, TLenginehot reservoir, THcold reservoir, TLfridge orheat pumpQHQLWQLQHW
Left: a heat engine takes heat Q_H from a hot reservoir, delivers net work W and rejects heat Q_L to a cold reservoir. Right: a refrigerator or heat pump uses work W to move heat Q_L from a cold reservoir and deliver Q_H = Q_L + W to a hot one. The same device is called a refrigerator when the cold side is the point, and a heat pump when the hot side is.

Writing all quantities as positive magnitudes, the first law over a cycle gives W=QH−QLW = Q_H - Q_L for the engine and QH=QL+WQ_H = Q_L + W for the refrigerator. Their performance is measured by what you want divided by what you pay for.

Definition— thermal efficiency and coefficient of performance

The thermal efficiency of a heat engine is η=W/QH=1−QL/QH\eta = W/Q_H = 1 - Q_L/Q_H. The coefficient of performance of a refrigerator is COPR=QL/W\text{COP}_R = Q_L/W, and of a heat pump COPHP=QH/W=COPR+1\text{COP}_{HP} = Q_H/W = \text{COP}_R + 1.

An efficiency cannot exceed 1, since that would create energy. A COP routinely does exceed 1, and that is no paradox: a heat pump does not make heat from work, it moves heat, and moving 3 or 4 joules of heat for each joule of work is entirely ordinary. The interesting questions are why η\eta can never reach 1, and how large a COP can be.

DefinitionsH

The second law and the Carnot limit

The second law has two classical statements. Both are summaries of experience, like the first law.

Definition— Kelvin–Planck statement

It is impossible for any device operating in a cycle to receive heat from a single reservoir and produce an equal amount of net work. Every heat engine must reject some heat to a colder body: QL>0Q_L > 0, so η<1\eta \lt 1.

Definition— Clausius statement

It is impossible for any device operating in a cycle to have no effect other than transferring heat from a colder body to a hotter one. Heat flows uphill only if something else, such as work, pays for it.

Theorem— The two statements are equivalent

A device that violates either statement could be combined with ordinary machines to violate the other.

Proof

Suppose a device moves heat QQ from a cold reservoir to a hot one with no work. Pair it with an ordinary engine that takes QHQ_H from the hot reservoir, delivers W=QH−QW = Q_H - Q and rejects exactly QQ to the cold reservoir. The cold reservoir is now unchanged, and the pair takes QH−QQ_H - Q from the hot reservoir alone and turns all of it into work: a violation of Kelvin–Planck. Conversely, suppose an engine turns heat QHQ_H from the hot reservoir entirely into work W=QHW = Q_H. Use that work to drive an ordinary refrigerator, which takes QLQ_L from the cold reservoir and delivers QL+WQ_L + W to the hot one. The net effect is QLQ_L moved from cold to hot with nothing else: a violation of Clausius.

∎

Reversible processes and irreversibilities

A process is reversible if, after it, the system and its surroundings can both be returned to their initial states, leaving no trace anywhere. No real process is reversible, but the idea is the yardstick for all of them. The factors that make a process irreversible are called irreversibilities, and an engineer learns to see them everywhere:

  • heat transfer across a finite temperature difference;
  • friction, in bearings and in viscous fluid flow;
  • unrestrained (free) expansion of a gas, and throttling;
  • mixing of different substances or of the same substance at different temperatures;
  • electric current through a resistance, and inelastic deformation;
  • chemical reactions not at equilibrium, such as combustion.

The Carnot cycle and the Carnot principles

The French engineer Sadi Carnot imagined, in 1824, the best possible engine: one whose every step is reversible. Between two reservoirs that means heat may cross only when the working fluid is at the reservoir's own temperature, so the cycle is two reversible isothermal processes (heat in at THT_H, heat out at TLT_L) joined by two reversible adiabatic processes (expansion from THT_H to TLT_L, compression back).

Theorem— The Carnot principles

(1) No heat engine operating between two reservoirs is more efficient than a reversible engine operating between the same two reservoirs. (2) All reversible engines operating between the same two reservoirs have the same efficiency.

Proof

(1) Suppose an engine X is more efficient than a reversible engine R, both taking the same QHQ_H from the hot reservoir, so WX>WRW_X > W_R. Run R backwards as a refrigerator, which a reversible engine can do with all its arrows reversed, driven by WRW_R of X's output. R returns exactly QHQ_H to the hot reservoir, so the hot reservoir is unchanged, and the pair delivers net work WX−WR>0W_X - W_R > 0 drawn from the cold reservoir alone, violating Kelvin–Planck. (2) If two reversible engines had different efficiencies, the same argument with the less efficient one run backwards would give the same contradiction.

∎

Since the efficiency of a reversible engine depends only on the two reservoirs, it can depend only on their temperatures. Kelvin used this to define an absolute temperature scale by QH/QL=TH/TLQ_H/Q_L = T_H/T_L for a reversible engine, and it agrees exactly with the ideal-gas (kelvin) scale. That gives the most important result in this lesson.

Theorem— Carnot efficiency and Carnot COPs

For reversible devices operating between reservoirs at absolute temperatures THT_H and TLT_L,

ηCarnot=1−TLTH,COPR,Carnot=TLTH−TL,COPHP,Carnot=THTH−TL.\eta_\text{Carnot} = 1 - \frac{T_L}{T_H}, \qquad \text{COP}_{R,\text{Carnot}} = \frac{T_L}{T_H - T_L}, \qquad \text{COP}_{HP,\text{Carnot}} = \frac{T_H}{T_H - T_L}.

Every real device operating between the same reservoirs does worse.

ComputationC

The Carnot limit, computed

How hot must heat be to be useful? The program computes the Carnot efficiency for several heat sources, with heat rejected to cooling water or air at 300 K. It also prints a second, smaller number, explained below.

python
import numpy as np

# The Carnot limit, eta = 1 - T_L / T_H, for heat engines rejecting heat at T_L = 300 K.
T_L = 300.0
sources = [
    ("geothermal brine", 150),
    ("pressurised-water reactor steam", 285),
    ("ultra-supercritical coal plant steam", 600),
    ("gas-turbine inlet gas", 1500),
]
print(f"{'heat source':38} {'T_H':>7}  {'Carnot':>7}  {'Curzon-Ahlborn':>14}")
for name, t_c in sources:
    T_H = t_c + 273.15
    carnot = 1 - T_L / T_H
    ca = 1 - np.sqrt(T_L / T_H)          # efficiency at maximum power (see the text)
    print(f"{name:38} {t_c:5d} C  {carnot:7.1%}  {ca:14.1%}")

# Reversed: the largest possible coefficients of performance.
def cop_fridge(T_cold, T_hot):
    return T_cold / (T_hot - T_cold)

def cop_heat_pump(T_cold, T_hot):
    return T_hot / (T_hot - T_cold)

K = 273.15
print()
print(f"freezer at -18 C in a 25 C kitchen:            COP_R  <= {cop_fridge(-18 + K, 25 + K):.1f}")
print(f"  ... refrigerant at -28 C and 40 C:           COP_R  <= {cop_fridge(-28 + K, 40 + K):.1f}")
print(f"heat pump, 7 C outside, 35 C floor heating:    COP_HP <= {cop_heat_pump(7 + K, 35 + K):.1f}")
print(f"heat pump, -7 C outside, 55 C radiators:       COP_HP <= {cop_heat_pump(-7 + K, 55 + K):.1f}")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

The Carnot column is a ceiling that real plants come nowhere near: a geothermal plant on 150 °C brine could in principle reach 29%, a coal plant with 600 °C steam 66%, and a gas turbine burning at 1500 °C 83%. Real efficiencies, roughly and as of 2026, are about 10 to 15% for small geothermal plants, 33 to 37% for pressurised-water nuclear reactors, around 45% for the best coal plants, and 60 to 64% for the best combined-cycle gas plants. Higher source temperature is clearly the way to higher efficiency, which is why engineers fight so hard for hotter turbine blades and steam.

The last column comes from a 1975 argument by Frank Curzon and Boris Ahlborn. A Carnot engine is reversible only because its heat transfers happen across vanishing temperature differences, which takes forever: its power is zero. If heat must flow at a finite rate through real heat exchangers, the efficiency at maximum power in a simple model is 1−TL/TH1 - \sqrt{T_L/T_H}. It lands close to the real figures for the coal and combined-cycle plants and the geothermal plant, and well below the nuclear plant, which shows both its charm and its limits: it is a model, not a law.

DefinitionsH

Entropy

The Carnot result for a reversible cycle, QH/TH=QL/TLQ_H/T_H = Q_L/T_L, can be written QH/TH−QL/TL=0Q_H/T_H - Q_L/T_L = 0: the sum of each heat transfer divided by the absolute temperature at which it happens is zero. For an irreversible engine, which delivers less work and so rejects more heat, the sum is negative. Clausius generalised this to any cycle.

Theorem— The Clausius inequality

For any cycle, ∮δQT≤0\oint \dfrac{\delta Q}{T} \le 0, where TT is the absolute temperature at the part of the boundary where δQ\delta Q crosses. Equality holds if and only if the cycle is reversible.

If the integral of δQ/T\delta Q/T is zero around every reversible cycle, then between two states it takes the same value along every reversible path, so it is the change of a property.

Definition— entropy

The entropy SS of a system, in J/K, is the property whose change is

dS=(δQT)rev,dS = \left( \frac{\delta Q}{T} \right)_\text{rev} ,

the heat transferred along any internally reversible path divided by the absolute temperature at which it is transferred. Specific entropy s=S/ms = S/m is in J/(kg K).

Because SS is a property, ΔS\Delta S between two states is the same however the system actually got there, reversibly or not; you simply compute it along an imagined reversible path. The useful formulas follow from the first law with δQ=T dS\delta Q = T\,dS and δW=p dV\delta W = p\,dV, which gives the Gibbs equation T ds=du+p dv=dh−v dpT\,ds = du + p\,dv = dh - v\,dp:

SubstanceEntropy change
Ideal gas (constant cpc_p, cvc_v)s2−s1=cpln⁡T2T1−Rln⁡p2p1=cvln⁡T2T1+Rln⁡v2v1s_2 - s_1 = c_p \ln\dfrac{T_2}{T_1} - R \ln\dfrac{p_2}{p_1} = c_v \ln\dfrac{T_2}{T_1} + R \ln\dfrac{v_2}{v_1}
Liquid or solid (constant cc)s2−s1=cln⁡T2T1s_2 - s_1 = c \ln\dfrac{T_2}{T_1}
Phase change at constant TT and ppsfg=hfg/Tsats_{fg} = h_{fg}/T_\text{sat}; for water at 100 °C, 2256/373.15=6.052256/373.15 = 6.05 kJ/(kg K)

For steam and refrigerants, tables and property libraries list ss alongside hh, with the quality rule s=sf+x sfgs = s_f + x\,s_{fg} inside the two-phase region.

A process that is both adiabatic and reversible is isentropic: Δs=0\Delta s = 0. For an ideal gas this gives T2/T1=(p2/p1)(γ−1)/γT_2/T_1 = (p_2/p_1)^{(\gamma - 1)/\gamma}, the same pvγ=constantpv^\gamma = \text{constant} you met as the reversible adiabatic process in the last lesson.

The entropy balance

Applying the Clausius inequality to a cycle made of an actual process followed by a reversible return gives the law that makes entropy so useful.

Theorem— Entropy balance (the increase of entropy principle)

For a closed system,

S2−S1=∫12δQTb+Sgen,Sgen≥0,S_2 - S_1 = \int_1^2 \frac{\delta Q}{T_b} + S_\text{gen}, \qquad S_\text{gen} \ge 0,

where TbT_b is the boundary temperature where heat crosses. SgenS_\text{gen} is the entropy generated by irreversibilities inside the boundary: zero for a reversible process, positive for every real one, and never negative. For a control volume in steady flow with one inlet and one outlet, m˙(s2−s1)=∑kQ˙k/Tk+S˙gen\dot m (s_2 - s_1) = \sum_k \dot Q_k / T_k + \dot S_\text{gen}.

So entropy is not conserved. It enters and leaves with heat (and with mass), and it is created, never destroyed, by every irreversibility. An isolated system receives no heat, so its entropy can only increase: this is the second law in its most compact form. The entropy of a part of the world can decrease — a cup of tea cooling loses entropy — but only if heat carries entropy out, and the surroundings then gain more than the tea lost.

THTLs₁s₂sT1234W netQLQH in at THisentropic
The Carnot cycle on a temperature–entropy diagram. Heat crosses only on the two horizontal (isothermal) lines; the vertical lines are isentropic. Because δQ = T dS on a reversible path, the area under the top line is the heat received Q_H, the area under the bottom line is the heat rejected Q_L, and the enclosed rectangle is the net work W.

Note

What is entropy, physically? Statistical mechanics answers: S=kBln⁡ΩS = k_B \ln \Omega, where Ω\Omega is the number of microscopic arrangements of the molecules consistent with the macroscopic state and kB=1.381×10−23k_B = 1.381 \times 10^{-23} J/K is Boltzmann's constant. Heat added at low temperature opens up many more arrangements than the same heat added at high temperature, which is why TT divides δQ\delta Q. Lumenary Chemistry builds entropy this way, by counting, in entropy and free energy and statistical thermodynamics; the engineering definition here and the statistical one agree.

ComputationC

Entropy generation and lost work

Every irreversibility generates entropy, and the entropy generated measures the damage: it is proportional to the work that could have been obtained and was not. The program computes SgenS_\text{gen} for three everyday irreversibilities, and the product T0SgenT_0 S_\text{gen}, where T0T_0 is the temperature of the environment; the section on exergy below shows that this is exactly the work potential destroyed.

python
import numpy as np

T0 = 293.15            # K: the environment (20 C), the "dead state" for exergy
c_w, R_air = 4180.0, 287.0

def report(what, S_gen):
    print(f"{what:42} S_gen = {S_gen:7.2f} J/K   T0 * S_gen = {T0 * S_gen:6.0f} J")

# 1. 1000 J of heat leaks through a furnace wall from gas at 900 K to the room at T0.
Q, T_hot = 1000.0, 900.0
report("heat leak: 1000 J from 900 K to 293 K", Q / T0 - Q / T_hot)

# 2. Mix 1 kg of water at 80 C with 2 kg at 20 C in an insulated jug.
m = np.array([1.0, 2.0])
T = np.array([80.0, 20.0]) + 273.15
Tf = np.sum(m * T) / np.sum(m)                     # first law: energy is conserved
report(f"mixing water: final temperature {Tf - 273.15:.1f} C", np.sum(m * c_w * np.log(Tf / T)))

# 3. 1 kg of air in half of an insulated rigid tank bursts a membrane and fills it all.
report("free expansion of 1 kg of air: V doubles", 1.0 * R_air * np.log(2.0))   # T unchanged

# 4. Heating a room at 20 C on a 0 C day: now the environment is the outdoors.
T_room, T_out = 293.15, 273.15
worth = 1 - T_out / T_room                         # the work that 1 J of heat at T_room is worth
print(f"\nheating at 20 C on a 0 C day: 1 J of heat in the room is worth {worth:.3f} J of work")
print(f"  resistance heater (1 J of electricity per J of heat): second-law efficiency {worth:.1%}")
print(f"  heat pump with COP 3.5:                               second-law efficiency {3.5 * worth:.1%}")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

In each case the first law sees nothing wrong: the 1000 J of heat still exists in the room, the water's energy is unchanged, and the air's internal energy is the same after the free expansion. The second law sees a loss. Of the 1000 J of heat at 900 K, 674 J could have been turned into work by a reversible engine before it reached the room, and that opportunity is gone. Mixing hot and cold water throws away 14.4 kJ of work potential. Letting a kilogram of compressed air rush into a vacuum, instead of letting it push a piston, throws away 58.3 kJ.

The last lines are the most practical. Heating a room to 20 °C on a 0 °C day, each joule of heat is worth only 0.068 J of work, because a reversible heat pump could deliver about 15 J of heat per joule of work. A resistance heater, which turns each joule of electricity into one joule of heat, is 100% efficient by the first law and only 6.8% by the second. A real heat pump with a COP of 3.5 does three and a half times better. That single comparison is why heat pumps are replacing boilers and resistance heaters in so many countries.

Worked examplesH

Isentropic efficiency of turbines and compressors

Turbines, compressors, pumps and nozzles are nearly adiabatic, so the ideal against which to judge them is the isentropic process between the same inlet state and the same exit pressure.

Definition— isentropic efficiency

For a turbine, ηT=h1−h2h1−h2s\eta_T = \dfrac{h_1 - h_2}{h_1 - h_{2s}}, the actual work out over the isentropic work out. For a compressor or pump, ηC=h2s−h1h2−h1\eta_C = \dfrac{h_{2s} - h_1}{h_2 - h_1}, the isentropic work in over the actual work in. For a nozzle, ηN=V22/V2s2\eta_N = V_2^2 / V_{2s}^2. Here 2s2s is the state at the actual exit pressure with the inlet's entropy.

Large modern turbines and axial compressors reach isentropic efficiencies of roughly 0.85 to 0.92; small machines usually do worse, because clearances and surface friction matter more at small size. The program below takes a compressor with a pressure ratio of 12, typical of an industrial gas turbine, and shows what the efficiency costs.

1 (288 K)2s (586 K)2 (638 K)p₁ = 100 kPap₂ = 1200 kPasgenTs
A compressor on a T–s diagram, drawn to scale for the program below. Isentropic compression would go straight up from state 1 on the inlet isobar to 2s on the exit isobar. The real compressor (η_C = 0.85) ends at 2, hotter and at higher entropy: it absorbs more work, and the entropy increase from 2s to 2 is the entropy it generated.
python
import numpy as np

# Air compressor and gas turbine with isentropic efficiencies (ideal gas, constant cp).
cp, R = 1005.0, 287.0          # J/(kg K)
k = R / cp                     # (gamma - 1) / gamma = 0.2856
T0 = 288.0                     # K: the environment, for exergy

T1, r = 288.0, 12.0            # compressor inlet (K) and pressure ratio
T2s = T1 * r**k                # isentropic exit temperature
print(f"compressor, pressure ratio {r:.0f}: isentropic exit {T2s:.0f} K, ideal work {cp * (T2s - T1) / 1e3:.0f} kJ/kg")
print(" eta_C   T2 (K)   work in (kJ/kg)   s_gen (J/(kg K))   T0 * s_gen (kJ/kg)")
for eta in [1.00, 0.90, 0.85, 0.80]:
    T2 = T1 + (T2s - T1) / eta                     # definition of isentropic efficiency
    w = cp * (T2 - T1)
    s_gen = cp * np.log(T2 / T1) - R * np.log(r)   # adiabatic, so all of ds is generated
    s_gen = round(s_gen, 9) + 0.0                  # tidy -0.0 when eta = 1
    print(f"  {eta:.2f} {T2:8.0f} {w / 1e3:14.0f} {s_gen:16.1f} {T0 * s_gen / 1e3:18.1f}")

T3, eta_T = 1500.0, 0.90                           # turbine inlet (K) and efficiency
T4s = T3 / r**k
T4 = T3 - eta_T * (T3 - T4s)
s_gen = cp * np.log(T4 / T3) + R * np.log(r)
print(f"\nturbine from {T3:.0f} K, eta_T = {eta_T}: T4s = {T4s:.0f} K, T4 = {T4:.0f} K,"
      f" work out {cp * (T3 - T4) / 1e3:.0f} kJ/kg (ideal {cp * (T3 - T4s) / 1e3:.0f}),"
      f" s_gen = {s_gen:.1f} J/(kg K)")
Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

With ηC=0.85\eta_C = 0.85 the compressor needs 352 kJ/kg instead of 299 kJ/kg, and delivers air at 638 K instead of 586 K. The turbine with ηT=0.90\eta_T = 0.90 delivers 689 kJ/kg instead of 766. In a gas turbine, where the compressor absorbs about half of what the turbine produces, a few points of component efficiency make a large difference to the net output, as you will see in power and refrigeration cycles.

ExplanationH

Exergy in brief

The examples above point to a single measure of the quality of energy: how much work it could deliver in a given environment. That measure is called exergy (or availability).

Definition— exergy

The exergy of a system or stream is the largest work obtainable by bringing it reversibly into equilibrium with the environment, the dead state at temperature T0T_0 and pressure p0p_0 (typically 25 °C and 1 atm, or the local conditions). Heat QQ available at temperature TT carries exergy Q(1−T0/T)Q(1 - T_0/T). A flowing stream carries specific flow exergy ψ=(h−h0)−T0(s−s0)+V2/2+gz\psi = (h - h_0) - T_0 (s - s_0) + V^2/2 + gz.

Work and electricity are pure exergy. Heat at a high temperature is mostly exergy; heat close to ambient temperature is almost none, however many joules it contains. And unlike energy, exergy is not conserved: irreversibilities destroy it, at a rate fixed by the entropy they generate.

Theorem— Lost work (Gouy–Stodola)

The work potential destroyed by an irreversible process is Xdestroyed=T0SgenX_\text{destroyed} = T_0 S_\text{gen}.

Proof

Take the simplest case: heat QQ from a source at TT drives a device that rejects heat Q0Q_0 to the environment at T0T_0 and delivers work W=Q−Q0W = Q - Q_0. The entropy balance for the device over a cycle is 0=Q/T−Q0/T0+Sgen0 = Q/T - Q_0/T_0 + S_\text{gen}, so Q0=T0Q/T+T0SgenQ_0 = T_0 Q/T + T_0 S_\text{gen} and W=Q(1−T0/T)−T0SgenW = Q(1 - T_0/T) - T_0 S_\text{gen}. The first term is the Carnot work, the most that is possible; every unit of entropy generated costs T0T_0 units of it.

∎

The ratio of the useful exergy delivered to the exergy supplied is the second-law efficiency ηII\eta_{II}. For a heat engine it is η/ηCarnot\eta / \eta_\text{Carnot}; for heating a room it is the 6.8% and 23.9% computed above. A design with a high first-law efficiency and a low second-law efficiency is one that has energy in the right place at the wrong temperature.

ExplanationH

The second law in professional practice

  • Exergy analysis of plants. An energy balance of a coal-fired steam plant says most of the loss is in the condenser, which rejects roughly half of the fuel's energy to cooling water. An exergy balance tells a different story: the condenser's heat is at 30 to 40 °C and worth very little, while the largest destruction of exergy is in combustion and in the boiler, where heat crosses hundreds of kelvin from flame to steam. That is why efficiency gains come from hotter, higher-pressure steam and from combined cycles, not from better condensers.
  • Heat integration. In chemical plants and refineries, pinch analysis, developed by Bodo Linnhoff and colleagues from the late 1970s, matches hot and cold streams so that heat crosses the smallest practical temperature differences, cutting fuel use without new technology.
  • Component testing. Compressors and turbines are bought and accepted on measured isentropic (and polytropic) efficiencies, determined from pressures, temperatures and flows following procedures such as ASME PTC 10 for compressors and PTC 6 for steam turbines, or their ISO counterparts.
  • Design for low entropy generation. Heat exchangers, cooling systems for electronics and building services are increasingly designed by balancing the entropy generated by heat transfer against that generated by fluid friction, an approach championed by Adrian Bejan and others. You will meet it again in heat transfer and in thermal management for computing.
History & global context

A short history

Sadi Carnot, a young French military engineer, published Reflections on the Motive Power of Fire in 1824, asking why British steam engines were so much better than French ones and whether there was any limit to improvement. He reasoned with the caloric theory, in which heat was a fluid that flowed from hot to cold like water through a mill, and that theory was wrong; yet his conclusion, that the maximum work depends only on the temperatures, survived. Émile Clapeyron redrew Carnot's argument on a pp–VV diagram in 1834, which is how most engineers came to know it. William Thomson (Lord Kelvin) used it in 1848 to define an absolute temperature scale. Rudolf Clausius reconciled Carnot with Joule's equivalence of heat and work in 1850, and in 1865 coined the word entropy, from the Greek for "transformation", choosing it to sound like energy. Ludwig Boltzmann gave entropy its statistical meaning in the 1870s. Louis Georges Gouy (1889) and Aurel Stodola (1898) independently derived the lost-work theorem for engineers, and the Slovenian engineer Zoran Rant proposed the name exergy in 1956.

Common misconceptionsH

Common misconceptions

Misconception

"Entropy can never decrease." The entropy of an isolated system can never decrease. The entropy of anything that can lose heat — a cooling cup of tea, the inside of a freezer, a growing crystal — can and often does, provided the surroundings gain at least as much.

Misconception

"Better engineering will eventually beat the Carnot limit." The Carnot efficiency is not a technological limit but a consequence of the second law. Engineers raise real efficiencies by raising THT_H, lowering TLT_L and reducing irreversibilities, and so move towards the limit; nothing moves past it.

Misconception

"A heat pump with a COP of 4 is 400% efficient, which breaks conservation of energy." It delivers 4 J of heat for 1 J of work because 3 J is moved from outdoors, not created. Energy is conserved exactly; the COP is a ratio of what you want to what you pay for, not an efficiency of conversion.

Misconception

"Adiabatic and isentropic mean the same thing." An adiabatic process has no heat transfer; an isentropic one has no change of entropy. A real, insulated compressor is adiabatic but not isentropic: friction generates entropy, so its exit entropy is higher. Only a process that is both adiabatic and reversible is isentropic.

Misconception

"Entropy is just disorder." "Disorder" is a helpful picture for a gas spreading out, and a misleading one elsewhere: when oil and water separate, or a protein folds into its precise shape, the total entropy rises even though the result looks more ordered. The precise statements are dS=δQrev/TdS = \delta Q_\text{rev}/T and S=kBln⁡ΩS = k_B \ln \Omega.

Exercises

Exercises

Use absolute temperatures (kelvin) in every ratio. For air, cp=1005c_p = 1005 J/(kg K) and R=287R = 287 J/(kg K); for water, c=4180c = 4180 J/(kg K).

1. The second law and entropy

Warm-upHuman

An inventor proposes four devices, each running steadily in a cycle. Which one would violate the Kelvin–Planck statement of the second law?

Choose one

2. The second law and entropy

Warm-upHuman

What is the Carnot efficiency, in per cent, of a heat engine working between a hot reservoir at 327 °C and a cold reservoir at 27 °C?

3. The second law and entropy

CoreHuman

A refrigerator keeps its cold space at 250 K in a room at 300 K. What is the largest coefficient of performance COPR\text{COP}_R it could possibly have?

4. The second law and entropy

CoreHuman

1200 J of heat flows through a wall from a reservoir at 400 K to a reservoir at 300 K. How much entropy, in J/K, is generated?

5. The second law and entropy

CoreHuman

Steam enters a turbine with h1=3400h_1 = 3400 kJ/kg. Expanding isentropically to the exit pressure it would leave with h2s=2300h_{2s} = 2300 kJ/kg; it actually leaves with h2=2465h_2 = 2465 kJ/kg. What is the isentropic efficiency of the turbine, in per cent?

6. The second law and entropy

CoreHuman

Which of these statements are true? Select all that apply.

Choose all that apply

7. The second law and entropy

CoreComputational

Write mix_water(masses, temps_C, c=4180.0) for several portions of water mixed in an insulated container (constant specific heat c in J/(kg K), no heat loss, no work). masses are in kg and temps_C in °C. Return a tuple (T_final_C, S_gen): the final temperature in °C and the entropy generated in J/K.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

8. The second law and entropy

StretchComputational

Write compressor(T1, r, eta, cp=1005.0, R=287.0) for an adiabatic compressor handling an ideal gas with constant specific heats. T1 is the inlet temperature in K, r the pressure ratio p2/p1p_2/p_1 and eta the isentropic efficiency. Return (T2, w, s_gen): the actual exit temperature in K, the work input in J/kg, and the entropy generated in J/(kg K).

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.

Further reading and resources

  • Réflexions sur la puissance motrice du feu · Sadi Carnot · 1824Carnot's short book, which founded the subject; it can be read on Gallica, the digital library of the Bibliothèque nationale de France.
  • Efficiency of a Carnot engine at maximum power output · F. L. Curzon and B. Ahlborn · 1975American Journal of Physics 43, 22–24. The source of the 1 − √(T_L/T_H) estimate used in this lesson.
  • NIST Chemistry WebBook: Thermophysical Properties of Fluid Systems · National Institute of Standards and TechnologyEntropies (as well as enthalpies) of water, refrigerants and many other fluids at any state.
  • ASMEPublishes the Performance Test Codes, among them PTC 6 (steam turbines) and PTC 10 (compressors), which define how isentropic efficiencies are measured in acceptance tests.
  • MIT OpenCourseWareSearch for the thermodynamics and thermal-fluids engineering courses of MIT's Department of Mechanical Engineering.