Conference article

Simulation of Large-Scale Models in Modelica: State of the Art and Future Perspectives

Francesco Casella
Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Italy

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

Published in: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:49, p. 459-468

Show more +

Published: 2015-09-18

ISBN: 978-91-7685-955-1

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

Abstract

State-of-the-art Modelica tools are very effective at converting declarative models based on differential-algebraic equations into ordinary differential equations. However, when confronted with large-scale models of distributed systems with a high number of states (1000 or more) or with large algebraic systems of equations (1000 or more unknowns), they face a number of serious efficiency issues, that hamper their practical use for system design. The paper analyses these issues in detail, points out strategies for improvement, and also introduces a library of scalable test models that can be used to assess existing tools, as well as to help developing advanced solution methods for large-scale systems.

Keywords

Modelica compilers; Large-Scale Models; Efficient simulation

References

P. Aronsson. Automatic Parallelization of Equation-Based Simulation Programs. PhD thesis, Linköping University, Department of Computer and Information Science, 2006.

Matthias Arzt, VolkerWaurich, and JörgWensch. Towards utilizing repeating structures for constant time compilation of large Modelica models. In David Broman and Peter Pepper, editors, Proceedings of the 6th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, pages 35–38, Berlin, Germany, Oct 10 2014. ACM. ISBN 978-1-4503-2953-8. doi: 10.1145/2666202.2666207.

F. Bergero, X. Floros, J. Fernandez, E. Kofman, and F. Cellier. Simulating modelica models with a standalone quantized state systems solver. In Proceedings 9th International Modelica Conference, pages 237–246–442, Munich, Germany, Sep. 2012. Modelica Association. doi: 10.3384/ecp12076237.

Francesco Casella. A strategy for parallel simulation of declarative object-oriented models of generalized physical networks. In Henrik Nilsson, editor, Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools (EOOLT), pages 45–51,
Nottingham, UK, Apr 19 2013. ISBN 978-91-7519-621-3. URL http://www.ep.liu.se/ecp/084/006/ecp13084006.pdf.

Francesco Casella. Efficient computation of state derivatives for multi-rate integration of object-oriented models. In I. Troch F. Breitenecker, A. Kugi, editor, Proceedings 8th Vienna International Conference on Mathematical Modelling, pages 262–267, Vienna, Austria, Feb. 18–20 2015.

F. E. Cellier and E. Kofman. Continuous System Simulation. Springer-Verlag, 2006.

Hilding Elmqvist, Sven Erik Mattsson, and Hans Olsson. Parallel model execution on many cores. In Proceedings of the 10 th International ModelicaConference, Lund, Sweden, Mar. 10-12 2014. The Modelica Association. doi: 10.3384/ECP14096363.

X. Floros, F. Bergero, F. Cellier, and E. Kofman. Automated simulation of modelica models with qss methods - the discontinuous case. In Proceedings 8th International Modelica Conference, pages 657–667, Dresden, Germany, Mar 20-22 2011. Modelica Association.

Xenofon Floros, Federico Bergero, Nicola Ceriani, Francesco Casella, Ernesto Kofman, and François Cellier. Simulation of smart-grid models using quantization-based integration methods. In Hubertus Tummescheit and Karl-Erik Årzén, editors, Proceedings 10th International Modelica Conference, pages 787–797, Lund, Sweden, Mar 10-12 2014. The Modelica Association. ISBN 978-91-7519-380-9. doi: 10.3384/ECP14096787.

Jens Frenkel, Christian Schubert, Günter Kunze, Peter Fritzson, Martin Sjölund, and Adrian Pop. Towards a benchmark suite for Modelica compilers: Large models. In Proceedings 8th International Modelica Conference, pages 143–152, Dresden, Germany, Mar 20-22 2011. Modelica Association.

