26#define _USE_MATH_DEFINES
44 CEP(
bool heavyVehicle,
double vehicleMass,
double vehicleLoading,
double vehicleMassRot,
double crossArea,
double cWValue,
double f0,
double f1,
double f2,
double f3,
double f4,
double axleRatio, std::vector<double>& transmissionGearRatios,
double auxPower,
double ratedPower,
double engineIdlingSpeed,
double engineRatedSpeed,
double effictiveWheelDiameter,
double pNormV0,
double pNormP0,
double pNormV1,
double pNormP1,
const std::string& vehicelFuelType, std::vector<std::vector<double> >& matrixFC, std::vector<std::string>& headerLinePollutants, std::vector<std::vector<double> >& matrixPollutants, std::vector<std::vector<double> >& matrixSpeedRotational, std::vector<std::vector<double> >& normedDragTable,
double idlingFC, std::vector<double>& idlingPollutants);
136 double CalcPower(
double speed,
double acc,
double gradient);
140 double GetEmission(
const std::string& pollutant,
double power,
double speed,
Helpers* VehicleClass);
145 double GetDecelCoast(
double speed,
double acc,
double gradient);
153 double Interpolate(
double px,
double p1,
double p2,
double e1,
double e2);
std::vector< double > _powerPatternPollutants
std::vector< double > _dragNormTable
const double & getDrivingPower() const
std::vector< double > _powerPatternFC
double GetPMaxNorm(double speed)
std::vector< double > _nNormTable
const NormalizingType & getNormalizingTypeX() const
double _effectiveWheelDiameter
void setDrivingPower(const double &value)
std::map< std::string, std::vector< double > > _cepNormalizedCurvePollutants
std::map< std::string, double > _idlingValuesPollutants
double GetMaxAccel(double speed, double gradient)
const double & getNormalizingPower() const
std::vector< double > _speedPatternRotational
std::vector< double > _normalizedPowerPatternFC
NormalizingType _normalizingType
std::vector< double > _cepCurveFC
std::vector< double > _normedCepCurveFC
std::vector< double > _normailzedPowerPatternPollutants
double _crossSectionalArea
void FindLowerUpperInPattern(int &lowerIndex, int &upperIndex, std::vector< double > &pattern, double value)
std::vector< double > _gearTransmissionCurve
void setRatedPower(const double &value)
double GetRotationalCoeffecient(double speed)
double CalcEngPower(double power)
double GetEmission(const std::string &pollutant, double power, double speed, Helpers *VehicleClass)
std::vector< double > _speedCurveRotational
double CalcPower(double speed, double acc, double gradient)
void InitializeInstanceFields()
const std::string & getFuelType() const
const bool & getHeavyVehicle() const
double GetCO2Emission(double _FC, double _CO, double _HC, Helpers *VehicleClass)
double Interpolate(double px, double p1, double p2, double e1, double e2)
double _engineIdlingSpeed
@ NormalizingType_RatedPower
@ NormalizingType_DrivingPower
std::map< std::string, std::vector< double > > _cepCurvePollutants
const double & getRatedPower() const
double GetDecelCoast(double speed, double acc, double gradient)