goldfirere / units-defs

Public repo for the units-defs package of well-typed unit definitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kinds of Quantities

jerbaroo opened this issue · comments

All the schemes described above, use a simplified representation of physical types, and do not incorporate ‘kind-of-quantity’ (KOQ), which is another attribute [7] of a physical type, at a higher abstraction than dimension. Thus, two quantities may have the same dimensions, but can be different kinds of quantities. Familiar examples are energy and torque, both of dimension ML2T-2, and heat capacity and entropy, both of dimension ML2T-2Θ-1.

https://www.researchgate.net/publication/326550053_Physical-type_correctness_in_scientific_Python

Is it possible with this units package to e.g. prevent addition of a value of type torque to a value of type energy?