Chapter 12 Instructor Notes — Race Strategy Fundamentals
Chapter: Race Strategy Fundamentals: Pit Stops, Tire Compounds, and the Optimization Problem Every Team Solves 60 Times Per Race · Exercises · Quiz · Case Study 1 · Case Study 2 · Key Takeaways · Discussion guide
Chapter 12 opens Part II and turns the course from physics to decision science. Students price a pit stop, measure the wear that fuel burn hides, derive the critical degradation rate that sets the number of stops, and build an exhaustive optimiser, the strategy.py module of Box Box. The 2026 Barcelona GP runs through the chapter as a lesson in humility: the model priced the winner's three-stop 10.1 s worse than the runner-up's two-stop, and he still won by 19.6 s.
Learning objectives
By the end of the session, students should be able to:
- Distinguish stationary time, pit-lane time and green-flag pit loss, and explain why only the last belongs in a strategy model.
- Explain why base pace and fuel burn cancel when strategies are compared.
- Explain why raw MEDIUM and HARD stint slopes look flat, and fuel-correct them (always stating the correction).
- Compute a break-even stint length and the critical degradation rate $d^* = 2(k+1)(k+2)(P+w)/N^2$ for an extra stop.
- Describe how the two-compound rule and the 2026 tyre allocation change the optimum.
- Use
optimiseto rank every legal strategy for a race, and read the width of the pit window from the cost curve. - Decompose a real result into strategy, pace and neutralisation components.
Threshold concept: strategy minimises total race time, not lap time
A pit stop makes the car slower for two laps, by about 20 s in total, so that it can be faster for the next twenty or so. Students who have crossed this threshold stop asking "which tyre is fastest?" and start asking "which sequence of stints gives the smallest total?" Signs they have not crossed it yet: judging a strategy by the fastest lap it produced, or by the position the car held straight after the stop.
Suggested 75-minute session plan
| Time | Segment | What happens |
|---|---|---|
| 0–8 min | Hook | 2026 Barcelona GP: Hamilton won S-H-M-H from P2; Russell was second on M-H-H from pole, 19.561 s behind. Ask the class: "Who had the better strategy?" Take a vote, then hold the answer. |
| 8–25 min | Concept | The race-time equation; the green-flag pit loss (pooled median 22.512 s, Spa 19.27 s to Imola 28.16 s); why fuel hides wear (fuel-corrected SOFT 0.064, MEDIUM 0.051, HARD 0.048 s/lap at the toolkit's 100 kg × 0.03 s/kg; uncorrected MEDIUM/HARD ≈ 0). Derive the break-even (20.9 laps at the 1.078 s/lap median fresh-tyre delta) and the critical deg rate. |
| 25–42 min | Live demo | Run code/02_pit_loss_and_break_even.py, then code/04_optimise_barcelona.py. Show that unconstrained, the best is a three-stop; with the 2026 allocation it is M-H-H (17, 41), with the best three-stop +3.985 s and the best one-stop +36.225 s. |
| 42–62 min | Activity | Reveal the vote: the model prices Hamilton's actual strategy +13.83 s and Russell's +3.74 s against the optimum. Groups then work through the decomposition of the 19.611 s summed-lap gap: strategy +10.088 s, clean-lap pace −14.560 s, VSC laps −11.151 s, green pit laps −4.334 s, other +0.345 s. |
| 62–75 min | Wrap-up | Model vs field over 73 dry races: 75.3% agreement with the finishers' median stop count, against 53.4% for "always one stop", and all 18 misses predict too few stops. Exit ticket: "Name one thing the model cannot see that would push it towards more stops." |
Key numbers students should leave with
- Green-flag pit loss: pooled median 22.512 s (n = 1,921 stops, 2023–2026), from Spa 19.27 s to Imola 28.16 s. Under a safety car about 12.722 s; under a VSC about 15.671 s (near-field medians).
- Wear, fuel-corrected at 100 kg × 0.03 s/kg: SOFT 0.064, MEDIUM 0.051, HARD 0.048 s/lap. Without the correction, MEDIUM and HARD slopes are about zero.
- Break-even: 20.9 laps at the median fresh-tyre delta of 1.078 s/lap (17.9 at Spa, 26.1 at Imola), not the "15+" often quoted.
- Critical deg: for a 57-lap race at 22.512 s pit loss, a second stop needs $d > 0.0831$ s/lap and a third $d > 0.1663$.
- Stop counts: 45.8% of dry-race finishers one-stopped and 42.5% two-stopped; 40 of 76 dry-race winners (52.6%) one-stopped. Tyre changes made during a red-flag suspension are not stops.
- Pit windows: the one-stop window within 1 s is 19 laps wide at Monza 2025 and 5 laps at Barcelona 2026.
- Model vs reality: 55 of 73 dry races (75.3% [64.4, 83.8]) match the field's median stop count; 53.4% for the naive one-stop rule. Three dry races (2023 Australia, 2026 Monaco, 2026 Italy) have no finisher median because every finisher changed tyres under a red flag.
Common misconceptions and remedies
| Misconception | Remedy |
|---|---|
| "The stationary time is the cost of a stop." | A 2 s stop still costs about 22.5 s of race time. Walk through the in-lap, pit lane and out-lap on the board. |
| "Tyres barely wear in modern F1; look at the flat lap times." | The falling fuel load hides the wear. Fuel-correct and the slope appears. Every deg number must state its correction. |
| "Fewer stops is always better because each stop costs 20 s." | Use $d^*$: a long race and high wear make the extra stop pay. Barcelona 2026's unconstrained optimum was a three-stop. |
| "The winner had the best strategy." | Barcelona 2026: the strategy term favoured Russell by 10.1 s; pace and a cheap VSC stop won it for Hamilton. |
| "The optimal lap to pit is a sharp point." | Show the flat cost curve: laps 25–43 are within 1 s at Monza 2025. A flat window frees the stop for tactics. |
| "Two-stoppers finish 1.43 places further back, so a second stop costs places." | Strategy choice is not random: damage, bad first stints and cheap safety-car stops push drivers to two stops. |
Exercises to assign
- Core (everyone): Part A — A1, A2 (explain the threshold concept), A3, A8; Part B — B2 (pit loss from laps), B3 (break-even), B4 (critical deg), B7 (the VSC stop).
- Code lab: Part C — C1 and C3 (Analyze this session; Build the strategy). C5 (Predict the race) works well as a take-home.
- Judgment: Part D — D2 (Call the pit stop: 2026 Barcelona Grand Prix, lap 36) and D5 (Grade the decision).
- Stretch: Part E — E1 (Fix the bias) asks students to attack the "too few stops" problem directly; E3 (team-specific models) for analytics students.
- Interleaving: Part M — M1 (Ch 4 + Ch 12) and M3 (Ch 2 + Ch 12).
Lab tips
- All scripts run without a network and each takes under a minute. Printed outputs are saved as
code/*_output.txt; compare against them first when a student's numbers differ. - Run order:
03_how_many_stops.pywritescode/race_stop_table.csv, whichcase_study_02.pyreads. Script 02 writescode/pit_loss_by_circuit.csv. Otherwise the scripts are independent. - Gotcha — stop laps are in-laps: in
Strategy.parse("M-H-H", [17, 41]), 17 and 41 are the laps on which the car enters the pits. - Gotcha — ambiguous race names: in 2026
"United States"also matches Miami and Las Vegas; use the circuit reference"americas". "Qatar" is ambiguous in 2023 and 2025; use the round number. - Gotcha — thin compound data:
fit_race_modeldrops a compound with fewer than three stints. This guard exists because a single SOFT stint at 2024 Hungary produced a spurious 55 s margin. Ask students to explain why. - The optimiser searches 1,470,486 legal strategies for Barcelona 2026 (one to three stops, stints of at least five laps) by array search; encourage students to time it and reason about why exhaustive search is feasible here.
Connections
- Backward: Chapter 4 (the lap-time decomposition and fuel correction) and Chapter 2 (stint boundaries and clean laps).
- Forward: Chapter 13 adds a rival car; Chapter 14 adds random neutralisations, the main reason the model under-predicts stops; Chapter 22 improves the wear model; Chapter 27 simulates the whole race.