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 exponenent (defualts to 4)

Attributes

def updateM(car: Vehicle): 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

Attributes

Inherited methods

def updateV(car: Vehicle): Unit

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

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

Value parameters

car

the vehivle to move

motion

the dynamics/physics determining the motion (e.g., car-following model)

Attributes

Inherited from:
Dynamics