Article | Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019 | MetaModelica – A Symbolic-Numeric Modelica Language and Comparison to Julia Linköping University Electronic Press Conference Proceedings
Göm menyn

Title:
MetaModelica – A Symbolic-Numeric Modelica Language and Comparison to Julia
Author:
Peter Fritzson: PELAB – Programming Environment Lab, Dept. of Computer and Information Science, Linköping University, SE-581 83 Linköping, Sweden Adrian Pop: PELAB – Programming Environment Lab, Dept. of Computer and Information Science, Linköping University, SE-581 83 Linköping, Sweden Martin Sjölund: PELAB – Programming Environment Lab, Dept. of Computer and Information Science, Linköping University, SE-581 83 Linköping, Sweden Adeel Asghar: PELAB – Programming Environment Lab, Dept. of Computer and Information Science, Linköping University, SE-581 83 Linköping, Sweden
DOI:
10.3384/ecp19157289
Download:
Full text (pdf)
Year:
2019
Conference:
Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019
Issue:
157
Article no.:
030
Pages:
14
No. of pages:
289-302
Publication type:
Abstract and Fulltext
Published:
2019-02-01
ISBN:
978-91-7685-122-7
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press, Linköpings universitet


Export in BibTex, RIS or text

The need for integrating system modeling with advanced tool capabilities is becoming increasingly pronounced. For example, a set of simulation experiments may give rise to new data that are used to systematically construct a series of new models, e.g. for further simulation and design optimization. Such combined symbolic-numeric capabilities have been pioneered by dynamically typed interpreted languages such as Lisp and Mathematica. Such capabilities are also relevant for advanced modeling and simulation applications but lacking in the standard Modelica language. Therefore, this is a topic of long-running design discussions in the Modelica Design group. One contribution in this direction is MetaModelica, that has been developed to extend Modelica with symbolic operations and advanced data structures, while preserving safe engineering practices through static type checking and a compilation-based efficient implementation. Another recent effort is Modia, implemented using the Julia macro mechanism, making it dynamically typed but also adding new capabilities. The Julia language has appeared rather recently and has expanded into a large and fast-growing ecosystem. It is dynamically typed, provides both symbolic and numeric operations, advanced data structures, and has a just-intime compilation-based efficient implementation. Despite independent developments there are surprisingly many similarities between Julia and MetaModelica. This paper presents MetaModelica and its environment as a large case study, together with a short comparison to Julia. Since Julia may be important for the future Modelica, some integration options between Modelica tools and Julia are also discussed, including a possible approach for implementing MetaModelica (and OpenModelica) in Julia.

Keywords: Modelica, MetaModelica, symbolic, Julia, meta-programming, language, compilation

Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Author:
Peter Fritzson, Adrian Pop, Martin Sjölund, Adeel Asghar
Title:
MetaModelica – A Symbolic-Numeric Modelica Language and Comparison to Julia
DOI:
http://dx.doi.org/10.3384/ecp19157289
References:
No references available

Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Author:
Peter Fritzson, Adrian Pop, Martin Sjölund, Adeel Asghar
Title:
MetaModelica – A Symbolic-Numeric Modelica Language and Comparison to Julia
DOI:
https://doi.org10.3384/ecp19157289
Note: the following are taken directly from CrossRef
Citations:
No citations available at the moment


Responsible for this page: Peter Berkesand
Last updated: 2019-11-06