Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
V5/cpp/Constants.cpp
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#include <config.h>
24
25#include "Constants.h"
26
27namespace PHEMlightdllV5 {
28
29const double Constants::GRAVITY_CONST = 9.81;
30const double Constants::AIR_DENSITY_CONST = 1.182;
31const double Constants::NORMALIZING_SPEED = 19.444;
32const double Constants::NORMALIZING_ACCELARATION = 0.45;
33const double Constants::SPEED_DCEL_MIN = 10 / 3.6;
34const double Constants::ZERO_SPEED_ACCURACY = 0.5;
37const std::string Constants::HeavyVehicle = "HV";
38const std::string Constants::strPKW = "PC";
39const std::string Constants::strLNF = "LCV";
40const std::string Constants::strLKW = "RT";
41const std::string Constants::strLSZ = "TT";
42const std::string Constants::strRB = "CO";
43const std::string Constants::strLB = "CB";
44const std::string Constants::strMR2 = "MC_2S";
45const std::string Constants::strMR4 = "MC_4S";
46const std::string Constants::strMR = "MC";
47const std::string Constants::strKKR = "MOP";
48const std::string Constants::strGasoline = "G";
49const std::string Constants::strDiesel = "D";
50const std::string Constants::strCNG = "CNG";
51const std::string Constants::strLPG = "LPG";
52const std::string Constants::strBEV = "BEV";
53const std::string Constants::strEU = "EU";
54const std::string Constants::strSI = "I";
55const std::string Constants::strSII = "II";
56const std::string Constants::strSIII = "III";
57const std::string Constants::strMidi = "Midi";
58const std::string Constants::strHeavy = "Heavy";
59const std::string Constants::strSU = "SU";
60const std::string Constants::strHybrid = "HEV";
62
66
67 void Constants::setDRIVE_TRAIN_EFFICIENCY(const double& value) {
69 }
70}
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