Capstone: stress testing a five-sector Indian loan book

9 min read Facts as of December 2026

This capstone runs a complete, if simplified, climate stress test on a ₹8,000 crore five-sector Indian loan book under baseline, orderly, disorderly and hot-house scenarios, using the methods from this course, and ends with a pandas script you can extend.

The book

All numbers are illustrative but realistic in proportion (₹ crore).

Sector EAD Risk driver Method
Thermal power 2,000 Transition Carbon cost → EBITDA → leverage → PD
Steel 1,500 Transition Same
Cement 1,000 Transition Same
Agriculture 1,200 Physical (drought, flood) Regional PD multiplier, LGD add-on
Coastal housing (Mumbai, Chennai) 2,300 Physical (flood) PD multiplier, collateral haircut → LGD
Total 8,000

Representative borrowers for the corporate sectors (from the EBITDA lesson): power EBITDA 2,500, net debt 8,750, 15 MtCO2, no free allocation, 70% pass-through; steel 9,000 / 28,800 / 25 Mt / 60% free / 30%; cement 1,800 / 4,500 / 6 Mt / 60% free / 40%. PDs come from the leverage grid in rating migration. Agriculture: PD 4%, LGD 50%. Housing: PD 1%, LTV 80%, recovery cost 25%, LGD floor 10%.

The scenarios (single year, 2030)

Scenario Net carbon price Agriculture Coastal housing
Baseline 0 PD × 1.0 No haircut
Orderly ₹1,500/t PD × 1.2 (chronic heat) 5% haircut, PD × 1.1
Disorderly ₹4,000/t PD × 1.2 5% haircut, PD × 1.1
Hot house 0 PD × 2.0, LGD +5 pp (drought then flood years) 30% haircut (one-in-100 flood, low insurance), PD × 2.0

The shapes follow the NGFS families; the calibration is ours and would need justification in a real exercise.

Step-by-step results

Corporates. Carbon cost =E×P×(1−f)(1−π)= E \times P \times (1-f)(1-\pi):

Power Steel Cement
Orderly cost / leverage / PD 675 / 4.8× / 3.5% 1,050 / 3.6× / 2.0% 216 / 2.8× / 1.0%
Disorderly cost / leverage / PD 1,800 / 12.5× / 12.0% 2,800 / 4.6× / 3.5% 576 / 3.7× / 2.0%

Housing LGD. Baseline: max⁡(0.10,1−0.75/0.80)=10%\max(0.10, 1 - 0.75/0.80) = 10\%. With a 5% haircut: 1−0.95×0.75/0.80≈10.9%1 - 0.95 \times 0.75 / 0.80 \approx 10.9\%. With 30%: 1−0.70×0.75/0.80≈34.4%1 - 0.70 \times 0.75 / 0.80 \approx 34.4\%.

Expected loss EL=PD×LGD×EADEL = PD \times LGD \times EAD, ₹ crore:

Sector Baseline Orderly Disorderly Hot house
Thermal power 18.0 31.5 108.0 18.0
Steel 13.5 13.5 23.6 13.5
Cement 4.0 4.0 8.0 4.0
Agriculture 24.0 28.8 28.8 52.8
Coastal housing 2.3 2.8 2.8 15.8
Total 61.8 80.6 171.2 104.1
bps of book 77 101 214 130
Increase vs baseline — +18.8 +109.4 +42.3

Reading the results

  • Disorderly dominates, and almost all of it is one sector: thermal power contributes ₹90 crore of the ₹109 crore increase because its carbon cost eats 72% of EBITDA. That is a concentration finding, the most actionable kind.
  • Hot house hits different books: agriculture and housing, which had looked safe under transition scenarios. Housing EL rises almost sevenfold, driven by LGD, not PD.
  • Cliff effects: steel and cement do not move in the orderly case because their leverage stays inside the same grid bucket.
  • Scale: a ₹109 crore increase on an ₹8,000 crore book is about 137 bps. If the bank’s annual pre-provision profit on this book is around 2% of assets (₹160 crore), the disorderly year consumes two-thirds of it.

The Python sketch

import numpy as np
import pandas as pd

