Module blackbox_log::units::si::thermodynamic_temperature
Expand description
Thermodynamic temperature (base unit kelvin, K).
Thermodynamic temperature has the same dimensions as temperature interval but is not directly comparable. Thermodynamic temperature is the absolute measure of temperature and is one of the base quantities in the ISQ. Temperature interval is the measure of relative temperature difference between thermodynamic temperatures.
ⓘ
let tt = ThermodynamicTemperature::new::<thermodynamic_temperature::kelvin>(1.0);
let ti = TemperatureInterval::new::<temperature_interval::kelvin>(1.0);
// error[E0308]: mismatched types
let err = tt == ti;
Additionally, addition and subtraction are not implemented for thermodynamic temperature.
ⓘ
let t1 = ThermodynamicTemperature::new::<thermodynamic_temperature::kelvin>(1.0);
let t2 = ThermodynamicTemperature::new::<thermodynamic_temperature::kelvin>(1.0);
// error[E0308]: mismatched types
let err = t1 + t2;
A temperature interval can be added to or subtracted from a thermodynamic temperature.
ⓘ
let tt = ThermodynamicTemperature::new::<thermodynamic_temperature::kelvin>(1.0);
let ti = TemperatureInterval::new::<temperature_interval::kelvin>(1.0);
let result = tt + ti;
Structs§
- attokelvins
- centikelvins
- decakelvins
- decikelvins
- degrees Celsius
- degrees Fahrenheit
- degrees Rankine
- exakelvins
- femtokelvins
- gigakelvins
- hectokelvins
- The kelvin is the SI unit of thermodynamic temperature. It is defined by taking the fixed numerical value of the Boltzmann constant k to be 1.380 649 × 10⁻²³ when expressed in the unit J K⁻¹, which is equal to kg m² s⁻² K⁻¹, where the kilogram, meter, and second are defined in terms of h, c, and ∆νCs.
- kilokelvins
- megakelvins
- microkelvins
- millikelvins
- nanokelvins
- petakelvins
- picokelvins
- terakelvins
- yoctokelvins
- yottakelvins
- zeptokelvins
- zettakelvins
Enums§
- Unit enum.
Traits§
- Trait to identify units which have a conversion factor for the
Quantity
. See [crate::Conversion<V>
]. - Marker trait to identify measurement units for the quantity. See
Unit
.
Functions§
- Quantity description.
- Iterate over all defined units for this quantity.
Type Aliases§
- Dimension of thermodynamic temperature, Th (base unit kelvin, K).
- Thermodynamic temperature (base unit kelvin, K).