Models

There is a base models package that will provide a generic configuration for specific Tracks, Cars, and Drivers, as it is possible. These examples are intended to work for most conditions, and will likely be tweaked for a specific year. An initial example is setup for a generic Spa and a Spa2014 to show how this might work.

Tracks

class formulapy.models.tracks.Spa(name='Spa', laps=44, fuel_gain=0.12, sc_prob=0.1, dnf_factor=1, sc_laps=4, sc_laptime=160, sc_follow=0.4, pit_window=10.0, drs_gain=0.4, drs_wear=0.1, follow=0.2, defense_time=0.4, ot_thresh=1.0, ot_speed=0.02, start_sd=1.0, t_diff=1.3, rel_wear=0.5, track_wear=15, pitlane=None)[source]
class formulapy.models.tracks.SpaPitLane(inlap_cost=5.0, outlap_cost=13.0)[source]

Seasons

Specific season models will go into season-specific packages. The intent is so that someone could get a 2014 version of Sebastian Vettel and put him in a 2014 car, or they could focus on all time. It is possible that the data could be weighted differently in each case.