/****************************************************************************/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-2017 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 <config.h>2425#include <string>262728namespace PHEMlightdll {29class Constants {3031public:32// Calculation constant33static const double GRAVITY_CONST;34static const double AIR_DENSITY_CONST;35static const double NORMALIZING_SPEED;36static const double NORMALIZING_ACCELARATION;37static const double SPEED_DCEL_MIN;38static const double ZERO_SPEED_ACCURACY;39static const double DRIVE_TRAIN_EFFICIENCY_All;40static const double DRIVE_TRAIN_EFFICIENCY_CB;4142// Strings43static const std::string HeavyVehicle;4445// Vehiclestrings46static const std::string strPKW;47static const std::string strLNF;48static const std::string strLKW;49static const std::string strLSZ;50static const std::string strRB;51static const std::string strLB;52static const std::string strMR2;53static const std::string strMR4;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 strHybrid;62static const std::string strBEV;6364// Euroclasses65static const std::string strEU;6667// Sizeclasse68static const std::string strSI;69static const std::string strSII;70static const std::string strSIII;7172/// @brief get drive train efficiency73const static double& getDRIVE_TRAIN_EFFICIENCY();7475/// @brief set drive train efficiency76static void setDRIVE_TRAIN_EFFICIENCY(const double& value);7778private:79// Drive train efficiency80static double myDRIVE_TRAIN_EFFICIENCY;81};82}838485