You are browsing as a guest. Sign up (or log in) to start making projects!

F1 Lap Time Simulator

  • 1 Devlogs
  • 9 Total hours

I'm building an F1 Lap Time Simulator in C++ , It's going to be a CLI tool that simulates lap times based on inputs like downforce level, tire compound, fuel load, track temperature and other F1 physics variables. It should also simulate a full race with tire degradation over multiple laps

Open comments for this post

8h 54m 52s logged

Building the physics core

Started an F1 lap time simulator in C++with no prior CMake experience, so the first few hours were mainly setup issues.

Once the build worked, I got into the calculations part: drag force, top speed via iterative approximation and a cornering-grip model from centripetal force. Then added tire degradation with compound-specific wear curves and a “cliff” effect, Medium tires lose ~0.012 grip/lap until lap 25, then fall off a cliff at ~0.06/lap.

Put it all together so far into a full race simulator comparing pit strategies. My one-stop vs two-stop comparison came out within 1 second of each other over a 30-lap race.

0
0
2

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…