 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
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 initREDosto7Resistance() const
The car-following model and parameter.
virtual int getModelID() const
Returns the model's ID; the XML-Tag number is used.
LookUpMap initICE3Traction() const
MSCFModel::VehicleVariables * createVehicleVariables() const
Returns model specific values which are stored inside a vehicle and must be used with casting.
TrainParams initRB628Params() const
TrainParams initICE3Params() const
TrainParams initICE1Params() const
MSCFModel_Rail(const MSVehicleType *vtype)
Constructor.
LookUpMap initFreightResistance() const
LookUpMap initREDosto7Traction() const
TrainParams initNGT400Params() const
TrainParams initREDosto7Params() const
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 ...
double getSpeedAfterMaxDecel(double v) const
Returns the velocity after maximum deceleration.
LookUpMap initFreightTraction() const
LookUpMap initRB628Resistance() const
double getInterpolatedValueFromLookUpMap(double speed, const LookUpMap *lookUpMap) const
LookUpMap initNGT400Traction() const
LookUpMap initICE3Resistance() const
TrainParams myTrainParams
LookUpMap initNGT400_16Resistance() const
LookUpMap initICE1Resistance() const
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...
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.
virtual double maxNextSpeed(double speed, const MSVehicle *const veh) const
Returns the maximum speed given the current speed.
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)
LookUpMap initNGT400_16Traction() const
LookUpMap initNGT400Resistance() const
LookUpMap initICE1Traction() const
std::map< double, double > LookUpMap
LookUpMap initRB628Traction() const
LookUpMap initRB425Resistance() const
double finalizeSpeed(MSVehicle *const veh, double vPos) const
Applies interaction with stops and lane changing model influences. Called at most once per simulation...
The car-following model abstraction.
virtual ~MSCFModel_Rail()
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)
TrainParams initRB425Params() const
LookUpMap initRB425Traction() const
virtual MSCFModel * duplicate(const MSVehicleType *vtype) const
Duplicates the car-following model.
TrainParams initFreightParams() const
TrainParams initNGT400_16Params() const
Representation of a vehicle in the micro simulation.