Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
25const double GRAVITY_CONST = 9.81;
26const double AIR_DENSITY_CONST = 1.182;
27const double SECONDS_PER_HOUR = 3600;
28const double NORMALIZING_SPEED = 19.444;
29const double NORMALIZING_ACCELARATION = 0.45;
30const double DENSITY_DIESEL = 1;
31const double DENSITY_GASOLINE = 1;
32const double SPEED_DCEL_MIN = 10 / 3.6;
33const double M_PI2 = 3.14159265358979323846;
34const double ZERO_SPEED_ACCURACY = 0.1;
35const double SPEED_ROTATIONAL_INCREMENT = 10 / 3.6;
36const double POWER_FC_INCREMENT = 0.1;
37const double POWER_POLLUTANT_INCREMENT = 0.3;
38const double NNORM_INCREMENT = 0.05;
39
40const std::string PHEM_DATA_VERSION = "V5";
const double SECONDS_PER_HOUR
const std::string PHEM_DATA_VERSION
const double POWER_FC_INCREMENT
const double POWER_POLLUTANT_INCREMENT
const double M_PI2
const double AIR_DENSITY_CONST
const double SPEED_ROTATIONAL_INCREMENT
const double ZERO_SPEED_ACCURACY
const double SPEED_DCEL_MIN
const double DENSITY_GASOLINE
const double GRAVITY_CONST
const double DENSITY_DIESEL
const double NORMALIZING_ACCELARATION
const double NNORM_INCREMENT
const double NORMALIZING_SPEED