Case Study 1 — The 2024 São Paulo Grand Prix: A Wet Race Decided by a Red Flag

Setup

The 2024 São Paulo Grand Prix is the wettest race in our OpenF1 snapshot. Every lap of it was run on wet-weather tyres. The sourced fact sheet (data/reference/notable_races.md, formula1.com) gives the frame. Qualifying was moved to Sunday because of Saturday's weather. Max Verstappen qualified 12th but started 17th after a five-place penalty for an extra ICE (internal combustion engine). Rain varied throughout, every car started on intermediates, there were several safety-car periods, and the race was red-flagged on lap 32 after Franco Colapinto crashed. Verstappen won by 19.477 s from Esteban Ocon, with Pierre Gasly third: a double podium for Alpine.

The question for a strategist is how a car from 17th won by almost twenty seconds. The broadcast story is usually about the driving. The timing data tell a story about the order of events, and it is one that Chapter 14's pit-loss numbers can price.

The data

All figures come from code/case_study_01.py (OpenF1, 2024 São Paulo GP race, 69 laps).

Laps by compound: {'INTERMEDIATE': 1117, 'WET': 18}
Weather records with rainfall = 1: 117 of 201

Neutralisations (toolkit windows):
  VSC from leader lap 28, 16:28:21 -> 16:30:04 UTC (1.7 min)
  SC  from leader lap 30, 16:32:53 -> 16:37:22 UTC (4.5 min)
  RED from leader lap 32, 16:37:22 -> 17:02:00 UTC (24.6 min)
  SC  from leader lap 39, 17:13:14 -> 17:19:57 UTC (6.7 min)

Two things stand out before any analysis. First, this was a genuinely wet race by any measure: 117 of 201 weather records carried a rain flag, and only 18 laps of the 1,135 were run on full wets. Second, the neutralisations came in a tight cluster: a VSC on lap 28, a safety car on lap 30, a red flag on lap 32. They were 24.6 minutes apart from the VSC to the end of the suspension. Every strategic decision of the race was made inside that cluster.

Analysis

Five cars tried full wets, briefly

Full-wet stints:
acronym  lap_start  lap_end  tyre_age_at_start
    PER         28       32                5.0
    TSU         29       32                0.0
    ZHO         29       31                7.0
    HUL         28       29                0.0
    LAW         29       32               15.0

As the rain intensified around lap 27, five cars took full wets: Pérez, Tsunoda, Zhou, Hülkenberg and Lawson. Every one of those stints ended by lap 32, because the red flag allowed a free change. Some of the sets were used: Lawson's had 15 laps on it, Zhou's 7 and Pérez's 5. We cannot say whether full wets were faster than intermediates in those laps, because they were almost all run under the VSC and safety car. The laps under neutralisation say nothing about tyre pace. This is the Chapter 15 point about full wets in miniature: they come out when conditions are at their worst, which is exactly when race control slows or stops the race.

2024 São Paulo GP stint chart

📊 Figure (described): One bar per driver, coloured by compound. Almost the whole chart is green (intermediates), with five short blue stints (full wets) between laps 28 and 32. Most cars start a new set at lap 33, after the red flag. The cars that did not stop between laps 24 and 31 (Verstappen, Ocon, Gasly, Bottas) show a single long first stint ending at the red flag.

Who stopped before the red flag

Stops on laps 24-31 (in-lap, track status of the in-lap):
acronym  lap_number  track_status  pit_lane_s
    LEC          24         GREEN      24.573
    PER          27    VSC|YELLOW      26.600
    HAM          27    VSC|YELLOW      25.205
    ALO          27    VSC|YELLOW      25.107
    PIA          27    VSC|YELLOW      26.050
    RUS          28    VSC|YELLOW      25.600
    NOR          28    VSC|YELLOW      24.700
    ...

When the VSC came out on lap 28, most of the front-runners came in: Russell and Norris (first and second on the road) on lap 28, and Piastri, Hamilton and Alonso on lap 27, along with several others. Chapter 14 measured a VSC stop at 15.671 s against the cars nearby, compared with 22.512 s under green. For a car on worn intermediates in worsening rain, a VSC stop for fresh tyres was the standard good bet. The near-field costs this script measured for those stops are consistent with that: Hamilton 15.1 s, Pérez 18.1 s, Sainz 19.3 s, Piastri 18.4 s.

Three front-runners did not stop: Ocon (third), Verstappen (fifth) and Gasly (sixth). Then the race was red-flagged on lap 32. During a red flag, teams may change tyres. Sixteen cars started a new stint on lap 33, every one of them on intermediates.

Positions after lap 27 / lap 31 (before the red flag) / lap 34 (after the restart) / finish:
  RUS: P1 -> P5 -> P4 -> finish P4  (stopped laps 24-31: yes; grid 2)
  NOR: P2 -> P4 -> P5 -> finish P6  (stopped laps 24-31: yes; grid 1)
  OCO: P3 -> P1 -> P1 -> finish P2  (stopped laps 24-31: no; grid 4)
  TSU: P4 -> P6 -> P8 -> finish P7  (stopped laps 24-31: yes; grid 3)
  VER: P5 -> P2 -> P2 -> finish P1  (stopped laps 24-31: no; grid 17)
  GAS: P6 -> P3 -> P3 -> finish P3  (stopped laps 24-31: no; grid 13)

