Solving Large-scale Modelica Models: New Approaches and Experimental Results using OpenModelica

Willi Braun
FH Bielefeld, Bielefeld, Germany

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

Bernhard Bachmann
FH Bielefeld, Bielefeld, Germany

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp17132557

Ingår i: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:63, s. 557-563

Visa mer +

Publicerad: 2017-07-04

ISBN: 978-91-7685-575-1

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


Modelica-based modeling and simulation is becoming increasingly important for the development of high quality engineering products. Therefore, the system size of interest in a Modelica-based simulation is continously increasing and the traditional way of generating simulation code, e.g. involving symbolic transformations like matching, sorting, and tearing, must be adapted to this situation. This paper describes recently implemented sparse solver techniques in OpenModelica in order to efficiently compile and simulate large-scale Modelica models. A proof of concept is given by evaluating the performance of selected benchmark problems.


Modelica, large-scale, sparse solver techniques


B. Bachmann, W. Braun, L. Ochel, and V. Ruge. Symbolical and numerical approaches for solving nonlinear systems. Annual OpenModelica Workshop 2015, 2015. URL https://www:openmodelica:org/images/docs/openmodelica2015/OpenModelica2015-talk04-Bernhard-Bachmann-NLSinOpenModelica:pdf.

W. Braun, S. Gallardo Yances, K. Link, and B. Bachmann. Fast simulation of fluid models with colored jacobians. In Proceedings of the 9th International Modelica Conference, pages 247–252, Munich, Germany, Sep. 3–5 2012. Modelica Association. doi: https://doi.org/10.3384/ecp12076247.

K.E. Brenan, S.L. Campbell, and L.R. Petzold. Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations. Society for Industrial and Applied Mathematics, 1996. doi: https://doi.org/10.1137/1.9781611971224.fm.

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

Francesco Casella. Simulation of large-scale models in Modelica: State of the art and future perspectives. In Peter Fritzson and Hilding Elmqvist, editors, Proceedings 11th International Modelica Conference, pages 459–468, Versailles, France, Sep 21–23 2015. The Modelica Association. ISBN 978-91-7685-955-1. doi: https://doi.org/10.3384/ecp15118459.

Francesco Casella, Andrea Bartolini, Simone Pasquini, and Luca Bonuglia. Object-oriented modelling and simulation of large-scale electrical power systems using Modelica: a first feasibility study. In Proceedings of the 42nd Annual Conference of the IEEE Industrial Electronics Society IECON 2016, pages 0–6, Firenze, Italy, Oct. 24-27 2016. IEEE, IEEE. ISBN 978-1-5090-3474-1.

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

T. A. Davis. Algorithm 832: UMFPACK v4.3—an unsymmetric-pattern multifrontal method. ACM Transactions On Mathematical Software, 30(2):196–199, June 2004. ISSN 0098-3500. doi: https://doi.org/10.1145/992200.992206. URL http://doi.org/10:1145/992200.992206.

T. A. Davis and E. Palamadai Natarajan. Algorithm 907: Klu, a direct sparse solver for circuit simulation problems. ACM Trans. Math. Softw., 37(3):36:1–36:17, September 2010. ISSN 0098-3500. doi: https://doi.org/10.1145/1824801.1824814. URL https://doi.org/10:1145/1824801.1824814.

Antonio Froio, Francesco Casella, Fabio Cismondi, Alessandro Del Nevo, Laura Savoldi, and Roberto Zanino. Dynamic thermal-hydraulic modelling of the eu demo wcll breeding blanket cooling loops. Fusion Engineering and Design, in press, available online:1–5, 2017. doi: https://doi.org/10.1016/j.fusengdes.2017.01.062.

C. Froio, F. Casella, F. Cismondi, A. Del Nevo, L. Savoldi, and R. Zanino. Dynamic thermal-hydraulic modelling of the eu demo wcll breeding blanket cooling loops. In Proc. 29th Symposium on Fusion Technology (abstract), Prague, Czech Republic, 2016.
A. C. Hindmarsh, P. N. Brown, K. E. Grant, S. L. Lee, R. Serban, D. E. Shumaker, and C. S. Woodward. SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers. ACM Transactions on Mathematical Software (TOMS), 31(3):363–396, 2005.

Open Source Modelica Consortium. OpenModelica User’s Guide. Online. URL https://openmodelica:org/doc/OpenModelicaUsersGuide/latest/.

P. Täuber, L. Ochel, W. Braun, and B. Bachmann. Practical realization and adaptation of cellier’s tearing method. In Proceedings of the 6th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT ’14, pages 11–19, New York, NY, USA, 2014. ACM. ISBN 978-1-4503-2953-8. doi: https://doi.org/10.1145/2666202.2666204. URL http://doi.org/10.1145/2666202:2666204.

Citeringar i Crossref