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-2018 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 /****************************************************************************/
16 // Holds constants and data version info for PHEM Light
17 /****************************************************************************/
18 
19 #ifndef PHEMConstants_h
20 #define PHEMConstants_h
21 
22 const double GRAVITY_CONST = 9.81;
23 const double AIR_DENSITY_CONST = 1.182;
24 const double SECONDS_PER_HOUR = 3600;
25 const double NORMALIZING_SPEED = 19.444;
26 const double NORMALIZING_ACCELARATION = 0.45;
27 const double DENSITY_DIESEL = 1;
28 const double DENSITY_GASOLINE = 1;
29 const double SPEED_DCEL_MIN = 10 / 3.6;
30 const double M_PI2 = 3.14159265358979323846;
31 const double ZERO_SPEED_ACCURACY = 0.1;
32 const double SPEED_ROTATIONAL_INCREMENT = 10 / 3.6;
33 const double POWER_FC_INCREMENT = 0.1;
34 const double POWER_POLLUTANT_INCREMENT = 0.3;
35 const double NNORM_INCREMENT = 0.05;
36 
37 const std::string PHEM_DATA_VERSION = "V5";
38 
39 #endif
const double SPEED_ROTATIONAL_INCREMENT
Definition: PHEMConstants.h:32
const double POWER_FC_INCREMENT
Definition: PHEMConstants.h:33
const double NORMALIZING_SPEED
Definition: PHEMConstants.h:25
const double ZERO_SPEED_ACCURACY
Definition: PHEMConstants.h:31
const double NORMALIZING_ACCELARATION
Definition: PHEMConstants.h:26
const double M_PI2
Definition: PHEMConstants.h:30
const double GRAVITY_CONST
Definition: PHEMConstants.h:22
const double NNORM_INCREMENT
Definition: PHEMConstants.h:35
const double POWER_POLLUTANT_INCREMENT
Definition: PHEMConstants.h:34
const double DENSITY_GASOLINE
Definition: PHEMConstants.h:28
const double DENSITY_DIESEL
Definition: PHEMConstants.h:27
const double SECONDS_PER_HOUR
Definition: PHEMConstants.h:24
const std::string PHEM_DATA_VERSION
Definition: PHEMConstants.h:37
const double AIR_DENSITY_CONST
Definition: PHEMConstants.h:23
const double SPEED_DCEL_MIN
Definition: PHEMConstants.h:29