Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
EngineParameters Class Reference

#include <EngineParameters.h>

Collaboration diagram for EngineParameters:
[legend]

Data Structures

struct  GearShiftingRules
 
struct  PolynomialEngineModelRpmToHp
 

Public Member Functions

void computeCoefficients ()
 
void dumpParameters (std::ostream &out)
 
 EngineParameters ()
 
 EngineParameters (const EngineParameters &other)
 
EngineParametersoperator= (const EngineParameters &other)
 
virtual ~EngineParameters ()
 

Data Fields

double __airFrictionCoefficient
 
double __brakesAlpha
 
double __brakesOneMinusAlpha
 
double __cr1
 
double __cr2
 
double __engineTau1
 
double __engineTau2
 
double __engineTauDe_s
 
double __gravity
 
double __maxAccelerationCoefficient
 
double __maxNoSlipAcceleration
 
double __rpmToSpeedCoefficient
 
double __speedToRpmCoefficient
 
double __speedToThrustCoefficient
 
double a_m2
 
double brakesTau_s
 
double cAir
 
double cr1
 
double cr2
 
int cylinders
 
double differentialRatio
 
double dt
 
double engineEfficiency
 
struct PolynomialEngineModelRpmToHp engineMapping
 
bool fixedTauBurn
 
double * gearRatios
 
std::string id
 
double mass_kg
 
double massFactor
 
double maxRpm
 
double minRpm
 
double minSpeed
 
int nGears
 
double rho_kgpm3
 
struct GearShiftingRules shiftingRule
 
double slope
 
double tauBurn_s
 
double tauEx_s
 
double tiresFrictionCoefficient
 
double wheelDiameter_m
 

Detailed Description

Definition at line 35 of file EngineParameters.h.

Constructor & Destructor Documentation

◆ EngineParameters() [1/2]

◆ EngineParameters() [2/2]

◆ ~EngineParameters()

EngineParameters::~EngineParameters ( )
virtual

Definition at line 109 of file EngineParameters.cpp.

References gearRatios.

Member Function Documentation

◆ computeCoefficients()

void EngineParameters::computeCoefficients ( )

◆ dumpParameters()

◆ operator=()

Field Documentation

◆ __airFrictionCoefficient

double EngineParameters::__airFrictionCoefficient

Definition at line 77 of file EngineParameters.h.

Referenced by RealisticEngineModel::airDrag_N(), and computeCoefficients().

◆ __brakesAlpha

double EngineParameters::__brakesAlpha

◆ __brakesOneMinusAlpha

double EngineParameters::__brakesOneMinusAlpha

◆ __cr1

double EngineParameters::__cr1

◆ __cr2

double EngineParameters::__cr2

◆ __engineTau1

double EngineParameters::__engineTau1

◆ __engineTau2

double EngineParameters::__engineTau2

◆ __engineTauDe_s

double EngineParameters::__engineTauDe_s

◆ __gravity

double EngineParameters::__gravity

Definition at line 85 of file EngineParameters.h.

Referenced by computeCoefficients(), and RealisticEngineModel::gravityForce_N().

◆ __maxAccelerationCoefficient

double EngineParameters::__maxAccelerationCoefficient

◆ __maxNoSlipAcceleration

double EngineParameters::__maxNoSlipAcceleration

◆ __rpmToSpeedCoefficient

double EngineParameters::__rpmToSpeedCoefficient

◆ __speedToRpmCoefficient

double EngineParameters::__speedToRpmCoefficient

◆ __speedToThrustCoefficient

double EngineParameters::__speedToThrustCoefficient

◆ a_m2

double EngineParameters::a_m2

◆ brakesTau_s

double EngineParameters::brakesTau_s

◆ cAir

double EngineParameters::cAir

◆ cr1

double EngineParameters::cr1

◆ cr2

double EngineParameters::cr2

◆ cylinders

int EngineParameters::cylinders

◆ differentialRatio

◆ dt

◆ engineEfficiency

double EngineParameters::engineEfficiency

◆ engineMapping

◆ fixedTauBurn

bool EngineParameters::fixedTauBurn

◆ gearRatios

◆ id

std::string EngineParameters::id

◆ mass_kg

double EngineParameters::mass_kg

◆ massFactor

double EngineParameters::massFactor

◆ maxRpm

double EngineParameters::maxRpm

◆ minRpm

◆ minSpeed

double EngineParameters::minSpeed

Definition at line 121 of file EngineParameters.h.

◆ nGears

◆ rho_kgpm3

double EngineParameters::rho_kgpm3

Definition at line 75 of file EngineParameters.h.

Referenced by computeCoefficients(), dumpParameters(), and operator=().

◆ shiftingRule

◆ slope

double EngineParameters::slope

Definition at line 83 of file EngineParameters.h.

Referenced by computeCoefficients(), dumpParameters(), and operator=().

◆ tauBurn_s

double EngineParameters::tauBurn_s

◆ tauEx_s

◆ tiresFrictionCoefficient

double EngineParameters::tiresFrictionCoefficient

◆ wheelDiameter_m


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