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 Content

Name Description
Modelica.Units.UsersGuide UsersGuide User's Guide of Units Library
Modelica.Units.SI SI Library of SI unit definitions
Modelica.Units.NonSI NonSI Type definitions of non SI and other units
Modelica.Units.Conversions Conversions Conversion functions to/from non SI units and type definitions of non SI units
Modelica.Units.Icons Icons Icons for Units
Automatically generated Thu Oct 1 16:08:17 2020.