[ track ]
track_name = South Boston Speedway 2019
track_name_short = South Boston 2019 PST
track_city = South Boston
track_state = VA
track_length_n_type = 0.40-mile Oval
track_misc_info_1 = Turns banked 12°
track_misc_info_2 = Straights banking 10 °  
track_misc_info_3 = Frontstretch and Backstretch length - 360 feet    
track_misc_info_4 = Track by PROJECT: Short Track
track_num_turns = 4
track_length = 0.40m
track_altitude = 0.0
track_type = 0					;short oval
chassis_type = 3				;short track
default_event_laps = 200
default_qual_laps = 2
track_base_month = 4				; the race month used for single, multi, and testing
max_starters = 36
track_tire_heat = 0.98
track_tire_wear = 0.75				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.21                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.91                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.25			;BOTTOM Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.35			;MIDDLE/OUTSIDE Groove grip.  > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 330		                ; 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 = 830.00 860.00		

[ track_gns ]
track_tire_heat = 0.97				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.75				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.21                     ; percentage of grip lost at full tire wear
track_tire_wear_exponent = 0.91                 ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.25			;BOTTOM Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.35			;MIDDLE/OUTSIDE Groove grip.  > means more grip.  Again, keep between about 0.9 and 1.05


[ track_cts ]
track_tire_heat = 0.99				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.75				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.20                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.00                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.26			;BOTTOM Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.33			;MIDDLE/OUTSIDE Groove grip.  > means more grip.  Again, keep between about 0.9 and 1.05

[ cts ]
record_lap_time = 15.442
record_holder = Brendan Gaughan 2002 CTS

[ gns ]
record_lap_time = 13.849
record_holder = Tom Catalano 2019 WMT


[ weather ]
track_base_temp = 73.0		                ; track average temperature on April 1 in deg F
track_temp_range = 5.2		                ; one standard deviation from average in deg F
track_temp_swing = 13.0                         ; 
track_wind_speed = 5.5		                ; average wind speed at the track in MPH
track_wind_speed_range = 5.0		        ; one standard deviation from average in MPH
track_wind_direction = 250		        ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.93		                ; probability of clear skies, 0.0 to 1.0


[CrowdSound]
num_sources = 6
pos_0 = 56 61 6
pos_1 = 25 61 6
pos_2 = -2 61 6
pos_3 = -30 61 6
pos_4 = -59 61 6
pos_5 = 94 45 6

[ ai_track ]
pace_merge_from_pit_line_dlong = 395.00
pace_merge_to_pit_line_dlong = 733.00
pace_speed_limit_mph = 35
ai_accel_modifier = 0.49			; acceleration grip efficiency
ai_decel_modifier = 0.95			; braking grip efficiency
ai_fuel_use = 0.99				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97				; > 1.0 = more grip
ai_drag_modifier = 1.08				; > 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.07				; > 1.0 = faster during qualifying
ai_wall_offset = 5000				; 100 = full-time AI collision detection
ai_tire_wear_left = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00			; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.3			; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 0.87			; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.78			; > 1.0 = more grip
ai_arcade_drag_modifier = 1.083			; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 1.25		; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.102		; lap time gain from low fuel
strategy_base_pitting_cost = 23.0		; time lost to a stop & go pitstop
ai_pacing_distance = 1.90
ai_bunching_distance = 1.90		
ai_drafting_distance = 1.15
ai_panic_decel = 5.0
ai_dlongpad_scale = 5.0
ai_dlat_pad = 0.40
ai_squeeze_pcnt = 0.00
ai_inverse_slipcurve_k = 0.26                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.49			; acceleration grip efficiency
ai_decel_modifier = 0.95			; braking grip efficiency
ai_fuel_use = 1.01				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.98				; > 1.0 = more grip
ai_drag_modifier = 1.08				; > 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.07				; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00			; right tire wear adjuster for ai
ai_pacing_distance = 1.90
ai_bunching_distance = 1.90		
ai_drafting_distance = 1.10
ai_panic_decel = 5.0				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.40
ai_squeeze_pcnt = 0.00
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 = 0.44                        ; acceleration grip efficiency
ai_decel_modifier = 1.05                        ; braking grip efficiency
ai_fuel_use = 0.98                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97                         ; > 1.0 = more grip
ai_drag_modifier = 1.05                         ; > 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.03                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.00                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00                       ; right tire wear adjuster for ai
ai_pacing_distance = 1.90
ai_bunching_distance = 1.90
ai_drafting_distance = 1.15
ai_dlongpad_scale = 5.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.20
ai_squeeze_pcnt = 0.00
ai_inverse_slipcurve_k = 0.25                   ; how much slip angle AI need to corner. smaller = more, more = increased drag



