74 double differentialRatio,
double gearRatio);
94 double differentialRatio,
double gearRatio);
145 double wheelDiameter_m,
double differentialRatio,
170 double wheelDiameter_m,
double differentialRatio,
171 double gearRatio,
double engineEfficiency);
191 double airDrag_N(
double speed_mps,
double cAir,
double a_m2,
double rho_kgpm3);
249 double cAir,
double a_m2,
double rho_kgpm3,
250 double cr1,
double cr2);
352 virtual void setParameter(
const std::string parameter,
const std::string& value);
353 virtual void setParameter(
const std::string parameter,
double value);
354 virtual void setParameter(
const std::string parameter,
int value);
363 void getEngineData(
double speed_mps,
int& gear,
double& rpm);
double maxEngineAcceleration_mps2(double speed_mps)
double maxNoSlipAcceleration_mps2()
void getEngineData(double speed_mps, int &gear, double &rpm)
double airDrag_N(double speed_mps, double cAir, double a_m2, double rho_kgpm3)
virtual double getRealAcceleration(double speed_mps, double accel_mps2, double reqAccel_mps2, SUMOTime timeStep=0)
double speed_mpsToPower_hp(double speed_mps, const struct EngineParameters::PolynomialEngineModelRpmToHp *engineMapping, double wheelDiameter_m, double differentialRatio, double gearRatio)
double thrust_NToAcceleration_mps2(double thrust_N)
double opposingForce_N(double speed_mps, double mass_kg, double slope, double cAir, double a_m2, double rho_kgpm3, double cr1, double cr2)
double getRealBrakingAcceleration(double speed_mps, double accel_mps2, double reqAccel_mps2, SUMOTime t)
virtual ~RealisticEngineModel()
double rpmToPower_hp(double rpm, const struct EngineParameters::PolynomialEngineModelRpmToHp *engineMapping)
double rpmToSpeed_mps(double rpm, double wheelDiameter_m, double differentialRatio, double gearRatio)
double speed_mpsToThrust_N(double speed_mps, const struct EngineParameters::PolynomialEngineModelRpmToHp *engineMapping, double wheelDiameter_m, double differentialRatio, double gearRatio, double engineEfficiency)
double speed_mpsToRpm(double speed_mps, double wheelDiameter_m, double differentialRatio, double gearRatio)
virtual void setParameter(const std::string parameter, const std::string &value)
double rollingResistance_N(double speed_mps, double mass_kg, double cr1, double cr2)
int performGearShifting(double speed_mps, double acceleration_mps2)
double getEngineTimeConstant_s(double rpm)