Eclipse SUMO - Simulation of Urban MObility
Constants.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2016-2019 German Aerospace Center (DLR) and others.
4 // PHEMlight module
5 // Copyright (C) 2016-2017 Technische Universitaet Graz, https://www.tugraz.at/
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 // SPDX-License-Identifier: EPL-2.0
11 /****************************************************************************/
17 //
18 /****************************************************************************/
19 
20 
21 #ifndef PHEMlightCONSTANTS
22 #define PHEMlightCONSTANTS
23 
24 #include <string>
25 
26 #define FLEET
27 
28 namespace PHEMlightdll {
29  class Constants {
30  //Calculation constant
31  public:
32  static const double GRAVITY_CONST;
33  static const double AIR_DENSITY_CONST;
34  static const double NORMALIZING_SPEED;
35  static const double NORMALIZING_ACCELARATION;
36  static const double SPEED_DCEL_MIN;
37  static const double ZERO_SPEED_ACCURACY;
38  static const double DRIVE_TRAIN_EFFICIENCY_All;
39  static const double DRIVE_TRAIN_EFFICIENCY_CB;
40 
41 
42  //Strings
43  static const std::string HeavyVehicle;
44 
45  //Vehiclestrings
46  static const std::string strPKW;
47  static const std::string strLNF;
48  static const std::string strLKW;
49  static const std::string strLSZ;
50  static const std::string strRB;
51  static const std::string strLB;
52  static const std::string strMR2;
53  static const std::string strMR4;
54  static const std::string strKKR;
55 
56  //Fuelstrings
57  static const std::string strGasoline;
58  static const std::string strDiesel;
59  static const std::string strCNG;
60  static const std::string strLPG;
61  static const std::string strHybrid;
62  static const std::string strBEV;
63 
64  //Euroclasses
65  static const std::string strEU;
66 
67  //Sizeclasse
68  static const std::string strSI;
69  static const std::string strSII;
70  static const std::string strSIII;
71 
72 
73  //Drive train efficiency
74  static double _DRIVE_TRAIN_EFFICIENCY;
75  const static double& getDRIVE_TRAIN_EFFICIENCY();
76  static void setDRIVE_TRAIN_EFFICIENCY(const double& value);
77 
78  };
79 }
80 
81 
82 #endif //#ifndef PHEMlightCONSTANTS
PHEMlightdll::Constants::DRIVE_TRAIN_EFFICIENCY_CB
static const double DRIVE_TRAIN_EFFICIENCY_CB
Definition: Constants.h:39
PHEMlightdll::Constants::strEU
static const std::string strEU
Definition: Constants.h:65
PHEMlightdll::Constants::NORMALIZING_SPEED
static const double NORMALIZING_SPEED
Definition: Constants.h:34
PHEMlightdll::Constants
Definition: Constants.h:29
PHEMlightdll::Constants::setDRIVE_TRAIN_EFFICIENCY
static void setDRIVE_TRAIN_EFFICIENCY(const double &value)
Definition: Constants.cpp:60
PHEMlightdll::Constants::getDRIVE_TRAIN_EFFICIENCY
const static double & getDRIVE_TRAIN_EFFICIENCY()
Definition: Constants.cpp:56
PHEMlightdll::Constants::strLSZ
static const std::string strLSZ
Definition: Constants.h:49
PHEMlightdll::Constants::strBEV
static const std::string strBEV
Definition: Constants.h:62
PHEMlightdll::Constants::strMR2
static const std::string strMR2
Definition: Constants.h:52
PHEMlightdll::Constants::NORMALIZING_ACCELARATION
static const double NORMALIZING_ACCELARATION
Definition: Constants.h:35
PHEMlightdll::Constants::strSI
static const std::string strSI
Definition: Constants.h:68
PHEMlightdll::Constants::strLNF
static const std::string strLNF
Definition: Constants.h:47
PHEMlightdll::Constants::strLPG
static const std::string strLPG
Definition: Constants.h:60
PHEMlightdll::Constants::strRB
static const std::string strRB
Definition: Constants.h:50
PHEMlightdll::Constants::_DRIVE_TRAIN_EFFICIENCY
static double _DRIVE_TRAIN_EFFICIENCY
Definition: Constants.h:74
PHEMlightdll::Constants::strCNG
static const std::string strCNG
Definition: Constants.h:59
PHEMlightdll::Constants::strLKW
static const std::string strLKW
Definition: Constants.h:48
PHEMlightdll
Definition: CEP.cpp:26
PHEMlightdll::Constants::GRAVITY_CONST
static const double GRAVITY_CONST
Definition: Constants.h:32
PHEMlightdll::Constants::strHybrid
static const std::string strHybrid
Definition: Constants.h:61
PHEMlightdll::Constants::strDiesel
static const std::string strDiesel
Definition: Constants.h:58
PHEMlightdll::Constants::strKKR
static const std::string strKKR
Definition: Constants.h:54
PHEMlightdll::Constants::DRIVE_TRAIN_EFFICIENCY_All
static const double DRIVE_TRAIN_EFFICIENCY_All
Definition: Constants.h:38
PHEMlightdll::Constants::strGasoline
static const std::string strGasoline
Definition: Constants.h:57
PHEMlightdll::Constants::HeavyVehicle
static const std::string HeavyVehicle
Definition: Constants.h:43
PHEMlightdll::Constants::SPEED_DCEL_MIN
static const double SPEED_DCEL_MIN
Definition: Constants.h:36
PHEMlightdll::Constants::strMR4
static const std::string strMR4
Definition: Constants.h:53
PHEMlightdll::Constants::AIR_DENSITY_CONST
static const double AIR_DENSITY_CONST
Definition: Constants.h:33
PHEMlightdll::Constants::strSIII
static const std::string strSIII
Definition: Constants.h:70
PHEMlightdll::Constants::strLB
static const std::string strLB
Definition: Constants.h:51
PHEMlightdll::Constants::strSII
static const std::string strSII
Definition: Constants.h:69
PHEMlightdll::Constants::strPKW
static const std::string strPKW
Definition: Constants.h:46
PHEMlightdll::Constants::ZERO_SPEED_ACCURACY
static const double ZERO_SPEED_ACCURACY
Definition: Constants.h:37