Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
PHEMlightdll.Correction Class Reference
Collaboration diagram for PHEMlightdll.Correction:
[legend]

Data Structures

class  DET
class  EmissionClass
class  EmissionClassDET
class  EmissionClassVMA
class  PropClassDET
class  PropClassVMA
class  TNOx
class  Vehicledata
class  VehicledataDET
class  VehicledataVMA
class  VMA

Public Member Functions

 Correction (string PathCor)
bool IniDETfactor (Helpers Helper)
bool IniTNOxfactor (Helpers Helper)
bool ReadDet (ref string ErrMSG)
bool ReadTNOx (ref string ErrMSG)

Data Fields

Dictionary< string, double > DETFactors

Properties

double AmbTemp [get, set]
string DETFilePath [get, set]
double TNOxFactor [get, set]
string TNOxFilePath [get, set]
bool UseDet [get, set]
bool UseTNOx [get, set]
double VehMileage [get, set]
string VMAFilePath [get, set]
int Year [get, set]

Private Member Functions

double GetMileage (Helpers Helper)
double Interpolate (double px, double p1, double p2, double e1, double e2)
bool ReadDETFile (ref string ErrMSG)
bool ReadVMAFile (ref string ErrMSG)

Private Attributes

DET DETdata
TNOx TNOxdata
VMA VMAdata

Detailed Description

Definition at line 11 of file Correction.cs.

Constructor & Destructor Documentation

◆ Correction()

PHEMlightdll.Correction.Correction ( string PathCor)
inline

Definition at line 13 of file Correction.cs.

References AmbTemp, DETFilePath, TNOxFilePath, UseDet, UseTNOx, VehMileage, VMAFilePath, and Year.

Member Function Documentation

◆ GetMileage()

double PHEMlightdll.Correction.GetMileage ( Helpers Helper)
inlineprivate

Definition at line 177 of file Correction.cs.

References PHEMlightdll::Helpers.eClass, PHEMlightdll::Helpers.pClass, PHEMlightdll::Helpers.sClass, PHEMlightdll::Constants.strLNF, PHEMlightdll::Constants.strPKW, PHEMlightdll::Helpers.vClass, VMAdata, and Year.

Referenced by IniDETfactor().

Here is the caller graph for this function:

◆ IniDETfactor()

bool PHEMlightdll.Correction.IniDETfactor ( Helpers Helper)
inline

Definition at line 115 of file Correction.cs.

References DETdata, DETFactors, PHEMlightdll::Helpers.eClass, GetMileage(), Interpolate(), PHEMlightdll::Helpers.pClass, PHEMlightdll::Constants.strLNF, PHEMlightdll::Constants.strPKW, PHEMlightdll::Helpers.vClass, and VehMileage.

Referenced by PHEMlightdll::CEPHandler.CalcCorrection().

Here is the caller graph for this function:

◆ IniTNOxfactor()

bool PHEMlightdll.Correction.IniTNOxfactor ( Helpers Helper)
inline

Definition at line 282 of file Correction.cs.

References AmbTemp, PHEMlightdll::Helpers.eClass, PHEMlightdll::Helpers.pClass, PHEMlightdll::Constants.strDiesel, PHEMlightdll::Constants.strLNF, PHEMlightdll::Constants.strPKW, TNOxdata, TNOxFactor, and PHEMlightdll::Helpers.vClass.

Referenced by PHEMlightdll::CEPHandler.CalcCorrection().

Here is the caller graph for this function:

◆ Interpolate()

double PHEMlightdll.Correction.Interpolate ( double px,
double p1,
double p2,
double e1,
double e2 )
inlineprivate

Definition at line 323 of file Correction.cs.

Referenced by IniDETfactor().

Here is the caller graph for this function:

◆ ReadDet()

bool PHEMlightdll.Correction.ReadDet ( ref string ErrMSG)
inline

Definition at line 43 of file Correction.cs.

References ReadDETFile(), and ReadVMAFile().

◆ ReadDETFile()

bool PHEMlightdll.Correction.ReadDETFile ( ref string ErrMSG)
inlineprivate

Definition at line 55 of file Correction.cs.

References DETdata, and DETFilePath.

Referenced by ReadDet().

Here is the caller graph for this function:

◆ ReadTNOx()

bool PHEMlightdll.Correction.ReadTNOx ( ref string ErrMSG)
inline

Definition at line 251 of file Correction.cs.

References TNOxdata, and TNOxFilePath.

◆ ReadVMAFile()

bool PHEMlightdll.Correction.ReadVMAFile ( ref string ErrMSG)
inlineprivate

Definition at line 83 of file Correction.cs.

References VMAdata, and VMAFilePath.

Referenced by ReadDet().

Here is the caller graph for this function:

Field Documentation

◆ DETdata

DET PHEMlightdll.Correction.DETdata
private

Definition at line 26 of file Correction.cs.

Referenced by IniDETfactor(), and ReadDETFile().

◆ DETFactors

Dictionary<string, double> PHEMlightdll.Correction.DETFactors

Definition at line 28 of file Correction.cs.

Referenced by PHEMlightdll::CEPHandler.GetDetTempCor(), and IniDETfactor().

◆ TNOxdata

TNOx PHEMlightdll.Correction.TNOxdata
private

Definition at line 238 of file Correction.cs.

Referenced by IniTNOxfactor(), and ReadTNOx().

◆ VMAdata

VMA PHEMlightdll.Correction.VMAdata
private

Definition at line 27 of file Correction.cs.

Referenced by GetMileage(), and ReadVMAFile().

Property Documentation

◆ AmbTemp

double PHEMlightdll.Correction.AmbTemp
getset

Definition at line 245 of file Correction.cs.

Referenced by Correction(), and IniTNOxfactor().

◆ DETFilePath

string PHEMlightdll.Correction.DETFilePath
getset

Definition at line 33 of file Correction.cs.

Referenced by Correction(), and ReadDETFile().

◆ TNOxFactor

double PHEMlightdll.Correction.TNOxFactor
getset

Definition at line 247 of file Correction.cs.

Referenced by IniTNOxfactor().

◆ TNOxFilePath

string PHEMlightdll.Correction.TNOxFilePath
getset

Definition at line 243 of file Correction.cs.

Referenced by Correction(), and ReadTNOx().

◆ UseDet

bool PHEMlightdll.Correction.UseDet
getset

◆ UseTNOx

bool PHEMlightdll.Correction.UseTNOx
getset

◆ VehMileage

double PHEMlightdll.Correction.VehMileage
getset

Definition at line 39 of file Correction.cs.

Referenced by Correction(), and IniDETfactor().

◆ VMAFilePath

string PHEMlightdll.Correction.VMAFilePath
getset

Definition at line 35 of file Correction.cs.

Referenced by Correction(), and ReadVMAFile().

◆ Year

int PHEMlightdll.Correction.Year
getset

Definition at line 37 of file Correction.cs.

Referenced by Correction(), and GetMileage().


The documentation for this class was generated from the following file: