Chapter 20 Instructor Notes — Race Pace and Fuel Correction
Chapter: Race Pace: Fuel Correction, Traffic, Dirty Air, and Measuring a Car's True Speed · Exercises · Quiz · Case Study 1 · Case Study 2 · Key Takeaways · Discussion guide
Chapter 20 moves from one qualifying lap to a whole race. A race lap time is a sum of named effects: base pace, fuel, track evolution, tyre compound and wear, traffic, and noise. To measure a car's true speed, students must take the others out, and the chapter is honest that some of them cannot be separated. It measures the fuel + evolution slope from 76 dry races, prices dirty air by gap and by circuit, ranks race pace against qualifying and FP2, and decomposes a real race gap term by term. Students build the pace.py module of Box Box, which feeds the simulator.
Learning objectives
By the end of the session, students should be able to:
- Write the lap-time decomposition and name which terms race data can and cannot separate.
- Estimate the fuel + evolution slope from race data, and explain why a pit stop (the tyre-age reset) makes it identifiable.
- Convert a slope per lap into seconds per kilogram, stating the assumed start load.
- Show that degradation estimates move one-for-one with the fuel correction, and always report which correction was used.
- Measure the cost of following with a start-of-lap interval and within-stint fixed effects, and explain why the leader's interval of 0.0 is a trap.
- Rank drivers by race pace with a bootstrap interval and compare it with qualifying and FP2 long runs.
- Decompose a race gap between two drivers into base pace, tyres, traffic, lap 1 and pit laps.
Threshold concept
This chapter has no formal threshold concept; it builds on Chapter 4's (lap time = base pace + fuel + tyre age effects). It carries the 🪞 Learning check-in for Part III: a model can be precise and still not answer your question. Students write one sentence each on what the fuel slope measures, why their degradation numbers need a footnote, and which "cost of following" they would hand a strategist at Monaco and at Spielberg. Give it five minutes at the end of the session.
Suggested 75-minute session plan
| Time | Segment | What happens |
|---|---|---|
| 0–8 min | Hook | Tyres wear out, so laps should get slower. Yet 63.7% of drivers set their fastest clean lap in the final quarter of the race, and only 1.8% in the first quarter. Ask: "How can old tyres be fastest?" |
| 8–25 min | Concept | The decomposition. Fuel mass falls every lap; track evolution also improves every lap; both are functions of race lap for every car. The tyre-age reset at a pit stop identifies the slope: −0.056 s per lap (95% CI −0.061 to −0.050), 76 dry races. |
| 25–42 min | Live demo | Run code/02_fuel_effect_from_data.py to show the 76 per-race slopes, then code/03_identification_limits.py to show the synthetic race: with linear evolution the method recovers fuel plus evolution exactly; with saturating evolution the opening-stint wear comes out about 40% too low. |
| 42–62 min | Activity | B5 (degradation and the correction) and B2 (seconds per lap to seconds per kilogram) at the board. Then pairs do D3 (clean air or fresh tyres at the Hungaroring). |
| 62–75 min | Wrap-up | The cost of following: +0.495 s/lap within 1 s, +0.204 at 1–2 s, +0.081 at 2–3 s; Monaco 1.58 s/lap vs Barcelona 0.12. Close with the learning check-in. |
Key numbers students should leave with
- Fuel + evolution slope: −0.056 s per race lap (−0.061 to −0.050), 76 dry races 2023–2026; 75 of 76 race intervals exclude zero. The matched-age estimator gives the same pooled value.
- Per kilogram: 0.033 s/kg at an assumed 100 kg start load; 0.030 at 110 kg. The slope includes track evolution, so treat it as an upper bound on fuel when evolution is linear.
- Cube-root physics check (🧪): observed/predicted median 0.94; r = 0.55 across circuits.
- Degradation depends on the correction: raw MEDIUM and HARD slopes ≈ 0 (0.003 and −0.002 s/lap); fuel-corrected at 100 kg and 0.03 s/kg, SOFT 0.064, MEDIUM 0.051, HARD 0.048 s/lap.
- Cost of following: +0.495 s/lap within 1 s (0.386–0.604), +0.204 at 1–2 s, +0.081 at 2–3 s. Behind a faster car it is still about 0.44 s/lap — mostly wake, not being held up.
- By circuit: Monaco 1.58, Marina Bay 1.10, Hungaroring 0.76 … Red Bull Ring 0.13, Barcelona 0.12 s/lap. Expensive circuits see fewer overtakes (ρ = −0.59).
- Race pace and results: the best race pace won 61.8% of dry races; the pole-sitter had the best race pace 47.4% of the time.
- FP2 long runs: ρ with race pace 0.72 against 0.75 for qualifying; FP2 was the better guide in 14 of 42 weekends. Shrink Friday gaps by about half (slope 0.56).
Common misconceptions and remedies
| Misconception | Remedy |
|---|---|
| "Lap times rising over a stint = tyre wear." | Raw MEDIUM and HARD slopes are about zero because falling fuel hides the wear. Show the raw and corrected tables side by side. |
| "The fuel effect is 0.033 s/kg." | Missing: the start load (assumed) and the fact that the slope includes track evolution. Exercise A4 makes this explicit. |
| "We can separate fuel from track evolution if we try hard enough." | Both are functions of race lap for every car. Show the synthetic race in script 03. |
| "Use the interval at the end of the lap to measure traffic." | That mixes in the lap's own outcome. Use the start-of-lap interval (the previous lap's). |
| "Filtering laps with interval < 1 s removes traffic." | The leader's interval is 0.0, so that filter labels the leader as "in traffic" on every lap. |
| "Dirty air means being held up." | Behind a faster car the cost is still 0.44 s/lap. Most of it is the wake. |
| "FP2 long runs are the best guide to Sunday." | FP2 was the better guide in only 14 of 42 weekends. Use both and shrink the Friday gap. |
Exercises to assign
- Core (everyone): Part A — A1, A3, A4, A6, A7; Part B — B2 (seconds per lap to seconds per kilogram), B4 (traffic against a pit stop), B5 (degradation and the correction).
- Code lab: Part C — C1 (2024 Saudi Arabian GP, the steepest slope) and C2 (Hamilton's race pace at the 2026 Mexico City GP).
- Judgment: Part D — D3 (clean air or fresh tyres?) and D4 (a betting judgement on race pace vs pole).
- Stretch: Part C — C3 (identification limits at the 2024 Bahrain GP) and C6 (the outcome trap, done properly); Part E — E1 (separate fuel from evolution) or E3 (a prior from physics).
- Interleaving: Part M — M1 (refit Chapter 4's tyre models with the data correction) and M2 (Chapter 12's critical degradation).
Lab tips
- All scripts run offline from the chapter folder, each in under a minute;
03_identification_limits.pytakes about 35 s. Outputs are saved ascode/*_output.txt. - Run order: run
02_fuel_effect_from_data.pyfirst (it writesfuel_by_race.csv), then 03, 04 and 05. Run 04 beforecase_study_02.py(it writesdirty_air_by_circuit.csv) and 05 before 06 (it writesrace_pace_2023_2026.csv). - Best live demos:
01_hook_old_tyres_fast_laps.py(quick, visual) and03_identification_limits.py(the synthetic race). - Gotcha — the leader's interval: OpenF1 gives the leader an interval of 0.0, not a missing value.
pace.add_interval_startsets it to missing and flags the leader; students who write their own filter must do the same. - Gotcha — single-circuit traffic fits:
traffic_costclusters by race by default, which fails with one race. Pass a driver-race column tocluster=. - Gotcha — no race telemetry: the data snapshot holds qualifying telemetry only, so dirty-air work uses timing sectors and speed traps.
- Gotcha — session names: use
"americas"for the United States GP. - Gotcha — the 2025 Miami GP is missing laps 2–24 in OpenF1; exclude it from any race-pace or stint work (exercise M6).
- Every degradation number students report must state its fuel correction. Make it a marking rule.
Connections
- Backward: Chapter 4 (the lap-time threshold concept), Chapter 12 (break-even and the optimiser), Chapter 13 (traffic and the undercut), Chapter 19 (one-lap analysis).
- Forward: Chapter 21 separates driver from car; Chapter 22 builds the full degradation model on this chapter's fuel correction.