Reference: language and settings
Units
Updated 3 November 2026 · 2 min read
How to write units, and the rules the unit checker applies to every formula. Units as a check explains why it is worth doing.
Writing a unit#
| Write | For |
|---|---|
people, kg, °C, $ | A single unit |
people/day, m/s | Divided by |
kg·m/s², kg*m/s^2, kg m/s^2 | Multiplied (·, * or a space) and powers (², ³ or ^n) |
W/m² per °C | “per” divides too |
per day, 1/yr | A rate with nothing on top |
(blank), 1, ratio, fraction, dimensionless, - | A pure number |
Plurals and short forms are read as the same unit: days and day, years, year, yr and yrs, hours and hr, person, persons and people.
The time unit set in Simulation is a unit like any other: a model that runs in day expects flows per day.
The rules#
| Formula | Rule |
|---|---|
a + b, a - b | a and b must have the same unit |
a * b, a / b | The units combine |
Exp(x), Log(x) | x must be a pure number |
| A bare number | A pure number when it multiplies; the unit of whatever it is added to |
| A flow | Must come out in its stock’s unit per time unit |
| Every block | Must work out in the unit it is given |
Nonlinear functions and integrals aren’t checked inside: their formulas are in x, whose unit the checker can’t know.
Volume prefixes#
Oil field volumes carry scale prefixes that the checker treats as scale, not as different units:
| Written | Read as |
|---|---|
scf, Mscf, MMscf, Bcf, Tcf | scf, a volume of gas |
rb, MMrb | rb, reservoir barrels |
STB, MMSTB | STB, stock tank barrels |
bbl, MMbbl | bbl |
So Bcf and scf check as the same unit; the factor between them is yours to get right in the formula. No other prefixes are converted: kg and g are different units to the checker.
Warnings#
A unit problem is a warning: it is listed in the Units tab and marked on the canvas, but the model still runs. The messages are on Messages and what they mean.
See also
- Units as a checkWhy giving everything a unit catches mistakes long before a number looks wrong.
- FormulasWhat a formula can contain: names, t, operators and functions.
- Messages and what they meanEvery problem the builder reports, and what to do about it.
- Simulation settingsStart, end, time unit and solver, and how results are reported.