Showing posts with label f1val2011. Show all posts
Showing posts with label f1val2011. Show all posts

Wednesday, June 29, 2011

F1 2011 European Grand Prix/Valencia - Race - Alguesuari Race History

A quick peek at the European Grand Prix race history from Alguesuari's perspective.

Firstly, the race overall:



Here's a close up of the first stint:



And the second stint:



PS Bah - a gremlin in my config files means the fuel corrected laptimes are off - i was using settings for Monaco:-(

Monday, June 27, 2011

F1 2011 European Grand Prix/Valencia - Race - More Driver Comparisons

**BEWARE-I messed up a config file and used Monaco settings for the fuel penalty calculations, so the fuel corrected laptime charts are currently meaningless:-( Thanks to @marussiavirgin for pointing it out**

Picking up on a couple of issues raised with the previous batch of driver comparison charts, such as the arbitrary aspect ratio, here's a quick recap of a Red Bull's driver comparison chart with a slightly neater presentation:



Here's the R code for producing that image (with thanks to csgillespie for answering my question - CrossValidated/Stats StackExchange question 'How to compare two datasets with Q-Q plot using ggplot2?'):
eur_2011comprehensiveLapTimes <- read.csv("~/code/f1/generatedFiles/eur_2011comprehensiveLapTimes.csv")
HAM=subset(eur_2011comprehensiveLapTimes,car==3)
VET=subset(eur_2011comprehensiveLapTimes,car==1)
library(ggplot2)
sx=sort(VET$fuelCorrectedLaptime)
sy=sort(HAM$fuelCorrectedLaptime)
lenx <- length(sx)
leny <- length(sy)
if (leny < lenx)sx <- approx(1L:lenx, sx, n = leny)$y if (leny > lenx)sy <- approx(1L:leny, sy, n = lenx)$y g = ggplot() + geom_point(aes(x=sx, y=sy))+geom_abline(slope=1)+opts(aspect.ratio = 1)+xlim(100,120)+ylim(100,120)+labs(x='VET Fuel Corrected Laptime (s)',y='HAM Fuel Corrected Laptime (s)')+opts(title='F1 2011 Valencia Driver Comparison')


(I'm not sure how to shift the y-axis label closer to the actual axis?)

Here's another:



(I wonder if these charts allow us to compare in/out laps (which lap incurs the actual pit stop time penalty? Those will be the really laps. The intermediate slow laps will be the other part of the pitstop phase, presumably?)

Unfortunately, I haven't been able to do the most trivial of things in qplot/ggplot - a scatterplot with aspect ratio.

PS Doh! All I had to do was crib the above code... here's a scatterplot (where we plot driver vs driver laptimes for the same lap, rather than in paired ranked order:



Here's the code:
ggplot() + geom_point(aes(x=VET$fuelCorrectedLaptime, y=WEB$fuelCorrectedLaptime))+opts(aspect.ratio = 1)+geom_abline(slope=1)+xlim(100,120)+ylim(100,120)

Sunday, June 26, 2011

F1 2011 European Grand Prix/Valencia - Race - Driver Comparisons

**BEWARE-I messed up a config file and used Monaco settings for the fuel penalty calculations, so the fuel corrected laptime charts are currently meaningless:-( Thanks to @marussiavirgin for pointing it out**

A few quick intra-team driver comparisons plotting rank ordered fuel corrected laptimes against each other using a qqplot; the line is x=y, so points above the line are slower...

First, Red Bull:



Then McLaren:



And Ferrari:



What other comparisons make sense within a team?

F1 2011 European Grand Prix/Valencia - Race Lap Chart (Updated)

Here's a first pass at a lap chart for the 2011 European Grand Prix:



The nodes are sized inversely proportional to the number of laps the car is behind the lead lap (i.e. the number of times they have been lapped by the race leader) and coloured according to stint (so a colour change indicates a pit stop). Crossed lines show a change in race position.

Here's the lapchart, coloured by tyre selection and sized inversely proportionally to the number of stops (would this be more effective if it was sized *proportionally to stops?):



The next chart is a variant of the lap chart showing track position at the end of each lap ("track position lap chart"?). Node colouring and sizing is as for the traditional lap chart.



The aim of this chart is to help try to identify laps on which track position may have been important in the progress of the race.

The following view uses the "time to leader on track" measure for the y-axis; that is, the time (on track) the leader is ahead of each car. This essentially uses the y-scale to add information that the "track position lap chart" doesn't convey, specifically the distance between cars on track.



What's missing, of course, is the time between the lead car and the backmarker - maybe I need to show the backmarker twice in each lap, but keep the y=0 line fixed relative to the leader?

This variant of the track position lapchart uses clour to denote tyre selection and size to denote the number of pit stops:



The downside, of course, is now we can't see who's been lapped. HEre's how the chart looks if we size nodes inversely proportionally to number of laps behind:



What we lose here is a depiction of when a car pits. (Maybe a symbol change would be sensible to denote pit stop?)

F1 2011 European Grand Prix/Valencia - Driver DNA

A quick snapshot of the Driver DNA charts for Hamilton and Bitton generated from McLaren telemetry:









Data is grabbed from the McLaren F1 Live Dashboard during the race and is Copyright (©) McLaren Marketing Ltd 2011 (I think? Or possibly Vodafone McLaren Mercedes F1 2011(?)). Last year, I think that speed, throttle and brake data were sponsored by Vodafone; I'm not sure how it stands this year.
As ever, thanks to @bencc for grabbing the data.

Saturday, June 25, 2011

F1 2011 European Grand Prix/Valencia - Practice Times By Team

A quick overview of practice laptimes with and without fuel penalty correction for Red Bull, McLaren, Ferrari and Mercedes.

Legend: color is driver, symbol is stint.

Red Bull







McLaren






Ferrari







Mercedes








Just by looking at these charts, can we identify tyre selection, and even get a feel for the tyre model (i.e. how long tyres take to come on/go off?)

R-code to generate plots, of the form:
plot(Time~Elapsed,data=subset(eur_2011practicelaptimes,((DriverNum==7 | DriverNum==8) & Time < 110)),col=(DriverNum-6),pch=Session,main='F1 2011 EUR Mercedes Practice Times')


See also:
- F1 2011 European Grand Prix/Valencia - Third Practice
- F1 2011 European Grand Prix/Valencia - Second Practice
- F1 2011 European Grand Prix/Valencia - First Practice
- F1 Valencia - Circuit Preview Based on 2010 Race Telemetry

F1 2011 European Grand Prix/Valencia - Third Practice

A quick view over FP3 for the 2011 Valencia Formula One European Grand Prix (data linked to from the Data page).



[Columns sortable by clicking on headers]

Here's how they went out:



And the times:



The fastest times:



And the fastest times, fuel corrected:



PS See also:
- F1 2011 European Grand Prix/Valencia - Second Practice
- F1 2011 European Grand Prix/Valencia - First Practice
- F1 Valencia - Circuit Preview Based on 2010 Race Telemetry

Friday, June 24, 2011

F1 2011 European Grand Prix/Valencia - First Practice

A quick view over FP1 for the 2011 Valencia Formula One European Grand Prix (data linked to from the Data page).



[Columns sortable by clicking on headers]

Firstly, lap times:



A close-up of the fastest laptimes:



With fuel penalty accounted for in the laptime (ish!):



And here's a breakdown of when the cars went out on track:



See also:
F1 Valencia - Circuit Preview Based on 2010 Race Telemetry

Wednesday, June 22, 2011

F1 Valencia - Circuit Preview Based on 2010 Race Telemetry

In advance of this weekend's upcoming F1 race at Valencia, here's a quick track guide based on telemetry from the 2010 race, in particular from Jenson Button's McLaren.

Just so we know what's what, here's the official track guide:



Here's an overview of the track from the onboard GPS view; points are coloured according to gear:



Here's another view over the gear changes, based on distance round the track over a few laps:





Here's the throttle setting:



And the brake:



And how does this translate into speed?



If you'd like to see close-up views over any of the corners, and associated graphical analysis of the form used in F1 Canada - A McLaren 2010 Telemetry Based View of How to Drive Turns 13 and 14:The Wall of Champions, for example, let me know which ones in the comments:-)

PS see also: Cosworth Circuit Tracker, Valencia 2011, via @jackschofield

Telemetry data captured (h/t @bencc) from the McLaren F1 Live Dashboard during the race last year, probably Copyright (©) McLaren Marketing Ltd 2010.