3  Absolute Global Warming Potential

The challenge with the radiative forcing of a species is that it is an instantaneous measure of the energy imbalance that it creates. This imbalance evolves with time as the abundance of the species reduces. This makes comparing emissions of different species difficult.

Common imports and definitions are here:

Code
import numpy as np
import matplotlib.pyplot as plt
from labellines import labelLine, labelLines
from mpl_toolkits.axes_grid1.inset_locator import inset_axes
from matplotlib import transforms

from scipy.integrate import quad

FIGURE_WIDTH = 4.5
FIGURE_HEIGHT = 3
# Adjust global params here to enforce consistent figures
plt.rcParams['figure.figsize'] = (FIGURE_WIDTH, FIGURE_HEIGHT)  # Fixed default size for all figures
plt.rcParams['figure.constrained_layout.use'] = True  # Auto-adjust spacing
plt.rcParams['figure.dpi'] = 150

## Constants:
R_earth = 6400e3 #m
S_earth = 4*np.pi*R_earth**2
year_to_s = 365*24*3600
Wyear_m2earth_to_J = year_to_s*S_earth
Python helper code

I’ve cleaned up the helper code here for the rest of the sections. You can see the code here in case you want to re-create or play around with it:

Code
class Forcer:
    """Base class for any climate forcer (gas, aerosol, contrail, etc.)"""

    def __init__(self, name):
        self.name = name
        self.latex_name = self._to_latex(name)

    def _to_latex(self, name):
        """Convert simple chemical names to LaTeX-friendly strings for plotting."""
        # e.g., CH4 -> CH$_4$, CO2 -> CO$_2$
        import re
        # add LaTeX subscript for digits
        latex_name = re.sub(r"(\d+)", r"$_\1$", name)
        return latex_name

    def radiative_forcing(self, t, pulse):
        """Compute radiative forcing over time. Override in subclass."""
        raise NotImplementedError

    def IRF(self, t):
        """Impulse Response Function. Override in subclass if needed."""
        raise NotImplementedError

    def AGWP(self, H, pulse_kg=1.0):
        """Absolute Global Warming Potential over horizon H (years).
        Default is for a 1 kg pulse."""
        integrand = lambda t: self.radiative_forcing(t, pulse_kg)
        result, _ = quad(integrand, 0, H)
        return result


class Gas(Forcer):
    """Generic gas forcer with flexible IRF (single- or multi-exponential)."""

    M_air_kg_mol = 28.97e-3
    m_atm_kg = 5.135e18

    def __init__(self, name, M_gas_kg_mol, RE_ppb, tau=None, feedbacks=None, IRF_params=None):
        super().__init__(name)
        self.M_gas_kg_mol = M_gas_kg_mol
        self.RE_ppb = RE_ppb
        if feedbacks:
            self.RE_ppb *= (1 + sum(feedbacks))
        self.tau = tau
        self.IRF_params = IRF_params

    def mass_to_mixing_ratio(self, m_kg):
        """Convert from mass of gas emission in kg to mixing ratio in standard atmosphere in ppb"""
        delta_X = (m_kg / self.m_atm_kg) * (self.M_air_kg_mol / self.M_gas_kg_mol)
        return delta_X * 1e9 

    def IRF(self, t):
        if self.IRF_params:  # multi-exponential IRF
            a = self.IRF_params['a']
            tau_array = self.IRF_params['tau']
            long_term = self.IRF_params.get('long_term', 0)
            return long_term + sum(ai * np.exp(-t/ti) for ai, ti in zip(a, tau_array))
        elif self.tau:  # simple exponential IRF
            return np.exp(-t/self.tau)
        else:
            raise ValueError("No IRF defined for this gas")

    def radiative_forcing(self, t, pulse_kg):
        pulse_ppb = self.mass_to_mixing_ratio(pulse_kg)
        return pulse_ppb * self.IRF(t) * self.RE_ppb


class Contrail(Forcer):
    """Short-lived forcer from aviation contrails"""

    def __init__(self, name, RE_per_unit, lifetime_days):
        super().__init__(name)
        self.RE_per_unit = RE_per_unit
        self.tau_days = lifetime_days

    def IRF(self, t):
        # decay in years; tau_days / 365 converts lifetime to years
        tau_years = self.tau_days / 365
        return np.exp(-t / tau_years)

    def radiative_forcing(self, t, units):
        return self.RE_per_unit * units * self.IRF(t)

CH4 = Gas("CH4", M_gas_kg_mol=16.04e-3,
                 RE_ppb=3.63e-4,
                 tau=12.4,
                 feedbacks=[0.5, 0.15])

CO2_IRF_params = {
    'a': [0.224037, 0.282381, 0.276303],
    'tau': [394.409, 36.5393, 4.30365],
    'long_term': 0.217278}

CO2 = Gas("CO2", M_gas_kg_mol=44.01e-3, 
            RE_ppb=1.37e-5, 
            IRF_params=CO2_IRF_params)

The AGWP is the total energy per unit area that 1 kg of a pulse emission of the gas (under present day conditions) has effectively “trapped” in the atmosphere over the chosen period \(H\):

