![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <CEPHandler.h>
Public Member Functions | |
| CEPHandler () | |
| bool | GetCEP (std::vector< std::string > &DataPath, Helpers *Helper, Correction *DataCor) |
| const std::map< std::string, CEP * > & | getCEPS () const |
Private Member Functions | |
| bool | CalcCorrection (Correction *DataCor, Helpers *Helper, VEHPHEMLightJSON::Vehicle_Data *vehicle_Data) |
| bool | CorrectEmissionData (Correction *DataCor, std::vector< std::string > &header, std::vector< std::vector< double > > &matrix, std::vector< double > &idlingValues) |
| double | GetDetTempCor (Correction *DataCor, const std::string &Emi) |
| bool | Load (std::vector< std::string > &DataPath, Helpers *Helper, Correction *DataCor, bool fleetMix=false) |
| bool | ReadEmissionData (bool readFC, const std::vector< std::string > &DataPath, const std::string &emissionClass, Helpers *Helper, bool fleetMix, Correction *DataCor, std::vector< std::string > &header, std::vector< std::vector< double > > &matrix, std::vector< double > &idlingValues) |
| std::string | ReadLine (std::ifstream &s) |
| bool | ReadVehicleFile (const std::vector< std::string > &DataPath, const std::string &emissionClass, Helpers *Helper, bool fleetMix, VEHPHEMLightJSON::VEH *&Vehicle) |
| const std::vector< std::string > | split (const std::string &s, char delim) |
| double | todouble (const std::string &s) |
| std::vector< double > | todoubleList (const std::vector< std::string > &s) |
Private Attributes | |
| std::map< std::string, CEP * > | _ceps |
Definition at line 232 of file V5/cpp/CEPHandler.h.
| PHEMlightdllV5::CEPHandler::CEPHandler | ( | ) |
Definition at line 38 of file V5/cpp/CEPHandler.cpp.
|
private |
Definition at line 54 of file V5/cpp/CEPHandler.cpp.
References PHEMlightdllV5::VEHPHEMLightJSON::Vehicle_Data::getMileage(), PHEMlightdllV5::Correction::getUseDet(), PHEMlightdllV5::Correction::getUseTNOx(), PHEMlightdllV5::Correction::IniDETfactor(), PHEMlightdllV5::Correction::IniTNOxfactor(), and PHEMlightdllV5::Correction::setVehMileage().
Referenced by Load().
|
private |
Definition at line 320 of file V5/cpp/CEPHandler.cpp.
References GetDetTempCor().
Referenced by ReadEmissionData().
| bool PHEMlightdllV5::CEPHandler::GetCEP | ( | std::vector< std::string > & | DataPath, |
| Helpers * | Helper, | ||
| Correction * | DataCor ) |
Definition at line 45 of file V5/cpp/CEPHandler.cpp.
References getCEPS(), PHEMlightdllV5::Helpers::getgClass(), and Load().
| const std::map< std::string, CEP * > & PHEMlightdllV5::CEPHandler::getCEPS | ( | ) | const |
Definition at line 41 of file V5/cpp/CEPHandler.cpp.
References _ceps.
Referenced by GetCEP().
|
private |
Definition at line 335 of file V5/cpp/CEPHandler.cpp.
References PHEMlightdllV5::Correction::DETFactors, PHEMlightdllV5::Correction::getTNOxFactor(), PHEMlightdllV5::Correction::getUseDet(), and PHEMlightdllV5::Correction::getUseTNOx().
Referenced by CorrectEmissionData().
|
private |
Definition at line 75 of file V5/cpp/CEPHandler.cpp.
References _ceps, CalcCorrection(), PHEMlightdllV5::Helpers::getgClass(), ReadEmissionData(), and ReadVehicleFile().
Referenced by GetCEP().
|
private |
Definition at line 258 of file V5/cpp/CEPHandler.cpp.
References CorrectEmissionData(), ReadLine(), PHEMlightdllV5::Helpers::setErrMsg(), split(), and todoubleList().
Referenced by Load().
|
private |
Definition at line 381 of file V5/cpp/CEPHandler.cpp.
Referenced by ReadEmissionData().
|
private |
Definition at line 122 of file V5/cpp/CEPHandler.cpp.
References PHEMlightdllV5::json2double(), and PHEMlightdllV5::Helpers::setErrMsg().
Referenced by Load().
|
private |
Definition at line 356 of file V5/cpp/CEPHandler.cpp.
Referenced by ReadEmissionData().
|
private |
Definition at line 366 of file V5/cpp/CEPHandler.cpp.
Referenced by todoubleList().
|
private |
Definition at line 373 of file V5/cpp/CEPHandler.cpp.
References todouble().
Referenced by ReadEmissionData().
|
private |
Definition at line 237 of file V5/cpp/CEPHandler.h.