QCalc.Units.Bases

Sets of base constants and units

Information

The records in this package define the basis of various unit systems by setting the base constants. The dimensions of the quantities and units (in the unit attribute, see Quantities) are not re-adjusted, but they should be. For example, if the speed of light is nondimensionalized, then length and time are the same dimension. However, it is tedious to update the dimensions of all of the quantities, so instead we just set a normalized constant to one and leave the dimensions as they are.

For more information, please see the documentation for the Units package.

Extends from Icons.Package (Icon for standard packages (from MSL 3.2.1)).

Package Contents

Name Description
QCalc.Units.Bases.Hartree Hartree Base constants for Hartree atomic units
QCalc.Units.Bases.SI SI Base constants for SI
QCalc.Units.Bases.SIKmol SIKmol Base constants for SI with kF and R normalized instead of K and mol
QCalc.Units.Bases.Base Base Base constants

QCalc.Units.Bases.Hartree QCalc.Units.Bases.Hartree

Base constants for Hartree atomic units

Information

Hartree units impose that:

  1. the elementary charge is one (e = 1),
  2. the reduced Planck constant is one (h rad = 1),
  3. the electric force constant is one (kC = 1), and
  4. the mass of an electron is one (Me = 1).

Please see the documentation for the Units package.

Extends from Base (Base constants).

Modelica definition

record Hartree "Base constants for Hartree atomic units" extends Base( final R_inf=299792458e-7*pi/25812.8074434, final c=1/(2*R_inf), final k_J=2, final R_K=1, k_Aprime=2*pi*R_K/c); end Hartree;

QCalc.Units.Bases.SI QCalc.Units.Bases.SI

Base constants for SI

Information

Please see the documentation for the Units package.

Extends from Base (Base constants).

Modelica definition

record SI "Base constants for SI" extends Base( final R_inf=10973731.568539*2*pi, final c=299792458, final k_J=483597.870e9*2*pi, final R_K=25812.8074434/(2*pi), final k_F=96485.3365, final R=8.3144621, final k_Aprime=2*pi*R_K/c); end SI;

QCalc.Units.Bases.SIKmol QCalc.Units.Bases.SIKmol

Base constants for SI with kF and R normalized instead of K and mol

Information

The values of the un-normalized SI base units are (see Resources/unit-systems.cdf):

  • K ≈ 8.61733e-5
  • mol ≈ 96485.3

For more information, please see the documentation for the Units package.

Extends from Base (Base constants).

Modelica definition

record SIKmol "Base constants for SI with kF and R normalized instead of K and mol" extends Base( final R_inf=10973731.568539*2*pi, final c=299792458, final k_J=483597.870e9*2*pi, final R_K=25812.8074434/(2*pi), final k_F=1, final R=1, final k_Aprime=2*pi*R_K/c); end SIKmol;

QCalc.Units.Bases.Base QCalc.Units.Bases.Base

Base constants

Information

Please see the notes in the Modelica code and the documentation of the Units package.

Extends from Icons.Record (Icon for records (from MSL 3.2.1)).

Modelica definition

record Base "Base constants" extends Icons.Record; constant Quantities.Wavenumber R_inf=1 "Rydberg constant (R)"; constant Quantities.Velocity c=1 "speed of light"; constant Quantities.MagneticFluxReciprocal k_J=1 "Josephson constant (kJ)"; constant Quantities.MagneticFluxSpecific R_K=1 "von Klitzing constant (RK)"; constant Quantities.Number k_F=1 "Faraday constant (kF)"; constant Quantities.Number R=1 "gas constant"; constant Quantities.LengthSpecificMassSpecific k_Aprime=1 "modified Ampere constant (kA cyc/α)"; constant Boolean rational=true "true if the unit system is rationalized"; end Base;