IDMDynamics

scalation.simulation.process.IDMDynamics
object IDMDynamics extends Dynamics

The IDMDynamics object provides equations for the Intelligent Driver Model (IDM) car-following model.

Attributes

See also
Graph
Supertypes
trait Dynamics
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def iDM(cn: Vehicle, cp: Vehicle, del: Double): Double

Return the acceleration of the vehicle based on the Intelligent Driver Model for a vehicle and its predecessor.

Return the acceleration of the vehicle based on the Intelligent Driver Model for a vehicle and its predecessor.

Value parameters

cn

the current vehicle

cp

the predecessor of the current vehicle

del

the acceleration exponent (defaults to 4)

Attributes

def updateM(car: Vehicle, length: Double): Unit

Update the vehicle's acceleration, velocity, and position using the Intelligent Driver Model (located in Motion) and Butcher's method for solving ordinary differential equations.

Update the vehicle's acceleration, velocity, and position using the Intelligent Driver Model (located in Motion) and Butcher's method for solving ordinary differential equations.

Value parameters

car

the car/vehicle whose acceleration, velocity, and position is being updated

length

the length of the road (VTransport)

Attributes

Inherited methods

def updateV(car: Vehicle, length: Double): Unit

Update the values of the vehicle: velocity, and displacement according to to the car-following model being used.

Update the values of the vehicle: velocity, and displacement according to to the car-following model being used.

Value parameters

car

the vehicle to move

length

the length of the road (VTransport)

Attributes

Inherited from:
Dynamics