Mahder Gebremedhin and Peter Fritzson. Automatic task based analysis and parallelization in the context of equation based languages. In David Broman and Peter Pepper, editors, Proceedings of the 6th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, pages 49–52, Berlin, Germany, Oct 10 2014. ACM. ISBN 978-1-4503-2953-8. doi: 10.1145/2666202.2666210.

C. Höger. Separate compilation of causalized equations. In Proceedings 4th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools., pages 113–120, Sep. 2011.

Christoph Höger. Sparse causalisation of differential algebraic equations for efficient event detection. In Proceedings of the 8th EUROSIM Congress on Modelling and Simulation, pages 351–356, Washington, DC, USA, 2013.

K. Link, H. Steuer, and A. Butter. Deficiencies of modelica and its simulation environments for large fluid systems. In Proceedings 7th International Modelica Confer- ence, pages 341–344, Como, Italy, Sep. 20–22 2009. The Modelica Association. ISBN 978-91-7393-513-5. doi:: 10.3384/ecp09430034.

G. Migoni, M. Bartolotto, E. Kofman, and F. Cellier. Linearly implicit quantization-based integration methods for stiff ordinary differential equations. Simulation Modelling Practice and Theory, 35:118–136, 2013. doi: 10.1016/j.simpat.2013.03.004.

Akshay Ranade and Francesco Casella. Multi-rate integration algorithms: a path towards efficient simulation of objectoriented models of very large systems. In David Broman and Peter Pepper, editors, Proceedings of the 6th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, pages 79–82, Berlin, Germany, Oct 10 2014. ACM. ISBN 978-1-4503-2953-8. doi: 10.1145/2666202.2666214.

Victorino Sanz, Alfonso Urquia, and Francesco Casella. Improving efficiency of hybrid system simulation in modelica. In David Broman and Peter Pepper, editors, Proceedings of the 6th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, pages 21–28, Berlin, Germany, Oct 10 2014. ACM. ISBN 978-1-4503-2953-8. doi: 10.1145/2666202.2666205.

Francesco Schiavo, Luca Viganó, and Giann Ferretti. Objectoriented modelling of flexible beams. Multibody System Dynamics, 15(3):263–286, 2006.

K. Sezginer and F. Casella. The ScalableTestSuite Modelica library, 2015. URL https://github.com/casella/ScalableTestSuite.

Kaan Sezginer. A test suite of large scalable models for Modelica tool evaluation. Master’s thesis, Politecnico di Milano, April 2015. Supervisor: prof. F. Casella.

Martin Sjölund, Mahder Gebremedhin, and Peter Fritzson. Parallelizing equation-based models for simulation on multi-core platforms by utilizing model structure. In Alain Darte, editor, Proceedings of the 17th Workshop on Compilers for Parallel Computing, July 2013. The Modelica Association. Modelica - A unified objectoriented language for physical systems modeling - Language specification version 1.0. Online, Sep 1997. URL http://www.modelica.org/news_items/documents/ModelicaSpec30.pdf.

The Modelica Association. Modelica - A unified objectoriented language for physical systems modeling - Language specification version 3.3 revision 1. Online, Jul. 11 2014. URL https://www.modelica.org/documents/ModelicaSpec33Revision1.pdf.

Luigi Vanfretti, Tetiana Bogodorova, and Maxime Baudette. A Modelica power system component library for model validation and parameter identification. In Proceedings 10th International Modelica Conference, pages 1195–1203, Lund, Sweden, Mar 10-12 2014. The Modelica Association. doi: 10.3384/ECP140961195.

Marcus Walther, Volker Waurich, Christian Schubert, and Ines Gubsch. Equation based parallelization of modelica models. In Proceedings of the 10 th International Modelica Conference, Lund, Sweden, Mar. 10-12 2014. The Modelica Association. doi: 10.3384/ECP140961213.

D. Zimmer. Module-preserving compilation of modelica models. In Proceedings 7th International Modelica Conference, pages 880–889, Como, Italy, Sep. 20–22 2009. The Modelica Association. doi: 10.3384/ecp09430028.

Citations in Crossref