Units package
Requirements.Examples.Elementary.Units
ยท source
Library of examples using the Units package
Extends Modelica.Icons.ExamplesPackage
Examples of the functions of package Units. Conversions asserts every unit conversion of Units.Conversions against its factor together with its round trip, and Phasors asserts the phasor transformations of Units.Phasors against their closed forms. Both models contain only assertions: a model that translates and simulates without an assertion error is the test.
Contents
| Name | Kind | Description | |
|---|---|---|---|
| Conversions | model | Every conversion of Requirements.Units.Conversions asserted against its factor, and its round trip | |
| Phasors | model | Every transformation of Requirements.Units.Phasors asserted against its closed form, and its round trip |