accelpass {cartools} | R Documentation |
accelpass
function estimates the relative locations of two vehicles where one passes the other.The accelpass
function estimates the relative locations of two vehicles where one passes the other.
accelpass(tend, umn, usd, xstart, xfunnel, leff, lane, step)
tend |
end time for a simulation run, a number |
umn |
start speed (mph) for vehicle in lane 1, a number |
usd |
speed volatility for |
xstart |
start location for vehicle in lane 1 (feet), a number |
xfunnel |
upstream location where the lane drop starts (feet), a number |
leff |
effective vehicle length(feet), a number |
lane |
number, a number |
step |
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.
accelpass(30, 41, 11, -1000, -500, 14, 1, 2)