Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
LinearApproxHelpers::LinearApproxMap resistance
 
LinearApproxHelpers::LinearApproxMap traction
 
double vmax
 
double weight
 

Detailed Description

Definition at line 69 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 LinearApproxHelpers::getInterpolatedValue(), 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 86 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 LinearApproxHelpers::getInterpolatedValue(), 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 80 of file MSCFModel_Rail.h.

Referenced by MSCFModel_Rail::MSCFModel_Rail().

◆ maxTraction

double MSCFModel_Rail::TrainParams::maxTraction

Definition at line 81 of file MSCFModel_Rail.h.

Referenced by MSCFModel_Rail::MSCFModel_Rail().

◆ mf

◆ recovery

◆ resCoef_constant

double MSCFModel_Rail::TrainParams::resCoef_constant

Definition at line 82 of file MSCFModel_Rail.h.

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

◆ resCoef_linear

double MSCFModel_Rail::TrainParams::resCoef_linear

Definition at line 83 of file MSCFModel_Rail.h.

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

◆ resCoef_quadratic

double MSCFModel_Rail::TrainParams::resCoef_quadratic

Definition at line 84 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: