[ track ]
track_name = PORTLAND SPEEDWAY
track_name_short = Portland Oval
track_city = Portland
track_state = OR
track_length_n_type = 0.50-mile Oval
track_num_turns = 4
track_length = 0.50m
track_altitude = 0.0
track_type = 0						;short oval
chassis_type = 3						;short
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 = 1.12                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.52                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.43                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.16                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.11                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.11                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.11 
track_grass_grip = 1.40 
track_north_angle = 290                         ; 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 = 660 720

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

[ cup ]
record_lap_time = 20.393
record_holder = Rich Bickle (1997 CTS) 

[ cts ]
record_lap_time = 20.393
record_holder = Rich Bickle (1997 CTS) 

[ gns ]
record_lap_time = 20.393
record_holder = Rich Bickle (1997 CTS) 

[ weather ]
track_base_temp = 68.3                          ; 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 = 19.0                         ; 
track_wind_speed = 7.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 = 45                       ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.58                         ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = 5 205 3
pos_1 = 131 187 4
pos_2 = 140 -231 2
pos_3 = -35 -231 2

[ ai_track ]
pace_merge_from_pit_line_dlong = 110
pace_merge_to_pit_line_dlong = 360
pace_speed_limit_mph = 35
ai_accel_modifier = 0.60                        ; acceleration grip efficiency
ai_decel_modifier = 0.98                        ; braking grip efficiency
ai_fuel_use = 0.85                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.93                         ; > 1.0 = more grip
ai_drag_modifier = 1.02                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.065                      	; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.68                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.96                       ; 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.90                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.82                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.32                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.380             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.180         ; lap time gain from low fuel
strategy_base_pitting_cost = 34.499             ; time lost to a stop & go pitstop
ai_pacing_distance = 1.4                        ; car lengths behind while pacing
ai_bunching_distance = 1.4                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.2                      ; car lengths behind while racing
ai_panic_decel = 5.35                           ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0
ai_dlat_pad = 0.0
ai_squeeze_pcnt = 0.5					; anymore than 0.5, cars will scrape pit wall at exit from pits
ai_inverse_slipcurve_k = 0.30                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.63                       	; acceleration grip efficiency
ai_decel_modifier = 0.99                        ; braking grip efficiency
ai_fuel_use = 0.80                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.93	                        ; > 1.0 = more grip
ai_drag_modifier = 1.04                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.065                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.42                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.51                       ; right tire wear adjuster for ai
ai_pacing_distance = 1.55                       ; car lengths behind while pacing
ai_bunching_distance = 1.5                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.2                     	; car lengths behind while racing
ai_dlat_pad = 0.0 ;0.10 
ai_inverse_slipcurve_k = 0.20 ;0.30             ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 32.81
pit0_entrance_point0_dlong = 416.13
pit0_entrance_point1_dlat = 12.11
pit0_entrance_point1_dlong = 416.13

[ pit_lane_0 ]
; AI section
merge_from_pit_line_dlong = 101       	      ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 275 ;305              ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 40.0                 ; length of merge window
pit_lane_end_dlong = 37.58                      ; dlong where pit lane proper ends
pit_lane_start_dlong = 416.13                 	; 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 = -4.0              ; 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_approach_offset = 70.0              ; dlong offset from stall at which to switch to pit_stall_approach_speed
begin_stall_entry_offset = 27.0                 ; dlong offset at which stall entry behavior begins
lane_merge_dlong = 53.84                      	; Dlong which you must remain on the apron when exiting the pitsn 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 = 40.0 ;35.0

; pace car
begin_pacestall_entry_offset = 35.0             ; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 55.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 = 1.85          ; goal dlat offset for the pit stall exit
stall_pace = 24.46 14.37 0.0


; special stalls
stall_qual_exit = 30.71 30.50 -0.01


; stalls
stall_0 = 30.71 30.50 -0.01
stall_1 = 21.56 30.56 -0.00
stall_2 = 12.42 30.58 0.03
stall_3 = 3.27 30.63 -0.01
stall_4 = 802.28 30.72 -0.00
stall_5 = 793.14 30.63 0.01
stall_6 = 783.99 30.56 0.01
stall_7 = 774.84 30.57 -0.00
stall_8 = 765.70 30.58 0.01
stall_9 = 756.55 30.54 -0.01
stall_10 = 747.41 30.69 -0.02
stall_11 = 738.26 30.79 0.02
stall_12 = 726.30 31.09 0.04
stall_13 = 712.29 31.27 -0.02
stall_14 = 698.24 31.32 -0.02
stall_15 = 684.18 31.43 -0.05
stall_16 = 670.09 31.58 -0.01
stall_17 = 655.95 31.67 0.03
stall_18 = 641.81 31.78 -0.03
stall_19 = 627.61 32.08 -0.03
stall_20 = 611.61 32.08 -0.00
stall_21 = 595.67 31.58 0.03
stall_22 = 580.01 30.70 0.08
stall_23 = 564.65 29.92 0.05
stall_24 = 549.49 29.49 0.02
stall_25 = 534.41 29.31 -0.00
stall_26 = 519.32 29.31 0.02
stall_27 = 504.23 29.63 -0.07
stall_28 = 488.98 29.88 0.00
stall_29 = 477.16 29.27 0.07
stall_30 = 468.01 29.14 -0.00
stall_31 = 458.86 29.16 -0.01
stall_32 = 449.72 29.21 -0.00
stall_33 = 440.57 29.26 -0.00
stall_34 = 431.43 29.27 -0.01
stall_35 = 422.28 29.41 -0.03


