Conference article

Custom Annotations: Handling Meta-Information in Modelica

Dirk Zimmer
German Aerospace Center (DLR), Institute of System Dynamics and Control, Wessling, Germany

Martin Otter
German Aerospace Center (DLR), Institute of System Dynamics and Control, Wessling, Germany

Hilding Elmqvist
Dassault Systèmes AB, Ideon Science Park, Lund, Sweden

Gerd Kurzbach
ITI GmbH, Dresden, Germany

Download articlehttp://dx.doi.org/10.3384/ecp14096173

Published in: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:18, p. 173-182

Show more +

Published: 2014-03-10

ISBN: 978-91-7519-380-9

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

Annotations and attributes form an important part of the Modelica language. They are used to include various meta-information such as documentation; external c-code; compilation hints; etc. Given the increasingly wide field of potential applications the set of useful annotations becomes too large to be included in the language specification. Hence we present a proposal how a Modelica modeler may define his own annotations and how such custom annotations can be organized within Modelica libraries. In the long term; the goal is to move the definition of standardized annotation; as well as of attributes; from the Modelica specification to a standard library.

Keywords

meta-information; custom annotations; Optimization setup; Monte Carlo simulation setup; Kalman filter setup; uncertainty setup.

References

Blochwitz T., Otter M., Arnold M., Bausch C., Clauß C., Elmqvist H., Junghanns A., Mauss J., Monteiro M., Neidhold T., Neumerkel D., Olsson H., Peetz J.-V., Wolf S. (2011): The Functional Mockup Interface for Tool independent Exchange of Simulation Models. Proceedings of the 8th International Modelica Conference, Dresden, March 20-22, pp. 105-114. Download: http://www.ep.liu.se/ecp/063/013/ecp11063013.pdf

Blochwitz T., Otter M., Akesson J., Arnold M., Clauß C., Elmqvist H., Friedrich M., Junghanns A., Mauss J.,

Neumerkel D., Olsson H., Viel A. (2012): Functional Mockup Interface 2.0: The Standard for Tool independent Exchange of Simulation Models. Proceedings of the 9th International Modelica Conference, September 3-5, Munich, pp. 173-184. Download: http://www.ep.liu.se/ecp/076/017/ecp12076017.pdf

Burstall R., Strachey C. (2000): Understanding Programming Languages. Higher-Order and Symbolic Computation 13 :52. DOI: 10.1023/A:1010052305354

Coward D (2004). JSR 175: A Metadata Facility for the JavaTM Programming Language. Java Community Process. https://www.jcp.org/en/jsr/detail?id=175#2 (Retrieved 2013-12-09).

Dassault Systèmes (2014): Dymola 2015 Alpha. http://www.Dymola.com

Modelica Association (2013): The Modelica Language Specification, Version 3.3. Download: https://www.modelica.org/documents/ModelicaSpec33.pdf.

Zimmer D. (2008): Multi-Aspect Modeling in Equation-Based Languages. Simulation News Europe, Volume 18, No. 2, pp. 54-61

Zimmer D. (2009): An Application of Sol on Variable-Structure Systems with Higher Index. 7th International Modelica Conference, Como, Italy.

Zimmer D. (2012): A Reference-Based Parameterization Scheme for Equation-Based Object-Oriented Modeling Languages. 7th Vienna International Conference on Mathematical Modelling, Vienna, Austria.

Citations in Crossref