- Categories describe what kind of quantity a value represents (for example: temperature, mass, pressure, voltage).
- Units describe how that quantity is measured (for example: °C, kg, bar, V).
- Base units define the canonical reference for each category, enabling conversion.
Categories
A category represents a physical or logical dimension. Poelis includes a wide set of standard categories out of the box:- The seven SI base quantities, from which all other physical quantities are derived. In Poelis, they form the foundation of many other categories.
- Few derived from one or more SI base quantities. They typically involve combinations of base units (multiplication, division, powers).
- Few unitless or represent abstract, non-physical quantities. They do not reduce to SI base units.
Custom categories
You can create custom categories when your domain requires quantities that are not covered by standard dimensions. Custom categories behave exactly like standard ones:- they can have a base unit
- they can contain multiple units
- they can be used by numeric properties
Units
A unit defines how values in a category are expressed. Each category has:- one base unit
- zero or more derived units
-
kgis the base unit -
g,ton,ounce,stone, etc. are derived units
Base units
The base unit anchors all conversions in a category. Every other unit in the category is defined relative to the base unit. Changing the base unit would change how all other units are interpreted, which is why base units are fixed once defined. You do not usually need to think about base units explicitly, but they are what make conversions safe and consistent.Custom units
You can add custom units to any category. When creating a custom unit, you define:- the unit name (symbol)
- working with domain-specific conventions
- importing data from external systems
- matching supplier or legacy documentation
-
Use standard unit symbols (
m,s,kg,A) -
Use
^for exponents, not superscripts - Avoid spaces inside expressions
- Be explicit, clarity is better than brevity
-
m/s -
m^2 -
kg*m/s^2 -
N*m -
J/s
-
*for multiplication -
/for division -
^for powers - etc…
-
(m*s)/kg -
m/(s^2)
Unit compatibility
Units are only compatible within the same category. For example:- temperature units can convert among °C, K, °F
- mass units can convert among kg, g, ton
- temperature and mass can never be mixed
Using units in properties
When you assign a unit to a numeric property:- the value is stored with full dimensional meaning
- conversions become available automatically
- dependencies can validate comparisons correctly
Unit conversion
Numeric properties support on-the-fly unit conversion. Conversions:- respect category compatibility
- preserve value meaning
- do not modify stored values unless explicitly changed
Best practices
When managing units:- choose clear, standard base units
- avoid redefining common units unnecessarily
- use custom categories sparingly and intentionally
- prefer explicit compound units over ambiguous names
- keep unit formulas simple and readable