17 #ifndef SUMO_MSCFMODEL_RAIL_H 18 #define SUMO_MSCFMODEL_RAIL_H 34 double predMaxDecel,
const MSVehicle*
const pred = 0)
const;
56 double freeSpeed(
const MSVehicle*
const veh,
double speed,
double seen,
double maxSpeed,
57 const bool onInsertion)
const;
224 params.
vmax = 500 / 3.6;
344 params.
vmax = 430 / 3.6;
420 params.
vmax = 250 / 3.6;
434 params.
vmax = 300 / 3.6;
520 params.
vmax = 160 / 3.6;
578 params.
vmax = 120 / 3.6;
628 params.
vmax = 120 / 3.6;
722 params.
vmax = 160 / 3.6;
735 #endif //SUMO_MSCFMODEL_RAIL_H LookUpMap initNGT400Resistance() const
LookUpMap initICE3Resistance() const
Representation of a vehicle in the micro simulation.
TrainParams initRB425Params() const
TrainParams initICE1Params() const
double stopSpeed(const MSVehicle *const veh, const double speed, double gap) const
Computes the vehicle's safe speed for approaching a non-moving obstacle (no dawdling) ...
MSCFModel_Rail(const MSVehicleType *vtype)
Constructor.
MSCFModel::VehicleVariables * createVehicleVariables() const
Returns model specific values which are stored inside a vehicle and must be used with casting...
The car-following model abstraction.
virtual MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
virtual double maxNextSpeed(double speed, const MSVehicle *const veh) const
Returns the maximum speed given the current speed.
LookUpMap initNGT400_16Traction() const
LookUpMap initNGT400_16Resistance() const
std::map< double, double > LookUpMap
virtual double minNextSpeed(double speed, const MSVehicle *const veh) const
Returns the minimum speed given the current speed (depends on the numerical update scheme and its ste...
LookUpMap initREDosto7Resistance() const
TrainParams initICE3Params() const
LookUpMap initRB628Traction() const
LookUpMap initICE3Traction() const
TrainParams initNGT400_16Params() const
double finalizeSpeed(MSVehicle *const veh, double vPos) const
Applies interaction with stops and lane changing model influences. Called at most once per simulation...
LookUpMap initREDosto7Traction() const
double getSpeedAfterMaxDecel(double v) const
Returns the velocity after maximum deceleration.
The car-following model and parameter.
TrainParams initREDosto7Params() const
TrainParams initNGT400Params() const
double freeSpeed(const MSVehicle *const veh, double speed, double seen, double maxSpeed, const bool onInsertion) const
Computes the vehicle's safe speed without a leader.
TrainParams initRB628Params() const
LookUpMap initICE1Traction() const
LookUpMap initRB628Resistance() const
virtual ~MSCFModel_Rail()
virtual double minNextSpeedEmergency(double speed, const MSVehicle *const veh=0) const
Returns the minimum speed after emergency braking, given the current speed (depends on the numerical ...
TrainParams myTrainParams
LookUpMap initFreightResistance() const
LookUpMap initFreightTraction() const
TrainParams initFreightParams() const
double followSpeed(const MSVehicle *const veh, double speed, double gap2pred, double predSpeed, double predMaxDecel, const MSVehicle *const pred=0) const
Computes the vehicle's follow speed (no dawdling)
virtual int getModelID() const
Returns the model's ID; the XML-Tag number is used.
LookUpMap initICE1Resistance() const
double getInterpolatedValueFromLookUpMap(double speed, const LookUpMap *lookUpMap) const
LookUpMap initRB425Traction() const
LookUpMap initNGT400Traction() const
LookUpMap initRB425Resistance() const