An upper class for objects with additional parameters.
Helper methods for energy-based electricity consumption computation based on the battery device.
static constexpr double myDefaultRadialDragCoefficient
double compute(const SUMOEmissionClass c, const PollutantsInterface::EmissionType e, const double v, const double a, const double slope, const EnergyParams *param) const
Computes the emitted pollutant amount using the given speed and acceleration.
static constexpr double myDefaultFrontSurfaceArea
static constexpr double myDefaultRollDragCoefficient
double acceleration(const SUMOEmissionClass c, const PollutantsInterface::EmissionType e, const double v, const double P, const double slope, const EnergyParams *param) const
Computes the achievable acceleration using the given speed and amount of consumed electric power.
static constexpr double myDefaultRecuperationEfficiency
double getWeight(const SUMOEmissionClass) const
Returns a reference weight in kg described by this emission class This implementation returns the def...
HelpersEnergy()
Constructor (initializes myEmissionClassStrings)
static constexpr double myDefaultMass
static constexpr double myDefaultRotatingMass
static constexpr double myDefaultRecuperationEfficiencyByDeceleration
std::string getFuel(const SUMOEmissionClass) const
Returns the fuel type described by this emission class as described in the Amitran interface (Gasolin...
static constexpr double myDefaultAirDragCoefficient
static const int ENERGY_BASE
static constexpr double myDefaultConstantPowerIntake
static constexpr double myDefaultPropulsionEfficiency
zero emission model, used as superclass for the other model helpers
EmissionType
Enumerating all emission types, including fuel.