The current simulation does not track battery state continuously. It only computes a final remaining-energy value, which misses changes in power draw over the lap and assumes battery usage too coarsely.
Update the simulation so battery energy and SOC are tracked at each 1 m step alongside speed and acceleration. Use that stepwise battery state to compute final remaining energy.
The current simulation does not track battery state continuously. It only computes a final remaining-energy value, which misses changes in power draw over the lap and assumes battery usage too coarsely.
Update the simulation so battery energy and SOC are tracked at each 1 m step alongside speed and acceleration. Use that stepwise battery state to compute final remaining energy.