trial {cartools}R Documentation

The function trial produces traffic performance information, stored in lists L and Fw for lead and following vehicles, respectively/ L and Fw contain the information needed to graph a time-distance t-x trajectories for two vehicles.

Description

The function trial produces traffic performance information, stored in lists L and Fw for lead and following vehicles, respectively/ L and Fw contain the information needed to graph a time-distance t-x trajectories for two vehicles.

Usage

trial(ul, ubk, k, uf, d, leff, xlim, ylim)

Arguments

ul

pre-breakdown speed of lead l vehicle, a number

ubk

breakdown speed of lead l vehicle, a number

k

traffic density of the pre-breakdown state, a number

uf

pre-breakdown speed of following f vehicle, a number

d

deceleration rate of the first of lead l vehicle, a number

leff

effective vehicle length (feet), a number

xlim

plot range along the t axis, a vector

ylim

plot range along the x axis, a vector

Value

LF consists of a list of four outputs: (1) an input vector where speed is given in miles per hour (mph), where vehicle density is given in vehicles per mile, vpm, where deceleration rate is given in feet per second squared (fps2), and where vehicle length in feet; (2) an input vector using feet and second scales exclusively; a car-following matrix L; and (4) a output vector consisting various performance estimates of delay including traffic flow in the congested state and shock-wave speed for evaluating queuing.


[Package cartools version 0.1.0 Index]