Path: blob/main/src/foreign/PHEMlight/V5/cpp/Constants.h
169688 views
/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2016-2025 German Aerospace Center (DLR) and others.3// PHEMlight module4// Copyright (C) 2016-2023 Technische Universitaet Graz, https://www.tugraz.at/5// This program and the accompanying materials are made available under the6// terms of the Eclipse Public License 2.0 which is available at7// https://www.eclipse.org/legal/epl-2.0/8// This Source Code may also be made available under the following Secondary9// Licenses when the conditions for such availability set forth in the Eclipse10// Public License 2.0 are satisfied: GNU General Public License, version 211// or later which is available at12// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html13// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later14/****************************************************************************/15/// @file Constants.h16/// @author Martin Dippold17/// @author Michael Behrisch18/// @date July 201619///20//21/****************************************************************************/22#pragma once23#include <string>2425#define FLEET2627namespace PHEMlightdllV5 {28class Constants {29//Calculation constant30public:31static const double GRAVITY_CONST;32static const double AIR_DENSITY_CONST;33static const double NORMALIZING_SPEED;34static const double NORMALIZING_ACCELARATION;35static const double SPEED_DCEL_MIN;36static const double ZERO_SPEED_ACCURACY;37static const double DRIVE_TRAIN_EFFICIENCY_All;38static const double DRIVE_TRAIN_EFFICIENCY_CB;394041//Strings42static const std::string HeavyVehicle;4344//Vehiclestrings45static const std::string strPKW;46static const std::string strLNF;47static const std::string strLKW;48static const std::string strLSZ;49static const std::string strRB;50static const std::string strLB;51static const std::string strMR2;52static const std::string strMR4;53static const std::string strMR;54static const std::string strKKR;5556//Fuelstrings57static const std::string strGasoline;58static const std::string strDiesel;59static const std::string strCNG;60static const std::string strLPG;61static const std::string strBEV;6263//Euroclasses64static const std::string strEU;6566//Sizeclasse67static const std::string strSI;68static const std::string strSII;69static const std::string strSIII;70static const std::string strMidi;71static const std::string strHeavy;7273//Useclass74static const std::string strSU;75static const std::string strHybrid;767778//Drive train efficiency79static double _DRIVE_TRAIN_EFFICIENCY;80const static double& getDRIVE_TRAIN_EFFICIENCY();81static void setDRIVE_TRAIN_EFFICIENCY(const double& value);8283};84}858687