|
Autopysta
|
Parameter class for the Gipps car-following model. More...
#include <p_gipps.h>
Public Member Functions | |
| p_gipps () | |
| Default constructor for p_gipps. | |
| p_gipps (double an, double bn, double sn, double vn, double tau, double bg) | |
| Constructor with custom parameter values. | |
Public Member Functions inherited from params | |
| params () | |
| Default constructor for the params class. | |
Parameter class for the Gipps car-following model.
This class stores the parameters required for simulating vehicle behavior in the Gipps car-following model. The parameters represent key driver behaviors and vehicle constraints, such as:
These parameters are essential for reproducing realistic traffic behavior in simulations, such as maintaining safe following distances and appropriate speed adjustments in response to changing traffic conditions.
Reference: Gipps, P.G. (1981), "A Behavioural Car-Following Model for Computer Simulation", Transport Research Part B, Vol. 15, pp. 105-111.
| p_gipps::p_gipps | ( | ) |
Default constructor for p_gipps.
Initializes the parameters with default values based on general traffic conditions: an = 1.7 m/s² (maximum acceleration), bn = -3.4 m/s² (maximum deceleration), sn = 6.5 meters (jam spacing), vn = 120 km/h (free-flow speed), tau = 0.8 seconds (reaction time), bg = -3.2 m/s² (leader's estimated maximum deceleration).
| p_gipps::p_gipps | ( | double | an, |
| double | bn, | ||
| double | sn, | ||
| double | vn, | ||
| double | tau, | ||
| double | bg ) |
Constructor with custom parameter values.
This constructor allows initializing the parameters with custom values, allowing for specific scenarios to be modeled. These parameters correspond directly to driver and vehicle behaviors.
| an | Maximum acceleration in m/s². |
| bn | Maximum deceleration (braking) in m/s². |
| sn | Jam spacing in meters. |
| vn | Free-flow speed in m/s. |
| tau | Reaction time in seconds. |
| bg | Leader's estimated maximum deceleration in m/s². |