See also: Course-wide Conventions & Notation
Run the code: Notebook for Section 5.3, in which you can change and rerun the Python cells of this section in your browser.
Overview and Learning Objectives¶
Ammonia synthesis is one of the most important industrial chemical processes: the Haber–Bosch reaction produces the nitrogen feedstock for most synthetic fertilizers, supporting roughly half the world’s food production. It is also a textbook example of the tension between thermodynamics and kinetics. At room temperature the reaction is thermodynamically favorable () but kinetically inert. Raising the temperature makes the kinetics manageable but can push positive. Increasing pressure can restore favorability for reactions that decrease the number of gas molecules. Understanding and quantifying these tradeoffs is the goal of this section.
We use the free-energy machinery from Section 5.1 and the absolute-entropy framework from Section 5.2 to track how changes with temperature and pressure for the reaction
The analysis relies on two tools: heat-capacity-based temperature corrections to and , and the ideal-gas pressure dependence of .
Learning objectives:
Articulate the difference between thermodynamic favorability () and kinetic accessibility (activation barrier, catalysis).
Use to reason qualitatively about temperature effects when .
Estimate temperature corrections to and from constant- models based on active degrees of freedom.
Derive the ideal-gas pressure dependence of the molar Gibbs energy, , and apply it to reactions with .
Explain how catalyst, temperature, and pressure serve as complementary “engineering knobs” in the Haber–Bosch process.
Core Ideas and Derivations¶
Thermodynamics vs. Kinetics¶
Standard Thermodynamic Data at 298.15 K¶
The standard reaction quantities for ammonia synthesis at are:
These are consistent via . Since , the reaction is thermodynamically spontaneous at 298 K and 1 bar.
Data Skills: Where Do These Numbers Come From?
Standard reaction quantities are computed from tabulated species data:
Look up and for each species from a reference source: the NIST Chemistry WebBook, the NIST-JANAF Thermochemical Tables, or the Active Thermochemical Tables (ATcT). Appendix D describes each of them.
Compute and by stoichiometry (products minus reactants). The absolute entropies used here are third-law values of the type discussed in Section 5.2.
Combine via .
Why It Is Too Slow at Room Temperature¶
Even with , the reaction can be extremely slow if the activation barrier is large. For ammonia formation, the triple bond (bond dissociation energy ) makes the uncatalyzed barrier prohibitively high at 298 K.
A catalyst provides an alternative reaction pathway with a lower activation barrier. Fritz Haber demonstrated the synthesis in 1909 with an osmium catalyst; the iron-based catalyst of the industrial process was found by Alwin Mittasch at BASF, where Carl Bosch scaled the process up (Nobel Prizes: Haber 1918, Bosch 1931). The catalyst accelerates both the forward and reverse reactions equally, so it does not change or the equilibrium constant — it only changes how fast equilibrium is reached. Raising the temperature further increases the rate (Arrhenius behavior), so industrial reactors operate at where the barrier is surmountable.
But raising introduces a thermodynamic penalty, which we now quantify.
Qualitative Effect of Temperature¶
Since for this reaction, the term in
is positive and grows with . At sufficiently high temperature, this positive term overwhelms the negative , and changes sign — the reaction becomes non-spontaneous at 1 bar.
The qualitative rule is: for reactions with , higher temperatures work against thermodynamic favorability.
Temperature Corrections from ¶
To quantify the temperature effect, we need and at the operating temperature. The strategy is to correct each species’ enthalpy and entropy from the reference temperature to the target temperature using heat-capacity data.
Enthalpy Correction¶
At constant pressure (Section 3.3):
Entropy Correction¶
From the enthalpy differential at constant ():
This is the same integral that appears in the absolute-entropy formula (Section 5.2, Eq. (5.2.11)), applied over a finite temperature range rather than from 0.
Ideal-Gas Heat Capacities from Degrees of Freedom¶
For a simple estimate we treat , , and as ideal gases and approximate as temperature-independent, using the number of active (translational + rotational) degrees of freedom :
For linear molecules (, ): , giving
For nonlinear : , giving
With constant , the integrals simplify to:
Temperature Effect: 298.15 K to 773.15 K (500°C)¶
Set and .
Per-Species Corrections¶
and ():
():
Reaction-Level Corrections¶
Apply stoichiometric weights ():
The reaction-level is negative (products have fewer degrees of freedom than reactants), so both and become more negative with increasing temperature.
at 773.15 K¶
Combining the corrected values:
At and 1 bar, ammonia formation is non-spontaneous (), even though it would be much faster kinetically than at room temperature. This is the central dilemma of the Haber–Bosch process.
Pressure Dependence of for an Ideal Gas¶
Temperature is not the only knob available. For gas-phase reactions, pressure can strongly affect when the reaction changes the number of gas molecules.
From the Gibbs differential (Section 5.1) at constant temperature:
For one mole of an ideal gas, . Integrating from to :
where is the standard-state molar Gibbs energy at pressure .
Applying to Ammonia Formation¶
If each species is compressed from to at fixed , the pressure correction to the reaction Gibbs energy is
where is the change in the number of moles of gas:
Setting to find the pressure at which the reaction is just spontaneous:
Inserting , , and :
Because , increasing pressure favors the side with fewer gas molecules (Le Châtelier’s principle). At , pressures on the order of several hundred bar can restore thermodynamic favorability.
Summary: The Engineering Knobs¶
Figure 5.3.1 collects the two results of this section: the standard reaction Gibbs energy at 1 bar as a function of temperature, and the pressure at which the reaction Gibbs energy vanishes.
Source
import sys
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
from scipy.constants import R
from scipy.optimize import brentq
sys.path.append("..") # the book folder, which holds figstyle
import figstyle as fs
# Constant-C_P model of this section (rigid molecules, no vibration)
T_i = 298.15 # K
dH_i, dS_i = -92.0e3, -198.0 # J/mol and J/(mol K) at 298.15 K
dCp = -6 * R # 2(4R) - (7R/2) - 3(7R/2)
def dG_model(T):
dH = dH_i + dCp * (T - T_i)
dS = dS_i + dCp * np.log(T / T_i)
return dH - T * dS
# Reference: Shomate equations from the NIST Chemistry WebBook (Chase, 1998).
# Coefficients A-H; each tuple is (T_min, T_max, coefficients).
shomate = {
"NH3": [(298.0, 1400.0, (19.99563, 49.77119, -15.37599, 1.921168, 0.189174, -53.30667, 203.8591, -45.89806))],
"N2": [(100.0, 500.0, (28.98641, 1.853978, -9.647459, 16.63537, 0.000117, -8.671914, 226.4168, 0.0)),
(500.0, 2000.0, (19.50583, 19.88705, -8.598535, 1.369784, 0.527601, -4.935202, 212.3900, 0.0))],
"H2": [(298.0, 1000.0, (33.066178, -11.363417, 11.432816, -2.772874, -0.158558, -9.980797, 172.707974, 0.0))],
}
dfH = {"NH3": -45.90e3, "N2": 0.0, "H2": 0.0} # J/mol at 298.15 K
nu = {"NH3": 2, "N2": -1, "H2": -3}
def H_and_S(species, T):
"""Molar enthalpy (J/mol, relative to the elements at 298.15 K) and entropy (J/(mol K))."""
for T_min, T_max, (A, B, C, D, E, F, G, H) in shomate[species]:
if T_min <= T <= T_max:
t = T / 1000
dH = A*t + B*t**2/2 + C*t**3/3 + D*t**4/4 - E/t + F - H # kJ/mol
S = A*np.log(t) + B*t + C*t**2/2 + D*t**3/3 - E/(2*t**2) + G
return dfH[species] + 1000 * dH, S
def dG_nist(T):
dH = sum(nu[s] * H_and_S(s, T)[0] for s in nu)
dS = sum(nu[s] * H_and_S(s, T)[1] for s in nu)
return dH - T * dS
T = np.linspace(298.15, 873.15, 231)
theta = T - 273.15 # temperature in degrees Celsius
g_model = dG_model(T) / 1000 # kJ/mol
g_nist = np.array([dG_nist(Tk) for Tk in T]) / 1000
T_cross = brentq(dG_model, 400, 500) # K, where the model gives zero
def draw_ammonia(c):
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(fs.WIDTH, 3.4), constrained_layout=True)
shade = c.tint(c.gray, 0.72)
# (a) Standard reaction Gibbs energy at 1 bar
ax1.axvspan(400, 500, color=shade, lw=0)
ax1.axhline(0, color=c.gray, lw=0.9)
ax1.plot(theta, g_nist, color=c.gray, lw=1.6, ls=(0, (4, 3)), label="NIST heat capacities")
ax1.plot(theta, g_model, color=c.blue, lw=fs.LINE, label="constant-$C_P$ model")
ax1.plot(T_cross - 273.15, 0, "o", color=c.blue, ms=6)
ax1.annotate(f"{T_cross:.0f} K", (T_cross - 273.15, 0), xytext=(8, -15), textcoords="offset points")
ax1.text(450, -27, "operating\nrange", ha="center", va="center")
ax1.set(xlim=(25, 600), xlabel="Temperature (°C)", ylabel="$\\Delta_r G°$ (kJ mol$^{-1}$)")
handles, labels = ax1.get_legend_handles_labels()
ax1.legend(handles[::-1], labels[::-1], frameon=False, loc="upper left", handlelength=1.8)
fs.panel(ax1, "a", "At 1 bar")
# (b) Pressure at which the reaction Gibbs energy vanishes
mask = T > T_cross + 1
P_model = np.exp(g_model[mask] * 1000 / (2 * R * T[mask]))
P_nist = np.exp(g_nist[mask] * 1000 / (2 * R * T[mask]))
ax2.add_patch(Rectangle((400, 150), 100, 200, fc=shade, ec="none"))
ax2.plot(theta[mask], P_nist, color=c.gray, lw=1.6, ls=(0, (4, 3)))
ax2.plot(theta[mask], P_model, color=c.blue, lw=fs.LINE)
for th in (400, 500):
P_th = np.exp(dG_model(th + 273.15) / (2 * R * (th + 273.15)))
ax2.plot(th, P_th, "o", color=c.blue, ms=6, zorder=3)
ax2.text(450, 420, "operating\nwindow", ha="center", va="bottom")
ax2.text(215, 200, "$\\Delta_r G < 0$")
ax2.text(480, 4, "$\\Delta_r G > 0$")
ax2.set_yscale("log")
ax2.set(xlim=(180, 600), ylim=(1, 2000), xlabel="Temperature (°C)", ylabel="Pressure for $\\Delta_r G = 0$ (bar)")
fs.panel(ax2, "b", "Pressure needed")
return fig
fs.show(draw_ammonia, alt="Two panels for ammonia synthesis. Panel a plots the standard reaction Gibbs energy at 1 bar "
"against temperature from 25 to 600 degrees Celsius. It rises from about minus 33 to about "
"plus 99 kilojoules per mole and crosses zero at 183 degrees Celsius; the curve from NIST "
"heat capacities lies slightly lower at high temperature. Panel b plots, on a logarithmic "
"axis, the pressure at which the reaction Gibbs energy is zero. It rises from 1 bar near 183 "
"degrees Celsius to several hundred bar at 600 degrees Celsius and passes through the "
"shaded operating window of 150 to 350 bar between 400 and 500 degrees Celsius.")Figure 5.3.1:Ammonia synthesis as a function of temperature. (a) at 1 bar from the constant- model of this section (solid line) and from the Shomate heat-capacity equations of the NIST Chemistry WebBook Chase, 1998 (dashed line). Both change sign at 456 K (183 °C). (b) The pressure at which when each species is at the pressure , from Eq. (5.3.26); the points mark the estimates of this section at 400 °C and 500 °C. The shaded areas mark the operating range of the Haber–Bosch process.
The Haber–Bosch process operates at and over an iron-based catalyst. Each operating parameter addresses a different aspect of the thermodynamics/kinetics tradeoff:
Catalyst: lowers the activation barrier, increasing the reaction rate. Does not change or the equilibrium constant — it only determines how fast equilibrium is reached.
Temperature: higher gives faster kinetics (Arrhenius), but for this reaction () it pushes in the unfavorable (positive) direction.
Pressure: for reactions with , higher pressure favors the product side, compensating for the unfavorable at elevated temperature.
Industrial conditions represent a compromise: high enough temperature for acceptable rates, high enough pressure for acceptable equilibrium yield, with a catalyst to make the whole process feasible.
Worked Examples¶
Example 1: Crossover Temperature at 1 Bar¶
Problem. At what temperature does for ammonia formation change sign (from negative to positive) at 1 bar? Estimate this (a) neglecting corrections, and (b) including the constant- corrections from this section.
Solution.
(a) Without corrections. If we treat and as temperature-independent, the crossover occurs when , giving
(b) With corrections. Including the temperature-dependent corrections from this section, the reaction-level . We need to solve
which cannot be solved in closed form but can be solved numerically. The result is
Result. The reaction becomes non-spontaneous (at 1 bar) around , depending on whether corrections are included. Either way, the crossover is well below the operating range of Haber–Bosch, confirming that pressure is essential to restore thermodynamic favorability at operating temperatures.
Example 2: Pressure Needed at 400°C¶
Problem. Repeat the pressure-for-spontaneity estimate at () instead of .
Solution.
First, compute using the same constant- framework. The temperature shift is :
Now use Eq. (5.3.26):
Result. At , only about 86 bar is needed for spontaneity, compared with 320 bar at . This illustrates the tradeoff: a lower operating temperature demands less pressure for thermodynamic favorability but gives a slower reaction rate. The industrial compromise (, ) sits squarely in the range our estimates predict.
Concept Checks¶
Why does make higher temperatures less favorable for ammonia formation at equilibrium?
How does the sign of determine whether increasing pressure helps or hurts product formation?
Which approximations are embedded in using for each species? How would the analysis change for a non-ideal gas?
A catalyst accelerates both the forward and reverse reactions. Why does this not shift the equilibrium?
An engineer proposes running at 150°C (where at 1 bar) to avoid the need for high pressure. What practical problem does this create?
Key Takeaways¶
Thermodynamics () and kinetics (activation barriers, catalysts) are independent: does not guarantee a useful rate, and a catalyst does not change .
For reactions with , increasing drives upward, potentially reversing spontaneity.
Heat-capacity corrections ( from , from ) quantify how reaction thermodynamics shift with temperature.
The ideal-gas pressure dependence of introduces terms; for , high pressure favors products.
The Haber–Bosch operating conditions (, , Fe catalyst) represent an engineering compromise between kinetic rate and thermodynamic yield.
- Chase, M. W., Jr. (1998). NIST-JANAF Thermochemical Tables (4th ed., pp. 1–1951).