Home
Core
Standard
Doc
Chemistry
Cell
IaF
Ratlab
Spatch

contents   previous   next

Unit

derived Unit expressed in terms of the quantities: M, L, T, charge, temperature, Avagadro's number and ten

Units for intercomponent consistency, mainly for SpatchObject components. A Unit is defined in terms of powers of the elementary quantities mass M (Kg), length L (m), time T (s), charge C (coulombs), temperature K (k), Avagradro's number Navagadro, (~ 6e23) the electronic charge, elec (coluombs) ten, and a floating coefficient f. The variables in the Unit object are the powers of these quantities.

For example, one volt is one joule per coulomb, which is one newton meter per coulomb or one kg m/s ^2/coulomb, so for a Volt Unit, M=1, L=2, s=-2, C=-1 and the rest are 0. For mV, one would also set the variable ten to -3.

A micromolarity Unit would have Navagadro=1, L=-3, and ten = -3 (-6 for micro, +3 for moles per liter instead of per cubic meter).

The dimensionless quantities Navagadro and ten are not strictly necessary but are provided for convenience. They make it easier to express quantities of the form Navagadro ^a * 10 ^b .