book = pd.DataFrame({
    "sector":       ["Thermal power", "Steel", "Cement", "Agriculture", "Coastal housing"],
    "ead":          [2000, 1500, 1000, 1200, 2300],            # Rs crore
    "lgd":          [0.45, 0.45, 0.40, 0.50, np.nan],
    "ebitda":       [2500, 9000, 1800, np.nan, np.nan],
    "net_debt":     [8750, 28800, 4500, np.nan, np.nan],
    "emissions_mt": [15, 25, 6, np.nan, np.nan],
    "free_share":   [0.0, 0.6, 0.6, np.nan, np.nan],
    "pass_through": [0.7, 0.3, 0.4, np.nan, np.nan],
    "pd_base":      [np.nan, np.nan, np.nan, 0.04, 0.01],
})

scenarios = {
    "Baseline":   dict(price=0,    agri_pd=1.0, agri_lgd=0.00, haircut=0.00, house_pd=1.0),
    "Orderly":    dict(price=1500, agri_pd=1.2, agri_lgd=0.00, haircut=0.05, house_pd=1.1),
    "Disorderly": dict(price=4000, agri_pd=1.2, agri_lgd=0.00, haircut=0.05, house_pd=1.1),
    "Hot house":  dict(price=0,    agri_pd=2.0, agri_lgd=0.05, haircut=0.30, house_pd=2.0),
}

bounds = [2, 3, 4, 5, 6, np.inf]                  # leverage bucket upper bounds
pds    = [0.005, 0.010, 0.020, 0.035, 0.060, 0.120]
def pd_from_leverage(lev):
    return pds[np.searchsorted(bounds, lev, side="right")]

def housing_lgd(haircut, ltv=0.80, recovery_cost=0.25, floor=0.10):
    return max(floor, 1 - (1 - haircut) * (1 - recovery_cost) / ltv)

def run(s):
    out = book[["sector", "ead"]].copy()
    corp = book["ebitda"].notna()
    cost = (book["emissions_mt"] * 1e6 * s["price"] / 1e7      # Rs crore
            * (1 - book["free_share"]) * (1 - book["pass_through"]))
    ebitda = book["ebitda"] - cost
    lev = (book["net_debt"] / ebitda).where(ebitda > 0, np.inf)
    out.loc[corp, "pd"] = lev[corp].apply(pd_from_leverage)
    out.loc[corp, "lgd"] = book.loc[corp, "lgd"]
    ag = book["sector"] == "Agriculture"
    out.loc[ag, "pd"] = book.loc[ag, "pd_base"] * s["agri_pd"]
    out.loc[ag, "lgd"] = book.loc[ag, "lgd"] + s["agri_lgd"]
    hs = book["sector"] == "Coastal housing"
    out.loc[hs, "pd"] = book.loc[hs, "pd_base"] * s["house_pd"]
    out.loc[hs, "lgd"] = housing_lgd(s["haircut"])
    out["el"] = out["pd"] * out["lgd"] * out["ead"]
    return out

summary = pd.DataFrame({n: run(s).set_index("sector")["el"] for n, s in scenarios.items()})
summary.loc["Total"] = summary.sum()
summary.loc["EL, bps of book"] = summary.loc["Total"] / book["ead"].sum() * 1e4
print(summary.round(1))

Running it reproduces the EL table above. Natural extensions: annual paths to 2030 using NGFS short-term or Phase V carbon prices pulled with pyam; a continuous leverage-to-PD curve instead of buckets; borrower-level rows instead of one representative borrower per sector; and lifetime ECL with staging.

Try it yourself

  1. Reverse stress test: find the carbon price at which the power borrower’s leverage reaches 6×. (Answer: EBITDA must fall to 8,750 / 6 ≈ 1,458, so the net cost is about 1,042 crore and P=1,042×107/(15×106×0.3)≈P = 1{,}042 \times 10^7 / (15 \times 10^6 \times 0.3) \approx ₹2,315 per tonne.)
  2. Add a fifth scenario, “Compound”: the disorderly carbon price and the hot-house physical shocks together. Is the result the sum of the two increases? Why or why not?
  3. Replace the leverage grid with a smooth curve, for example PD=0.005×e0.5(L−2)PD = 0.005 \times e^{0.5(L-2)} capped at 30%, and compare.

↑ ↓ to move, Enter to open, Esc to close.