f1-nexus-core
Core domain types and fundamental racing logic for Formula 1 strategy optimization.
Features
- Comprehensive F1 Domain Models: Telemetry data, race state, tire compounds, fuel management
- Track Definitions: 24 official F1 circuits with accurate characteristics
- Tire Physics: Advanced degradation models for all compound types (C0-C5, Intermediate, Wet)
- Fuel Consumption: Realistic fuel burn rates and lap time impacts
- Weather Integration: Weather conditions and their effects on strategy
- ERS Management: Energy recovery system modeling and deployment strategies
- FIA Regulations: Rule compliance checking and penalty calculations
Installation
[]
= "1.0.0-alpha.2"
Quick Start
use *;
// Create a circuit
let monaco = Circuit ;
// Define tire compounds
let tire = C3;
println!;
// Create race strategy
let strategy = RaceStrategy ;
Use Cases
- Race Strategy Development: Build custom pit stop and tire strategies
- Telemetry Analysis: Process and analyze real-time F1 telemetry data
- Race Simulation: Create race scenarios with different strategies
- Track Analysis: Study circuit characteristics and their impact on strategy
- Educational Tools: Learn about F1 race engineering and strategy
Supported Circuits
Monaco, Silverstone, Spa-Francorchamps, Monza, Suzuka, Singapore, Abu Dhabi, and 17 more official F1 circuits with accurate track data.
Documentation
Full API documentation available at docs.rs/f1-nexus-core
Related Crates
f1-nexus-strategy- Pit stop optimization algorithmsf1-nexus-telemetry- Real-time telemetry processingf1-nexus-cli- Command-line interface
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.