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#

WriteFor
people, kg, °C, $A single unit
people/day, m/sDivided by
kg·m/s², kg*m/s^2, kg m/s^2Multiplied (·, * or a space) and powers (², ³ or ^n)
W/m² per °C“per” divides too
per day, 1/yrA 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#

FormulaRule
a + b, a - ba and b must have the same unit
a * b, a / bThe units combine
Exp(x), Log(x)x must be a pure number
A bare numberA pure number when it multiplies; the unit of whatever it is added to
A flowMust come out in its stock’s unit per time unit
Every blockMust 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:

WrittenRead as
scf, Mscf, MMscf, Bcf, Tcfscf, a volume of gas
rb, MMrbrb, reservoir barrels
STB, MMSTBSTB, stock tank barrels
bbl, MMbblbbl

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.