Autopysta
Loading...
Searching...
No Matches
p_idm Class Reference

Parameters for the Intelligent Driver Model (IDM). More...

#include <p_idm.h>

Inheritance diagram for p_idm:
params

Public Member Functions

 p_idm ()
 Default constructor with standard IDM parameters.
 
 p_idm (double v0, double T, double a, double b, double s0, double l)
 Constructor for IDM parameters with custom values.
 
- Public Member Functions inherited from params
 params ()
 Default constructor for the params class.
 

Public Attributes

double v0 = 120.0 / 3.6
 Maximum desired speed (m/s).
 
double T = 1.6
 Desired time headway (s).
 
double a = 0.73
 Maximum acceleration (m/s²).
 
double b = 1.67
 Comfortable deceleration (m/s²).
 
double dl = 4
 Acceleration exponent.
 
double s0 = 2
 Minimum gap (jam distance) in congested traffic (m).
 
double l = 5
 Vehicle length (m).
 

Detailed Description

Parameters for the Intelligent Driver Model (IDM).

This class contains the specific parameters for the Intelligent Driver Model (IDM), including maximum desired speed, acceleration and deceleration capabilities, and desired time headway. These parameters control the behavior of vehicles in the IDM and can be tuned based on empirical data.

Constructor & Destructor Documentation

◆ p_idm() [1/2]

p_idm::p_idm ( )

Default constructor with standard IDM parameters.

Initializes the IDM parameters with default values based on empirical studies.

See also
M. Treiber, A. Hennecke, and D. Helbing, "Congested traffic states in empirical observations and microscopic simulations," Phys. Rev. E, 62, 1805 (2000).

◆ p_idm() [2/2]

p_idm::p_idm ( double v0,
double T,
double a,
double b,
double s0,
double l )

Constructor for IDM parameters with custom values.

This constructor allows the user to define custom values for the IDM parameters, including maximum speed, time headway, and acceleration properties.

Parameters
v0Maximum desired speed (m/s).
TDesired time headway (s).
aMaximum acceleration (m/s²).
bComfortable deceleration (m/s²).
s0Minimum gap in congested traffic (m).
lVehicle length (m).

The documentation for this class was generated from the following file: