74 const double kmh = v * 3.6;
78 return (
double)
MAX2((f[0] + f[3] * kmh + f[4] * kmh * kmh + f[5] * kmh * kmh * kmh) / scale, 0.);
85 return (
double)
MAX2((f[0] + f[1] * alpha * kmh + f[2] * alpha * alpha * kmh + f[3] * kmh + f[4] * kmh * kmh + f[5] * kmh * kmh * kmh) / scale, 0.);
#define UNUSED_PARAMETER(x)
An upper class for objects with additional parameters.
Helper methods for HBEFA-based emission computation.
static const int HBEFA_BASE
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 double myFunctionParameter[42][36]
The function parameter.
HelpersHBEFA()
Constructor (initializes myEmissionClassStrings)
zero emission model, used as superclass for the other model helpers
Helper methods for PHEMlight-based emission computation.
EmissionType
Enumerating all emission types, including fuel.