Conference article

Initialization of Equation-Based Hybrid Models within OpenModelica

Lennart A. Ochel
Department Mathematics and Engineering, University of Applied Sciences Bielefeld, Germany

Bernhard Bachmann
Department Mathematics and Engineering, University of Applied Sciences Bielefeld, Germany

Download article

Published in: Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; April 19; University of Nottingham; Nottingham; UK

Linköping Electronic Conference Proceedings 84:11, p. 97-103

Show more +

Published: 2013-03-27

ISBN: 978-91-7519-621-3 (print)

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


Modelica is a multi-domain object-oriented modeling language designed for time-dependent systems. The time-dependent part is usually described with “ordinary differential equations”. In addition to that; it is possible to express algebraic and difference equations. As a result a Modelica model will be merged to a hybrid differential algebraic equation system. The initialization process is prior to each simulation and must therefore be solved before any simulation can be started. Modelica provides high-level features to describe the initialization problem. This leads often into various problems. The initialization is usually a system-level issue. Therefore; high knowledge about the system is necessary. In OpenModelica two major methods are implemented to solve the initialization problem. Both methods are totally different and are used for different initialization issues. Both methods will be discussed within this paper.


initialization; hybrid models; homotopy; start value; OpenModelica


[1] Modelica Association; Modelica® - A Unified Object-Oriented Language for Systems Modeling - Language Specification - Version 3.3; 2012

[2] Bernhard Bachmann;; Robust Initialization of Differential Algebraic Equations. Modelica’2006 Proceedings - Volume 2; pp. 607; 2006.

[3] Francesco Casella;; Overdetermined Steady-State Initialization Problems in Object-Oriented Fluid System Models. Modelica’2008 Proceedings - Volume 1; pp. 311; 2008.

[4] Jens Frenkel;; Survey of appropriate matching algorithms for large scale systems of differential algebraic equations. Modelica’2012 Proceedings; 2012.

[5] Robert Tarjan; Depth-first search and linear graph algorithms. SIAM Journal on Computing; Vol. 1; No. 2; 1972.

[6] Hilding Elmqvist and Martin Otter; Methods for Tearing Systems of Equations in Object-Oriented Modeling. Proceedings of the Conference on Modeling and Simulation; eds. Guasch and Huber; pp. 326-332.; 1994.

[7] Emanuele Carpanzano; Order reduction of General Nonlinear DAE Systems by Automatic Tearing; Mathematical and Computer Modeling of Dynamical Systems. Vol. 6 No. 2; pp. 145-168; 2000.

Citations in Crossref