An upper class for objects with additional parameters.
Helper methods for energy-based electricity consumption computation based on the battery device.
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.
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.
HelpersEnergy()
Constructor (initializes myEmissionClassStrings)
std::string getFuel(const SUMOEmissionClass) const
Returns the fuel type described by this emission class as described in the Amitran interface (Gasolin...
static const int ENERGY_BASE
zero emission model, used as superclass for the other model helpers
EmissionType
Enumerating all emission types, including fuel.