Previous Page Physical Units Next Page
Quite often mathematical models are faulty, because physical units are not compatible.

Simplex-MDL is able to carry along units and asure their correct usage.

In value assignments, the unit of an algebraic expression is automatically adopted.

Units
Example:

CONSTANTS
m (REAL [kg])    := 10 [kg],
g (REAL [m/s^2]) := 9.81 [m/s^2]

DEPENDENT VARIABLES
G (REAL [N]),
v (REAL [km/h]),
h (REAL [m])

# correct units
G = m * g;

# automatic conversion
v := SQRT( 2*g*h );