Fatemeh Mohammadi
Numerical Analysis, Center of Mathematical Sciences, Lund University, Lund, Sweden
Carmen Arévalo
Numerical Analysis, Center of Mathematical Sciences, Lund University, Lund, Sweden
Claus Führer
Numerical Analysis, Center of Mathematical Sciences, Lund University, Lund, Sweden
Download articlehttp://dx.doi.org/10.3384/ecp14096819Published in: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:85, p. 819-826
Published: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (print), 1650-3740 (online)
Modelica has in its language support for describing discontinuities; so-called events. Modern
integrating environments; like Assimulo; provide elaborated event detection and event handling
methods. In addition; the overall performance of a simulation of models with discontinuities (hybrid models)
depends strongly on methods for restarting integration after event detection. The presented paper
reviews two restarting methods; based oRunge--Kutta starters for multistep methods; and
presents first experiments on a hybrid system described in Modelica and simulated by JModelica.org/PyFMI and Assimulo.
Events; discontinuities; hybrid systems; multistep method; Runge–Kutta method; simulation restart
[1] Johan Åkesson, Magnus Gäfvert, and Hubertus Tummescheit. JModelica—an open source platform for optimization of modelica models. In Proceedings of MATHMOD 2009 - 6th Vienna International Conference on Mathematical Modelling, Vienna, Austria, February 2009. TU Wien.
[2] Christian Andersson. Assimulo: a new Python based class for simulation of complex hybrid DAEs and its integration in JModelica.org. Master’s thesis, Lund University, 2011.
[3] Christian Andersson, Johan Åkesson, Claus Führer, and Magnus Gäfvert. Import and export of functional mock-up units in JModelica.org. In 8th International Modelica Conference 2011, Dresden, Germany, March 2011.
[4] Torsten Blochwitz, M. Otter, M. Arnold, C. Bausch, C. Clauß, H. Elmqvist, A. Junghanns, J. Mauss, M. Monteiro, T. Neidhold, et al. The functional mockup interface for tool independent exchange of simulation models. In Modelica’2011 Conference, March, pages 20–22, 2011.
[5] C. W. Gear. Runge–Kutta starters for multistep methods. ACM Trans. Math. Softw., 6(3):263–279, September 1980.
[6] Anthony Ralston. Runge–Kutta methods with minimum error bounds. Mathematics of computation, 16(80):431–437, 1962.
[7] Hans J. Stetter. Asymptotic expansions for the error of discretization algorithms for non-linear functional equations. Numerische Mathematik, 7(1):18–31, 1965.
[8] Reinhold von Schwerin and Hans Georg Bock. A Runge–Kutta starter for a multistep method for differential-algebraic systems with discontinuous effects. Applied numerical mathematics, 18(1):337–350, 1995.