[ track ]
track_name = BOSTON INTERNATIONAL SPEEDWAY
track_name_short = Boston
track_city = Cambridge
track_state = MA
track_length_n_type = 1.09 mile Oval
track_misc_info_1 = Turns banked 25°
track_misc_info_2 = Straights banked 12° (fr) and 9° (bk)
track_num_turns = 4
track_length = 1.09m
track_altitude = 0.0
track_type = 1                                  ; mile oval
chassis_type = 2                                ; speedway
default_event_laps = 500
default_qual_laps = 2
track_base_month = 7                            ; the race month used for single, multi, and testing
max_starters = 43
track_tire_heat = 0.90                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 1.01                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.38                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.97                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.00                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.125                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 180                         ; angle of true north in degrees

; Starter decisions:
;       First value is earliest possible green flag dlong, should be after to pace car pit entrace point
;       Second value is latest possible green flag dlong. Must be before start line and after first value
starter_decision = 1580.00 1650.00

[ cup ]
record_lap_time = 22.302
record_holder = Ryan Newman

[ gns ]
record_lap_time = 23.137
record_holder = Dave Blaney

[ weather ]
track_base_temp = 60.2                          ; track average temperature on April 1 in deg F
track_temp_range = 5.0                          ; one standard deviation from average in deg F
track_temp_swing = 20.0                           ; 
track_wind_speed = 6.1                          ; average wind speed at the track in MPH
track_wind_speed_range = 5.0                    ; one standard deviation from average in MPH
track_wind_direction = 315                      ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 1.0                          ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = 210 -137 4
pos_1 = 24 -137 4
pos_2 = -300 141.054 7
pos_3 = 33.474 162.022 7.5

[ ai_track ]
pace_merge_from_pit_line_dlong = 825.000
pace_merge_to_pit_line_dlong = 1510.0000
pace_speed_limit_mph = 55
ai_accel_modifier = 0.96                        ; acceleration grip efficiency
ai_decel_modifier = 1.53                        ; braking grip efficiency
ai_fuel_use = 1.00                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.99                         ; > 1.0 = more grip
ai_drag_modifier = 1.08                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.0                          ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.01                        ; > 1.0 = faster during qualifying
ai_wall_offset = 50                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.406                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.46                       ; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.01                      ; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 0.83                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.80                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.45                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 2.285             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.550         ; lap time gain from low fuel
strategy_base_pitting_cost = 26.335             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0                        ; car lengths behind while pacing
ai_bunching_distance = 1.69                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.59                      ; car lengths behind while racing
ai_panic_decel = 6.0                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 8.0                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 1.0
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.796                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns]
ai_grip_modifier = 1.01                         ; > 1.0 = more grip
ai_drag_modifier = 1.04                         ; > 1.0 = more drag, which is slower
ai_qual_modifier = 1.02                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.48                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.59                       ; right tire wear adjuster for ai

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 23.50
pit0_entrance_point0_dlong = 1544.00
pit0_entrance_point1_dlat = 40.10
pit0_entrance_point1_dlong = 1544.00

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 770.000000         ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 1000.000000           ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 300.0                ; length of merge window
pit_lane_end_dlong = 513.230000                 ; dlong where pit lane proper ends
pit_lane_start_dlong = 1565.240000              ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 15.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -4.75              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 8.0              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 18.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 60.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 560.00                       ; Dlong which you must remain on the apron when exiting the pits

; race control stuff
lane_on_right = 0                               ; 0 if on left, 1 if on right
lane_has_wall = 1                               ; 0 no wall, 1 has wall
speed_limit_MPH = 45.0


; pace car
begin_pacestall_entry_offset = 20.0             ; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 45.0          ; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 7.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -3.0          ; goal dlat offset for the pit stall exit
stall_pace = 522.00 70.00 -0.20



; special stalls
stall_qual_exit = 473.24 45.73 -0.00

; regular stalls
stall_0 = 506.4 64.1 0.00
stall_1 = 488.4 64.1 0.00
stall_2 = 470.4 64.03 0.00
stall_3 = 452.4 64.03 0.00
stall_4 = 434.4 63.74 0.00
stall_5 = 416.4 63.24 0.00
stall_6 = 398.4 62.83 0.00
stall_7 = 372.4 62.0 0.00
stall_8 = 354.4 61.64 0.00
stall_9 = 336.4 61.24 0.00
stall_10 = 318.4 61.0 0.00
stall_11 = 300.4 60.24 0.00
stall_12 = 280.4 59.50 0.00
stall_13 = 262.4 58.74 0.00
stall_14 = 245.4 60.24 -0.55
stall_15 = 232.4 65.24 -0.50
stall_16 = 221.4 70.24 -0.45
stall_17 = 209.4 74.74 -0.4
stall_18 = 197.4 79.24 -0.3
stall_19 = 185.4 83.74 -0.32
stall_20 = 173.4 88.50 -0.30
stall_21 = 145.4 96.0 -0.30
stall_22 = 128.4 99.0 -0.30
stall_23 = 110.4 100.5 -0.18
stall_24 = 90.4 101.25 -0.10
stall_25 = 70.4 100.74 -0.05
stall_26 = 36.4 99.74 0.00
stall_27 = 26.4 98.5 0.00
stall_28 = 15.6 97.4 0.00
stall_29 = 5.26 95.99 0.00
stall_30 = 1743.4 94.8 0.00
stall_31 = 1732.6 93.5 0.00
stall_32 = 1722.24 92.5 0.00
stall_33 = 1711.8 91.0 0.00
stall_34 = 1689.4 88.94 0.17
stall_35 = 1675.4 87.24 0.17
stall_36 = 1661.4 84.84 0.18
stall_37 = 1646.4 81.74 0.19
stall_38 = 1623.6 76.0 0.30
stall_39 = 1611.0 71.9 0.31
stall_40 = 1598.4 67.8 0.31
stall_41 = 1585.8 63.36 0.32
stall_42 = 1573.2 58.01 0.32

