rrtrials: 'rrtrials' produces 't-x' trajectories for lead and following...

Description Usage Arguments Value

View source: R/rrtrials.R

Description

rrtrials produces t-x trajectories for lead and following vehicles on a ring road

Usage

1
rrtrials(umn, usd, k0, N, T, leff, nveh, xlim, ylim)

Arguments

umn

lead vehicle speed (mph), a number

usd

standard deviation of lead vehicle speed (mph), a number

k0

traffic density (vehicles per mile, vpm), a number

N

number of time-steps, a number

T

upper time range (seconds), a number

leff

effective vehicle length (feet), a number

nveh

number of following vehicles, a number

xlim

plot range along the t axis, a vector

ylim

plot range along the x axis, a vector

Value

The rrtrials function returns t-x trajectories. for the lead and following vehicles on a single-lane road. This is a strict car-following model. Crossing trajectories are disallowed. In addition, a following vehicle driver maintains a safe headway while attempting to minimize travel time. In other words, the following vehicle's movement is constrained. Output from The rrtrials is an output matrix called LF.


PJOssenbruggen/Basic documentation built on May 25, 2019, 1:20 p.m.