[ AppRuleEnterPits ]
pit0_entrance_point0_dlat  = 73.83
pit0_entrance_point0_dlong  = 402.15
pit0_entrance_point1_dlat  = 63.28
pit0_entrance_point1_dlong  = 402.15

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 290.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 195.0			; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 35.0			; length of merge window
pit_lane_end_dlong = 201.64                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 403.20                   ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -3.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 = 15.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 40.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 226.56                       ; 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

; special stalls
stall_qual_exit = 188.00 69.00 0.00


; regular stalls
stall_0 = 148.61 73.53 0.03
stall_1 = 123.19 73.19 0.01
stall_2 = 98.78 72.83 0.03
stall_3 = 74.49 72.49 0.03
stall_4 = 50.27 72.28 0.02
stall_5 = 28.45 72.09 0.04
stall_6 = 18.30 72.09 0.00
stall_7 = 8.78 72.09 0.00
;Victory Lane stall_8 = 964.59 72.09 0.00
stall_8 = 955.20 72.09 0.00
stall_9 = 946.07 72.09 0.00			
stall_10 = 936.56 72.09 0.00			
stall_11 = 926.28 72.09 0.00		
stall_12 = 916.32 72.09 0.00			
stall_13 = 906.43 72.09 0.00			
stall_14 = 896.73 72.09 0.00			
stall_15 = 887.23 72.09 -0.03			
stall_16 = 863.19 72.38 -0.03			
stall_17 = 838.40 72.77 -0.04			
stall_18 = 813.93 72.94 -0.02			
stall_19 = 789.23 73.17 -0.05			
stall_20 = 764.52 73.42 -0.05			
stall_21 = 739.38 73.61 -0.03			
;Pit Access stall_23 = 712.80 73.91 -0.02
;Pit Access stall_24 = 690.26 74.08 0.00
stall_22 = 663.88 73.77 0.04			
stall_23 = 638.84 73.47 0.02			
stall_24 = 614.28 73.16 0.044			
stall_25 = 590.21 72.87 0.03		
stall_26 = 566.10 72.63 0.03			
stall_27 = 541.75 72.25 0.03			
stall_28 = 516.76 71.95 0.02			
stall_29 = 505.21 71.95 0.01			
stall_30 = 495.71 71.95 -0.00			
stall_31 = 486.58 71.95 -0.00			
stall_32 = 477.13 71.95 -0.01			
stall_33 = 467.41 71.95 0.00			
stall_34 = 457.42 71.95 0.00			
stall_35 = 447.56 71.95 0.00
						;stall_36 = 437.80 71.95 -0.00
						;stall_37 = 428.02 71.95 -0.00
						;stall_38 = 418.65 71.95 0.00
						;stall_39 = 409.11 71.95 0.00


[ AppRuleEnterPits ]
pit1_entrance_point0_dlat  = 63.63
pit1_entrance_point0_dlong  = 795.00
pit1_entrance_point1_dlat  = 63.41
pit1_entrance_point1_dlong  = 836.00