The three cars that had not stopped inherited first, second and third when the others pitted under the VSC. The red flag then gave them their fresh intermediates for free. The cars that had paid 15–19 s for a VSC stop got nothing back: everyone else changed tyres during the suspension at no cost. The race restarted with Ocon, Verstappen and Gasly 1-2-3.

2024 São Paulo GP gaps to the leader, with neutralisations shaded

📊 Figure (described): Gap to the leader at the line for six drivers, with VSC, safety-car and red-flag periods shaded. Russell (dashed) and Norris lead the early race, with Verstappen 10–15 s back. Around laps 27–29, Russell's and Norris's gaps jump as they stop under the VSC, and Verstappen, Ocon and Gasly move to the front. After the red flag and the lap-39 safety car, Verstappen's line becomes the zero line and the others fall steadily behind.

Then he was the fastest car

The order of events gave Verstappen second place at the restart. Pace did the rest.

Median representative lap, laps 34-69 (intermediates; SC/VSC/red laps and pit laps removed):
         median  size
acronym
VER      82.244    32
RUS      82.607    32
OCO      82.679    32
GAS      82.748    32
PIA      82.819    32
LEC      83.056    32
NOR      83.128    32
  VER lead over OCO: after lap 45 +2.93 s, at lap 69 +19.30 s

On comparable laps after the restart, Verstappen's median was 82.244 s, 0.363 s per lap faster than Russell's and 0.435 s per lap faster than Ocon's. He took the lead from Ocon between laps 40 and 45 (OpenF1 running order: P2 after lap 40, P1 after lap 45) and was 2.93 s ahead after lap 45. At the line, the gap from our line crossings is 19.30 s; the official margin is 19.477 s (formula1.com). The difference is the usual gap between timing-line crossings and official classification.

2024 São Paulo GP: representative laps on intermediates after the restart

📊 Figure (described): Lap times on intermediates from lap 34 to the finish for six drivers, with neutralised laps removed and shaded. Verstappen's line sits at or below the others for most of the stint, and the gap widens in the last 20 laps as the others' times drift up.

Where was the gauge?

Chapter 15's wetness gauge needs a dry reference from the same race, and this race never had a dry lap. So wet.dry_reference returns nothing, and none of this race's laps enter the penalty model. That is a real limitation of the method, and it is worth seeing how to work around it. The book's weather table compares the race's median clean intermediate lap, 84.382 s (767 laps), with the median clean slick lap in the dry Interlagos race of another season, 74.752 s. The gap is +9.631 s, or +12.9%. The comparison mixes car generations and driver line-ups, so read it as an order of magnitude. But it puts the post-restart race at a gauge of roughly 13%, just above the model's 11.3% slick/intermediate tie. On those numbers, slicks would have been close to competitive late in the race. Nobody tried them, and with rain recorded on 117 of 201 weather records, nobody would have had a reason to.

For the same reason, the race contributes nothing to the chapter's race-based wet-skill measure, which needs slick laps to compare with. Its qualifying session, held on Sunday, does count, as one of the six wet qualifying sessions.

What it means (and doesn't)

What it means. In a wet race, the cheapest tyre change is the one you never pay for. A VSC stop at 15.7 s is good value only if no red flag follows. In heavy rain, red flags are not rare events: Chapter 14 counts 14 red flags in 91 Grands Prix from 2023 to 2026, and the conditions that make teams reach for fresh wet tyres are the same conditions that stop races. The cars that stayed out took a risk (worn intermediates in worsening rain for four more laps) and were paid for it by an event they could not have known was coming.

What it doesn't mean. We cannot say that the teams that stayed out expected a red flag. The data show what they did, not why, and team radio in our data is audio links without transcripts. Nor can we say that Verstappen would have won without the red flag. His pace advantage after the restart was 0.36–0.44 s per lap over the next cars. Over 35 racing laps that is 13–15 s, which might or might not have recovered the gap he had before lap 27 (he was 10–15 s behind the leaders on the gap chart). The counterfactual needs a simulation, not a reading of one race.

A data caution. Jolpica lists Hülkenberg as disqualified and Sainz and Colapinto as retired. We have not used their results beyond the tables above, and we assert no cause beyond what the results status says.

Discussion questions

  1. Suppose your car was on 27-lap-old intermediates in fifth place when the VSC came out on lap 28. With what you knew then, list the arguments for stopping and for staying out. How would you have put a number on the red-flag risk?
  2. The five full-wet stints were all short and mostly under neutralisation. What would you need in order to compare full-wet and intermediate pace in this race?
  3. Verstappen's post-restart pace advantage was about 0.4 s per lap. Using Chapter 15's wet-skill section, how much of that should we attribute to the driver, and how much to the car and set-up?
  4. How would the outcome have changed if the red flag had come out on lap 29 instead of lap 32? Which cars would have benefited?

Your turn

Using code/case_study_01.py as a start, build a "what if no red flag" estimate. Take each front-runner's position and gap after lap 31. Assume the cars that had not stopped would have needed a green-flag stop (22.512 s) or an SC stop (12.722 s) at some point in the next 10 laps, and give each car its median post-restart representative pace. Report the finishing order under both assumptions, and say which assumption you think is closer to reality and why.