WOLFRAM SYSTEMMODELER

Constants

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

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Constants"]
Out[1]:=

Package Constants (21)

e

Value: Modelica.Math.exp(1.0)

Type: Real

Description:

pi

Value: 2 * Modelica.Math.asin(1.0)

Type: Real

Description:

D2R

Value: pi / 180

Type: Real

Description: Degree to Radian

R2D

Value: 180 / pi

Type: Real

Description: Radian to Degree

gamma

Value: 0.57721566490153286060

Type: Real

Description: see http://en.wikipedia.org/wiki/Euler_constant

eps

Value: ModelicaServices.Machine.eps

Type: Real

Description: Biggest number such that 1.0 + eps = 1.0

small

Value: ModelicaServices.Machine.small

Type: Real

Description: Smallest number such that small and -small are representable on the machine

inf

Value: ModelicaServices.Machine.inf

Type: Real

Description: Biggest Real number such that inf and -inf are representable on the machine

Integer_inf

Value: ModelicaServices.Machine.Integer_inf

Type: Integer

Description: Biggest Integer number such that Integer_inf and -Integer_inf are representable on the machine

c

Value: 299792458

Type: Velocity (m/s)

Description: Speed of light in vacuum

g_n

Value: 9.80665

Type: Acceleration (m/s²)

Description: Standard acceleration of gravity on earth

G

Value: 6.67408e-11

Type: Real (m³/(kg·s²))

Description: Newtonian constant of gravitation (previous value: 6.6742e-11)

F

Value: 9.648533289e4

Type: FaradayConstant (C/mol)

Description: Faraday constant, C/mol (previous value: 9.64853399e4)

h

Value: 6.626070040e-34

Type: Real (J·s)

Description: Planck constant (previous value: 6.6260693e-34)

k

Value: 1.38064852e-23

Type: Real (J/K)

Description: Boltzmann constant (previous value: 1.3806505e-23)

R

Value: 8.3144598

Type: Real (J/(mol·K))

Description: Molar gas constant (previous value: 8.314472)

sigma

Value: 5.670367e-8

Type: Real (W/(m²·K⁴))

Description: Stefan-Boltzmann constant (previous value: 5.670400e-8)

N_A

Value: 6.022140857e23

Type: Real (¹/mol)

Description: Avogadro constant (previous value: 6.0221415e23)

mue_0

Value: 4 * pi * 1.e-7

Type: Real (N/A²)

Description: Magnetic constant

epsilon_0

Value: 1 / (mue_0 * c * c)

Type: Real (F/m)

Description: Electric constant

T_zero

Value: -273.15

Type: Temperature_degC (°C)

Description: Absolute zero temperature

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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:

Peter J. Mohr, David B. Newell, and Barry N. Taylor:
CODATA Recommended Values of the Fundamental Physical Constants: 2014. http://dx.doi.org/10.5281/zenodo.22826, 2015. See also http://physics.nist.gov/cuu/Constants/index.html

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-2016, Modelica Association and DLR.

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2. For license conditions (including the disclaimer of warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit https://www.modelica.org/licenses/ModelicaLicense2.