Description Usage Arguments Value
The run function is a wrapper for the trial and plotfollow3 functions.
1 2 |
nveh |
number of vehicles in the investigation or |
ulead |
lead vehicle speed (mph) at time |
ulead.sd |
standard deviation of |
ubrkdown |
breakdown speed (mph) of lead vehicle, a number |
ubrkdown.sd |
standard deviation of |
k |
traffic density (vehicles per mile, vpm) of the pre-breakdown state, a number |
k.sd |
standard deviation of following vehicle breakdown speed, a number |
d |
deceleration rate of the lead |
leff |
effective vehicle length (feet), a number |
xlim |
plot range along the |
ylim |
plot range along the |
The function returns an t-x image and eight lists:
output[[1]] returns a vector of run input values; output[[2]] returns
a matrix of pre-breakdown ulead speed, breakdown ubrkdown speed,
pre-breakdown k density values for each vehicle; output[[3]] returns
a time matrix consisting of t0,t1,t2,t3,t4,t5;
output[[4]], output[[5]], output[[6]] and output[[7]] returns matrices
of speed u, location x and safe headway h values for each vehicle
at times t0,t1,t2,t3, respectively. Finally, output[[8]] returns a list
the cflist list consisting of information stored as L and Fw matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.