[ track ]
track_name = PHOENIX INTERNATIONAL RACEWAY®
track_name_short = Phoenix SRA
track_city = Avondale
track_state = AZ
track_length_n_type = 1.082-mile D-shaped Oval
track_misc_info_1 = Track Reconfigured 2017
track_misc_info_2 = Turns 1&2 banked 10-11° 3&4 banked 8-9°
track_misc_info_3 = Frontstretch 1,179 feet banked 3°
track_misc_info_4 = Backstretch 1,551 feet banked 10°,8°
track_num_turns = 4
track_length = 1.082m
track_altitude = 0.0
track_type = 1                                  ; mile oval
chassis_type = 3                                ; short track
default_event_laps = 312
default_qual_laps = 2
track_base_month = 11                           ; 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 = 0.82                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.30                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.75                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.14                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.18                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.30                         ; > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 55                          ; 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 = 1577.00 1631.00

[ track_gns ]
track_tire_heat = 0.85                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.77                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.29                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.68                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.13                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.16                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.26    

[ track_cts ]
track_tire_heat = 0.81                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.72                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.28                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.60                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.12                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.16                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.22

[ cup ]
record_lap_time = 25.858
record_holder = Jimmie Johnson

[ cts ]
record_lap_time = 26.778
record_holder = Nelson Piquet Jr.

[ gns ]
record_lap_time = 27.072
record_holder = Denny Hamlin 

[ weather ]
track_base_temp = 85.2                          ; track average temperature on April 1 in deg F
track_temp_range = 6.5                          ; one standard deviation from average in deg F
track_temp_swing = 15.0                         ; 
track_wind_speed = 5.8                          ; 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 = 0.84                         ; probability of cloud cover, 0.0 to 1.0  

[CrowdSound]
num_sources = 4
pos_0 = -294 157 7
pos_1 = -116 206 4
pos_2 = 154 -167 3
pos_3 = 14 -203 6

[ ai_track ]
pace_merge_from_pit_line_dlong = 550.000
pace_merge_to_pit_line_dlong = 983.00
pace_speed_limit_mph = 50
ai_accel_modifier = 1.10                        ; acceleration grip efficiency
ai_decel_modifier = 0.90                        ; braking grip efficiency
ai_fuel_use = 0.96                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.05                         ; > 1.0 = more grip
ai_drag_modifier = 0.90                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.00                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.024                        ; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection  
ai_tire_wear_left = 0.46                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.55                       ; 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 = 1.023                      ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.81                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.31                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.337             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.270         ; lap time gain from low fuel
strategy_base_pitting_cost = 25.037             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0                        ; car lengths behind while pacing
ai_bunching_distance = 1.7                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.14                     ; car lengths behind while racing
ai_panic_decel = 5.5                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.9
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.26                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 1.00                        ; acceleration grip efficiency
ai_decel_modifier = 0.95                        ; braking grip efficiency
ai_fuel_use = 0.96                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.04                         ; > 1.0 = more grip
ai_drag_modifier = 1.09                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.00                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.05                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.43                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.53                       ; right tire wear adjuster for ai
ai_pacing_distance = 2.0                        ; car lengths behind while pacing
ai_bunching_distance = 1.8                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.15                     ; car lengths behind while racing
ai_dlat_pad = 0.9
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.35                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 46.30
pit0_entrance_point0_dlong = 1024.15
pit0_entrance_point1_dlat = 22.30
pit0_entrance_point1_dlong = 1024.15
pit1_entrance_point0_dlat = 46.30
pit1_entrance_point0_dlong = 1024.15
pit1_entrance_point1_dlat = 22.30
pit1_entrance_point1_dlong = 1024.15

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 282.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 850.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 100.0                ; length of merge window
pit_lane_end_dlong = 0.00                       ; dlong where pit lane proper ends
pit_lane_start_dlong = 1102.00                  ; dlong where pit lane proper starts
slow_pit_line_dlat_offset = 6.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -6.5              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 7.5              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 15.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 80.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 225.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 = 0                               ; 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 = 6.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 = 44.65 46.65 -0.16 		;

; special stalls
stall_qual_exit = 1730.35 29.00 0.00