The units of AGWP are often seen as [Wm \(^{-2}\cdot\) years] or [Jm \(^{-2}\)], but sometimes, (e.g., in IPCC) AGWP is shown as a the energy forcing per kg of emissions pulse as [Wm\(^{-2} \cdot\)years/kg]

\[\begin{gather*} \color{magenta}{\mathrm{AGWP}}(H) = \color{black}\int_{\color{brown}{0}}^{\color{brown}{H}} \color{blue}{\Delta F}(t) \cdot \color{brown}{dt} \\\\ {\small{\text{ \color{magenta}{The Absolute Global Warming Potential} \color{black}is the}}} \\ {\small{\text{ \color{brown}{time-integrated} \color{blue}{radiative forcing} \color{black}due to a pulse emission of}}} \\ {\small{\text{ 1 kg of gas the over a \color{brown}{time horizon}. }}} \end{gather*}\]

For example, let’s consider the integrated energy impact from 1 kg emission of \(\ce{CH4}\) over a period of 20 years:

Code
H = 20  # years time horizon
years = np.linspace(0, 200, 500)  # 0 to 100 years
pulse_kg = 1.0

RF_CH4 = CH4.radiative_forcing(years, pulse_kg)

fig, ax = plt.subplots()
ax.plot(years, RF_CH4*1000, label=CH4.latex_name)
ax.fill_between(years, 0, RF_CH4*1000, where=(years <= H), 
                alpha=0.3,
                label=fr"Integrated forcing over {H} years")
ax.set_xlim(-10,100)
ax.set_xlabel("Time (years)")
ax.set_ylabel("Radiative forcing\n" + r"$\Delta F$" + r"(W/m$^{2}$)")
ax.legend(fontsize=7)
ax.grid(True, color="gray", alpha=0.4, ls = "--", lw = 0.5)
Figure 3.1: The shaded area under the RF vs time graph shows the total energy per unit area (i.e., in J/m\(^2\)) that the pulse of \(\ce{CH4}\) has introduced into the earth energy system.

We can now compare the “trapped” energy in the Earth system due to a unit emission of different gases. For example, let’s look at \(\ce{CH4}\) and \(\ce{CO2}\):

Code
RF_CO2 = CO2.radiative_forcing(years, pulse_kg)

fig, ax = plt.subplots(1,2, sharey=True, layout="constrained")
fig.set_figheight(0.75*FIGURE_HEIGHT)
H = 20 # 20 year horizon first
mask = years<=H

# Calculate AGWP values
AGWP_CH4 = np.trapezoid(RF_CH4[mask], years[mask])/pulse_kg  # W·yr/m² per kg pulse
AGWP_CO2 = np.trapezoid(RF_CO2[mask], years[mask])/pulse_kg  # W·yr/m² per kg pulse

scale_factor = 0.1
ax[0].plot(years, RF_CH4*1000*scale_factor, lw = 1.0, 
            label=CH4.latex_name+rf"$\times {{{scale_factor:.2f}}}$")
ax[0].fill_between(years, 0, RF_CH4*1000*scale_factor,
                 where=mask, 
                alpha=0.3,)
                # label=fr"CH$_4$  (AGWP$_{{{H}}}$ = {AGWP_CH4:.2e} W$\cdot$year/m$^2$/kg pulse)")

ax[0].plot(years, RF_CO2*1000, lw = 1.0, label=CO2.latex_name)
ax[0].fill_between(years, 0, RF_CO2*1000, where=mask,
                 alpha=0.2,)
                # label=fr"CO$_2$  (AGWP$_{{{H}}}$ = {AGWP_CO2:.2e} W$\cdot$year/m$^2$/kg pulse)")
# ax[0].set_yscale('log')
# labelLines(ax[0].get_lines(), xvals=(0,40))


GWP = AGWP_CH4 / AGWP_CO2
ax[0].text(0.5, 0.5, rf"$\mathrm{{GWP}}_{{{H}}}(CH_4) =$"+"\n"rf"$\frac{{\mathrm{{AGWP}}_{{CH_4,{H}}}}}{{\mathrm{{AGWP}}_{{CO_2,{H}}}}} \approx {GWP:2.0f}$",
        transform = ax[0].transAxes, ha="center", va="center",
        fontsize=10, color="black")


H = 100
mask = years<=H
AGWP_CH4 = np.trapezoid(RF_CH4[mask], years[mask])/pulse_kg  
AGWP_CO2 = np.trapezoid(RF_CO2[mask], years[mask])/pulse_kg  
ax[1].plot(years, RF_CH4*1000*scale_factor, lw = 1.0, 
            label=CH4.latex_name+rf"$\times {{{scale_factor:.2f}}}$")
ax[1].fill_between(years, 0, RF_CH4*1000*scale_factor, where=mask, 
                alpha=0.3)

ax[1].plot(years, RF_CO2*1000, lw = 1.0, label=CO2.latex_name)
ax[1].fill_between(years, 0, RF_CO2*1000, where=mask,
                 alpha=0.2)
# ax[1].set_yscale('log')
# labelLines(ax[1].get_lines(), xvals=(0,50))