[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 350.00               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 775.00                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 35.0                  ; length of merge window
pit_lane_end_dlong = 201.64                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 887.20                   ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -3.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 = 15.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 40.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 226.56                       ; 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 = 25.0		; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 50.0		; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset =20.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -1.0      	; goal dlat offset for the pit stall exit
stall_pace = 184.64 74.78 0.05			;170.00 73.40 0.05


[ starting_grid_0 ]
stall_pace = 95.00 57.76 0.00
stall_0 = 75.00 59.76 0.04
stall_1 = 75.00 55.76 0.04
stall_2 = 57.94 59.19 0.09
stall_3 = 57.94 55.19 0.09
stall_4 = 41.17 58.18 0.14
stall_5 = 41.17 54.18 0.14
stall_6 = 27.60 56.75 0.16
stall_7 = 27.60 52.75 0.16
stall_8 = 18.59 55.53 0.12
stall_9 = 18.59 51.53 0.12
stall_10 = 9.53 54.68 0.08
stall_11 = 9.53 50.68 0.08
stall_12 = 0.44 54.12 0.05
stall_13 = 0.44 50.12 0.05
stall_14 = 956.95 53.78 0.03
stall_15 = 956.95 49.78 0.03
stall_16 = 947.85 53.58 0.02
stall_17 = 947.85 49.58 0.02
stall_18 = 938.75 53.50 0.00
stall_19 = 938.75 49.50 0.00
stall_20 = 929.65 53.58 -0.02
stall_21 = 929.65 49.58 -0.02
stall_22 = 920.55 53.84 -0.04
stall_23 = 920.55 49.84 -0.04
stall_24 = 911.46 54.24 -0.05
stall_25 = 911.46 50.24 -0.05
stall_26 = 902.38 54.76 -0.07
stall_27 = 902.38 50.76 -0.07
stall_28 = 893.31 55.60 -0.12
stall_29 = 893.31 51.60 -0.12
stall_30 = 882.22 56.92 -0.16
stall_31 = 882.22 52.92 -0.16
stall_32 = 865.80 58.20 -0.13
stall_33 = 865.80 54.20 -0.13
stall_34 = 849.01 59.11 -0.07
stall_35 = 849.01 55.11 -0.07
stall_36 = 831.98 59.56 -0.03
stall_37 = 831.98 55.56 -0.03
stall_38 = 814.85 59.76 -0.01
stall_39 = 814.85 55.76 -0.01
stall_40 = 797.68 59.83 -0.00
stall_41 = 797.68 55.83 -0.00
stall_42 = 780.50 59.86 -0.00

[ starting_grid_1 ]
stall_pace = 514.00 52.56 0.00
stall_0 = 504.00 55.25 0.00
stall_1 = 504.00 50.25 0.00
stall_2 = 495.50 55.25 0.00
stall_3 = 495.50 50.25 0.00
stall_4 = 487.00 55.25 0.00
stall_5 = 487.00 50.25 0.00
stall_6 = 478.50 55.25 0.00
stall_7 = 478.50 50.25 0.00
stall_8 = 470.00 55.25 0.00
stall_9 = 470.00 50.25 0.00
stall_10 = 461.50 55.25 0.00
stall_11 = 461.50 50.25 0.00
stall_12 = 453.00 55.25 0.00
stall_13 = 453.00 50.25 0.00
stall_14 = 444.50 55.25 0.00
stall_15 = 444.50 50.25 0.00
stall_16 = 436.00 55.25 0.00
stall_17 = 436.00 50.25 0.00
stall_18 = 427.50 55.25 0.00
stall_19 = 427.50 50.25 0.00
stall_20 = 419.00 55.25 0.00
stall_21 = 419.00 50.25 0.00
stall_22 = 410.50 55.25 0.00
stall_23 = 410.50 50.25 0.00
stall_24 = 402.00 55.25 0.00
stall_25 = 402.00 50.25 0.00
stall_26 = 387.00 55.25 0.00
stall_27 = 387.00 50.25 0.00
stall_28 = 372.00 55.25 0.00
stall_29 = 372.00 50.25 0.00
stall_30 = 357.00 55.25 0.00
stall_31 = 357.00 50.25 0.00
stall_32 = 342.00 55.25 0.00
stall_33 = 342.00 50.25 0.00
stall_34 = 327.00 55.25 0.00
stall_35 = 327.00 50.25 0.00
stall_36 = 312.00 55.25 0.00
stall_37 = 312.00 50.25 0.00
stall_38 = 297.00 55.25 0.00
stall_39 = 297.00 50.25 0.00
stall_40 = 282.00 55.25 0.00
stall_41 = 282.00 50.25 0.00
stall_42 = 267.00 55.25 0.00



[ SPCC ]
num_named_sections = 6

name_0 = 31.00 218.00 T1
name_1 = 218.00 404.00 T2
name_2 = 404.00 514.00 BSTR
name_3 = 514.00 699.00 T3
name_4 = 699.00 886.00 T4
name_5 = 886.00 31.00 FSTR



