[ track ]
track_name = Nazareth Speedway™ WKC
track_name_short = Nazareth 2017 Day
track_city = Nazareth
track_state = PA
track_length_n_type = 0.946-mile D-shaped Oval
track_misc_info_1 = Frontstretch and T1 banked 2.7°
track_misc_info_2 = Backstretch banked 2.7°
track_misc_info_3 = T2 & T3 banked 3° T4 & 5 4°
track_misc_info_4 = 
track_num_turns = 3
track_length = 0.946m
track_altitude = 0.0
track_type = 1                                  ; short oval
chassis_type = 3                                ; road course ---> see readme file
default_event_laps = 225
default_qual_laps = 2
track_base_month = 8                            ; the race month used for single, multi, and testing
max_starters = 43
track_tire_heat = 0.89                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.66                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.25                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.94                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.32                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.37                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_grass_grip = 1.08
track_north_angle = 340				; 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 = 1397.38 1441.68

[ track_gns ]
track_asphalt_grip = 1.32                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.37                      ; > means more grip.  Again, keep between about 0.9 and 1.05

[ track_cts ]
track_tire_heat = 0.89                          ; > modifies amount of heat going into the tire at a given track
track_asphalt_grip = 1.32                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.37                      ; > means more grip.  Again, keep between about 0.9 and 1.05

[ track_pta ]
track_type = 1                                  ; short oval
chassis_type = 3                                ; short track
track_tire_heat = 0.86                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.53                          ; > 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.95                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.80                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.85                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_opp_wheel_grip = 0.05
track_wheel_grip = 0.05
track_chassis_grip = 0.05

[ cup ]
record_lap_time = N/A
record_holder = N/A

[ gns ]
record_lap_time = 27.190
record_holder = Jeff green

[ cts ]
record_lap_time = 28.280
record_holder = Jack Sprague

[ pta ]
record_lap_time = 18.419 
record_holder = Patrick Carpentier

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

[CrowdSound]
num_sources = 4
pos_0 = 178 -96 3
pos_1 = 31 -140 4
pos_2 = -147 163 2
pos_3 = 57 163 3

[ ai_track ]
pace_merge_from_pit_line_dlong = 768.000
pace_merge_to_pit_line_dlong = 1021.00
pace_speed_limit_mph = 50
ai_accel_modifier = 0.42                        ; acceleration grip efficiency
ai_decel_modifier = 1.03                        ; braking grip efficiency
ai_fuel_use = 0.96                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.87                         ; > 1.0 = more grip
ai_drag_modifier = 1.06                         ; > 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.063                        ; > 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    > 1.0 = more wear
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 = 0.99                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.800                 ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.35                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 2.958             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.214         ; lap time gain from low fuel
strategy_base_pitting_cost = 22.127             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.4                        ; car lengths behind while pacing
ai_bunching_distance = 2.0                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.13                     ; car lengths behind while racing
ai_panic_decel = 2.5                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 0.7                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.65
ai_squeeze_pcnt = 0.0				; on this track raising it can hinder racing
ai_inverse_slipcurve_k = 0.38                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.41                        ; acceleration grip efficiency
ai_decel_modifier = 1.03                       ; braking grip efficiency
ai_fuel_use = 0.96                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.86                         ; > 1.0 = more grip
ai_drag_modifier = 1.06                         ; > 1.0 = more drag, which is slower
ai_qual_modifier = 1.063                        ; > 1.0 = faster during qualifying

