Units package

Requirements.Units  ยท source

Icon of Units

Type definitions of non-SI units and conversion functions, for the units Modelica.Units lacks

Extends Modelica.Icons.Package

Non-SI unit types and their conversions to and from SI, complementing Modelica.Units: a requirement is written in the units its domain uses (an altitude in kft, an air flow in kg/min, a cabin pressure in mbar), a model computes in SI, and the conversion between the two must be one function with one factor, in the library, never a number typed into a generated model. Examples.Elementary.Units.Conversions asserts every factor.

Copyright © 2026 Model Based Innovation LLC. All rights reserved.

Contents

NameKindDescription
NonSIpackageType definitions of non-SI units (the ones Modelica.Units.NonSI does not define)
ConversionspackageConversion functions to/from the non-SI units of Requirements.Units.NonSI
PhasorspackageTransformations between the polar and the rectangular form of a phasor