Chapter 30 Instructor Notes — Car Development
Chapter: Car Development: CFD, the Wind Tunnel, the Simulator, and the Upgrade Pipeline · Exercises · Quiz · Case Study 1 · Case Study 2 · Key Takeaways · Discussion guide
Chapter 30 follows an idea from a CFD mesh to a part on the car, and asks what public timing data can say about whether it worked. It builds a small panel method to show where lift comes from (🧪), explains why CFD accuracy is expensive and why the wind tunnel cannot match a full-size car's Reynolds number, then turns to the rules that ration the tools: the aero-testing sliding scale. Two statistical tests follow. Does more tunnel time show up as faster improvement? And can a before/after comparison detect an upgrade honestly? The chapter closes by correlating the course's own lap simulator against 2026 qualifying, exactly as a team correlates its tools with the track. Students build the upgrades.py module of Box Box.
Learning objectives
By the end of the session, students should be able to:
- Describe the upgrade pipeline (CFD, tunnel, simulator, track) and define correlation as an engineer uses it.
- Explain lift as circulation (Kutta–Joukowski, thin-airfoil theory) and why ground effect is steep and fragile.
- Explain why accuracy costs more than linearly in CFD, and why a 60% model at 50 m/s cannot match full-size Reynolds number at racing speed.
- Compute a team's testing allowance from the sliding scale for a given position and period, including the Red Bull penalty.
- Design a difference-in-differences test of the scale's effect and report its minimum detectable effect alongside the estimate.
- Run an honest before/after test at a pre-specified split, with a placebo test, and explain why searching for the best split inflates false positives.
- Calibrate a model on some circuits, validate on others, and read the pattern of residuals.
Threshold concept
This chapter has no formal threshold concept. Its central habit is statistical: "not significant" means nothing without the effect the test could have detected. Students who have this habit report the interval and the minimum detectable effect together; students who do not read every null result as "no effect" and every small p-value at a hand-picked split as a discovery.
Suggested 75-minute session plan
| Time | Segment | What happens |
|---|---|---|
| 0–8 min | Hook | A team announces "a major floor upgrade". Ask: "What would convince you it worked?" Collect criteria on the board and return to them at the end. |
| 8–22 min | Concept | The pipeline and its errors. Kutta–Joukowski in one line; the tunnel's Reynolds problem (a 60% model at 50 m/s matches a full-size car at only 108 km/h). Then the sliding scale: 320 runs per period at C = 100%, from 70% (champion) to 115% (tenth), 1,344 vs 2,208 runs a year. |
| 22–40 min | Live demo | Run code/05_before_after.py (about 30 s). Show that 7 of 41 team-season shifts pass a naive Welch test at p < 0.05 but 0 of 41 clear the placebo test, with a median minimum detectable shift of 0.55 pp (about 0.47 s). Then show the noise simulation: choosing the best of 13 splits gives a 26.6% false-positive rate against 5.4% at a fixed split. |
| 40–58 min | Activity | Pairs work B5 (sliding-scale arithmetic) and B7 (minimum detectable shift) at the board, then read Section 30.6's verdict on tunnel time: about 0.19 pp a season of extra catch-up, interval including zero, minimum detectable effect about 0.64 pp. |
| 58–75 min | Wrap-up | Correlation of the course's lap simulator: two factors fitted on three circuits cut the test error from 11.7% to 5.5%, but a same-sign bias remains. Return to the hook's criteria. Exit ticket: "Write the one sentence you would send a journalist about that floor upgrade." |
Key numbers students should leave with
- Sliding scale (
cost_cap.csv): per period at C = 100%: 320 runs, 80 h wind-on, 400 h occupancy, 2,000 new CFD geometries, 6 MAUh. From 2022, 70% (P1) to 115% (P10): 224 vs 368 runs per period; 1,344 vs 2,208 a year. Unchanged for 2026. - Red Bull penalty: the 2021 cost-cap breach brought a $7M fine and a 10% cut to aero testing: C fell from 70% to 63% (202 runs a period) for 12 months from 26 October 2022, 132 runs in total.
- Tunnel-time test: 2022–26 backmarkers closed about 0.19 pp a season more than the 2007–20 pattern predicts, interval including zero (79.6% of bootstrap draws below zero). Minimum detectable effect about 0.64 pp a season. Winter catch-up predates the scale, pointing to regression to the mean.
- Before/after at the summer break (2023–26): 0 of 41 shifts clear the placebo test; median minimum detectable shift 0.554 pp (0.471 s on an 85 s lap).
- Physics (🧪): panel-method lift slope 6.227/rad against 2π; an inverted wing doubles its downforce at 0.2 chords from the ground in the inviscid model; tunnel at 250 km/h equivalent runs at 43% of full-size Reynolds number, so turbulent friction reads about 18% high. Error ∝ N^−1.05, cost ∝ N^2.33: halving the error costs about 4.7× the compute.
- Lap-simulator correlation (🧪): preset car a median 11.2% slow on 2026 qualifying laps; calibrated test error 11.66% → 5.52%. +1% downforce is worth about 0.17% of a lap, so an upgrade needs roughly 3% more downforce before timing data can see it.
- Case Study 1 (Aston Martin 2026): a data-chosen change point at round 16 passes Welch (p = 0.0014) but its placebo p equals the minimum achievable (0.077); at the pre-specified summer split the placebo p is 0.40.
Common misconceptions and remedies
| Misconception | Remedy |
|---|---|
| "The gap dropped, so the upgrade worked." | Say "change point" unless a source gives the part and the date. Ask for the pre-specified split and the placebo test. |
| "Not significant means the sliding scale does nothing." | Give the interval and the minimum detectable effect (about 0.64 pp a season). The test cannot see small effects. |
| "Backmarkers catching up proves the scale works." | Compare with the same relationship before the scale existed; winter catch-up was already there in 2007–20. |
| "The tunnel measures the real car's forces." | It runs at the wrong Reynolds number; friction-type forces read high and separation can move. |
| "Calibrate until the simulator matches, then trust it." | Calibrate on some circuits and validate on others; a same-sign residual pattern means missing physics. |
| "A MAUh is so many core-hours." | The reference table defines only 1 MAUh = 10⁶ AUh. Do not invent a conversion. |
Exercises to assign
- Core (everyone): Part A — A2, A8, A9, A10; Part B — B3, B5, B6, B7.
- Code lab: Part C — C1 (2023 allowances with
team_atr) and C4 (before/after for every team in 2024). C7 (sensitivity at a circuit of your choice) suits engineering students. - Judgment: Part D — D4 (the analyst's report on an announced upgrade) in class; D3 (incentive design) as a written assignment.
- Stretch: Part C — C3 (simulation-based power) and C6 (a different training set for the lap simulator); Part E — E3 (sourced upgrade dates).
- Interleaving: Part M — M3 (Chapter 24's change-point detector) and M4 (Chapter 28's resets).
Lab tips
- Run order:
03_atr_allocation.pyand04_tunnel_time_test.py(about 20 s) write caches thatcase_study_02.pyneeds; run them first.05_before_after.pytakes about 30 s;06_lapsim_correlation.pyabout 45 s on its first run while it caches tracks. Scripts 01 and 02 take seconds and are the best live demos for engineering groups. Outputs are saved incode/_out_*.txt. - Gotcha — lap-simulator drift: the lap-simulation numbers come from the Chapter 11 simulator as it stood on 2026-11-25. If that module changes, the absolute errors will move; the lesson (a calibrated model with a structured residual) should not.
- Gotcha — two gap measures: the tunnel-time test uses the like-for-like Q1 gap, because best-of-Q1–Q3 gaps are biased in a way that correlates with position. The before/after test uses the circuit-adjusted best-of gap. Make students say which one they use.
- Gotcha — 2026 has 11 teams: the scale has no sourced eleventh row, so positions beyond 10 get the P10 value. The module prints this assumption; students should repeat it.
- Gotcha — telemetry quality: Case Study 1 aligns laps on the location line and drops laps with frozen stretches (identical speed for more than 2 s). Integrated-distance splits gave implausible results at two circuits.
- Machine dependence: the panel method's cost exponent depends on the computer; expect a slightly different value.
Connections
- Backward: Chapter 3 (downforce and drag from data), Chapter 11 (the lap simulator being correlated), Chapter 24 (change points and team trends), Chapter 28 (the rulebook as constraints).
- Forward: Chapter 31 covers the cost cap that produced the Red Bull penalty; Chapter 32 puts development races in historical context.