; regular stalls
stall_0 = 1732.59 52.00 -0.09
stall_1 = 1716.06 53.35 -0.09
stall_2 = 1698.58 54.33 -0.08
stall_3 = 1682.08 55.02 -0.05
stall_4 = 1662.72 55.82 -0.04
stall_5 = 1642.62 56.46 -0.02  
stall_6 = 1619.08 56.16 0.00
stall_7 = 1596.91 55.76 0.00
stall_8 = 1573.58 54.22 0.10
stall_9 = 1553.77 52.65 0.10
stall_10 = 1532.98 50.73 0.10
stall_11 = 1511.85 48.71 0.13
stall_12 = 1492.39 46.20 0.13
stall_13 = 1474.88 43.65 0.16
stall_14 = 1458.08 41.20 0.16
stall_15 = 1442.34 38.65 0.16

stall_16 = 1409.48 32.82 0.04
stall_17 = 1398.36 31.35 0.04
stall_18 = 1388.00 30.96 0.00
stall_19 = 1377.65 30.42 0.00
stall_20 = 1366.49 30.09 0.00
stall_21 = 1355.00 30.09 0.00
stall_22 = 1343.13 30.10 0.00
stall_23 = 1332.20 30.08 0.00

stall_24 = 1318.66 30.05 0.00
stall_25 = 1306.90 30.17 0.00
stall_26 = 1295.33 30.12 0.00
stall_27 = 1283.49 30.15 0.00
stall_28 = 1271.95 30.18 0.00
stall_29 = 1260.54 30.15 0.00
stall_30 = 1249.15 30.17 0.00
stall_31 = 1237.63 30.22 0.00
stall_32 = 1226.09 30.21 0.00

stall_33 = 1211.05 30.28 0.00
stall_34 = 1200.92 30.34 0.00
stall_35 = 1189.33 30.41 0.00
stall_36 = 1178.23 30.52 0.00
stall_37 = 1166.45 30.60 0.00
stall_38 = 1154.09 30.70 0.00
stall_39 = 1142.60 30.84 0.00
stall_40 = 1131.05 30.97 0.00
stall_41 = 1120.07 31.08 0.00
stall_42 = 1108.76 31.17 0.00

stall_43 = 1015.95 31.10 0.00


