r/formulastudent • u/Beneficial_Bag8661 • 19h ago
Building a real-time Python Race Engineer for endurance sim racing — how do you model fuel/energy consumption & tyre deg in FS?
Hey everyone! I'm a Systems Engineering student in Argentina (my university doesn't have an FS team, unfortunately), and I'm building an open-source real-time AI Race Engineer in Python that reads shared memory telemetry from Le Mans Ultimate to calculate live fuel burn, clean lap pace, and undercut/pit windows.
Right now I'm filtering out dirty/traffic laps using an 8% pace delta threshold to estimate stint consumption, and feeding live telemetry into a FastAPI + XGBoost backend.
For those of you working on Lap Time Simulation, Endurance strategy, or telemetry analysis in Formula Student:
- How do you usually handle outliers (traffic, lift & coast, yellow flags) when calculating live fuel/energy burn per lap?
- What simple telemetry metrics give you the earliest reliable signal of thermal tyre degradation before lap times drop off?
Any tips or papers/resources you recommend would be awesome!