[ ai_track_pta ]
ai_accel_modifier = 0.37                        ; acceleration grip efficiency
ai_decel_modifier = 1.03                        ; braking grip efficiency
ai_fuel_use = 0.96                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.86                         ; > 1.0 = more grip
ai_drag_modifier = 1.20                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 0.99                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.063                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.61                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.77                       ; right tire wear adjuster for ai
ai_drafting_distance = 1.18                     ; car lengths behind while racing
ai_panic_decel = 1.5                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 1.50
ai_dlat_pad = 0.45
ai_inverse_slipcurve_k = 0.70                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 31.62		; point0 = left - point1 = right
pit0_entrance_point0_dlong = 1422.89
pit0_entrance_point1_dlat = 16.98
pit0_entrance_point1_dlong = 1422.89

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 755.00 ;768.00		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 800.00                ; 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 = 290.84                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 1431.41                  ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.5                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -7.5              ; goal dlat offset for the pit stall exit
stall_exit_goal_dlong_offset = 8.5     		; goal dlong offset (ahead) for the pit stall exit 
begin_stall_entry_offset = 25.00		; offset at which to begin entering the pit stall
begin_stall_approach_offset = 70.00		; offset at which to begin approaching the pit stall
lane_merge_dlong = 734.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 = 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 = 304.95 24.84 -0.02

; special stalls
stall_qual_exit = 287.84 25.89 -0.02

; regular stalls
stall_0 = 287.84 25.89 -0.02
stall_1 = 279.29 26.05 0.02
stall_2 = 270.75 25.96 -0.00
stall_3 = 262.20 25.94 0.02
stall_4 = 253.65 25.92 -0.01
stall_5 = 245.11 25.92 0.01
stall_6 = 236.56 25.78 0.01
stall_7 = 228.01 25.84 -0.01
stall_8 = 219.47 26.04 -0.06
stall_9 = 209.98 26.86 -0.10
stall_10 = 199.45 27.69 -0.09
stall_11 = 188.85 28.51 -0.10
stall_12 = 178.16 29.24 -0.10
stall_13 = 167.42 30.17 -0.09
stall_14 = 156.58 31.02 -0.11
stall_15 = 145.61 31.81 -0.08
stall_16 = 133.98 32.44 -0.06
stall_17 = 122.23 32.94 -0.05
stall_18 = 110.41 33.36 -0.06
stall_19 = 98.54 33.74 -0.04
stall_20 = 86.61 33.91 0.01
stall_21 = 75.68 33.75 -0.00
stall_22 = 67.14 33.70 0.03
stall_23 = 58.59 33.46 0.02
stall_24 = 50.05 33.28 0.03
stall_25 = 41.50 32.99 0.03
stall_26 = 32.96 32.79 0.01
stall_27 = 24.41 32.59 0.03
stall_28 = 15.87 32.39 0.02
stall_29 = 7.32 32.23 0.03
stall_30 = 1536.92 31.97 0.03
stall_31 = 1528.38 31.75 0.02
stall_32 = 1519.84 31.49 0.04
stall_33 = 1511.30 31.22 0.02
stall_34 = 1502.75 30.99 0.03
stall_35 = 1494.21 30.73 0.02
stall_36 = 1485.67 30.54 0.02
stall_37 = 1477.13 30.33 0.03
stall_38 = 1468.58 30.10 0.02
stall_39 = 1460.04 29.87 0.05
stall_40 = 1451.50 29.67 0.02
stall_41 = 1442.96 29.50 -0.00
stall_42 = 1434.41 29.55 -0.01

