Autopysta
Loading...
Searching...
No Matches
p_newell.h
Go to the documentation of this file.
1
12#ifndef _P_NEWELL
13#define _P_NEWELL
14
15#include "params.h"
16#include "Exception.h"
17
32class p_newell : public params {
33public:
34 double u = 90.0 / 3.6;
35 double w = 18.0 / 3.6;
36 double kj = 0.15;
37
50
61 p_newell(double u, double w, double kj);
62};
63
64#endif
Parameter class for Newell's car-following model.
Definition p_newell.h:32
double w
Wave speed in meters per second (default: 18 km/h).
Definition p_newell.h:35
p_newell(double u, double w, double kj)
Constructor with custom parameter values.
p_newell()
Default constructor for p_newell.
double u
Free-flow speed in meters per second (default: 90 km/h).
Definition p_newell.h:34
double kj
Jam density in vehicles per meter (default: 0.15 vehicles/meter).
Definition p_newell.h:36
Base class for car-following model parameters.
Definition params.h:24
File for the params and params_cust classes definitions (short description).