Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modeling #4 - The Cab Control Problem

Similar presentations


Presentation on theme: "Modeling #4 - The Cab Control Problem"— Presentation transcript:

1 Modeling #4 - The Cab Control Problem
The speed-of-approach algorithm employs:

2 Modeling - The Cab Control Problem
Start as before with the equation for the velocity of the leading car A: Again use the numerical approach:

3 Modeling - The Cab Control Problem
Then repeat for the trailing car B: 1. Calculate the acceleration an from the speed-of-approach algorithm 2. Calculate the velocity vn+1 3. Calculate the distance yn+1

4 Modeling - The Cab Control Problem
4. Calculate the relative speed: then compute the new acceleration from the speed of approach algorithm. 5. Increment the time, and repeat all of the calculations for both cab A and cab B

5 Modeling - The Cab Control Problem
Note: Once again, you must limit the accelerations With “if” statements, or some other approach, you must stop the acceleration from exceeding the two limits (amax and -dmax)


Download ppt "Modeling #4 - The Cab Control Problem"

Similar presentations


Ads by Google