Modelica.Utilities.UsersGuideLibrary 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 |
|---|---|
| Implementation Notes | |
| Release notes | |
| Contact |
Modelica.Utilities.UsersGuide.ImplementationNotesBelow 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).
Modelica.Utilities.UsersGuide.ReleaseNotesFirst version implemented.
Extends from Modelica.Icons.ReleaseNotes (Icon for release notes in documentation).
Modelica.Utilities.UsersGuide.ContactAcknowledgements:
Dag Brück, Dassault Systèmes AB, Sweden
Hilding Elmqvist, 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).