Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
V5/cpp/Constants.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2016-2024 German Aerospace Center (DLR) and others.
4// PHEMlight module
5// Copyright (C) 2016-2023 Technische Universitaet Graz, https://www.tugraz.at/
6// This program and the accompanying materials are made available under the
7// terms of the Eclipse Public License 2.0 which is available at
8// https://www.eclipse.org/legal/epl-2.0/
9// This Source Code may also be made available under the following Secondary
10// Licenses when the conditions for such availability set forth in the Eclipse
11// Public License 2.0 are satisfied: GNU General Public License, version 2
12// or later which is available at
13// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
14// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
15/****************************************************************************/
21//
22/****************************************************************************/
23#pragma once
24#include <string>
25
26#define FLEET
27
28namespace PHEMlightdllV5 {
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 strMR;
55 static const std::string strKKR;
56
57 //Fuelstrings
58 static const std::string strGasoline;
59 static const std::string strDiesel;
60 static const std::string strCNG;
61 static const std::string strLPG;
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 static const std::string strMidi;
72 static const std::string strHeavy;
73
74 //Useclass
75 static const std::string strSU;
76 static const std::string strHybrid;
77
78
79 //Drive train efficiency
81 const static double& getDRIVE_TRAIN_EFFICIENCY();
82 static void setDRIVE_TRAIN_EFFICIENCY(const double& value);
83
84 };
85}
static const std::string strLNF
static void setDRIVE_TRAIN_EFFICIENCY(const double &value)
static const std::string HeavyVehicle
static const std::string strBEV
static const std::string strSIII
static const std::string strLSZ
static const double DRIVE_TRAIN_EFFICIENCY_CB
static const std::string strMR4
static const std::string strMR
static const std::string strSII
static const double NORMALIZING_ACCELARATION
static const double NORMALIZING_SPEED
static const double & getDRIVE_TRAIN_EFFICIENCY()
static const std::string strMidi
static const std::string strLPG
static const std::string strCNG
static const std::string strLKW
static const std::string strEU
static const std::string strLB
static const std::string strKKR
static const double SPEED_DCEL_MIN
static const std::string strHeavy
static const double ZERO_SPEED_ACCURACY
static const std::string strSU
static const double DRIVE_TRAIN_EFFICIENCY_All
static const double AIR_DENSITY_CONST
static const std::string strSI
static const std::string strMR2
static const std::string strRB
static const std::string strPKW
static const std::string strHybrid
static const std::string strGasoline
static const std::string strDiesel
static const double GRAVITY_CONST
static double _DRIVE_TRAIN_EFFICIENCY