[ starting_grid_0 ]
stall_pace = 5.0 -0.62 -0.00
stall_0 = 1518.14 1.88 -0.00
stall_1 = 1518.14 -3.12 -0.00
stall_2 = 1507.68 1.82 0.01
stall_3 = 1507.68 -3.18 0.01
stall_4 = 1497.23 1.71 0.01
stall_5 = 1497.23 -3.29 0.01
stall_6 = 1486.77 1.73 -0.01
stall_7 = 1486.77 -3.27 -0.01
stall_8 = 1476.32 1.85 -0.02
stall_9 = 1476.32 -3.15 -0.02
stall_10 = 1465.86 2.08 -0.02
stall_11 = 1465.86 -2.92 -0.02
stall_12 = 1455.41 2.18 -0.01
stall_13 = 1455.41 -2.82 -0.01
stall_14 = 1444.96 2.39 -0.04
stall_15 = 1444.96 -2.61 -0.04
stall_16 = 1434.52 3.00 -0.09
stall_17 = 1434.52 -2.00 -0.09
stall_18 = 1424.13 4.22 -0.14
stall_19 = 1424.13 -0.78 -0.14
stall_20 = 1413.77 5.69 -0.12
stall_21 = 1413.77 0.69 -0.12
stall_22 = 1403.26 6.23 -0.08
stall_23 = 1403.26 1.23 -0.08
stall_24 = 1392.64 6.23 -0.03
stall_25 = 1392.64 1.23 -0.03
stall_26 = 1382.00 6.23 0.01
stall_27 = 1382.00 1.23 0.01
stall_28 = 1371.45 6.23 0.00
stall_29 = 1371.45 1.23 0.00
stall_30 = 1360.90 6.23 0.01
stall_31 = 1360.90 1.23 0.01
stall_32 = 1350.36 6.22 0.02
stall_33 = 1350.36 1.22 0.02
stall_34 = 1339.82 6.23 0.01
stall_35 = 1339.82 1.23 0.01
stall_36 = 1329.29 6.24 0.00
stall_37 = 1329.29 1.24 0.00
stall_38 = 1318.76 6.23 0.00
stall_39 = 1318.76 1.23 0.00
stall_40 = 1308.23 6.22 -0.03
stall_41 = 1308.23 1.22 -0.03
stall_42 = 1297.64 6.28 -0.03

[ starting_grid_1 ]
stall_pace = 1037.00 0.27 0.00
stall_0 = 1017.00 2.77 0.01
stall_1 = 1017.00 -2.23 0.01
stall_2 = 1006.50 2.73 0.00
stall_3 = 1006.50 -2.27 0.00
stall_4 = 996.00 2.73 0.00
stall_5 = 996.00 -2.27 0.00
stall_6 = 985.49 2.75 -0.00
stall_7 = 985.49 -2.25 -0.00
stall_8 = 974.99 2.77 -0.00
stall_9 = 974.99 -2.23 -0.00
stall_10 = 964.49 2.85 -0.01
stall_11 = 964.49 -2.15 -0.01
stall_12 = 953.99 2.90 -0.00
stall_13 = 953.99 -2.10 -0.00
stall_14 = 943.49 2.83 0.01
stall_15 = 943.49 -2.17 0.01
stall_16 = 932.99 2.79 0.00
stall_17 = 932.99 -2.21 0.00
stall_18 = 922.49 2.78 0.00
stall_19 = 922.49 -2.22 0.00
stall_20 = 912.00 2.71 0.01
stall_21 = 912.00 -2.29 0.01
stall_22 = 901.50 2.56 0.01
stall_23 = 901.50 -2.44 0.01
stall_24 = 891.00 2.43 0.01
stall_25 = 891.00 -2.57 0.01
stall_26 = 880.50 2.33 0.01
stall_27 = 880.50 -2.67 0.01
stall_28 = 870.00 2.27 0.00
stall_29 = 870.00 -2.73 0.00
stall_30 = 859.50 2.29 -0.00
stall_31 = 859.50 -2.71 -0.00
stall_32 = 849.00 2.33 -0.01
stall_33 = 849.00 -2.67 -0.01
stall_34 = 838.50 2.37 -0.00
stall_35 = 838.50 -2.63 -0.00
stall_36 = 828.00 2.34 0.00
stall_37 = 828.00 -2.66 0.00
stall_38 = 817.50 2.37 -0.01
stall_39 = 817.50 -2.63 -0.01
stall_40 = 807.00 2.50 -0.01
stall_41 = 807.00 -2.50 -0.01
stall_42 = 796.50 2.71 -0.02

[ SPCC ]
num_named_sections = 6
name_0 = 78.00 215.00 T1
name_1 = 215.00 355.00 SHCH
name_2 = 355.00 755.00 T2
name_3 = 755.00 1073.00 BSTR
name_4 = 1073.00 1421.00 T3
name_5 = 1421.00 78.00 FSTR