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

Parameter class for the random acceleration model based on Laval et al. (2014). More...

#include <p_newell_random_acceleration.h>

Inheritance diagram for p_newell_random_acceleration:
p_newell params

Public Member Functions

 p_newell_random_acceleration ()
 Default constructor for the random acceleration parameters.
 
 p_newell_random_acceleration (double u, double w, double kj, double sigma_tilde, double beta)
 Constructor with custom parameter values.
 
- Public Member Functions inherited from p_newell
 p_newell ()
 Default constructor for p_newell.
 
 p_newell (double u, double w, double kj)
 Constructor with custom parameter values.
 
- Public Member Functions inherited from params
 params ()
 Default constructor for the params class.
 

Public Attributes

double sigma_tilde = 0.11
 Standard deviation of the random acceleration term.
 
double beta = 0.07
 Inverse relaxation time, affecting the temporal responsiveness of vehicles.
 
- Public Attributes inherited from p_newell
double u = 90.0 / 3.6
 Free-flow speed in meters per second (default: 90 km/h).
 
double w = 18.0 / 3.6
 Wave speed in meters per second (default: 18 km/h).
 
double kj = 0.15
 Jam density in vehicles per meter (default: 0.15 vehicles/meter).
 

Detailed Description

Parameter class for the random acceleration model based on Laval et al. (2014).

This class manages the specific parameters required for Laval's random acceleration extension to Newell's car-following model. These parameters control the stochastic behavior of vehicles in traffic simulations.

Constructor & Destructor Documentation

◆ p_newell_random_acceleration() [1/2]

p_newell_random_acceleration::p_newell_random_acceleration ( )

Default constructor for the random acceleration parameters.

Initializes the parameters with default values based on typical traffic conditions.

◆ p_newell_random_acceleration() [2/2]

p_newell_random_acceleration::p_newell_random_acceleration ( double u,
double w,
double kj,
double sigma_tilde,
double beta )

Constructor with custom parameter values.

This constructor allows setting custom values for the standard deviation (sigma_tilde), inverse relaxation time (beta), as well as inherited parameters from p_newell.

Parameters
uFree-flow speed in meters per second.
wWave speed in meters per second.
kjJam density in vehicles per meter.
sigma_tildeStandard deviation of the random acceleration term.
betaInverse relaxation time.

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