76 double vehicleMass,
double vehicleLoading,
double vehicleMassRot,
77 double crossArea,
double cdValue,
78 double f0,
double f1,
double f2,
double f3,
double f4,
79 double ratedPower,
double pNormV0,
double pNormP0,
double pNormV1,
double pNormP1,
80 double axleRatio,
double engineIdlingSpeed,
double engineRatedSpeed,
double effectiveWheelDiameter,
82 const std::string& vehicleFuelType,
83 const std::vector< std::vector<double> >& matrixFC,
84 const std::vector<std::string>& headerLinePollutants,
85 const std::vector< std::vector<double> >& matrixPollutants,
86 const std::vector< std::vector<double> >& matrixSpeedRotational,
87 const std::vector< std::vector<double> >& normedDragTable,
88 const std::vector<double>& idlingValuesPollutants);
101 double CalcPower(
double v,
double a,
double slope,
double vehicleLoading = 0)
const;
112 double GetMaxAccel(
double v,
double a,
double gradient,
double vehicleLoading = 0)
const;
119 double GetEmission(
const std::string& pollutantIdentifier,
double power,
double speed,
bool normalized =
false)
const;
120 double GetDecelCoast(
double speed,
double acc,
double gradient,
double vehicleLoading)
const;
233 double Interpolate(
double px,
double p1,
double p2,
double e1,
double e2)
const;
241 void FindLowerUpperInPattern(
int& lowerIndex,
int& upperIndex,
const std::vector<double>& pattern,
double value)
const;
Data Handler for a single CEP emission data set.
double GetResistanceF0() const
Getter function to recieve vehicle data from CEP.
double _resistanceF3
Rolling resistance f3.
double _pNormV0
Step functions parameter for maximum rated power.
void FindLowerUpperInPattern(int &lowerIndex, int &upperIndex, const std::vector< double > &pattern, double value) const
Finds bounding upper and lower index in pattern for value.
double _effictiveWheelDiameter
std::vector< double > _speedCurveRotational
StringBijection< std::vector< double > > _cepCurvePollutants
double GetResistanceF1() const
Getter function to recieve vehicle data from CEP.
double _vehicleLoading
vehicle loading
std::string _vehicleFuelType
double GetResistanceF4() const
Getter function to recieve vehicle data from CEP.
double CalcPower(double v, double a, double slope, double vehicleLoading=0) const
Returns the power of used for a vehicle at state v,a, slope and loading.
double GetDragCoeffecient(double nNorm) const
double GetResistanceF2() const
Getter function to recieve vehicle data from CEP.
double _pNormV1
Step functions parameter for maximum rated power.
double _pNormP1
Step functions parameter for maximum rated power.
double GetVehicleLoading() const
Getter function to recieve vehicle data from CEP.
double _resistanceF2
Rolling resistance f2.
std::vector< double > _nNormTable
double _engineIdlingSpeed
SUMOEmissionClass GetEmissionClass() const
Getter function to recieve vehicle data from CEP.
const std::string & GetVehicleFuelType() const
Getter function to recieve vehicle data from CEP.
double GetMassVehicle() const
Getter function to recieve vehicle data from CEP.
double GetCrossSectionalArea() const
Getter function to recieve vehicle data from CEP.
double _resistanceF4
Rolling resistance f4.
double _resistanceF1
Rolling resistance f1.
double GetEmission(const std::string &pollutantIdentifier, double power, double speed, bool normalized=false) const
Returns a emission measure for power[kW] level.
double _resistanceF0
Rolling resistance f0.
std::vector< double > _normedCepCurveFC
std::vector< double > _cepCurveFC
double GetDecelCoast(double speed, double acc, double gradient, double vehicleLoading) const
std::vector< double > _powerPatternPollutants
std::vector< double > _normailzedPowerPatternPollutants
double _massVehicle
vehicle mass
double _pNormP0
Step functions parameter for maximum rated power.
SUMOEmissionClass _emissionClass
PHEM emission class of vehicle.
double GetMaxAccel(double v, double a, double gradient, double vehicleLoading=0) const
Returns the maximum accelaration for a vehicle at state v,a, slope and loading.
std::vector< double > _dragNormTable
double GetMassRot() const
Getter function to recieve vehicle data from CEP.
NormalizingType _normalizingType
std::vector< double > _speedPatternRotational
double Interpolate(double px, double p1, double p2, double e1, double e2) const
Interpolates emission linearly between two known power-emission pairs.
std::vector< double > _powerPatternFC
StringBijection< double > _idlingValuesPollutants
double GetRotationalCoeffecient(double speed) const
Calculates rotational index for speed.
int _sizeOfPatternPollutants
double GetGearCoeffecient(double speed) const
double GetRatedPower() const
Getter function to recieve vehicle data from CEP.
double _ratedPower
rated power of vehicle
double _massRot
rotational mass of vehicle
double GetResistanceF3() const
Getter function to recieve vehicle data from CEP.
std::vector< double > _gearTransmissionCurve
StringBijection< std::vector< double > > _normalizedCepCurvePollutants
double GetCdValue() const
Getter function to recieve vehicle data from CEP.
double GetPMaxNorm(double speed) const
Calculates maximum available rated power for speed.
std::vector< double > _normalizedPowerPatternFC
double _crossSectionalArea
crosssectional area of vehicle