Eclipse SUMO - Simulation of Urban MObility
MSCFModel_Rail::TrainParams Struct Reference

Public Member Functions

double getResistance (double speed) const
 
double getRotWeight () const
 
double getTraction (double speed) const
 

Data Fields

double decl
 
double length
 
double maxPower
 
double maxTraction
 
double mf
 
double recovery
 
double resCoef_constant
 
double resCoef_linear
 
double resCoef_quadratic
 
LookUpMap resistance
 
LookUpMap traction
 
double vmax
 
double weight
 

Detailed Description

Definition at line 72 of file MSCFModel_Rail.h.

Member Function Documentation

◆ getResistance()

double MSCFModel_Rail::TrainParams::getResistance ( double  speed) const

Definition at line 37 of file MSCFModel_Rail.cpp.

References MSCFModel_Rail::getInterpolatedValueFromLookUpMap(), INVALID_DOUBLE, resCoef_constant, resCoef_linear, resCoef_quadratic, and resistance.

Referenced by MSCFModel_Rail::maxNextSpeed(), and MSCFModel_Rail::minNextSpeed().

Here is the caller graph for this function:

◆ getRotWeight()

double MSCFModel_Rail::TrainParams::getRotWeight ( ) const
inline

Definition at line 89 of file MSCFModel_Rail.h.

References mf, and weight.

Referenced by MSCFModel_Rail::maxNextSpeed(), and MSCFModel_Rail::minNextSpeed().

Here is the caller graph for this function:

◆ getTraction()

double MSCFModel_Rail::TrainParams::getTraction ( double  speed) const

Definition at line 47 of file MSCFModel_Rail.cpp.

References MSCFModel_Rail::getInterpolatedValueFromLookUpMap(), INVALID_DOUBLE, and MIN2().

Referenced by MSCFModel_Rail::maxNextSpeed().

Here is the caller graph for this function:

Field Documentation

◆ decl

◆ length

◆ maxPower

double MSCFModel_Rail::TrainParams::maxPower

Definition at line 83 of file MSCFModel_Rail.h.

Referenced by MSCFModel_Rail::MSCFModel_Rail().

◆ maxTraction

double MSCFModel_Rail::TrainParams::maxTraction

Definition at line 84 of file MSCFModel_Rail.h.

Referenced by MSCFModel_Rail::MSCFModel_Rail().

◆ mf

◆ recovery

◆ resCoef_constant

double MSCFModel_Rail::TrainParams::resCoef_constant

Definition at line 85 of file MSCFModel_Rail.h.

Referenced by getResistance(), and MSCFModel_Rail::MSCFModel_Rail().

◆ resCoef_linear

double MSCFModel_Rail::TrainParams::resCoef_linear

Definition at line 86 of file MSCFModel_Rail.h.

Referenced by getResistance(), and MSCFModel_Rail::MSCFModel_Rail().

◆ resCoef_quadratic

double MSCFModel_Rail::TrainParams::resCoef_quadratic

Definition at line 87 of file MSCFModel_Rail.h.

Referenced by getResistance(), and MSCFModel_Rail::MSCFModel_Rail().

◆ resistance

◆ traction

◆ vmax

◆ weight


The documentation for this struct was generated from the following files: