Conference article

Innovations for Future Modelica

Hilding Elmqvist
Mogram AB, Magle Lilla Kyrkogata 24, 223 51 Lund, Sweden

Toivo Henningsson
Lund, Sweden

Martin Otter
Institute of System Dynamics and Control, DLR, Oberpfaffenhofen, Germany

Download article

Published in: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:76, p. 693-702

Show more +

Published: 2017-07-04

ISBN: 978-91-7685-575-1

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


This paper discusses language innovations for future Modelica versions, on the one hand for generally applicable language elements, and on the other hand to improve modeling of multibody systems with contacts, and media modeling. In a companion paper new algorithms are proposed to handle much larger models than can be treated today. All these innovations are developed and evaluated with the experimental modeling and simulation environment Modia. Modia is based on Julia, a powerful programming language with strong focus on scientific computing, meta-programming and just-in-time compilation that allows very fast development. The modeling language is directly defined and implemented with Julia’s meta-programming constructs and is designed tightly together with the symbolic and numeric algorithms. This approach is very well suited for innovation and experimenting with evolutions of modeling capabilities in Modelica.


Modelica, Modia, Julia, modeling, simulation


Benveniste A., Caillaud B., Elmqvist H., Ghorbal K., Otter M., and Pouzet M. (2017): Multi-Mode DAE Models - Challenges, Theory and Implementation. Lecture Notes on Computer Science, submitted for review.

Bezanson J., Edelman A., Karpinski S. and Shah V.B. (2017): Julia: A Fresh Approach to Numerical Computing. SIAM Review, Vol. 59, No. 1, pp. 65-98.; see also:

Broman D., Siek J. G. (2012): Modelyze: a Gradually Typed Host Language for Embedding Equation-Based Modeling Languages, University of California at Berkeley, No. UCB/EECS-2012-173,

Danish D. (2014): FixedSizeArrays,

Elmqvist H., Goteman A., Roxling V., Ghandriz T. (2015): Generic Modelica Framework for MultiBody Contacts and Discrete Element Method. Proceedings 11th International Modelica Conference, Versailles.

Elmqvist H., Olsson H., Otter M. (2015b): Constructs for Meta Properties Modeling in Modelica. Proceedings 11th International Modelica Conference, Versailles.

Elmqvist H. and Mattsson S.E. (2016): Exploiting Model Graph Analysis for Simplified Modeling and Improved Diagnostics. Proceedings EOOLT ’16, April 18, Milano, Italy.

Elmqvist J., Henningsson T. and Otter M. (2016): System Modeling and Programming in a Unified Environment based on Julia. Proceedings of ISoLA 2016 Conference Oct. 10-14, T. Margaria and B. Steffen (Eds.), Part II, LNCS 9953, pp. 198-217.

Fisher K. (2013): SIUnits.

Giorgidze G., Nilsson H. (2009): Higher-Order Non-Causal Modelling and Simulation of Structurally Dynamic Systems. In Proceedings of the 7th International Modelica Conference, pages 208–218, Como, Italy.

Höger C.: Dynamic structural analysis for DAEs. In Proceedings of the 2014 SCS Summer Simulation Multiconference, 2014.

Mattsson S.E, Otter M., and Elmqvist H. (2015): Multi-Mode DAE Systems with Varying Index. Proceedings 11th International Modelica Conference, Versailles.

Modelica Association (2014): The Modelica Language Specification, Version 3.3 Revision 1,

Modelica Association (2016): The Modelica Standard Library, Version 3.3.2,

Otter M., and Elmqvist H. (2017): Transformation of Differential Algebraic Array Equations to Index One Form. Modelica Conference 2017, Prague, May 15-17.

Short T. (2012): Sims - A Julia package for equation-based modeling and simulations.

Zimmer D. (2010): Equation-Based Modeling of Variable Structure Systems. PhD Dissertation, ETH Zürich.

Citations in Crossref