73 double vehicleMass,
double vehicleLoading,
double vehicleMassRot,
74 double crossArea,
double cWValue,
75 double f0,
double f1,
double f2,
double f3,
double f4,
76 double ratedPower,
double pNormV0,
double pNormP0,
double pNormV1,
77 double pNormP1, std:: string vehicelFuelType,
78 const std::vector< std::vector<double> >& matrixFC,
79 const std::vector<std::string>& headerLinePollutants,
80 const std::vector< std::vector<double> >& matrixPollutants,
81 const std::vector< std::vector<double> > matrixSpeedRotational
96 double CalcPower(
double v,
double a,
double slope)
const;
107 double GetMaxAccel(
double v,
double a,
double gradient)
const;
114 double GetEmission(
const std::string& pollutantIdentifier,
double power)
const;
227 double Interpolate(
double px,
double p1,
double p2,
double e1,
double e2)
const;
235 void FindLowerUpperInPattern(
int& lowerIndex,
int& upperIndex, std::vector<double> pattern,
double value)
const;
double GetRatedPower() const
Getter function to recieve vehicle data from CEP.
Data Handler for a single CEP emission data set.
double GetVehicleLoading() const
Getter function to recieve vehicle data from CEP.
std::vector< double > _powerPatternFC
double GetCdValue() const
Getter function to recieve vehicle data from CEP.
double GetResistanceF3() const
Getter function to recieve vehicle data from CEP.
double GetEmission(const std::string &pollutantIdentifier, double power) const
Returns a emission measure for power[kW] level.
SUMOEmissionClass GetEmissionClass() const
Getter function to recieve vehicle data from CEP.
std::vector< double > _speedCurveRotational
double _massVehicle
vehicle mass
double _resistanceF1
Rolling resistance f1.
std::string _vehicleFuelType
double GetMassVehicle() const
Getter function to recieve vehicle data from CEP.
std::string GetVehicleFuelType() const
Getter function to recieve vehicle data from CEP.
double GetCrossSectionalArea() const
Getter function to recieve vehicle data from CEP.
double _pNormP0
Step functions parameter for maximum rated power.
double _pNormV1
Step functions parameter for maximum rated power.
double _resistanceF3
Rolling resistance f3.
double _massRot
rotational mass of vehicle
double GetMaxAccel(double v, double a, double gradient) const
Returns the maximum accelaration for a vehicle at state v,a, slope and loading.
double _pNormV0
Step functions parameter for maximum rated power.
SUMOEmissionClass
Definition of vehicle emission classes.
double _crossSectionalArea
crosssectional area of vehicle
double _vehicleLoading
vehicle loading
double _pNormP1
Step functions parameter for maximum rated power.
std::vector< double > _speedPatternRotational
PHEMCEP(bool heavyVehicel, SUMOEmissionClass emissionClass, double vehicleMass, double vehicleLoading, double vehicleMassRot, double crossArea, double cWValue, double f0, double f1, double f2, double f3, double f4, double ratedPower, double pNormV0, double pNormP0, double pNormV1, double pNormP1, std::string vehicelFuelType, const std::vector< std::vector< double > > &matrixFC, const std::vector< std::string > &headerLinePollutants, const std::vector< std::vector< double > > &matrixPollutants, const std::vector< std::vector< double > > matrixSpeedRotational)
double GetRotationalCoeffecient(double speed) const
Calculates rotational index for speed.
double _resistanceF4
Rolling resistance f4.
double GetResistanceF1() const
Getter function to recieve vehicle data from CEP.
double _resistanceF0
Rolling resistance f0.
std::vector< double > _cepCurveFC
double GetPMaxNorm(double speed) const
Calculates maximum available rated power for speed.
int _sizeOfPatternPollutants
double GetResistanceF0() const
Getter function to recieve vehicle data from CEP.
std::vector< double > _powerPatternPollutants
double Interpolate(double px, double p1, double p2, double e1, double e2) const
Interpolates emission linearly between two known power-emission pairs.
double GetResistanceF2() const
Getter function to recieve vehicle data from CEP.
double _ratedPower
rated power of vehicle
double CalcPower(double v, double a, double slope) const
Returns the power of used for a vehicle at state v,a, slope and loading.
StringBijection< std::vector< double > > _cepCurvePollutants
void FindLowerUpperInPattern(int &lowerIndex, int &upperIndex, std::vector< double > pattern, double value) const
Finds bounding upper and lower index in pattern for value.
double GetMassRot() const
Getter function to recieve vehicle data from CEP.
SUMOEmissionClass _emissionClass
PHEM emission class of vehicle.
double _resistanceF2
Rolling resistance f2.
double GetResistanceF4() const
Getter function to recieve vehicle data from CEP.