Package Modelica.​Constants
Library of mathematical constants and constants of nature (e.g., pi, eps, R, sigma)

Information

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):

Michael Stock, Richard Davis, Estefanía de Mirandés and Martin J T Milton:
The revision of the SI-the result of three decades of progress in metrology in Metrologia, Volume 56, Number 2. https://iopscience.iop.org/article/10.1088/1681-7575/ab0013/pdf, 2019.
D B Newell, F Cabiati, J Fischer, K Fujii, S G Karshenboim, H S Margolis , E de Mirandés, P J Mohr, F Nez, K Pachucki, T J Quinn, B N Taylor, M Wang, B M Wood and Z Zhang:
The CODATA 2017 values of h, e, k, and NA for the revision of the SI in Metrologia, Volume 55, Number 1. https://iopscience.iop.org/article/10.1088/1681-7575/aa950a/pdf, 2017.

BIPM is Bureau International des Poids et Mesures (they publish the SI-standard).

CODATA is the Committee on Data for Science and Technology.

Main Author:
Martin Otter
Deutsches Zentrum für Luft und Raumfahrt e. V. (DLR)
Oberpfaffenhofen
Postfach 1116
D-82230 Weßling
email: Martin.Otter@dlr.de

Copyright © 1998-2020, Modelica Association and contributors

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Constants

TypeNameValueDescription
final Velocityc2.99792458e+8Speed of light in vacuum
final RealD2R0.005555555555556 * piDegree to Radian
final RealeModelica.Math.exp(1) 
final RealepsModelicaServices.​Machine.​epsBiggest number such that 1.0 + eps = 1.0
final Realepsilon_0(mu_0 * c * c) ^ (-1)Electric constant
final FaradayConstantFq * N_AFaraday constant, C/mol
final RealG6.6743e-11Newtonian constant of gravitation
final Accelerationg_n9.80665Standard acceleration of gravity on earth
final Realgamma0.577215664901533See http://en.wikipedia.org/wiki/Euler_constant
final Realh6.62607015e-34Planck constant
final RealinfModelicaServices.​Machine.​infBiggest Real number such that inf and -inf are representable on the machine
final IntegerInteger_infModelicaServices.​Machine.​Integer_infBiggest Integer number such that Integer_inf and -Integer_inf are representable on the machine
final Realk1.380649e-23Boltzmann constant
final Realmu_04 * pi * (1.000000001e-7)Magnetic constant
final RealN_A6.02214076e+23Avogadro constant
final Realpi2 * Modelica.Math.asin(1) 
final ElectricChargeq1.602176634e-19Elementary charge
final RealRk * N_AMolar gas constant
final RealR2D180 / piRadian to Degree
final Realsigma2 * pi ^ 5 * k ^ 4 / (15 * h ^ 3 * c ^ 2)Stefan-Boltzmann constant
final RealsmallModelicaServices.​Machine.​smallSmallest number such that small and -small are representable on the machine
final Temperature_degCT_zero-273.15Absolute zero temperature