Modifying the Race Distance
How it works in GPL
The Grand Prix race distance for each event is defined in the seasons\67season.ini file. The other race distances are a calculated as a proportion of the Grand Prix race distance. In essence, a long race is 0.3 times the Grand Prix distance and a short race is 0.3 times the long race distance. However this proportion rarely works out to be an exact number of laps so the resulting calculation is always rounded up. The following example for Spa Francorchamps illustrates the mechanism.
The standard Grand Prix distance at Spa is 28 laps over the 8.761 mile circuit. This works out to be 245.308 miles. The effect changing the Grand Prix length has on the number of laps calculated for a long race can be seen in the table below:
GP Laps |
0.3 x Laps |
GP Race Distance |
0.3 x GP Race Distance |
Laps |
Laps Rounded Up |
20 |
6 |
175.22 |
52.566 |
6 |
6 |
21 |
6.3 |
183.981 |
55.1943 |
6.3 |
7 |
22 |
6.6 |
192.742 |
57.8226 |
6.6 |
7 |
23 |
6.9 |
201.503 |
60.4509 |
6.9 |
7 |
24 |
7.2 |
210.264 |
63.0792 |
7.2 |
8 |
25 |
7.5 |
219.025 |
65.7075 |
7.5 |
8 |
26 |
7.8 |
227.786 |
68.3358 |
7.8 |
8 |
27 |
8.1 |
236.547 |
70.9641 |
8.1 |
9 |
28 |
8.4 |
245.308 |
73.5924 |
8.4 |
9 |
29 |
8.7 |
254.069 |
76.2207 |
8.7 |
9 |
30 |
9 |
262.83 |
78.849 |
9 |
9 |
31 |
9.3 |
271.591 |
81.4773 |
9.3 |
10 |
32 |
9.6 |
280.352 |
84.1056 |
9.6 |
10 |
33 |
9.9 |
289.113 |
86.7339 |
9.9 |
10 |
34 |
10.2 |
297.874 |
89.3622 |
10.2 |
11 |
35 |
10.5 |
306.635 |
91.9905 |
10.5 |
11 |
36 |
10.8 |
315.396 |
94.6188 |
10.8 |
11 |
37 |
11.1 |
324.157 |
97.2471 |
11.1 |
12 |
38 |
11.4 |
332.918 |
99.8754 |
11.4 |
12 |
39 |
11.7 |
341.679 |
102.5037 |
11.7 |
12 |
40 |
12 |
350.44 |
105.132 |
12 |
12 |
41 |
12.3 |
359.201 |
107.7603 |
12.3 |
13 |
42 |
12.6 |
367.962 |
110.3886 |
12.6 |
13 |
43 |
12.9 |
376.723 |
113.0169 |
12.9 |
13 |
44 |
13.2 |
385.484 |
115.6452 |
13.2 |
14 |
45 |
13.5 |
394.245 |
118.2735 |
13.5 |
14 |
46 |
13.8 |
403.006 |
120.9018 |
13.8 |
14 |
47 |
14.1 |
411.767 |
123.5301 |
14.1 |
15 |
48 |
14.4 |
420.528 |
126.1584 |
14.4 |
15 |
49 |
14.7 |
429.289 |
128.7867 |
14.7 |
15 |
50 |
15 |
438.05 |
131.415 |
15 |
15 |
The standard Grand Prix distance of 28 laps equates to a long race distance of 9 laps. Conversely a long race distance of 14 laps equates to a Grand Prix distance of either 44, 45 or 46 laps.
How to modify the race distance
It is possible to set the Grand Prix distance to the number of required laps and simply run the race under Grand Prix rules. This of course means using the PRO Damage model which may not be what is required. In order to run a race with Intermediate damage then the the Grand Prix length in the seasons\67season.ini file has to be set to a value that ensures the long race distance equates to the desired number of laps. In this way selecting a long race ensures the damage model can be set independently of the number of laps.
Sometimes it is useful to calculate the number of laps required to run a race of given period of time. This does require the selection of a representative lap time on which to base the calculation. This technique is employed in the Pit Stop Calculator and is used to determine the number of laps required for the normal "Division 1" 50 minute race.
|