[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 282.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 850.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 100.0                ; length of merge window
pit_lane_end_dlong = 0.00                       ; dlong where pit lane proper ends
pit_lane_start_dlong = 1102.00                  ; dlong where pit lane proper starts
slow_pit_line_dlat_offset = 6.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -6.5              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 7.5              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 15.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 80.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 225.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 = 0                               ; 0 no wall, 1 has wall
speed_limit_MPH = 45.0

;regular stalls
stall_0 = 28.00 47.00 0.00
stall_1 = 20.00 35.00 0.00
stall_2 = 12.00 36.31 -0.04
stall_3 = 4.00 36.78 -0.05
stall_4 = 1729.25 51.00 -0.03
stall_5 = 1721.25 51.00 -0.03  
stall_6 = 1713.25 51.00 -0.03
stall_7 = 1705.25 51.00 -0.03
stall_8 = 1697.25 51.00 -0.03
stall_9 = 1689.25 51.00 -0.03
stall_10 = 1681.25 51.00 -0.03
stall_11 = 1015.95 45.00 0.00


[ starting_grid_0 ]
stall_pace = 52.25 29.22 0.00
stall_0 = 42.79 33.15 -0.01
stall_1 = 42.10 26.57 -0.01
stall_2 = 31.00 34.00 0.00
stall_3 = 30.30 27.45 0.00
stall_4 = 17.80 35.00 0.02
stall_5 = 17.35 28.15 0.02
stall_6 = 2.70 36.05 0.03
stall_7 = 2.45 29.50 0.03
stall_8 = 1729.89 37.45 -0.04
stall_9 = 1729.10 30.35 -0.04
stall_10 = 1714.60 38.50 -0.06
stall_11 = 1714.15 31.85 -0.06
stall_12 = 1697.90 38.00 -0.07
stall_13 = 1697.45 32.20 -0.07
stall_14 = 1682.80 38.30 -0.06
stall_15 = 1682.40 32.85 -0.06
stall_16 = 1667.90 38.95 -0.05
stall_17 = 1667.30 33.30 -0.05
stall_18 = 1650.60 39.50 -0.04
stall_19 = 1650.05 34.15 -0.04
stall_20 = 1633.30 39.80 -0.03
stall_21 = 1633.30 34.15 -0.03
stall_22 = 1616.20 39.60 -0.02
stall_23 = 1616.90 33.75 -0.02
stall_24 = 1598.10 39.60 -0.02
stall_25 = 1599.10 33.90 -0.02
stall_26 = 1581.82 38.90 0.01
stall_27 = 1583.60 32.60 0.01
stall_28 = 1565.70 37.70 0.00
stall_29 = 1568.20 31.40 0.00
stall_30 = 1550.00 36.25 0.00
stall_31 = 1552.05 30.55 0.00
stall_32 = 1533.45 34.90 0.01
stall_33 = 1535.45 29.65 0.01
stall_34 = 1517.90 34.15 0.01
stall_35 = 1519.50 29.00 0.01
stall_36 = 1503.05 32.70 0.00
stall_37 = 1505.20 27.60 0.00
stall_38 = 1486.50 31.55 0.00
stall_39 = 1488.35 26.70 0.00
stall_40 = 1472.80 30.10 0.00
stall_41 = 1474.40 25.45 0.00
stall_42 = 1459.30 28.55 0.00


[ starting_grid_1 ]
stall_pace = 1008.48 22.50 0.00
stall_0 = 1000.00 3.97 0.01
stall_1 = 1000.00 -0.03 0.01
stall_2 = 991.52 3.92 0.01
stall_3 = 991.52 -0.08 0.01
stall_4 = 983.04 3.87 0.01
stall_5 = 983.04 -0.13 0.01
stall_6 = 974.56 3.81 0.01
stall_7 = 974.56 -0.19 0.01
stall_8 = 966.08 3.77 0.00
stall_9 = 966.08 -0.23 0.00
stall_10 = 957.60 3.77 -0.00
stall_11 = 957.60 -0.23 -0.00
stall_12 = 949.13 3.80 -0.00
stall_13 = 949.13 -0.20 -0.00
stall_14 = 940.65 3.83 -0.01
stall_15 = 940.65 -0.17 -0.01
stall_16 = 932.17 3.90 -0.01
stall_17 = 932.17 -0.10 -0.01
stall_18 = 923.69 3.97 -0.01
stall_19 = 923.69 -0.03 -0.01
stall_20 = 915.21 4.00 0.00
stall_21 = 915.21 -0.00 0.00
stall_22 = 906.73 3.92 0.01
stall_23 = 906.73 -0.08 0.01
stall_24 = 898.25 3.82 0.01
stall_25 = 898.25 -0.18 0.01
stall_26 = 889.77 3.80 -0.00
stall_27 = 889.77 -0.20 -0.00
stall_28 = 881.29 3.85 -0.01
stall_29 = 881.29 -0.15 -0.01
stall_30 = 872.81 3.94 -0.01
stall_31 = 872.81 -0.06 -0.01
stall_32 = 864.34 4.07 -0.02
stall_33 = 864.34 0.07 -0.02
stall_34 = 855.86 4.26 -0.03
stall_35 = 855.86 0.26 -0.03
stall_36 = 847.38 4.52 -0.04
stall_37 = 847.38 0.52 -0.04
stall_38 = 838.91 4.91 -0.05
stall_39 = 838.91 0.91 -0.05
stall_40 = 830.45 5.41 -0.07
stall_41 = 830.45 1.41 -0.07
stall_42 = 822.00 6.12 -0.11

[ SPCC ]
num_named_sections = 8

name_0 = 580.00 810.00 T1
name_1 = 810.00 1040.00 T2
name_2 = 0.00 118.00 SHORTSTR
name_3 = 118.00 333.00 KINK
name_4 = 1040.00 1422.00 BSTR
name_5 = 1422.00 1600.00 T3
name_6 = 1600.00 0.00 T4
name_7 = 333.00 580.00 FSTR
