Package Modelica.Constants
This package provides often needed constants from mathematics, machine dependent constants and constants from nature. The latter constants (name, value, description) are from the following source (based on the second source):
BIPM is Bureau International des Poids et Mesures (they publish the SI-standard).
CODATA is the Committee on Data for Science and Technology.
Copyright © 1998-2020, Modelica Association and contributors
Extends from Modelica.Icons.Package (Icon for standard packages).
| Type | Name | Value | Description |
|---|---|---|---|
final Velocity | c | 2.99792458e+8 | Speed of light in vacuum |
final Real | D2R | 0.005555555555556 * pi | Degree to Radian |
final Real | e | Modelica.Math.exp(1) |   |
final Real | eps | ModelicaServices.Machine.eps | Biggest number such that 1.0 + eps = 1.0 |
final Real | epsilon_0 | (mu_0 * c * c) ^ (-1) | Electric constant |
final FaradayConstant | F | q * N_A | Faraday constant, C/mol |
final Real | G | 6.6743e-11 | Newtonian constant of gravitation |
final Acceleration | g_n | 9.80665 | Standard acceleration of gravity on earth |
final Real | gamma | 0.577215664901533 | See http://en.wikipedia.org/wiki/Euler_constant |
final Real | h | 6.62607015e-34 | Planck constant |
final Real | inf | ModelicaServices.Machine.inf | Biggest Real number such that inf and -inf are representable on the machine |
final Integer | Integer_inf | ModelicaServices.Machine.Integer_inf | Biggest Integer number such that Integer_inf and -Integer_inf are representable on the machine |
final Real | k | 1.380649e-23 | Boltzmann constant |
final Real | mu_0 | 4 * pi * (1.000000001e-7) | Magnetic constant |
final Real | N_A | 6.02214076e+23 | Avogadro constant |
final Real | pi | 2 * Modelica.Math.asin(1) |   |
final ElectricCharge | q | 1.602176634e-19 | Elementary charge |
final Real | R | k * N_A | Molar gas constant |
final Real | R2D | 180 / pi | Radian to Degree |
final Real | sigma | 2 * pi ^ 5 * k ^ 4 / (15 * h ^ 3 * c ^ 2) | Stefan-Boltzmann constant |
final Real | small | ModelicaServices.Machine.small | Smallest number such that small and -small are representable on the machine |
final Temperature_degC | T_zero | -273.15 | Absolute zero temperature |