A parametric quad-motor electric hypercar platform: one parameter table drives the CAD model, the physics, the simulator and every number in this deck.
Jaineil Rana · github.com/jaineil32624/hypercar-x
Shared wheel meshes mean one bake serves all four corners. Procedural materials are kept for offline renders; baked ones are swapped in only for export.
params.json
├─ Vehicle_Length / Width / Height
├─ Wheelbase, Track_Width_Front/Rear
├─ Wheel_Diameter, Wheel_Width
├─ Chassis_Thickness, Tub_Section_Height
├─ Motor_Power, Motor_Torque, Gear_Ratio
├─ Battery_Capacity, Pack_Specific_Energy
├─ Spring_Rate, Motion_Ratio, Damping_Ratio
├─ Brake_Disc_Diameter, Regen_Fraction
└─ Drag_Coefficient, Lift_Coefficient
↓
mass · CG · aero · launch · braking ·
suspension · FEA · range · cost · sim+20 kWh battery → +95 kg mass → CG, inertia, launch, braking, ride frequency and range all recompute. CI re-runs every simulation on every push.
Five variantsA Urban · B Track · C Electric Hypercar · D Off-Road · E Autonomous 2035, each a set of overrides on one base table.
Fx = min(T·G·η / r , P·η / v , μ(mg + ½ρv²CLA)) − ½ρv²CDA − Crrmg
a = Fx / (1.04 m)
Time-stepped at 2 ms. Torque-limited, then traction-limited (aero load grows grip), then power-limited. 1.04 accounts for rotating inertia.
D = ½ρv²CDA · L = ½ρv²CLA
At 250 km/h: drag 1645 N, downforce 4821 N (≈ 40 % of weight). Lateral capacity rises from 1.43 g at 100 km/h to 1.86 g at 250 km/h.
60-0 mph 27.6 m · 100-0 mph 72.4 m
Ideal front brake bias at 1.2 g: 64 % (1.91 kN load transfer)
100-0 stop dumps 1.30 MJ; 35 % regen leaves a 15 °C disc rise per stop on carbon-ceramic.
40-element Euler–Bernoulli stiffness-matrix model of the tub box section under a 3 g bump.
The bending FoS is huge on purpose; torsion, crash and bonded joints drive the real tub layup.
| Metric | A Urban | B Track | C Electric | D Off-Road | E Auto 2035 |
|---|---|---|---|---|---|
| Mass kg | 1294 | 1139 | 1297 | 1520 | 1344 |
| Power kW | 450 | 1250 | 1100 | 620 | 800 |
| 0-60 mph s | 2.74 | 1.77 | 2.10 | 3.08 | 2.28 |
| ¼ mile s | 9.93 | 7.35 | 8.07 | 10.12 | 8.65 |
| 60-0 mph m | 36.3 | 22.9 | 27.6 | 40.0 | 30.1 |
| Lateral g @250 | 1.12 | 3.20 | 1.86 | 0.95 | 1.57 |
| Range km @100 | 624 | 392 | 757 | 509 | 1055 |
| Ride Hz | 1.80 | 3.01 | 2.33 | 1.42 | 2.29 |
| Est. BOM $ | 156k | 244k | 243k | 175k | 282k |
Every swap is live in the simulator garage, with an animated jack-up swap and an instant stat delta.
The pack is 40 % of the car. Solid-state cells (variant E, 0.32 kWh/kg) are the single biggest lever on weight.
Series-system MTBF 10,550 h; R(5000 h) = 0.62. The inverter is the top contributor (9 failures per 10⁶ h) → redundant gate drivers + thermal derating.
hypercar-x/ ├─ params.json master parameter table ├─ hypercar/model.py physics + FEA engine ├─ hypercar/report.py variants → tables & plots ├─ tests/ propagation & bounds tests ├─ blender/ .blend + 15 baked PBR maps ├─ docs/index.html drivable 3D simulator ├─ docs/presentation.html └─ .github/workflows/ CI: test + simulate
Three.js bicycle model with saturating tyres, friction circle, aero drag & downforce, ¼-mile timing, tyre smoke, swappable parts, and the Blender GLB. The simulator's 0-60 matches the Python model (≈2.1 s).