Giter Club home page Giter Club logo

pit_strategy_optimizer's Introduction

Pit strategy optimizer

Calculates optimal pit strategy for simracing events based on data which includes:

  • Lap-times with regard to tyre-types and tyre-wear
  • Limited driving range because of finite fuel supply
  • Duration of pit stops

Install

Install the project to your machine

cd ~
git clone [email protected]:hallgrimur1471/pit_strategy_optimizer
cd pit_strategy_optimizer
python3.7 -m pip install --upgrade --user virtualenv
virtualenv .virtualenv
source .virtualenv/bin/activate
python3.7 -m pip install --upgrade -r requirements.txt

Enable Google Sheets API

Open this link and click the "Enable the Google Sheets API" button. After accepting the terms click "Download client configuration" and save the file to ~/pit_strategy_optimizer/.credentials.json

Usage

Data should be logged to a spreadsheet document, using some predefined setup of the spreadsheet (See this example WIP spreadsheet).

cd ~/pit_strtategy_optimizer
source .virtualenv/bin/activate
./calculate_optimal_strategy.py --help

Development tools used

Fixer: black

Authors

  • Hallgrímur Davíð Egilsson - github
  • Arnar Þór Gíslason - github

pit_strategy_optimizer's People

Contributors

hallgrimur1471 avatar arnargisla avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.