Package Modelica.​Units
Library of type and unit definitions

Information

This package provides predefined types, such as Mass, Angle, Time, based on the international standard on units, e.g.,

type Angle = Real(final quantity = "Angle",
                  final unit     = "rad",
                  displayUnit   = "deg");

Some of the types are derived SI units that are utilized in package Modelica (such as ComplexCurrent, which is a complex number where both the real and imaginary part have the SI unit Ampere).

Furthermore, conversion functions from non SI-units to SI-units and vice versa are provided in subpackage Conversions.

For an introduction how units are used in the Modelica Standard Library with package Units, have a look at: How to use Units.

Copyright © 1998-2020, Modelica Association and contributors

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
ConversionsConversion functions to/from non SI units and type definitions of non SI units
IconsIcons for Units
NonSIType definitions of non SI and other units
SILibrary of SI unit definitions
UsersGuideUser's Guide of Units Library