powered by
accelpass
The accelpass function estimates the relative locations of two vehicles where one passes the other.
accelpass(tend, umn, usd, xstart, xfunnel, leff, lane, step)
end time for a simulation run, a number
start speed (mph) for vehicle in lane 1, a number
speed volatility for umn, a number
umn
start location for vehicle in lane 1 (feet), a number
upstream location where the lane drop starts (feet), a number
effective vehicle length(feet), a number
number, a number
size in seconds, a number
accelpass uses a stochastic model to show the locations of vehicle accelerating to pass another vehicle traveling side-by-side at the speed.
# NOT RUN { accelpass(30, 41, 11, -1000, -500, 14, 1, 2) # }
Run the code above in your browser using DataLab