GWP = AGWP_CH4 / AGWP_CO2
ax[1].text(0.5, 0.5, rf"$\mathrm{{GWP}}_{{{H}}}(CH_4) =$"+"\n"rf"$\frac{{\mathrm{{AGWP}}_{{CH_4,{H}}}}}{{\mathrm{{AGWP}}_{{CO_2,{H}}}}} \approx {GWP:2.0f}$",
        transform = ax[1].transAxes, ha="center", va="center",
        fontsize=10, color="black")

ax[0].set_ylabel("Radiative forcing\n" + r"$\Delta F$" + r"(W/m$^{2}$)")

for axis in ax:
        axis.set_xlim(-10, 150)
        axis.set_xlabel("Time (years)")
        axis.legend(fontsize=5)
        axis.grid(True, color="gray", alpha=0.2, ls="--", lw=0.5)
Figure 3.2: The AGWP can be used to compare the energy forcing due to different species. Note here the \(\ce{CH4}\) RF has been scaled by \(0.1\) to allow \(\ce{CO2}\) to be visible. A common derived metric used in climate conversations is the GWP defined as the ratio of the time-integrated RF relative to a pulse emission of an equal mass of \(\ce{CO2}\).

3.1 Global Warming Potential (GWP)

This lets us define an equivalency metric, the Global Warming Potential, by referencing the absoulte warming potential against a reference gas – \(\ce{CO2}\):

It is worth noting here that while the IPCC (2013) uses the GWP, it stresses that there is no scientfic argument for selecting 100 years as the default time horizon (pg. 711). Houghton, Jenkins, and Ephraums (1990) in the first IPCC report suggested 20, 50, and 100 year time horizons but stressed that they “should not be considered has having any special significance”.

\[\begin{gather*} \color{magenta}{\mathrm{GWP}_H}({\color{darkgray}X}) = \color{black}\genfrac{}{}{1pt}{}{ \color{magenta}{\mathrm{AGWP}}_{\color{darkgray}X}({\color{brown}H})}{ \color{magenta}{\mathrm{AGWP}}_{\color{darkgray}\mathrm{CO}_2}({\color{brown}H}) } \end{gather*}\]

The choice of the time horizon has a strong effect on the GWP values and therefore has implications on policy and strategy. The time horizon choice is ultimately a value judgement since it effectively emphasizes the weight assigned at different times.

Code
H_arr = np.linspace(0,500,100)
AGWP_CO2_arr = np.zeros_like(H_arr)
AGWP_CH4_arr = np.zeros_like(H_arr)

for i, H in enumerate(H_arr):
    AGWP_CH4_arr[i] = CH4.AGWP(H)
    AGWP_CO2_arr[i] = CO2.AGWP(H)

fig, ax = plt.subplots()
ax.plot(H_arr, AGWP_CH4_arr*0.1, lw = 1.0, label=r"AGWP$_{\mathrm{CH}_4}\times 0.1$")

ax.plot(H_arr, AGWP_CO2_arr, lw = 1.0, label=r"AGWP$_{\mathrm{CO}_2}$")

labelLines(ax.get_lines(), xvals = [150, 200])

ax2 = ax.twinx()
ax2.plot(H_arr[1:], AGWP_CH4_arr[1:]/AGWP_CO2_arr[1:], 
color = 'gray', 
label = "GWP$_{CH_4}$")
labelLines(ax2.get_lines())
ax2.set_ylabel("GWP")


ax.axvline(x=50, ls = "--", lw = 1.0, color = "lightgray")

xlims =  ax.get_xlim()
ax.axvspan(50, xlims[1], color="lightgray", alpha=0.2)
ax.set_xlim(xlims)
ax.set_ylabel("AGWP [Wm$^{-2}\\cdotp$yr kg$^{-1}$]")
ax.set_xlabel("Time horizon (years)"); #Note the ";" here to supress the output. Quarto otherwise thinks that this is another output of the cell and starts being too clever with the sub captions etc. 
Figure 3.3: The AGWP and GWP are strongly affected by the time horizon used. For short lived forcers, the evolution of the GWP value ends up primarily reflecting the RF evolution of \(\ce{CO2}\)! Here for example, after about 50 years the GWP reduction of \(\ce{CH4}\) is almost entirely determined by the growth of the AGWP of \(\ce{CO2}\), since almost all the \(\ce{CH4}\) has been removed from the atmosphere and its AGWP does not vary anymore. (This graph idea comes directly from Fig 8.29 of the IPCC report (2013))

This now begs the question, what is the impact of the energy added to the Earth system by some component (e.g., \(\ce{CH4}\) or \(\ce{CO2}\) as above) on the global temperature of the Earth?

If the Earth were to be treated as a simple solid ball of iron, then \(\color{orange}\Delta T \color{black}= \Large \frac{\color{blue}\Delta E}{\color{green}C }\), where \(\color{green}C \mathrm{[J/m\)^2\(/K]}\) is the pertinent heat capacity of this iron-ball-Earth, and \(\color{blue}\Delta E \mathrm{ [J/m\)^2\(]}\) is the total energy added to the ball.