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.org/sumo
3 // Copyright (C) 2013-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 // Holds constants and data version info for PHEM Light
16 /****************************************************************************/
17 
18 #ifndef PHEMConstants_h
19 #define PHEMConstants_h
20 
21 const double GRAVITY_CONST = 9.81;
22 const double AIR_DENSITY_CONST = 1.182;
23 const double SECONDS_PER_HOUR = 3600;
24 const double NORMALIZING_SPEED = 19.444;
25 const double NORMALIZING_ACCELARATION = 0.45;
26 const double DENSITY_DIESEL = 1;
27 const double DENSITY_GASOLINE = 1;
28 const double SPEED_DCEL_MIN = 10 / 3.6;
29 const double M_PI2 = 3.14159265358979323846;
30 const double ZERO_SPEED_ACCURACY = 0.1;
31 const double SPEED_ROTATIONAL_INCREMENT = 10 / 3.6;
32 const double POWER_FC_INCREMENT = 0.1;
33 const double POWER_POLLUTANT_INCREMENT = 0.3;
34 const double NNORM_INCREMENT = 0.05;
35 
36 const std::string PHEM_DATA_VERSION = "V5";
37 
38 #endif
SPEED_ROTATIONAL_INCREMENT
const double SPEED_ROTATIONAL_INCREMENT
Definition: PHEMConstants.h:31
NORMALIZING_ACCELARATION
const double NORMALIZING_ACCELARATION
Definition: PHEMConstants.h:25
NORMALIZING_SPEED
const double NORMALIZING_SPEED
Definition: PHEMConstants.h:24
SECONDS_PER_HOUR
const double SECONDS_PER_HOUR
Definition: PHEMConstants.h:23
AIR_DENSITY_CONST
const double AIR_DENSITY_CONST
Definition: PHEMConstants.h:22
NNORM_INCREMENT
const double NNORM_INCREMENT
Definition: PHEMConstants.h:34
M_PI2
const double M_PI2
Definition: PHEMConstants.h:29
POWER_POLLUTANT_INCREMENT
const double POWER_POLLUTANT_INCREMENT
Definition: PHEMConstants.h:33
POWER_FC_INCREMENT
const double POWER_FC_INCREMENT
Definition: PHEMConstants.h:32
GRAVITY_CONST
const double GRAVITY_CONST
Definition: PHEMConstants.h:21
DENSITY_GASOLINE
const double DENSITY_GASOLINE
Definition: PHEMConstants.h:27
ZERO_SPEED_ACCURACY
const double ZERO_SPEED_ACCURACY
Definition: PHEMConstants.h:30
DENSITY_DIESEL
const double DENSITY_DIESEL
Definition: PHEMConstants.h:26
SPEED_DCEL_MIN
const double SPEED_DCEL_MIN
Definition: PHEMConstants.h:28
PHEM_DATA_VERSION
const std::string PHEM_DATA_VERSION
Definition: PHEMConstants.h:36