Trying to solve a problem for the acceleration of an automated shuttle car at my work, been a while since I studied this stuff so thought I'd reach out for help.
I have a shuttle car that is tasked with moving a certain distance to pick up a load. I need to calculate the time that this movement will take. The complication is that there are four different accelerations the shuttle will use for different speeds.
Initially, the shuttle accelerates at $a_1$ for some time until it reaches a velocity threshold $v_1$. Once it reaches $v_1$, it begins accelerating at $a_2$ until it reaches speed $v_2$. It continues in this fashion until it reaches max speed $v_4$ (although, for some shorter distances it may never reach some of these thresholds). Deceleration happens in the same fashion.
So to summarize, given a distance and a table of acceleration constants (which depend on velocity), calculate the time required to move said distance. Any and all help much appreciated.