Library Modelica.Utilities contains Modelica functions that are especially suited for scripting. Currently, only a rudimentary User's Guide is present. This will be improved in the next releases. The User's Guide has currently the following chapters:
Error handling
In case of error, all functions in this library use a Modelica "assert(..)"
to provide an error message and to cancel all actions. This means that
functions do not return, if an error is triggered inside the function.
In the near future, an exception handling mechanism will be introduced
in Modelica that will allow to catch errors at a defined place.
Extends from Modelica.Icons.Information (Icon for general information packages).
Name | Description |
---|---|
ImplementationNotes | Implementation Notes |
ReleaseNotes | Release notes |
Contact | Contact |
Below the major design decisions of this library are summarized.
String s[:], s_temp; ... s_temp := s[i]; s[i] := s[j]; s[j] := s_temp;Formally, three strings are copied. Due to the feature sketched above, a Modelica tool can replace this copy operation by pointer assignments, a very "cheap" operation. The Modelica.Utilities functions will perform efficiently, if such types of optimizations are supported by the tool.
Extends from Modelica.Icons.Information (Icon for general information packages).
First version implemented.
Extends from Modelica.Icons.ReleaseNotes (Icon for release notes in documentation).
Martin Otter
Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
Institut für Systemdynamik und Regelungstechnik (DLR-SR)
Forschungszentrum Oberpfaffenhofen
D-82234 Wessling
Germany
Hans Olsson
Dassault Systèmes AB, Lund, Sweden
Dag Brück
Dassault Systèmes AB, Lund, Sweden.
email: Dag.Bruck@3ds.com
Dag Brück, Dassault Systèmes AB, Sweden
Hilding Elmqvist, previously at Dassault Systèmes AB, Sweden
Hans Olsson, Dassault Systèmes AB, Sweden
Martin Otter, DLR Oberpfaffenhofen, Germany.
Extends from Modelica.Icons.Contact (Icon for contact information).
Automatically generated Thu Dec 19 17:20:26 2019.