21 #ifndef HelpersHBEFA_h
22 #define HelpersHBEFA_h
84 return (
SUMOReal)
MAX2((f[0] + f[3] * kmh + f[4] * kmh * kmh + f[5] * kmh * kmh * kmh) / scale, 0.);
90 const double alpha = asin(a / 9.81) * 180. /
M_PI;
91 return (
SUMOReal)
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.);
EmissionType
Enumerating all emission types, including fuel.
static double myFunctionParameter[42][36]
The function parameter.
#define UNUSED_PARAMETER(x)
static const int ZERO_EMISSIONS
the first class in each model representing a zero emission vehicle
abstract superclass for the model helpers
SUMOReal compute(const SUMOEmissionClass c, const PollutantsInterface::EmissionType e, const double v, const double a, const double slope) const
Computes the emitted pollutant amount using the given speed and acceleration.
HelpersHBEFA()
Constructor (initializes myEmissionClassStrings)
Helper methods for HBEFA-based emission computation.
Helper methods for PHEMlight-based emission computation.