Fast Simulation of Fluid Models with Colored Jacobians

Willi Braun
University of Applied Sciences Bielefeld, Bielefeld, Germany

Stephanie Gallardo Yances
Siemens AG, Energy Sector, Erlangen, Germany

Kilian Link
Siemens AG, Energy Sector, Erlangen, Germany

Bernhard Bachmann
University of Applied Sciences Bielefeld, Bielefeld, Germany

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

Ingår i: Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany

Linköping Electronic Conference Proceedings 76:24, s. 247-252

Visa mer +

Publicerad: 2012-11-19

ISBN: 978-91-7519-826-2

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


The industrial usage of the open-source Modelica tool OpenModelica was limited so far for power plant applications; due to performance of the large fluid systems. This paper presents some efforts to improve the simulation time on benchmark fluid models proposed by Siemens Energy. The main aspects presented here to achieve a faster simulation are an efficient evaluation of the jacobian matrix by a coloring technique; that expolits the sparsity pattern of a modelica model. Therefore the techniques are scratched and applied to benchmark models provied by Siemens Energy.


OpenModelica; Fluid Simulation; Benchmark; Simulation; Jacobian; Coloring; Sparsity-Pattern; DASSL


[1] Åkesson J; Braun W; Lindholm P; Bachmann B. Generation of Sparse Jacobians in the Function Mock-Up Interface 2.0. In: Proceedings of the 9th Modelica Conference; Munich; Germany; Modelica Association; 2012.

[2] Assefaw H. Gebremedhin; Fredrik Manne; and Alex Pothen. What color is your jacobian? graph coloring for computing derivatives. SIAM Rev.; 47(4):629–705; 2005. doi: 10.1137/S0036144504444711.

[3] Braun W; Ochel L; Bachmann B. Symbolically Derived Jacobians Using Automatic Differentiation - Enhancement of the OpenModelica Compiler. In: Proceedings of the 8th Modelica Conference; Dresden; Germany; Modelica Association; 2010.

[4] Fritzson P. et. al.: OpenModelica System Documentation; PELAB; Department of Computer and Information; Linköpings universitet; 2010.

[5] Siemens Energy: https://www.energy.siemens.com

[6] Link K; Vogel S; Mynttinen I. Fluid Simulation and Optimization using Open Source Tools. In: Proceedings of the 8th Modelica Conference 2010; Dresden; Germany; Modelica Association; 20th to 22nd 2011 2010.

[7] Petzold L. R.: A Description of DASSL: A Differential/ Algebraic System Solver; Sandia National Laboratories Livermore; 1982.

Citeringar i Crossref