[ starting_grid_0 ]
stall_pace = 107 2.45 0.0
stall_0 = 100 4.75 0.00
stall_1 = 100 0.0 0.00
stall_2 = 89 4.75 0.0
stall_3 = 89 0.0 0.0
stall_4 = 78 4.75 0.0
stall_5 = 78 0.0 0.0
stall_6 = 67 4.75 0.0
stall_7 = 67 0.0 0.0
stall_8 = 56 4.75 0.0
stall_9 = 56 0.0 0.0 
stall_10 = 45 4.75 0.00
stall_11 = 45 0.0 0.0 
stall_12 = 34 4.75 0.00
stall_13 = 34 0.0 0.0 
stall_14 = 23 4.75 0.0
stall_15 = 23 0.0 0.0 
stall_16 = 12 4.75 0.00
stall_17 = 12 0.0 0.0 
stall_18 = 1 4.75 0.00
stall_19 = 1 0.0 0.0 
stall_20 = 798 4.75 0.00
stall_21 = 798 0.0 0.0 
stall_22 = 787 4.75 0.00
stall_23 = 787 0.0 0.0 
stall_24 = 776 4.75 0.00
stall_25 = 776 0.0 0.0 
stall_26 = 765 4.75 0.00
stall_27 = 765 0.0 0.0 
stall_28 = 754 4.75 0.00
stall_29 = 754 0.0 0.0 
stall_30 = 743 4.75 0.00
stall_31 = 743 0.0 0.0 
stall_32 = 732 4.75 0.00
stall_33 = 732 0.0 0.0 
stall_34 = 721 4.75 0.00
stall_35 = 721 0.0 0.0 


[ starting_grid_1 ]
stall_pace = 323 2 0.0
stall_0 = 315.00 3.87 -0.09
stall_1 = 315.00 -0.63 -0.09
stall_2 = 302.68 4.72 -0.05
stall_3 = 302.68 0.22 -0.05
stall_4 = 290.25 5.24 -0.04
stall_5 = 290.25 0.74 -0.04
stall_6 = 277.74 5.63 -0.03
stall_7 = 277.74 1.13 -0.03
stall_8 = 265.17 5.90 -0.02
stall_9 = 265.17 1.40 -0.02
stall_10 = 252.57 6.06 -0.01
stall_11 = 252.57 1.56 -0.01
stall_12 = 239.95 6.27 -0.02
stall_13 = 239.95 1.77 -0.02
stall_14 = 227.27 6.63 -0.03
stall_15 = 227.27 2.13 -0.03
stall_16 = 214.44 6.77 0.01
stall_17 = 214.44 2.27 0.01
stall_18 = 201.72 6.48 0.03
stall_19 = 201.72 1.98 0.03
stall_20 = 189.08 6.15 0.02
stall_21 = 189.08 1.65 0.02
stall_22 = 176.46 6.09 -0.00
stall_23 = 176.46 1.59 -0.00
stall_24 = 163.84 6.19 -0.01
stall_25 = 163.84 1.69 -0.01
stall_26 = 151.20 6.12 0.03
stall_27 = 151.20 1.62 0.03
stall_28 = 138.63 5.63 0.04
stall_29 = 138.63 1.13 0.04
stall_30 = 126.13 5.22 0.02
stall_31 = 126.13 0.72 0.02
stall_32 = 113.66 5.05 0.01
stall_33 = 113.66 0.55 0.01
stall_34 = 101.21 4.95 0.02
stall_35 = 101.21 0.45 0.02


[ SPCC ]
num_named_sections = 6

name_0 = 70.00 196.00 T1
name_1 = 196.00 321.00 T2
name_2 = 321.00 482.00 BSTR
name_3 = 482.00 597.00 T3
name_4 = 597.00 734.00 T4
name_5 = 734.00 70.00 FSTR