[ starting_grid_0 ]
stall_pace = 500.48 50.0 0.00
stall_0 = 490.48 54.87 0.0
stall_1 = 490.48 46.87 0.0
stall_2 = 480.02 54.87 0.1
stall_3 = 480.02 46.87 0.1
stall_4 = 470.58 54.87 0.00
stall_5 = 470.58 46.87 0.0
stall_6 = 460.12 54.87 0.0
stall_7 = 460.12 46.87 0.0
stall_8 = 450.65 54.87 0.0
stall_9 = 450.65 46.87 0.0
stall_10 = 440.17 54.87 0.0
stall_11 = 440.17 46.87 0.0
stall_12 = 430.70 54.87 0.01
stall_13 = 430.70 46.87 0.01
stall_14 = 420.22 54.87 0.00
stall_15 = 420.22 46.87 0.00
stall_16 = 410.74 54.87 -0.00
stall_17 = 410.74 46.87 -0.00
stall_18 = 400.26 54.87 -0.00
stall_19 = 400.26 46.87 -0.00
stall_20 = 390.78 54.87 -0.01
stall_21 = 390.78 46.87 -0.01
stall_22 = 380.31 54.87 -0.02
stall_23 = 380.31 46.87 -0.02
stall_24 = 370.83 54.87 -0.01
stall_25 = 370.83 46.87 -0.01
stall_26 = 360.35 54.87 0.00
stall_27 = 360.35 46.87 0.00
stall_28 = 350.87 54.87 0.01
stall_29 = 350.87 46.87 0.01
stall_30 = 340.39 54.87 0.01
stall_31 = 340.39 46.87 0.01
stall_32 = 330.91 54.87 0.00
stall_33 = 330.91 46.87 0.00
stall_34 = 320.44 54.87 -0.00
stall_35 = 320.44 46.87 -0.00
stall_36 = 310.96 54.87 0.00
stall_37 = 310.96 46.87 0.00
stall_38 = 300.48 54.87 0.00
stall_39 = 300.48 46.87 0.00
stall_40 = 290.00 54.87 0.01
stall_41 = 290.00 46.87 0.01
stall_42 = 280.00 54.87 0.01


[ starting_grid_1 ]
stall_pace = 1000.48 4.41 0.00
stall_0 = 991.48 4.87 0.10
stall_1 = 991.48 0.87 0.10
stall_2 = 983.02 3.95 0.11
stall_3 = 983.02 -0.05 0.11
stall_4 = 974.58 3.16 0.08
stall_5 = 974.58 -0.84 0.08
stall_6 = 966.12 2.63 0.05
stall_7 = 966.12 -1.37 0.05
stall_8 = 957.65 2.30 0.03
stall_9 = 957.65 -1.70 0.03
stall_10 = 949.17 2.15 0.01
stall_11 = 949.17 -1.85 0.01
stall_12 = 940.70 2.06 0.01
stall_13 = 940.70 -1.94 0.01
stall_14 = 932.22 2.01 0.00
stall_15 = 932.22 -1.99 0.00
stall_16 = 923.74 2.04 -0.00
stall_17 = 923.74 -1.96 -0.00
stall_18 = 915.26 2.07 -0.00
stall_19 = 915.26 -1.93 -0.00
stall_20 = 906.78 2.14 -0.01
stall_21 = 906.78 -1.86 -0.01
stall_22 = 898.31 2.30 -0.02
stall_23 = 898.31 -1.70 -0.02
stall_24 = 889.83 2.43 -0.01
stall_25 = 889.83 -1.57 -0.01
stall_26 = 881.35 2.45 0.00
stall_27 = 881.35 -1.55 0.00
stall_28 = 872.87 2.42 0.01
stall_29 = 872.87 -1.58 0.01
stall_30 = 864.39 2.37 0.01
stall_31 = 864.39 -1.63 0.01
stall_32 = 855.91 2.32 0.00
stall_33 = 855.91 -1.68 0.00
stall_34 = 847.44 2.31 -0.00
stall_35 = 847.44 -1.69 -0.00
stall_36 = 838.96 2.31 0.00
stall_37 = 838.96 -1.69 0.00
stall_38 = 830.48 2.29 0.00
stall_39 = 830.48 -1.71 0.00
stall_40 = 822.00 2.24 0.01
stall_41 = 822.00 -1.74 0.01
stall_42 = 812.00 2.24 0.01

[ SPCC ]
num_named_sections = 6

name_0 = 238.00 447.00 T1
name_1 = 447.00 705.00 T2
name_2 = 705.00 1020.00 BSTR
name_3 = 1020.00 1260.00 T3
name_4 = 1260.00 1464.00 T4
name_5 = 1464.00 285.00 FSTR
