Stephen F. Bush <bushsf@research.ge.com>
Guillaume Mantelet <gmantelet@voltigeurnetworks.com>
IEEE 1906.1-2015 - Recommended Practice for Nanoscale and Molecular Communication
Framework Working Group
/home/andy/repos/yang/standard/ieee/draft/1906.1/ieee1906-dot1-si-units.yang
Initial version.
2020-07-07
This annotation defines the unit of the containing type if it is not the unit
specified in the units substatement of the corresponding type. For instance, an
astronomical distance can be expressed in 'ua' (astronomical units), or in 'Pm'
or even in petameter.
Pattern is not provided to this annotation because it is suggested to follow the
SI recommendation. Units:
1. should be SI or non SI unit name
2. may be SI or non SI symbol name
3. should have (if needed) SI prefix names (only if unit names are used)
4. might have SI prefix symbols (only if symbol name are used)
5. can be (if needed) np (neper logarithm), bel, or decibel, or dB.
Several examples lead to the same definition:
<transmitter nc:operation='create'>
<axial-length>1.2e-11</axial-length>
</transmitter>
<transmitter nc:operation='create'>
<axial-length sc:unit='nanometer'>12</axial-length>
</transmitter>
<transmitter nc:operation='create'>
<axial-length sc:unit='nm'>12</axial-length>
</transmitter>
string
Converted from YANG file 'ieee1906-dot1-si-units.yang' by yangdump version 19.10-12
Module: ieee1906-dot1-si-units
Organization: IEEE 1906.1-2015 - Recommended Practice for Nanoscale and Molecular Communication
Framework Working Group
Version: 2020-07-07
Contact: Stephen F. Bush <bushsf@research.ge.com>
Guillaume Mantelet <gmantelet@voltigeurnetworks.com>
This YANG model aims to represent the fundamental SI units.
Convention in this model is camelCase.
YANG models are typically used to configure nodes on a telecommunication network.
However, they can also be the support for exchanging data between simulators.
Consequently, a scientific framework can be defined. The purpose of this model is
to represent the fundamental layer for any scientific model by reusing scientific
number notation, and by defining fundamental units.
This YANG model implicitly recognizes SI prefixes. Note that the validation
between the prefixes and the units should be performed by the NETCONF server, and
this YANG model does not provide any clue to perform this validation. The SI
prefixes are included in the following table. The factor number uses the format
defined in the math YANG model:
+------------------------------+---------+--------+---------------------+---------+
| Factor | Name | Symbol | Factor | Name | Symbol |
+------------------------------+---------+--------+---------------------+---------+
| 10 | deca | da | 1e-1 | deci | d |
| 1e2 | hecto | h | 1e-2 | centi | c |
| 1e3 | kilo | k | 1e-3 | milli | m |
| 1e6 | mega | M | 1e-4 | micro | µ |
| 1e9 | giga | G | 1e-9 | nano | n |
| 1e12 | tera | T | 1e-12 | pico | p |
| 1e15 | peta | P | 1e-15 | femto | f |
| 1e16 | exa | E | 1e-18 | atto | a |
| 1e21 | zetta | Z | 1e-21 | zepto | z |
| 1e24 | yotta | Y | 1e-24 | yocto | y |
+------------------------------+---------+--------+---------------------+---------+
This YANG model includes base and derived SI units with or without symbols. The
following table provides the summary of covered units in alphabetical order:
+---------------------------------------------------------------------------------+
| SI BASE AND DERIVED UNITS |
+---------------------------------+------+---------------------------------+------+
| Name | Unit | Name | Unit |
+---------------------------------+------+---------------------------------+------+
| absorbed-dose | Gy | luminance | Lv |
| absorbed-dose-rate | Gy/s | luminous-flux | lm |
| acceleration | a | luminous-intensity | cd |
| activity (radionuclide activit.)| Bq | magnetic-field-strength | H |
| amount-concentration (concentr.)| c | magnetic-flux | Wb |
| amount-of-substance | mol | magnetic-flux-density | T |
| angular-acceleration |rad/s2| mass | kg |
| angular-velocity | rad/s| mass-concentration | ρ, γ |
| area | A | mass-density | ρ |
| capacitance | F | molar-energy | J/mol|
| catalitic-activity | katal| molar-heat-capacity (entropy) | J/mol|
| catalytic-activity-concentration|kat/m3| permeability | H/m |
| current-density | j | permittivity | F/m |
| dose-equivalent | Sv | plane-angle | rad |
| dynamic-viscosity | Pa s | power (radiant-flux) | W |
| electric-charge | C | pressure | Pa |
| electric-charge-density | C/m3 | radiance |W/m2..|
| electric-conductance | S | radiant-intensity | W/sr |
| electric-current | A | refractive-index | |
| electric-field-strength | V/m | relative-permeability | |
| electric-flux-density | C/m2 | solid-angle | sr |
| electric-potential-difference | V | specific-energy | J/kg |
| electric-resistance | Ohm | specific-heat-capacity(sp-entr.)|J/kg.K|
| energy (work, amount-of-heat) | J | specific-volume | v |
| energy-density | J/m3 | surface-charge-density | C/m2 |
| exposure (x and Gamma rays) | C/kg | surface-density | ρA |
| force | N | surface-tension | N/m |
| frequency | Hz | temperature | °C |
| heat-capacity (entropy) | J/K | thermal-conductivity | W/m.K|
| heat-flux-density (irradiance) | W/m2 | thermodynamic-temperature | K |
| illuminance | lx | time (duration) | s |
| inductance | H | velocity | v |
| length | m | volume | V |
| | | wavenumber | σ |
+---------------------------------+------+---------------------------------+------+
This YANG model also includes several common units that are not considered as SI
units. They can be found appended to the fundamental units they derived from.
Stokes only (kynematic-viscosity) does not have an SI counterpart and can be used
as a type.
Logarithm (neper, bel and decibel) can be used as implicit units as well. They are
YANG identities in case they are needed. SI standard refers to committees defining
several common constants, as the speed of light in vacuum, or the reduced Planck
constant. They can be used as identities as well.
+---------------------------------------------------------------------------------+
| NON SI UNITS IN SI BROCHURE |
+---------------------------------+------+---------------------------------+------+
| Name | Unit | Name | Unit |
+---------------------------------+------+---------------------------------+------+
| acceleration-due-to-gravity | Gal | hartree-energy | Eh |
| astronomical-unit | ua | illuminance | phot |
| atmospheric-pressure | bar | kynematic-viscosity ** | St |
| atomic-unit-of-time | ħ/Eh | luminance | sb |
| bel-logarithm * | bel | magnetic-field | Oe |
| blood-pressure | mmHg | magnetic-flux-density | G |
| bohr-radius | a0 | magnetic-flux | Mx |
| crystal-length | A | nautical-mile | M |
| decibel-logarithm * | dB | nautical-speed | kn |
| dynamic-viscosity | P | neper-logarithm * | Nb |
| electron-mass | me | nuclear-cross-section | b |
| electronvolt | eV | quantum-of-time ??????? |ħ/mec2|
| elementary-charge | e | reduced-planck-constant * | ħ |
| energy | erg | speed-of-light (in vacuum) * | c |
| force | dyn | unified-atomic-mass-unit | Da |
+---------------------------------+------+---------------------------------+------+
*: Is an identity instead of being a derived unit.
**: Can be used as a (Non SI) standalone type with stokes as unit.
The International System of Units: 8th Edition 2006. Clause 2.1.1.1
meter
The metre is the length of the path travelled by light in vacuum during a time
interval of 1/299 792 458 of a second.
The International System of Units: 8th Edition 2006. Clause 2.1.1.2
kilogram
The kilogram is the unit of mass; it is equal to the mass of the international
prototype of the kilogram.
The International System of Units: 8th Edition 2006. Clause 2.1.1.3
second
The second is the duration of 9 192 631 770 periods of the radiation
corresponding to the transition between the two hyperfine levels of the ground
state of the caesium 133 atom.
The International System of Units: 8th Edition 2006. Clause 2.1.1.4
ampere
The ampere is that constant current which, if maintained in two straight
parallel conductors of infinite length, of negligible circular cross-section,
and placed 1 metre apart in vacuum, would produce between these conductors a
force equal to 2 × 10−7 newton per metre of length.
The International System of Units: 8th Edition 2006. Clause 2.1.1.5
kelvin
The kelvin, unit of thermodynamic temperature, is the fraction 1/273.16 of the
thermodynamic temperature of the triple point of water.
The International System of Units: 8th Edition 2006. Clause 2.1.1.6
mole
1. The mole is the amount of substance of a system which contains as many
elementary entities as there are atoms in 0.012 kilogram of carbon 12; its
symbol is 'mol.'
2. When the mole is used, the elementary entities must be specified and may be
atoms, molecules, ions, electrons, other particles, or specified groups of
such particles.
The International System of Units: 8th Edition 2006. Clause 2.1.1.7
candela
The candela is the luminous intensity, in a given direction, of a source that
emits monochromatic radiation of frequency 540 × 1012 hertz and that has a
radiant intensity in that direction of 1/683 watt per steradian.
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter^2
A measure of the total area occupied by the surface of a physical body
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter^3
A measure of the total volume within the surface of a physical body
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter/second
A measure of the length of the path travelled by a physical body during a time
interval of 1 second.
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter/second^2
A measure of the change in velocity of a physical body during a time interval of
1 second.
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter-1
The International System of Units: 8th Edition 2006. Clause 2.2.1
kilogram/meter3
The International System of Units: 8th Edition 2006. Clause 2.2.1
kilogram/meter2
The International System of Units: 8th Edition 2006. Clause 2.2.1
meter3/kilogram
The International System of Units: 8th Edition 2006. Clause 2.2.1
ampere/meter2
The International System of Units: 8th Edition 2006. Clause 2.2.1
ampere/meter
The International System of Units: 8th Edition 2006. Clause 2.2.1
mole/meter3
The International System of Units: 8th Edition 2006. Clause 2.2.1
kilogram/meter3
The International System of Units: 8th Edition 2006. Clause 2.2.1
candela/meter2
The International System of Units: 8th Edition 2006. Clause 2.2.1
one
The International System of Units: 8th Edition 2006. Clause 2.2.1
one
The International System of Units: 8th Edition 2006. Clause 2.2.2
one
The International System of Units: 8th Edition 2006. Clause 2.2.2
one
The International System of Units: 8th Edition 2006. Clause 2.2.2
second^-1
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/meter.second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
ampere.second
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^3.ampere
The International System of Units: 8th Edition 2006. Clause 2.2.2
ampere^2.second^4/kilogram.meter^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^3.ampere^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
second^3.ampere^2/kilogram.meter^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^2.ampere
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/second^2.ampere
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram.meter^2/second^2.ampere^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kelvin
The International System of Units: 8th Edition 2006. Clause 2.2.2
candela.steradian
The International System of Units: 8th Edition 2006. Clause 2.2.2
candela.steradian/meter^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
second^-1
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
mole/second
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/second
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2.kilogram/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
s^-1
The International System of Units: 8th Edition 2006. Clause 2.2.2
s^-2
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/s^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2.kilogram/second^2.K
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2/second^2.K
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2/second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter.kilogram/second^3.K
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/meter.second^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter.kilogram/second^3.ampere
The International System of Units: 8th Edition 2006. Clause 2.2.2
second.ampere/meter^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
second.ampere/meter^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
second.ampere/meter^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
second^4.ampere^2/meter^3.kilogram
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter.kilogram/second^2.ampere^2
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2.kilogram/second^2.mole
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2.kilogram/second^2.mole.kelvin
The International System of Units: 8th Edition 2006. Clause 2.2.2
second.ampere/kilogram
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2/second^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
meter^2.kilogram/second^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
kilogram/second^3
The International System of Units: 8th Edition 2006. Clause 2.2.2
mol/second^3.second
The International System of Units: 8th Edition 2006. Clause 4.1
meter^2/second