Lap 19 of the 2026 Las Vegas Grand Prix, the last race in this book's data snapshot. Max Verstappen
In This Chapter
- 39.1 The transfer test: what any race-strategy model needs
- 39.2 F1's own "other series": the refuelling era, measured
- 39.3 Change one rule: re-running Box Box
- 39.4 Endurance racing: stints, tyres that outlast fuel, and the clock
- 39.5 Ovals: IndyCar, NASCAR, the draft and the yellow flag
- 39.6 MotoGP: two contact patches and no wings to lean on
- 39.7 Formula E: when energy is the main variable, and 2026 F1 already shows it
- 39.8 Sim racing and esports: the closest cousin
- Spaced Review
- Project Checkpoint: series.py
- Chapter Summary
- What's Next
Chapter 39 — Other Motorsport Analytics: MotoGP, IndyCar, WEC, NASCAR, Formula E, and How the Principles Transfer
Lap 19 of the 2026 Las Vegas Grand Prix, the last race in this book's data snapshot. Max Verstappen leads, as he has since starting from grid slot 1, on a set of SOFT tyres that are 21 laps old. The race-control feed logs a safety car on that lap. Then the pit lane fills up. The Jolpica pit-stop table for the race lists 23 stops by 20 drivers, and 16 of the 23 happen on lap 19. Verstappen, Lando Norris and Oscar Piastri, the eventual top three, all stop on that lap. Verstappen's own timing shows the shape of it: 97.933 s on lap 18, 116.260 s on lap 19 as the safety car comes out, then laps of 149–163 s behind it on fresh MEDIUMs. By the time racing resumes on lap 26, almost the whole field has changed tyres at a discount (20 of the 22 starters stopped, and 20 of the race's 23 stops came under the safety car). Verstappen wins with one stop.
Now look at what our clean-race model would have done. Calibrate the Box Box strategy engine on 2026 data, with a green-flag pit loss of 23.6 s, a stationary time of 2.9 s and a degradation slope of 0.052 s per lap, and give it a 50-lap race. It says one stop, on lap 25. The stop count is right and the timing is six laps out, and the six laps are entirely the safety car's doing. Nobody on the pit wall was waiting for lap 25. Everybody was waiting for a yellow.
If you have ever watched an IndyCar or NASCAR race on an oval, this will feel familiar. Their strategy is built around exactly this moment. On a short oval the field laps in well under a minute, so a pit stop under green costs most of a lap. Full-course cautions are frequent, and a stop under caution costs much less. The game becomes: stretch your fuel until the yellow comes, and when it comes, be inside your window. F1 had a taste of that on lap 19 in Las Vegas. Oval racing lives on it.
That is the idea of this chapter. The tools you built across this book are not "F1 tools". They are race-strategy and vehicle-dynamics tools, and F1 happens to be where we had free data. Every other series changes some of the inputs: the rules (refuelling, stage breaks, driver changes, energy limits), the physics (two contact patches instead of four, no downforce, a slipstream that dominates) or the randomness (cautions every few dozen laps). Change the inputs and the same optimisation gives a different answer. Our job is to know which inputs moved, and by how much.
There is one honest limit, and we state it up front. The book's data snapshot contains no MotoGP, IndyCar, WEC, NASCAR or Formula E data. So this chapter does three things only:
- It uses F1's own history as a bridge. The 1994–2009 refuelling era sits in the Jolpica lap times, so we can measure what refuelling did to F1 strategy with real data. That tells us a lot about any series that refuels.
- It uses F1 measurements that carry over: the tow in the speed traps, corner radii and lateral acceleration from position data, and energy-limited driving in the 2026 telemetry.
- It uses physics and 🧪 illustrative models, clearly labelled, for everything the data can't reach.
Factual claims about other series stay at the level of what is well established and widely documented, and they are hedged. You will not find a lap record, a fuel-tank capacity or a caution rate for another series in this chapter, because we have no source for one in our reference tables.
🏎️ Fan Track: Read 39.1, 39.2 (skip the code; the charts carry the story), 39.4 and 39.5. The refuelling-era sawtooth (Figure 39.4) and the Las Vegas safety-car stop (📋 in 39.5) are the two things to remember.
📊 Analytics Track: Everything, and run all eight scripts. The stop detector in 39.2 (built and validated against 13,052 recorded stops) is a reusable pattern: infer a missing variable from a footprint, then validate on the years where you have the truth.
🔧 Engineering Track: 39.5 (drafting physics from speed traps), 39.6 (lean angle and corner radius from x/y positions) and 39.7 (lift-and-coast and convex energy cost) are the physics core.
39.1 The transfer test: what any race-strategy model needs
Strip a strategy model down to its skeleton and it has four parts. You have built every one of them in this book.
- A lap-time model. How fast is lap $i$, given the car's state? In F1 we wrote it as base pace plus a fuel term plus a tyre-age term (Chapter 20, Chapter 22).
- A stop-cost model. What does a pit stop cost in time: pit-lane transit, stationary time, out-lap warm-up (Chapter 12, Chapter 34).
- The rules. Which plans are legal: minimum stops, compound rules, tank sizes, stint limits, energy limits (Chapter 28).
- The randomness. Safety cars, weather, retirements, and the opponent (Chapter 14, Chapter 27).
The whole of race strategy, in any series, is:
$$ T_{\text{race}}(\text{plan}) = \sum_{i=1}^{L} t_i(\text{state}_i) \;+\; \sum_{k=1}^{n} C_k \quad \text{subject to the rules,} $$
where $L$ is the race length in laps, $t_i$ is the time of lap $i$, and $C_k$ is the cost of stop $k$.
In plain English: the race time is the sum of every lap plus the sum of every stop, and you get to choose the plan that makes that sum smallest, as long as the plan is legal. For example, the calibrated 2026 F1 profile we use below gives a one-stop race of 57 laps a total of 5,407.8 s. That is 57 laps averaging about 92 s plus 23.6 s for the single stop, plus the fuel and tyre terms.
The lap-time model we use throughout this chapter is deliberately simple:
$$ t_i = t_0 \;+\; s_{\text{fuel}}\, m_i \;+\; d\, a_i \;+\; c\,\max(0, a_i - a_{\text{life}})^2 , $$
where $t_0$ is the lap time on fresh tyres with an empty tank, $m_i$ the fuel mass on board (kg), $s_{\text{fuel}}$ the time cost per kilogram (s/kg), $a_i$ the tyre age in laps, $d$ the linear degradation rate (s per lap of age), and the last term a "cliff" once the tyres pass their useful life $a_{\text{life}}$.
In plain English: a lap is slower when the car is heavy and when the tyres are old, and very much
slower once the tyres are past it. For example, with $s_{\text{fuel}} = 0.035$ s/kg, 50 kg of fuel
costs $0.035 \times 50 = 1.75$ s per lap compared with an empty tank. The 0.035 s/kg figure is the
mid-point of a press estimate in our reference tables: Autosport, 2019, gives 0.3–0.4 s per lap per
10 kg (data/reference/engineering_reference.csv).
📐 Definition: rule profile. A rule profile is the set of rules and physical parameters a race-strategy model needs to price a plan: race length, base lap, stop-cost components, fuel parameters, whether refuelling is allowed, tank size, minimum stops, stint limits, caution hazard, scheduled cautions and so on. In Box Box it is the
RuleProfiledataclass inboxbox/series.py. Two series with the same profile are, for strategy purposes, the same series.
Here is how the profile's knobs move across the series this chapter covers. The table is qualitative on purpose: it says which knob moves, not by how much, because we have no data for these series.
| Series | Lap-time model | Stop cost | Rules that bind | Randomness |
|---|---|---|---|---|
| F1 (2026) | Tyre wear dominant; fuel burns off over the race | Pit lane plus a tyre change | Two dry compounds; no refuelling; energy limits per lap | SC/VSC, weather |
| F1 (1994–2009) | Fuel load set per stint; tyre wear | Pit lane plus refuelling time | Refuelling allowed | SC (VSC did not exist before 2015) |
| Endurance (WEC/Le Mans) | Fuel-tank-limited stints; tyres can run several stints | Refuelling, then tyres, plus a driver change | Driver-time and crew rules; Balance of Performance | Full-course yellows, slow zones, night, reliability |
| Ovals (IndyCar/NASCAR) | Slipstream dominant; tyre wear | A large share of a short lap | Fuel windows; stage breaks (NASCAR) | Frequent cautions |
| MotoGP | Two contact patches; grip from friction far more than downforce; lean angle | Usually no stops in a dry race | Tyre allocation; technical limits | Crashes, flag-to-flag rain changes |
| Formula E | Energy-limited; regeneration | Usually no stops | A fixed energy allowance per race | SC re-plans the energy budget |
🧩 Productive struggle. Before you read 39.2, commit to an answer. Between 1994 and 2009, F1 cars could refuel at pit stops. Since 2010 they cannot. Did F1 drivers make more pit stops per race in the refuelling era, fewer, or about the same? Write down a number for each era (mean stops per classified finisher) and one sentence of reasoning. Then think about what else changed between those eras that could push the number the other way. We'll measure it.
🔄 Check your understanding. Using the lap-time model above, how much slower is a lap with 80 kg of fuel on board than the same lap with 20 kg, everything else equal? Which term of the model would change if the series allowed refuelling?
Answer
$0.035 \times (80 - 20) = 2.1$ s. With refuelling, $m_i$ no longer starts at the whole race's fuel and falls steadily; it resets at each stop to the fuel needed for the next stint. The form of the model doesn't change, only the path of $m_i$ through the race.
39.2 F1's own "other series": the refuelling era, measured
The most useful other series for an F1 analyst is F1 itself, under different rules. From 1994 to 2009
cars could take on fuel during a stop (refuelling was banned 1984–1993 and again from 2010, per
data/reference/history_eras.md). A refuelling-era F1 car is, strategically, a lot like an
endurance prototype or an IndyCar: it carries only the fuel it needs to the next stop, so fuel load
becomes a strategy variable rather than a constant.
The problem is the data. Jolpica has race lap times from 1996, but pit-stop records only from 2011. To count refuelling-era stops we have to infer them.
A stop leaves a footprint
A pit stop costs about 20 seconds or more. That time has to show up somewhere in the lap times: in the lap where the car enters the pit lane, the lap where it leaves, or both. So we look for laps that are much slower than they should be.
"Slower than they should be" needs care. A safety-car lap is slow for everyone, and a slow driver is slow on every lap. So we compare each lap with two things: the field median on that same lap, which removes safety cars and rain, and the driver's own usual offset from that median, which removes their pace.
📐 Definition: lap excess. For driver $j$ on lap $L$: $\text{excess}{jL} = (t - m_L) - \text{off}_j$, where $m_L$ is the field-median lap time on lap $L$ and $\text{off}_j$ is driver $j$'s median of $(t_{jL} - m_L)$ over the race (from lap 2). A lap with excess above a threshold $\tau$ is a stop lap. Consecutive stop laps count as one stop.
# code/01_refuelling_era_stops.py (excerpt)
EXCESS_S = 7.0 # tuned: ~zero mean bias against recorded stops 2011-2026
def infer_stops(lp, excess_s=EXCESS_S):
lp = lp[lp.lap_time_s.notna()].copy()
m = lp.groupby("lap").lap_time_s.median().rename("m") # field median per lap
lp = lp.join(m, on="lap")
lp["rel"] = lp.lap_time_s - lp.m
off = lp[lp.lap >= 2].groupby("driver_ref").rel.median().rename("off") # driver's usual offset
lp = lp.join(off, on="driver_ref")
lp["excess"] = lp.rel - lp.off
flag = lp[(lp.lap >= 2) & (lp.excess > excess_s)].sort_values(["driver_ref", "lap"])
flag = flag.assign(new=flag.groupby("driver_ref").lap.diff().fillna(99) > 1) # merge in/out laps
return flag[flag.new][["year", "round", "driver_ref", "lap", "excess"]]
We chose the threshold on the years where we know the truth. We tried 5, 6, 7, 8, 10 and 12 s against Jolpica's recorded stops for 2011–2026. At 10 s the detector misses too many stops (mean bias −0.16 stops per driver-race); at 7 s the bias is +0.009. Then we validated it:
Validation 2011-2026 (330 races with Jolpica pit records), match within +-1 lap:
inferred stops 13,184 | recorded stops 13,052
precision 0.844 recall 0.867
finisher-level stop counts (n=5,810 classified finishers): exact 0.667, within 1: 0.915, mean bias +0.009 stops
What this means. About 85% of the stops the detector finds are real stops (within a lap), and it finds about 87% of the real ones. For any single driver in any single race it gets the exact count two times in three and is within one stop 92% of the time. For a season average, which is what we need, the errors nearly cancel: the mean bias is +0.01 stops. You can see the season-level agreement in Figure 39.1, where the black ticks are the recorded counts.
⚠️ Common pitfall: trusting a detector on the years you tuned it on. We tuned and validated on 2011–2026 and then applied the detector to 1996–2009. That transfer is an assumption. A refuelling-era stop has extra stationary time, so it should be easier to detect (a bigger spike). That would push the refuelling-era count up a little relative to the truth. We'll come back to this when we read the result. The fix is to report the sensitivity: rerun at another threshold and see whether the conclusion survives.
Result 1: the average number of stops barely changed

📊 Figure (described): Mean inferred pit stops per classified finisher (finishers completing at least 90% of the winner's laps), by season. The refuelling seasons (orange, 1996–2009) sit between about 1.8 and 2.9; the post-2010 seasons (blue) range from 1.6 to 2.9, with black ticks showing the recorded Jolpica counts from 2011. The two eras overlap almost completely.
Era summary:
norefuel mean stops 2.03 (95% CI 2.00-2.05), median 2, n = 6,174 finisher-races; share 0-stop 0.034, 3+ stops 0.290
refuel mean stops 2.15 (95% CI 2.12-2.18), median 2, n = 3,298 finisher-races; share 0-stop 0.005, 3+ stops 0.266
Sensitivity (10 s threshold): mean stops refuelling era 2.06, 2010-2026 1.86
If you predicted that refuelling meant many more stops, the data disagrees. The refuelling era averaged 2.15 stops per finisher against 2.03 since 2010, a difference of about a tenth of a stop, and the median is 2 in both eras. The ranking holds at the stricter 10 s threshold (2.06 against 1.86).
The reason is visible in the chart. The early refuelling years (1996–2002) ran at 1.8–2.1 stops. 2004 was the peak at 2.86. Then, after the ban, the first Pirelli seasons pushed the count right back up: 2.93 in 2011, 2.51 in 2013. The ban on refuelling took away one reason to stop, and high-degradation tyres supplied another. That is the rule-profile idea in action. Stop counts are set by the whole profile, not by one rule.
Two numbers do separate the eras sharply. In the refuelling era only 0.5% of finishers made no stop; since 2010, 3.4% have. Without refuelling, a no-stop race is at least physically possible when the rules allow it. With refuelling, the fuel maths almost always forces a stop.
⚠️ Common pitfall: reading the 2026 number as a strategy choice. 2026 shows 2.27 stops per finisher (2.22 recorded). That is high for a modern season. But 20 of the 21 races in the 2026 snapshot had at least one SC, VSC or red-flag period, and stops under neutralisations are cheap. A high stop count can be a safety-car count in disguise. Before you explain a stop count with tyres, check the race-control feed.
Result 2: the stints changed shape

📊 Figure (described): Distribution of stint lengths, measured as a share of race distance, between inferred stops, for classified finishers. The refuelling-era curve (orange) is narrow and peaked; the modern curve (blue) is flatter, with more very short stints and more long ones. Same median, very different spread.
Stint length as share of race distance (classified finishers, inferred stops):
count mean std min 10% 25% 50% 75% 90% max
No refuelling 2010-2026 18630.0 0.331 0.191 0.013 0.094 0.205 0.306 0.431 0.583 1.0
Refuelling 1996-2009 10332.0 0.319 0.136 0.013 0.148 0.243 0.318 0.388 0.484 1.0
The median stint is about a third of the race in both eras. The spread is what changed. Refuelling stints have a standard deviation of 0.136 race distances; modern stints 0.191. The middle half of refuelling stints lies between 0.243 and 0.388 of the race; the middle half of modern stints spans 0.205 to 0.431. Without refuelling, a stint ends when the tyres say so, and tyre lives vary a lot between compounds and circuits. With refuelling, a stint ends when the fuel runs out, and the fuel plan was set before the race. Fuel is more predictable than rubber.
That is the first transferable lesson. In any series where fuel limits the stint (endurance, IndyCar on most tracks), expect stints to cluster around the tank range. In any series where the tyres limit the stint, expect them to spread out.
🔄 Check your understanding. 1. Why does the detector compare each lap with the field median on that lap rather than with the driver's average lap? 2. The refuelling era has a lower share of 0-stop finishers (0.5% against 3.4%). Give the physical reason.
Answer
- A safety car or a rain shower makes every lap slow, so a driver's lap compared with their own average would look like a stop. Subtracting the field median on that lap removes anything that hit the whole field at once; subtracting the driver's usual offset then removes their own pace.
- With refuelling allowed, teams were not designing cars to carry a full race of fuel. Starting a refuelling-era race with enough fuel to finish would mean carrying a very heavy load for many laps. At the fuel effect we use (0.035 s/kg) that is a large lap-time penalty, so the plan almost always included at least one stop. Without refuelling every car carries the whole race's fuel anyway, so a no-stop run costs only tyre wear (where the rules permit it).
Result 3: the sawtooth, and the sign of the step
Here is the cleanest signature of refuelling, and it falls straight out of the physics. A pit stop changes two things at once:
- fresh tyres make the car faster;
- added fuel makes it heavier, and therefore slower.
Without refuelling, only the first happens, so the laps after a stop should be clearly faster than the laps before it. With refuelling, the two effects fight. If the team adds a lot of fuel, the car can come out slower than it went in.
We measured it. For every inferred stop with three clean green laps on each side, we took the median of the three laps after the out-lap minus the median of the three laps before the in-lap.
1996-2009 (refuelling): median step +0.38 s (95% CI +0.35 to +0.42), n = 6,018; share of stops followed by FASTER laps 0.335
2010-2026: median step -1.21 s (95% CI -1.24 to -1.19), n = 8,220; share of stops followed by FASTER laps 0.913

📊 Figure (described): For each season, the median change in lap time across a pit stop (three clean laps after minus three before), with 95% bootstrap intervals. From 1998 to 2009 the step is positive, peaking at +0.93 s in 2005: the car came out slower. From 2010 every season sits between −0.71 s (2010) and −1.39 s (2013): the car comes out faster.
That is a sign flip in the data, with tight intervals on both sides of the 2009/2010 line. Since 2010, 91% of stops are followed by faster laps; in the refuelling era only a third were. Two seasons deserve a closer look. 1997 has a negative step (−0.21 s); it was also the first year of the Bridgestone–Goodyear tyre war in the reference eras table, and tyre competition could have made fresh sets worth more. Our data cannot test that. 2005 stands out at +0.93 s, well above its neighbours. Exercise E2 asks you to find out from the regulations of the time what made 2005 different; don't take the answer from memory.
You can see the mechanism lap by lap if you put a refuelling-era race next to a modern one at the same circuit:

📊 Figure (described): Lap time minus the driver's own median green lap for the Spanish GP winner, 2006 (Fernando Alonso, Renault, top) and 2024 (Max Verstappen, Red Bull, bottom). Pit and neutralised laps are removed and the dotted lines mark inferred stops. In 2006 each stint gets faster as fuel burns off, then resets to a slower level after the stop. In 2024 each stop produces an immediate drop in lap time.
2006 Barcelona winner Fernando Alonso: inferred stops on laps [18.0, 41.0]; median green lap 77.767 s
stint laps 2-17.0: raw slope -0.085 s/lap (n=14)
stint laps 19.0-40.0: raw slope -0.059 s/lap (n=20)
stint laps 42.0-66: raw slope +0.014 s/lap (n=23)
2024 Barcelona winner Max Verstappen: inferred stops on laps [18.0, 45.0]; median green lap 79.803 s
stint laps 2-17.0: raw slope +0.067 s/lap (n=14)
stint laps 19.0-44.0: raw slope +0.008 s/lap (n=24)
stint laps 46.0-66: raw slope +0.045 s/lap (n=19)
Read the raw slopes. In 2006, Alonso's first two stints get faster at 0.085 and 0.059 s per lap: fuel burning off beats tyre wear. That is the classic sawtooth. In 2024, every one of Verstappen's stints has a positive raw slope: tyre wear beats fuel burn-off, because the fuel burn-off is now spread over the whole race rather than concentrated in one short stint.
⚠️ Common pitfall: the stop lap is off by one. The detector put Verstappen's 2024 stops on laps 18 and 45. Jolpica's pit table records them on laps 17 and 44. Both are right about different things. Jolpica records the in-lap; the biggest time loss often lands on the next lap, because at Barcelona the timing line comes before the pit box and the stationary time is counted in the lap that starts as the car crosses the line in the pit lane. When you match inferred and recorded events, allow ±1 lap. We did.
Result 4: what a refuelling stop cost
The lap-excess idea gives us one more measurement: the total cost of a stop, which is the excess summed over the in-lap and out-lap. This works in any era, because it needs only lap times.
refuel : median race stop cost 24.17 s (95% CI 23.69-24.61), races = 239
norefuel : median race stop cost 21.63 s (95% CI 21.45-22.02), races = 349
difference (refuel - norefuel): +2.54 s per stop
Check vs canonical pit loss, 2023-2026 races with >= 3 green stops (n = 82):
median canonical pit loss 22.26 s; median lap-excess estimate 21.81 s; median difference -0.37 s; correlation 0.88
First the check: on the 82 races of 2023–2026 where the toolkit's canonical green-flag pit loss rests on at least three stops, the lap-excess estimate tracks it closely (correlation 0.88, median difference −0.37 s). So the method measures what we think it measures.

📊 Figure (described): For each season, the median across races of each race's median green-flag stop cost (in-lap plus out-lap excess), with the interquartile range across races. The refuelling seasons sit visibly higher than the post-2010 ones; the gap is about 2.5 s overall and 1.9 s within the same circuits.
A refuelling-era stop cost about 2.5 s more. On the 16 circuits that hosted races in both 2004–09 and 2023–26, the median within-circuit difference is +1.89 s. That number bundles several things. One is the extra stationary time while fuel went in. Others are pit-lane length changes, pit-lane speed limits that differ by year and circuit, and an out-lap on a heavier car. Imola, for example, comes out 6.15 s cheaper in 2004–09 than in 2023–26, which says more about the venue than about refuelling. So treat +2.5 s as "refuelling stops were somewhat dearer", not as a refuelling rate.
🔍 Why this works: fuel is a degradation you can switch off. Without refuelling, a car starts with the whole race's fuel, $F = L f$ (laps times kilograms per lap), and burns it off steadily. With refuelling and $n$ stops, it carries only one stint's fuel, which averages half a stint's worth. Sum the fuel penalty over all laps:
$$ > \text{no refuel: } s_{\text{fuel}} f \frac{L^2}{2}, \qquad > \text{refuel, } n \text{ equal stops: } s_{\text{fuel}} f \frac{L^2}{2(n+1)} . > $$
That has exactly the same form as the tyre-wear penalty for $n$ stops, $d L^2 / (2(n+1))$. With refuelling, fuel behaves like extra tyre degradation of $s_{\text{fuel}} f$ seconds per lap, and more stops reduce it in the same way. With $s_{\text{fuel}} = 0.035$ s/kg and an assumed $f = 1.75$ kg/lap, that is $0.035 \times 1.75 = 0.061$ s per lap, slightly more than the 2026 MEDIUM/HARD tyre slope we measured (0.052 s/lap). Refuelling roughly doubles the "degradation" the strategist is fighting. That is why it pulls the optimum towards more stops, and why the stint length becomes fuel-dominated.
39.3 Change one rule: re-running Box Box
Now we can do what this chapter's Box Box module is for: take the F1 profile, change one rule, and watch the optimum move.
First, calibrate. Everything here comes from the 2026 races in the snapshot:
Calibration from the 2026 races in the snapshot (21 of 23 rounds):
green-flag pit loss: median of race medians 23.21 s (IQR 21.71-25.05), races with >= 3 green stops = 18
stationary time (OpenF1 stop_s, 1-10 s): median 2.90 s, n = 557
MEDIUM/HARD degradation slope (fuel-corrected, toolkit defaults): median 0.052 s/lap, n = 644 stints
race length: median 57 laps
The stationary time comes from OpenF1's stop_s, which is populated for about a third of 2026 race
stops (README §5); we keep values between 1 and 10 s. The degradation slope uses the toolkit's default
fuel correction (an ASSUMPTION of 100 kg and 0.03 s/kg), so it is the slope of fuel-corrected clean
laps on tyre age.
# code/04_rule_profiles.py (excerpt)
from boxbox import series
p26 = series.adapt(series.F1_2026, name="F1-2026 (calibrated)",
pit_lane_loss_s=round(pl.pit_loss_s.median() - st.median(), 2), # lane part
tyre_change_s=round(st.median(), 2), # stationary part
deg_s_per_lap=round(dmh.median(), 3), race_laps=int(laps26.median()))
pref = series.adapt(p26, name="Same car, refuelling allowed", refuel=True, min_stops=0)
o26, oref = series.optimise(p26, 5), series.optimise(pref, 5)
F1-2026 (calibrated):
n_stops stop_laps race_time_s delta_s
1 1 [28] 5407.5 0.0
2 2 [19, 38] 5416.6 9.1
3 3 [14, 28, 43] 5432.8 25.3
Same car, refuelling allowed:
n_stops stop_laps race_time_s delta_s
0 0 [] 5456.4 106.1
1 1 [29] 5358.9 8.7
2 2 [19, 38] 5350.3 0.0
3 3 [14, 28, 43] 5358.2 7.9
Refuelling makes the best plan 57.2 s faster over 57 laps

📊 Figure (described): Race time relative to the best plan under either rule set, by number of stops. Under 2026 rules (blue) the curve rises from its minimum at one stop. With refuelling allowed (orange) the whole curve drops and its minimum moves to two stops; one and three stops are 8.7 s and 7.9 s worse. The refuelling rate (12 kg/s) and fuel use (1.75 kg/lap) are 🧪 assumptions.
🧪 Illustrative model: parameters are assumptions chosen to be plausible for a current F1 car, not team data. Pit loss, stationary time and degradation are measured; the fuel effect is a sourced press estimate; refuelling rate and fuel per lap are assumed.
One rule changed, and the best plan went from one stop to two, 57.2 s faster. Is that answer fragile? The refuelling rate is a pure assumption, so we vary it, along with the fuel effect:
Best stop count with refuelling, by assumed refuel rate (kg/s) and fuel effect (s/kg):
0.025 s/kg 0.03 s/kg 0.035 s/kg 0.04 s/kg
6 kg/s 2 2 2 2
9 kg/s 2 2 2 2
12 kg/s 2 2 2 2
15 kg/s 2 2 2 2
Two stops wins in every cell. That is a robust conclusion in the sense of Chapter 27: it doesn't depend on the parameters we know least about. It also matches the refuelling-era data (median 2 stops). The model and history agree for the right reason.
Now the uncomfortable half. Under 2026 rules the model says one stop. What did the 2026 field actually do?
2026 classified finishers' recorded stop counts (Jolpica, n = 368):
1 stops: 0.386, 2 stops: 0.334, 3 stops: 0.190, 4 stops: 0.049, 5 stops: 0.024, 6 stops: 0.011, 7 stops: 0.005
2026 races with at least one SC/VSC/red period: 20 of 21
Fewer than two in five finishers (39%) did the "optimal" one stop; the other 61% stopped two or more times. Part of the gap is the model's simplicity: one compound, linear wear, no compound offset (a SOFT is faster than a HARD when new), no traffic. A bigger part is that the model is a clean-race model and 2026 has almost no clean races. That is the Las Vegas lesson from the hook. Section 39.5 shows what happens when the randomness becomes the main event.
📋 Try it: Build the strategy. Using
series.adapt, build the 2026 profile with refuelling allowed and a two-compound rule (min_stops=1). Then halve the pit-lane loss. How many stops is optimal now, and how much faster is the race? Predict the direction before you run it: does a cheaper pit lane favour refuelling strategies more or less than tyre-only strategies?
Reveal
A cheaper stop moves both optima towards more stops, but the refuelling profile moves further, because each extra refuelling stop removes both tyre and fuel penalty. Run
series.optimise(series.adapt(pref, min_stops=1, pit_lane_loss_s=pref.pit_lane_loss_s / 2), 6)and compare with the same call onp26. Report the stop counts and the time gap from your own output.🔄 Check your understanding. The calibrated 2026 model and the refuelling model share every parameter except refuelling. Why does the 0-stop plan appear only for the refuelling profile?
Answer
The 2026 profile has
min_stops=1, our stand-in for the two-compound rule, so a 0-stop plan is illegal andrace_timereturns infinity. The refuelling profile setsmin_stops=0. Even so, 0 stops is the worst refuelling plan (105.4 s off the best), because the car would carry the full race's fuel and get no fresh tyres.
39.4 Endurance racing: stints, tyres that outlast fuel, and the clock
Endurance racing (the World Endurance Championship, Le Mans and similar series) stretches the same problem over six, twelve or twenty-four hours. Several features are well established and widely documented:
- cars refuel, and the fuel tank sets the natural stint length;
- drivers share a car and rotate, under rules that limit how long any one driver may drive;
- tyres can be kept for more than one fuel stint ("double-stinting" or "triple-stinting");
- Balance of Performance (BoP) adjusts cars of different designs (power, weight, energy) so that they race closely;
- races run through the night, and reliability is a strategic variable: a car that stops for ten minutes of repairs can lose more than any strategy can gain.
We have no endurance data, so everything below is a 🧪 model. But the structure of the problem is the same race-time sum, and Box Box can answer the most characteristic endurance question: how often should you change tyres?
The multi-stint decision
In F1 the tyre change is the reason for the stop. In endurance racing the fuel is the reason for
the stop, and the tyre change is an optional extra. If tyres go on at the same time as fuel, as in
F1's refuelling era, a tyre change is nearly free, so you take tyres every time. But many endurance
rule sets restrict how many crew may work and whether tyres can be changed while fuel goes in. Then a
tyre change adds stationary time to the refuelling time. In Box Box that is
parallel_service=False.
Now there's a trade. Changing tyres at every stop costs $n$ tyre changes. Keeping each set for $k$ fuel stints saves most of those, but each set runs $k$ times as many laps, so wear costs more. With linear wear $d$, stint length $S$ laps and race length $L$, the total wear penalty is roughly
$$ W(k) \approx d\,\frac{kS}{2}\,L , $$
and the tyre-change cost is roughly $\frac{n}{k}\,t_{\text{tyre}}$, where $n$ is the number of fuel stops and $t_{\text{tyre}}$ the extra stationary time per change.
In plain English: keeping tyres longer saves stationary time and costs lap time; the best $k$ balances the two. For example, with $d = 0.02$ s/lap, $S = 25$ laps and $L = 200$ laps, each step up in $k$ adds about $0.02 \times 12.5 \times 200 = 50$ s of wear. With seven fuel stops and 20 s per tyre change, going from $k = 1$ to $k = 2$ saves about $7 \times 20 / 2 = 70$ s of stationary time. So double-stinting should just win. Box Box agrees:
default endurance profile, tyres every 1 stop(s): 7 stops, 21805.2 s
default endurance profile, tyres every 2 stop(s): 7 stops, 21775.0 s
default endurance profile, tyres every 3 stop(s): 7 stops, 21791.7 s
default endurance profile, tyres every 4 stop(s): 9 stops, 21814.2 s
Double-stinting is 30.2 s faster than fresh tyres every stop over this 200-lap illustrative race. The answer depends on two numbers, the wear rate and the tyre-change time, so we map it:

📊 Figure (described): The best tyre-change interval (in fuel stops per set of tyres) for the illustrative endurance profile, across degradation rates (rows) and tyre-change times (columns). With fast wear or quick tyre changes, fresh tyres every stop wins (blue). As wear falls and tyre changes get slower, the optimum moves to double (green), triple (yellow) and quadruple (orange) stints.
🧪 Illustrative model: the endurance profile (200 laps of 105 s, a 75 kg tank, 2.6 kg/lap, 2.5 kg/s refuelling, 20 s tyre change, 6 s driver change, 0.02 s/lap wear) is an assumption chosen to show the structure of the decision. It is not data from any endurance series.
What carries over from F1 is the method: fit a degradation slope per compound and condition (Chapter 22), measure the service times, and let the optimiser draw the boundary. What changes is the variable you optimise: in endurance racing it is the tyre-change interval, not the stop count, because the stop count is fixed by the tank.
Driver changes, night and reliability
Three endurance features change the model in ways Box Box handles only partly:
- Driver rotation. Driver changes add stationary time (
driver_change_s), and minimum and maximum driving-time rules create a second scheduling problem that sits on top of fuel stints: who drives which stints. That is an assignment problem, and a natural extension ofseries.py(exercise E1). A driver's lap-time distribution also matters more when three people share a car. The driver noise model from Chapter 9 is the right starting point, applied per driver. - Night. Cooler track and air temperatures change tyre behaviour (see Chapter 36) and visibility changes driver performance. In a model, that is a time-varying base lap and degradation rate.
- Reliability. Over 24 hours, a hazard rate that would be negligible in a 90-minute F1 race starts to matter. The DNF-hazard machinery of Chapter 37 transfers directly. In endurance it is joined by a repair-time distribution: a stop to fix a problem is a long pit stop, not a retirement.
Balance of Performance: a regulation you can estimate
Balance of Performance is the endurance world's answer to "different cars, same race". The
organisers adjust parameters such as weight and power per car model so that lap times converge. For
an analyst this is a measurement problem: how far apart are the cars after BoP, and in which
conditions? The tools are the ones from
Chapter 21 and
Chapter 24: race
pace with uncertainty intervals, controlling for drivers and conditions. F1's nearest equivalent is
the aero-testing sliding scale in the cost-cap regulations (70–115% of baseline, cost_cap.csv),
which is a performance-balancing rule applied to development rather than to the race car.
🔄 Check your understanding. In the heat map, why does a faster tyre change (moving left) push the optimum towards changing tyres at every stop?
Answer
Because the cost of a tyre change is what multi-stinting saves. If a change costs only 5 s, skipping it saves little, while running a set for twice as many laps costs a lot of wear. Fresh tyres every stop wins. If a change costs 40 s, skipping it saves a lot and the wear penalty is worth paying.
39.5 Ovals: IndyCar, NASCAR, the draft and the yellow flag
Oval racing changes two of the four ingredients drastically: the physics (the slipstream becomes the main source of overtakes and of fuel saving) and the randomness (full-course cautions are frequent, and they reset the race).
The draft, measured in F1's speed traps
When a car runs in another's wake, it meets slower-moving air and its aerodynamic drag falls. This is the slipstream or tow (in oval racing, the draft). On a long straight the follower gains speed. In oval pack racing, cars run nose-to-tail and the effect shapes everything from overtaking to fuel consumption. It is widely reported that a car close behind can also reduce the drag on the car ahead, by filling the low-pressure wake behind it. We can't measure that second effect with our data, so we note it and move on.
We can measure the first. OpenF1 gives a speed-trap speed (st_speed) on every lap, and the
timing gap to the car ahead. For every driver in every race, we compare trap speeds when following
with the same driver's trap speeds in clean air (more than 3 s behind). Using the same driver in the
same race removes car, engine mode, wing level and weather. The race leader is left out: its
interval is recorded as 0, which means "no car ahead", not "right behind one".
# code/06_slipstream_speed_trap.py (excerpt)
lp["gap_start"] = lp.groupby(["session_key", "driver_number"]).interval.shift(1) # gap entering the lap
ok = (lp.is_clean & lp.st_speed.notna() & lp.gap_start.notna() & (lp.gap_start > 0) # leader: interval 0
& (lp.rainfall.fillna(0) == 0) & lp.compound.isin(["SOFT", "MEDIUM", "HARD"]))
d = lp[ok].copy()
ref = d[d.gap_start > 3].groupby(["session_key", "driver_number"]).st_speed.agg(["median", "size"])
ref = ref[ref["size"] >= 5]["median"].rename("ref") # own clean-air trap speed, >= 5 laps
d = d.join(ref, on=["session_key", "driver_number"]).dropna(subset=["ref"])
d["gain"] = d.st_speed - d.ref # km/h gained when following
Clean dry race laps with a trap speed and a gap: 60,074 (90 races, 1,401 driver-races)
era band n mean_gain_kmh lo hi
2023-2025 (DRS within 1 s) 0-0.5 3156 9.20 8.72 9.72
2023-2025 (DRS within 1 s) 0.5-1 7983 10.52 10.23 10.78
2023-2025 (DRS within 1 s) 1-1.5 4643 2.98 2.73 3.23
2023-2025 (DRS within 1 s) 1.5-2 3977 0.99 0.78 1.20
2023-2025 (DRS within 1 s) 2-3 5886 0.55 0.41 0.69
2023-2025 (DRS within 1 s) 3-5 7370 0.24 0.13 0.35
2023-2025 (DRS within 1 s) 5-10 7302 -0.09 -0.22 0.04
2026 (no DRS; Overtake within 1 s) 0-0.5 1008 4.21 3.14 5.23
2026 (no DRS; Overtake within 1 s) 0.5-1 2105 5.12 4.57 5.69
2026 (no DRS; Overtake within 1 s) 1-1.5 1358 2.17 1.58 2.75
2026 (no DRS; Overtake within 1 s) 1.5-2 972 1.08 0.52 1.59
2026 (no DRS; Overtake within 1 s) 2-3 1444 0.69 0.29 1.07

📊 Figure (described): Mean speed-trap gain relative to the same driver's clean-air median, by the gap to the car ahead at the start of the lap, for 2023–2025 (DRS available within 1 s, blue) and 2026 (no DRS; the Overtake energy boost within 1 s, orange). Inside one second the gain is large, 9–11 km/h with DRS and 4–5 km/h in 2026. Between one and three seconds, where neither DRS nor Overtake applies, both eras show the same small, steadily shrinking tow: about 1–3 km/h.
Three readings:
- The tow alone is small at F1 following distances. Between 1 and 2 s behind in 2023–2025, the mean gain is 2.06 km/h on a median trap speed of 302 km/h, which is 0.68%.
- Most of the close-range gain in F1 is a rule, not the air. The jump inside one second is DRS (2023–2025) or Overtake (2026). In 2026 the in-one-second gain roughly halves, while the 1–3 s tow is the same in both eras. That is what you'd expect if the tow is physics and the extra gain is regulation. (These are per-lap means by gap band. The book's standard figure, which compares each driver-race's trap speed within 1 s of the car ahead with clean air, is +14.0 km/h for 2023–2025 and +8.5 km/h for 2026; it tells the same story at a larger size.)
- The 0–0.5 s band gains slightly less than 0.5–1 s (9.2 against 10.5 km/h in 2023–2025, 4.2 against 5.1 km/h in 2026). A plausible reading is that cars that close are often already alongside, or have been held up in the previous corner's dirty air, so they reach the trap with less exit speed. The timing data are consistent with that, but they can't prove it. Leaving the leader in would have exaggerated the dip: its interval of 0 lands it in this band, and with no car ahead it gains nothing.
Now turn the speed gain into a drag change. On a straight where the car is limited by power, drive power balances drag power:
$$ P = \tfrac{1}{2}\rho\, C_D A\, v^3 \quad\Rightarrow\quad \frac{\Delta v}{v} \approx -\frac{1}{3}\,\frac{\Delta (C_D A)}{C_D A}. $$
In plain English: at top speed, a 3% cut in drag buys about 1% more speed, because drag power grows with the cube of speed. For example, the tow's 0.68% speed gain at 1–2 s implies a drag reduction of about $3 \times 0.68\% \approx 2.0\%$, if the car is power-limited at the trap.
Tow only (2023-2025, 1-2 s behind): mean gain 2.06 km/h at a median trap speed of 302.0 km/h -> 0.68% speed -> implied drag reduction about 2.0% (if power-limited)
An F1 car 1–2 s behind is 50–100 m or more back at these speeds. Oval racers draft at a few car lengths, where the wake is much stronger. So the oval lesson is about the shape: the tow grows steeply as the gap closes, as in Figure 39.9. Where it is large enough to matter, everything else in the strategy reorganises around staying in it.
The tow also varies a lot between F1 circuits:
Mean tow gain by circuit (km/h, 1-2 s behind, 2023-2025 races with >= 40 such laps), lowest and highest five:
vegas -6.54
spa -4.40
zandvoort -0.25
monaco 0.14
imola 0.25
...
losail 4.58
silverstone 5.27
villeneuve 5.48
jeddah 5.90
shanghai 6.35
Las Vegas and Spa come out negative. A car following at 1–2 s through the preceding corners may exit slower in dirty air, and if the trap sits where exit speed still matters more than drag, the dirty-air loss outweighs the tow. That reading is plausible, not proven. It's also the oval racer's other problem, aero push: the car behind loses front downforce in the leader's wake (see Chapter 35 for F1's version).
📺 On the broadcast: When an oval commentator says a driver is "saving fuel in the draft", the physics is this section's equation. Less drag means less power is needed to hold the same speed, so less fuel is burned per lap. The same idea shows up in F1 when a driver "sits in the tow" before a stop: the 1–3 s band in Figure 39.9 is a free 1–3 km/h, and on a long straight that is a little less work for the power unit.
🔄 Check your understanding. A car reaches a speed trap at 300 km/h in clean air and is power-limited there. Following another car cuts its drag area by 6%. Roughly what trap speed should it show, and why is the gain smaller than 6%?
Answer
$\Delta v / v \approx -\tfrac{1}{3} \times (-6\%) = +2\%$, so about 306 km/h. At a power limit, drag power grows with $v^3$, so a given cut in drag buys only a third as much in speed.
Cautions: the variable that rewrites the plan
On an oval, the second big change is the randomness. A full-course caution (yellow) neutralises the race: the field slows behind a pace car, the gaps close up, and a pit stop under caution costs far less than one under green. F1 has the same mechanism with its SC and VSC; the difference is how often it happens. Here is F1's own hazard:
F1 2023-2026: 62 SC periods in 91 races / 5,484 race laps -> 0.0113 per lap (1.13 per 100 laps)
F1 2023-2026: 57 VSC periods in 91 races / 5,484 race laps -> 0.0104 per lap (1.04 per 100 laps)
SC or VSC combined: 0.0217 per lap; races with >= 1 SC or VSC: 0.692 (95% CI 0.591-0.778)
by season (SC+VSC periods per 100 laps): 2023: 1.96, 2024: 1.52, 2025: 2.08, 2026: 3.23
So F1 averages 2.17 neutralisation periods per 100 race laps across 2023–2026, and 2026 runs higher at 3.23. Ovals are widely described as having frequent cautions, but we have no data for them, so instead of quoting a figure we sweep the hazard and see when it changes the decision.
The decision is the oval strategist's core question. Do you pit on a fixed schedule, or do you stretch your fuel and pit opportunistically when a caution comes?
- Fixed: stop on planned laps (here 50, 100 and 150 in a 200-lap race) and add only the fuel needed to reach the next planned stop. The car is light, but its stops land under green unless you're lucky.
- Opportunistic: run, and when a caution starts, pit if you are inside your fuel window (here, if the tank is below 30% and you can't finish on what you have). Otherwise run until the tank forces a stop. You fill the tank each time, because you can't know when the next yellow comes, so you carry more fuel.
# code/05_cautions_and_ovals.py (excerpt)
for r in rates: # caution hazard per green lap
p = series.adapt(oval, caution_rate=r)
fx = series.simulate_cautions(p, "fixed", n_runs=1500, seed=7)
op = series.simulate_cautions(p, "opportunistic", n_runs=1500, seed=7) # same seed: paired
d = op - fx
Opportunistic minus fixed (s; negative = opportunistic faster), 1,500 paired runs per hazard:
rate fixed_mean opp_mean diff_mean diff_p10 diff_p90 opp_wins
0.000 8402.600 8402.388 -0.212 -0.212 -0.212 1.000
0.010 8725.783 8720.338 -5.445 -19.564 1.588 0.832
0.020 9024.891 9014.813 -10.077 -25.625 5.019 0.833
0.022 9074.741 9063.905 -10.836 -27.006 4.236 0.837
0.030 9308.178 9293.781 -14.397 -34.930 3.091 0.859
0.040 9567.872 9550.844 -17.029 -39.417 4.213 0.859
0.060 10041.449 10020.834 -20.615 -42.486 3.158 0.857

📊 Figure (described): The paired difference in race time (opportunistic minus fixed) as the caution hazard rises from 0 to 6 per 100 green laps, from 1,500 simulated races per hazard. At zero cautions the two policies tie. As cautions become more frequent, the mean advantage of pitting under caution grows to about 21 s, though in roughly one race in seven the fixed plan still wins. The dashed line marks F1's measured 2023–2026 SC+VSC rate (2.17 per 100 laps).
🧪 Illustrative model: the oval profile (200 laps of 40 s, a 60 kg tank at 1.1 kg/lap, a 28 s green pit-lane loss cut to 35% under caution, five-lap cautions) is an assumption chosen to be plausible in structure, not data from any oval series.
Read it the way a strategist would. With no cautions the policies tie (−0.2 s): stretching to a 55-lap stint and running three equal stints amount to the same thing. At F1's own hazard, pitting under caution is worth 10.8 s on average and wins 84% of paired races. At six cautions per 100 laps it's worth 20.6 s. The 10th–90th percentile band always crosses zero on the upper side: the opportunistic policy is better on average, not in every race. In the races where it loses, the caution came at the wrong moment, usually just before the window opened, and a fixed-schedule car got its stops in cheaply anyway.
Stage racing: when the yellow is scheduled
NASCAR splits its races into stages, and the end of each stage brings a caution. A random caution
is something you react to. A scheduled one is something you plan around. Box Box's
OVAL_STAGES profile adds stage-end yellows after laps 45 and 95 (illustrative lengths):
Stages end on laps (45, 95) (5-lap yellow each), random hazard 0.0:
fixed plan inside the stage yellows [50, 100, 150]: 8715.3 s
fixed plan just before them [44, 94, 147]: 8763.6 s (+48.3 s)
opportunistic: 8729.3 s (+13.9 s)
Stages end on laps (45, 95) (5-lap yellow each), random hazard 0.02:
fixed plan inside the stage yellows [50, 100, 150]: 9288.7 s
fixed plan just before them [44, 94, 147]: 9330.6 s (+41.9 s)
opportunistic: 9297.1 s (+8.4 s)
The same three-stop plan is worth 48.3 s depending on whether its stops land inside the stage yellows or a lap before them. And with predictable yellows, the fixed plan beats the opportunistic one by 14 s (8 s with random cautions added), because it can carry exactly the fuel it needs. Predictable neutralisations reward planning; random ones reward flexibility. F1 has seen the predictable kind too: a pit window opened by a VSC that everyone could see coming was worth planning around.
📋 Try it: Call the pit stop. 2026 Las Vegas Grand Prix, lap 19. You are on the pit wall for the leader. The data you have: - 50-lap race; your driver is on SOFT tyres with 21 laps on them (OpenF1
tyre_age21 at lap 19). - The clean-race model, calibrated on 2026 (23.6 s green pit loss, 0.052 s/lap wear), wants one stop on lap 25. - Race control has just deployed the safety car. - The field's 2023–2026 neutralisation hazard is 2.17 per 100 laps, so the chance of another SC or VSC in the remaining 31 laps, at a constant hazard, is about $1 - (1 - 0.0217)^{31} \approx 49\%$.Decision: box now under the safety car, or stay out and stop on lap 25 as planned?
Reveal
The timing data show that Verstappen boxed on lap 19, as did Norris and Piastri, and 16 of the race's 23 stops came on that lap. Verstappen won with a single stop. The arithmetic supports it. Six laps early costs little: in the calibrated clean-race model, stopping on lap 19 instead of lap 25 costs just 1.87 s (
project_checkpoint.py), because the one-stop curve is flat near its optimum. The stop under the SC costs far less than 23.6 s, because the field is crawling and the gaps close anyway. And staying out means betting on a ~49% chance of a second neutralisation in the right window to get the same discount, while everyone behind takes fresh tyres for free. This is the oval rule in F1 clothing: when the yellow comes and you're in the window, take it.🔄 Check your understanding. Why does the opportunistic policy fill the tank at every stop, while the fixed policy adds only what it needs to reach its next planned stop? What does that cost the opportunistic car on a race with no cautions?
Answer
The opportunistic car doesn't know when the next caution will come, so it keeps the maximum range to be able to wait for one. The fixed car knows exactly when it will stop next. Extra fuel is extra mass, and mass costs lap time ($s_{\text{fuel}}$ per kg per lap). With no cautions, the opportunistic car carries more fuel on average. In our illustrative oval that cost is roughly offset by its longer, fewer-lap stints, which is why the two tie at zero hazard (−0.2 s).
39.6 MotoGP: two contact patches and no wings to lean on
A motorcycle changes the physics more than any other series in this chapter. Several things are well established. A racing motorcycle corners by leaning. It has two contact patches, not four, and much smaller ones. Downforce plays a far smaller role than on an F1 car. And acceleration and braking are limited not only by grip but by the bike pitching over: a wheelie under power, or the rear wheel lifting under braking. MotoGP teams have added aerodynamic devices in recent years, but the basic physics of a leaning, two-wheeled vehicle still sets the limits, and that physics we can write down.
Lean angle from first principles
Treat the bike and rider as a single mass with a point contact, in a steady turn of radius $R$ at speed $v$. The forces at the contact patch are the vertical load $mg$ and the lateral friction force $m v^2 / R$. For the bike not to fall in or out, their resultant must pass through the centre of mass, so the lean angle $\theta$ from vertical satisfies
$$ \tan\theta = \frac{v^2}{gR} = \frac{a_{\text{lat}}}{g}. $$
In plain English: the lean angle is set by the lateral acceleration in g. Every extra g of cornering needs a steeper lean. For example, 1 g of lateral acceleration needs $\arctan(1) = 45°$; 1.2 g needs $50.2°$.
Without downforce, the friction limit is $a_{\text{lat}} \le \mu g$, where $\mu$ is the tyre's friction coefficient. So the maximum lean angle is set by the tyres:
$$ \theta_{\max} = \arctan \mu, \qquad v_{\max}(R) = \sqrt{\mu g R}. $$
In plain English: a bike without downforce can never corner harder than its tyres' friction coefficient in g, and it reaches that limit at a lean of arctan μ. For example, with an assumed $\mu = 1.4$, $\theta_{\max} = 54.5°$ and a 50 m radius corner allows $\sqrt{1.4 \times 9.81 \times 50} = 26.2$ m/s, or 94 km/h.
🧪 Illustrative model: friction coefficients of 1.2–1.6 are assumptions for illustration. We have no motorcycle tyre data; real racing tyres vary with temperature, load, compound and lean.
An F1 car breaks that limit with downforce. The vertical load becomes $mg + F_{\text{down}}$, and $F_{\text{down}}$ grows with $v^2$ (Chapter 3), so the faster the corner, the further the car can go beyond $\mu g$.
What F1's corners would ask of a bike
We can measure F1 corners directly. In 2026 qualifying, OpenF1 archives each car's position (x, y) as well as its speed (for rounds 1–8, and part of round 9, in our snapshot). Around each corner's speed minimum we take the positions of the six fastest laps, fit a circle by least squares, and read off the radius. Lateral acceleration is then $v^2/R$.
# code/07_lean_angle_physics.py (excerpt)
def fit_circle(x, y):
"""Algebraic (Kasa) least-squares circle fit; returns radius and rms residual (m)."""
A = np.c_[2 * x, 2 * y, np.ones_like(x)]
b = x ** 2 + y ** 2
(cx, cy, c), *_ = np.linalg.lstsq(A, b, rcond=None)
r = np.sqrt(c + cx ** 2 + cy ** 2)
return r, np.sqrt(np.mean((np.hypot(x - cx, y - cy) - r) ** 2))
# positions within +-30 m of path of the apex (in time: +-30/v s), pooled over six laps;
# x, y are in decimetres in OpenF1, so divide by 10
Kept 30 of 32 corners (fit rms < 15% of radius, radius < 600 m, < 6 g)
lateral g at apex: median 2.58, range 0.96-4.34
lean angle a point-contact bike would need for that lateral g: median 68.8 deg, max 77.0 deg
no-downforce limit at mu = 1.2: lateral 1.2 g, lean arctan(mu) = 50.2 deg; F1 apex speed / no-downforce speed: median 1.47
no-downforce limit at mu = 1.4: lateral 1.4 g, lean arctan(mu) = 54.5 deg; F1 apex speed / no-downforce speed: median 1.36
no-downforce limit at mu = 1.6: lateral 1.6 g, lean arctan(mu) = 58.0 deg; F1 apex speed / no-downforce speed: median 1.27
Two corners failed the quality checks. Monaco's slowest corner (the circle fit's residual was 26% of its radius, because a hairpin isn't one circular arc) and one Albert Park corner (6.82 g at 219.5 km/h) were dropped. The second is above every figure in our engineering reference table, so we treat it as a fitting artefact, most likely a fast direction change that is not a single arc.

📊 Figure (described): Apex speed against fitted corner radius (log scale) for 30 corners at five 2026 qualifying sessions, with the maximum cornering speed of a vehicle without downforce at μ = 1.2 (dotted) and μ = 1.6 (dashed). Slow, tight corners sit close to the no-downforce curves; the faster the corner, the further above them the F1 points lie, because downforce grows with speed.
The pattern is the physics of downforce in one picture. In the tightest corners (Suzuka's slowest at 75 km/h on a 25.2 m radius, 1.76 g; Monaco's at 60.5 km/h on 24.9 m, 1.16 g) the F1 car is close to what friction alone allows. In faster corners it pulls away: the Red Bull Ring's fastest speed minimum, 208.5 km/h on a 78.7 m radius, is 4.34 g. Our engineering reference table quotes "sustained forces of around 4–5g" in fast corners (Formula1.com, 2026), so the method lands in the right range. And these are corners with a speed minimum; the very fastest bends (taken without a clear minimum) don't appear in our sample.
A point-contact bike matching F1's median corner (2.58 g) would need a lean of 68.8°, and 77° for the Red Bull Ring corner. Neither is possible without downforce, because the tyres give out at arctan μ: 50–58° for our assumed μ range. Bikes take F1-style corners 1.3–1.5 times slower at the apex (the ratios in the output), and the difference is all downforce.
🔍 Why this works: a wide tyre makes the bike lean further than the physics angle. The formula $\tan\theta = a/g$ gives the angle of the line from the contact patch to the centre of mass. A real motorcycle tyre has a rounded crown of radius $t$, so as the bike leans the contact patch rolls out towards the tyre's shoulder. With the centre of mass at height $h$ (upright), the bike's own lean $\varphi$ must satisfy
$$ > \tan\theta = \frac{(h - t)\sin\varphi}{t + (h - t)\cos\varphi}. > $$
With 🧪 $h = 0.6$ m and $t = 0.1$ m, the 50.2° physics angle (μ = 1.2) needs $\varphi = 59.0°$ of actual lean; 54.5° (μ = 1.4) needs 63.8°; 58.0° (μ = 1.6) needs 67.8°. That is why photographs of racing motorcycles show the bike leaning further than the friction coefficient alone would suggest: the tyre's width adds most of ten degrees. (Solve it numerically: exercise B5.)
Pitch-over: the limit F1 doesn't have
An F1 car under hard braking is limited by grip, which downforce multiplies; our reference table quotes up to about 6 g of braking deceleration (Formula1.com, 2026). A motorcycle hits a different wall first. Take moments about the front contact patch under braking deceleration $a$: the bike stays on its rear wheel only while $m a h \le m g\, c$, where $h$ is the centre-of-mass height and $c$ the horizontal distance from the front contact patch to the centre of mass. So
$$ a_{\max,\text{brake}} = g\,\frac{c}{h}, \qquad a_{\max,\text{accel}} = g\,\frac{b}{h}, $$
with $b$ the distance from the rear contact patch for the wheelie limit under acceleration.
In plain English: a bike can't brake or accelerate harder than the ratio of its wheelbase geometry to its centre-of-mass height, however good the tyres are. For example, with 🧪 $b = c = 0.7$ m and $h = 0.6$ m, both limits are $0.7/0.6 = 1.17$ g. Racing motorcycles are designed long and low, and they use electronic wheelie control, a well-documented feature of modern racing bikes, to live right on that edge.
What transfers and what doesn't
- Transfers: distance-aligned speed traces and delta-time (Chapter 23), braking-zone extraction (Chapter 7), corner classification from speed minima, the friction-ellipse view of tyre use (Chapter 5). On a bike the ellipse is unforgiving: at full lean almost all the tyre's grip is used laterally, so the rider must "pick the bike up" before applying full power. That's the friction ellipse turned into a riding technique.
- Changes: with two contact patches, each tyre carries a larger share of the work, and at lean it works on its shoulder, not its centre. Motorcycle tyres are widely reported to be built with different compounds across the tread, so that the shoulder used in a circuit's dominant corner direction is matched to that load. The F1 notion of one compound per set doesn't carry over.
- Strategy: a dry MotoGP race normally has no pit stops, so the strategy is in tyre choice and tyre management (how hard to push early), not stop timing. The rule set does allow riders to change bikes when the weather changes mid-race (the "flag-to-flag" format), which turns the slick-to-wet crossover of Chapter 15 into a bike-swap decision with the same structure: stop when the expected time lost staying out exceeds the cost of the swap.
📺 On the broadcast: When a MotoGP commentator says a rider "can't get the power down" out of a corner, the physics is the friction ellipse at lean plus the wheelie limit: at 55° of lean there is little grip left for driving force, and once upright the front wheel wants to lift above about $g\,b/h$. When an F1 commentator says a car is "strong in the high-speed", the physics is the right- hand side of Figure 39.10: downforce is pushing the car further above the no-downforce line.
🔄 Check your understanding. A 30 m radius corner. (a) What is the maximum speed of a vehicle without downforce at μ = 1.4? (b) What lean angle (physics angle) does a bike need there? (c) Why does the F1 car's advantage over the bike grow with corner speed?
Answer
(a) $v = \sqrt{1.4 \times 9.81 \times 30} = 20.3$ m/s, or 73 km/h. (b) At the limit, $\tan\theta = \mu = 1.4$, so $\theta = 54.5°$. (c) Downforce scales with $v^2$, so the extra normal force, and with it the extra friction, grows with speed. At 73 km/h an F1 car has little downforce. At 200 km/h it has several times as much. The bike's limit stays at $\mu g$ regardless of speed.
39.7 Formula E: when energy is the main variable, and 2026 F1 already shows it
Formula E's defining feature, widely documented, is that electrical energy is the binding constraint. Each car has a fixed energy allowance for the race. It recovers energy under braking (regeneration) and spends it on acceleration. A car that used full power on every straight would run out before the flag. So the central strategic question is not when to stop but where on the lap to save energy, and how much. The series has also used temporary power boosts that a driver must activate, such as "Attack Mode", armed by driving through an activation zone off the racing line. That turns energy into a tactical resource as well as a budget.
We have no Formula E data. But we do have something close: the 2026 F1 car.
The bridge: 2026 F1 cars that slow at full throttle
The 2026 regulations roughly balance thermal and electrical power. The MGU-K deployment limit falls
with speed. Under the in-force text, outside Overtake the limit is $P = 1800 - 5v$ kW ($v$ in km/h)
below 340 km/h. That means the full 350 kW is available only up to 290 km/h, falling to 150 kW at
330 km/h. Recharge is capped at 8.5 MJ per lap and reduced at some events
(data/reference/regulations_2026.md, C26 C5.2.8 and C5.2.10). So on a long straight a 2026 car can
reach the point where electrical push fades. The visible symptom is a car that is still at 100%
throttle but already slowing down before the braking zone. Fans and the press have called the
extreme version "superclipping"; the reference file records the Miami-onward rule changes about it.
We measured it on the fastest timed lap of every 2026 qualifying session. For each continuous full-throttle run, we find the final stretch before the lift in which speed only falls, and record the drop if it's at least 3 km/h:
# code/08_energy_as_the_variable.py (excerpt)
sp = run.speed.values # one continuous run at throttle >= 98 %
k = len(sp) - 1
while k > 0 and sp[k - 1] >= sp[k] - tol: # walk back while speed was falling (tol = 2 km/h)
k -= 1
k = k + int(np.argmax(sp[k:])) # start at that stretch's own peak
if sp[k] - sp[-1] >= DROP_KMH: # >= 3 km/h lost while still flat out
seg.append((run.distance_m.iloc[k], run.distance_m.iloc[-1], sp[k], sp[-1]))

📊 Figure (described): Speed (top) and throttle (bottom) against distance for the fastest timed lap of 2026 Italian GP qualifying (Gasly, 1:21.786). On three straights, highlighted in orange, the throttle stays at 100% while speed falls, peaking at 342 km/h on the main straight and losing 9 km/h over 292 m before the braking point. The flat speed section around 1,700–2,250 m is a gap in the telemetry samples drawn as a straight line, not a measurement.
Top-speed run: median drop 20.0 km/h over a median 313 m before the lift; fastest laps with no drop >= 3 km/h on that run: 3 of 21

📊 Figure (described): For each 2026 qualifying session, the speed lost at full throttle between the peak and the lift on the run that contains the lap's top speed, labelled with the distance over which it happened. 18 of 21 laps lose at least 3 km/h; Monaco, Marina Bay and Interlagos lose none. The largest values (Suzuka, Albert Park) include fast bends taken flat out just before braking, not only straight-line energy fade.
On 18 of the 21 fastest qualifying laps, the car was already slowing on its fastest straight before the driver touched the brake: a median of 20 km/h over 313 m. The cleanest cases are where the run is a plain straight. At Monza the drop is 9 km/h from a 342 km/h peak; at the Hungaroring 7 km/h from 331; at Mexico City 6 km/h from 350.
⚠️ Common pitfall: blaming the battery for every fall in speed. Our telemetry has no ERS or battery channel. "Slowing at full throttle" is an inference about energy. Other causes produce the same signature. A fast bend taken flat out scrubs speed through cornering drag (that inflates Suzuka's 63 km/h and Albert Park's 53 km/h). An uphill section slows a car too. And a car can simply reach the speed where drag equals available power (a plateau, not a fall). Position data (available for 2026 rounds 1–8 in the snapshot) can separate straights from bends; exercise C5 asks you to do it.
📋 Try it: Analyze this session. 2026 Italian GP, Qualifying. Run
08_energy_as_the_variable.pyand then extend it: for the ten fastest drivers' best laps (not just the fastest), compute the drop on the main straight. Is the drop similar across cars, which would point to a regulation-wide energy limit? Or does it vary by power-unit manufacturer (Mercedes, Ferrari, Red Bull Ford, Honda, Audi, per the reference file)? Write down your prediction first. The expected output is a 10-row table (driver, team, peak km/h, drop km/h, metres slowing) and one sentence on the spread.
The allocation problem, and why "save a little everywhere" wins
Suppose you must finish a race using less energy than the car would use flat out. Where should you save? The physics of lift-and-coast answers it. Lifting off the throttle a distance $x$ before the braking point saves roughly the energy the motor would have spent over that distance, $\Delta E \approx F_{\text{drive}}\,x$, which is linear in $x$. While coasting, the car decelerates at $a_c$ (drag plus rolling resistance), so its speed falls behind the full-throttle speed by an amount that grows along the coast. Integrating the extra time over the coast gives
$$ \Delta t \approx \frac{a_c\,x^2}{2\,v^3} \quad\Longrightarrow\quad \Delta t \propto (\Delta E)^2 . $$
In plain English: the first few metres of coasting save energy almost for free; each extra metre costs more time than the one before. The cost of saving energy is convex. For example, if saving 10% of a lap's energy costs 0.06 s, saving 20% on the same lap costs four times as much, 0.24 s.
A convex cost has a classic optimum: equalise the marginal cost across laps. If one lap saves more
than another, moving a little saving from the heavy lap to the light lap reduces the total time. With
identical laps, the optimum is the same saving on every lap. Box Box's series.energy_plan does
exactly this, and lets you mark laps (behind a safety car) where energy is nearly free.
Budget 85% of free use over 30 laps: even plan loses 4.05 s, 'save at the end' loses 17.36 s, even plan with a 4-lap safety car loses 0.67 s
Budget 90% of free use over 30 laps: even plan loses 1.80 s, 'save at the end' loses 10.80 s, even plan with a 4-lap safety car loses 0.01 s
Budget 95% of free use over 30 laps: even plan loses 0.45 s, 'save at the end' loses 4.50 s, even plan with a 4-lap safety car loses 0.00 s

📊 Figure (described): Time lost to energy saving as the energy budget tightens from 100% to 70% of free use, over a 30-lap illustrative race. Spreading the saving evenly (blue) costs a fraction of a "use it all, then save at the end" plan (red). A four-lap safety car (green), during which the car uses only 30% of a lap's energy, frees enough budget that the remaining laps need almost no saving until the budget falls below about 90%.
🧪 Illustrative model: the 30-lap race, the cost of 6 s × (fraction saved)² per lap and the 30% safety-car energy use are assumptions chosen to show the shape of the problem. They are not Formula E or F1 figures.
At a 90% budget, the even plan loses 1.80 s and the back-loaded plan 10.80 s: six times as much, for the same energy. That factor comes from convexity alone, not from any Formula E detail, so it carries over to any energy-limited series, including fuel-saving in F1 races where the fuel load is marginal. The safety-car result is the energy version of the Las Vegas lesson: a neutralisation is free resource. In F1 it cheapens a pit stop. In an energy race it banks energy, and the whole remaining plan should be redone.
🔄 Check your understanding. Two laps; you must save 0.2 units of energy in total. The cost per lap is $6 \times (\text{saving})^2$ seconds. Compare saving 0.2 on one lap with saving 0.1 on each.
Answer
One lap: $6 \times 0.2^2 = 0.24$ s. Split: $2 \times 6 \times 0.1^2 = 0.12$ s. Splitting halves the cost. With a convex cost, spreading the saving out is always at least as good.
39.8 Sim racing and esports: the closest cousin
Sim racing is where the transfer is most direct, and it's where Kenji lives.
Kenji: In my league the sim gives me steering angle, tyre temperatures, brake pressure and suspension travel. Your OpenF1 data doesn't even have steering.
Aisha: Then the sim is richer than real F1 data, for us at least. Everything from the telemetry chapter works, and you get the channels we had to infer.
Ray: One thing doesn't transfer. The sim's tyres are a model somebody wrote. When the data surprise you, the surprise might be the model, not the physics.
Kenji: So I'd be measuring the game designer's Pacejka coefficients.
Aisha: Which is still worth doing. If you know the model, you can beat the people who don't.
They're all right. Three things to carry over:
- The telemetry method transfers unchanged. Distance-aligned comparisons, delta-time, braking points, minimum speeds and the corner table from Chapter 23 work on sim telemetry exactly as on OpenF1. Most sim platforms log far faster than OpenF1's ~3.7 Hz car data, so the ±10–20 m braking-point uncertainty we fought in Chapters 7 and 23 mostly disappears.
- The physics is a model of the physics. A sim's tyre is usually a Magic-Formula-style model (Chapter 5) with parameters chosen by the developer. Fit degradation and grip from your own laps, as in Chapter 22, and you are estimating the game's parameters, which is what you need to win in it.
- Leagues are rule profiles. Online leagues often set their own tyre-wear multipliers, fuel
usage, race lengths and mandatory stops. Each of those is a
RuleProfilefield. Set it withseries.adapt, runseries.optimise, and you have a strategy sheet for Sunday's league race.
🎮 The best sim drivers already think like engineers. The analytics edge is the step after: treating the league's settings as a rule profile and solving it before the race, instead of discovering it on lap 20.
Spaced Review
Answer each question before you open the reveal.
- From Chapter 14 (Safety Cars and Red Flags). Why does a pit stop under a safety car cost less than one under green? And why can that make every car stop on the same lap, as at Las Vegas 2026?
- From Chapter 20 (Race Pace and Fuel Correction). Why do raw lap times understate tyre degradation in a modern F1 stint? How does the refuelling-era sawtooth in Figure 39.4 show the same effect, only more strongly?
- From Chapter 3 (Aerodynamics). In Figure 39.10, why do F1 points sit closest to the no-downforce curves at small radius?
Answer
- The pit-lane time is fixed by the speed limit, but the time the rest of the field loses is what matters. Under a safety car everyone is slow on track, so the stopping car loses less relative to the cars that stay out, and the field closes up behind the safety car anyway. Once a few cars stop, staying out means facing fresher tyres for nothing. In Las Vegas 16 of the race's 23 stops came on the safety-car lap.
- Fuel burns off every lap, so the car gets lighter and faster while the tyres wear. In raw lap times the two effects partly cancel, which is why the book fuel-corrects before fitting degradation. With refuelling, a short stint concentrates the whole fuel burn-off into a few laps, so it can beat tyre wear outright. Alonso's 2006 stints got faster at 0.085 and 0.059 s per lap.
- Downforce grows with the square of speed. Tight corners are slow, so there is little downforce and the car is close to the pure-friction limit. Fast corners are where downforce multiplies the normal force, so the F1 points climb away from the curves as radius, and therefore speed, grows.
Project Checkpoint: series.py
Aisha's job this chapter is to make Box Box rule-aware. Until now every module has quietly assumed
2026 F1 rules. boxbox/series.py makes the rules an input.
What it adds:
RuleProfile: a frozen dataclass of rules and parameters (race laps, base lap, pit-lane loss, tyre-change time, degradation and cliff, fuel per lap and s/kg, refuelling and its rate, tank size, minimum stops, maximum stint, driver-change time, parallel or sequential service, caution hazard and its effects, stage ends).PROFILES:F1-2026(calibrated from the 2026 data),F1 refuelling-era rules,Endurance (illustrative),Oval (illustrative)andOval with stages (illustrative).adapt(profile, name=None, **changes): a copy with some fields changed. It refuses unknown field names, so a typo can't silently do nothing.race_time(p, stop_laps, tyre_change=None, driver_change=None),lap_times(...),stop_costs(...)andfeasible(...): the deterministic race-time model.optimise(p, max_stops=6, tyre_every=1)andbest_plan(...): search over stop counts and positions, with endurance multi-stinting.simulate_cautions(p, policy="fixed"|"opportunistic", ...): a paired Monte Carlo of random and scheduled cautions.energy_plan(n_laps, budget, e_free, k, cheap_laps=()): the convex energy-allocation solver.compare_profiles(profiles): one row per rule set.
The module is self-contained: it doesn't import other Box Box modules, so it runs on its own and can be wired into the Chapter 40 command line later.
# code/project_checkpoint.py (excerpt)
vegas = series.adapt(series.F1_2026, name="F1-2026 Las Vegas", race_laps=int(s.leader_laps),
base_lap_s=round(base, 3), pit_lane_loss_s=round(pl.pit_loss_s.median() - 2.9, 2),
deg_s_per_lap=round(deg_use, 3))
variants = [vegas,
series.adapt(vegas, name="... + refuelling allowed", refuel=True, min_stops=0),
series.adapt(vegas, name="... + no two-compound rule", min_stops=0),
series.adapt(vegas, name="... + tyres wear 3x faster", deg_s_per_lap=round(3 * deg_use, 3)),
series.adapt(vegas, name="... + pit lane 10 s cheaper", pit_lane_loss_s=round(pl.pit_loss_s.median() - 12.9, 2))]
print(series.compare_profiles(variants, max_stops=5).to_string(index=False))
2026 Las Vegas GP: 50 laps; green-flag pit loss here 47.48 s from n = 1 stop(s) -> use the 2026 pooled median 23.21 s instead
MEDIUM/HARD deg slopes: median -0.027 s/lap (n = 15 stints); best race pace (fuel-corrected median clean lap) 96.096 s (HAD)
Las Vegas deg is not positive -> fall back to the 2026 season median 0.052 s/lap
Best plan under each rule set:
profile best_stops stop_laps race_time_s
F1-2026 Las Vegas 1 [25] 4954.4
... + refuelling allowed 2 [17, 33] 4915.8
... + no two-compound rule 1 [25] 4954.4
... + tyres wear 3x faster 2 [17, 33] 5008.0
... + pit lane 10 s cheaper 1 [25] 4944.4
Clean-race cost of stopping on lap 19 instead of the model's lap 25: +1.87 s
Two calibration lessons are in that output. First, Las Vegas 2026 has a single usable green-flag stop (every other stop came under the safety car), and its 47.48 s "pit loss" is meaningless, so the demo pools the season. Second, Las Vegas MEDIUM/HARD stints got faster with age (−0.027 s/lap), most plausibly track evolution plus a fuel correction that is only an assumption. A negative wear rate would make the optimiser stop on lap 2, so the demo falls back to the season median and says so. Always look at your inputs before you trust the optimiser.
The variants tell the chapter's story in five rows. Refuelling moves the optimum to two stops.
Dropping the two-compound rule changes nothing here (one stop is already optimal). Tripling the wear
rate also produces two stops. A cheaper pit lane makes the race faster without changing the plan.
Chapter 40 will expose the profile choice on the command line (--rules), so you can ask "what if
this race were run under different rules?" for any Grand Prix.
Chapter Summary
The transfer test. Every race-strategy problem is $T = \sum t_i + \sum C_k$ subject to rules. Series differ in the lap-time model, the stop cost, the rules and the randomness. Identify which moved before you reuse an F1 answer.
| Quantity | Formula / definition | Value in this chapter (source) |
|---|---|---|
| Lap-time model | $t_i = t_0 + s_{\text{fuel}} m_i + d a_i + c\max(0, a_i - a_{\text{life}})^2$ | $s_{\text{fuel}} = 0.035$ s/kg (press estimate, reference table) |
| Lap excess | $(t_{jL} - m_L) - \text{off}_j$; stop if > 7 s | precision 0.844, recall 0.867 vs 13,052 recorded stops (2011–26) |
| Stops per finisher | mean over classified finishers ≥ 90% distance | 2.15 refuelling era vs 2.03 since 2010 (inferred) |
| Stop step | median(3 laps after) − median(3 laps before) | +0.38 s (1996–2009) vs −1.21 s (2010–2026) |
| Refuelling as degradation | fuel penalty $s_{\text{fuel}} f L^2 / 2(n+1)$ | ≡ extra wear of $s_{\text{fuel}} f$ = 0.061 s/lap (🧪 $f$) |
| Refuelling shifts the optimum | Box Box, calibrated 2026 | 1 stop → 2 stops, 57.2 s faster; robust to refuel rate and s/kg |
| Tow → drag | $\Delta v / v \approx -\tfrac{1}{3}\,\Delta(C_D A)/C_D A$ | +2.06 km/h at 1–2 s (2023–25) ≈ 2.0% less drag |
| Caution hazard | periods per race lap | F1 2023–26: 2.17 SC+VSC per 100 laps; 69.2% of races |
| Lean angle | $\tan\theta = a_{\text{lat}}/g$; $\theta_{\max} = \arctan\mu$ | F1 median corner 2.58 g → 68.8° (impossible for a bike) |
| Pitch-over limit | $a_{\max} = g\,b/h$ | 🧪 1.17 g for $b = 0.7$, $h = 0.6$ m |
| Coasting cost | $\Delta t \approx a_c x^2 / (2v^3) \propto \Delta E^2$ | convex → equalise marginal cost across laps |
Decision checklist when you meet a new series:
- Does it refuel? Then fuel is a stint variable and behaves like extra degradation; expect more stops and stints clustered at the tank range.
- Is service parallel or sequential? If tyres add time on top of fuel, optimise the tyre-change interval, not the stop count.
- How frequent are neutralisations, and are any scheduled? Random ones reward flexible, pit-under-yellow policies; scheduled ones reward planning stops inside them.
- Is the binding constraint grip, fuel or energy? Energy limits make saving costs convex: save a little everywhere and re-plan after every neutralisation.
- How many contact patches, and is there downforce? Without downforce, $\mu g$ is the ceiling, and pitch-over may bind before grip does.
- What can't your data see? Write it down before you start.
What's Next
You now have every Box Box module and a way to point it at any rule set. In Chapter 40 we assemble them into one command-line simulator, validate it against the 2026 Las Vegas Grand Prix and a handful of other 2025–2026 races, and look honestly at where the model agrees with the winners and where it doesn't.