the simulation tool also requires a speed profile to find the instantaneous acceleration values and consequently the required instantaneous energy as input. Based on the consumed and regained energy, the state of charge (SOC) of the battery is then calculated.