Eclipse SUMO - Simulation of Urban MObility
PHEMConstants.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3 // Copyright (C) 2013-2024 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
19 // Holds constants and data version info for PHEM Light
20 /****************************************************************************/
21 
22 #pragma once
23 #include <config.h>
24 
25 const double GRAVITY_CONST = 9.81;
26 const double AIR_DENSITY_CONST = 1.182;
27 const double SECONDS_PER_HOUR = 3600;
28 const double NORMALIZING_SPEED = 19.444;
29 const double NORMALIZING_ACCELARATION = 0.45;
30 const double DENSITY_DIESEL = 1;
31 const double DENSITY_GASOLINE = 1;
32 const double SPEED_DCEL_MIN = 10 / 3.6;
33 const double M_PI2 = 3.14159265358979323846;
34 const double ZERO_SPEED_ACCURACY = 0.1;
35 const double SPEED_ROTATIONAL_INCREMENT = 10 / 3.6;
36 const double POWER_FC_INCREMENT = 0.1;
37 const double POWER_POLLUTANT_INCREMENT = 0.3;
38 const double NNORM_INCREMENT = 0.05;
39 
40 const std::string PHEM_DATA_VERSION = "V5";
const double SECONDS_PER_HOUR
Definition: PHEMConstants.h:27
const std::string PHEM_DATA_VERSION
Definition: PHEMConstants.h:40
const double POWER_FC_INCREMENT
Definition: PHEMConstants.h:36
const double POWER_POLLUTANT_INCREMENT
Definition: PHEMConstants.h:37
const double M_PI2
Definition: PHEMConstants.h:33
const double AIR_DENSITY_CONST
Definition: PHEMConstants.h:26
const double SPEED_ROTATIONAL_INCREMENT
Definition: PHEMConstants.h:35
const double ZERO_SPEED_ACCURACY
Definition: PHEMConstants.h:34
const double SPEED_DCEL_MIN
Definition: PHEMConstants.h:32
const double DENSITY_GASOLINE
Definition: PHEMConstants.h:31
const double GRAVITY_CONST
Definition: PHEMConstants.h:25
const double DENSITY_DIESEL
Definition: PHEMConstants.h:30
const double NORMALIZING_ACCELARATION
Definition: PHEMConstants.h:29
const double NNORM_INCREMENT
Definition: PHEMConstants.h:38
const double NORMALIZING_SPEED
Definition: PHEMConstants.h:28