Hilding Elmqvist
Ideon Science Park, Lund, Sweden
Sven Erik Matsson
Ideon Science Park, Lund, Sweden
Hans Olsson
Ideon Science Park, Lund, Sweden
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp14096363Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:38, s. 363-370
Publicerad: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
Modelica gives the possibility to compose more and more detailed models since model components can be reused. This means that simulation needs to be faster. One possibility is then to use multi-core tech-nology. Recent advances with more than 1000 cores show the potential.
The problem is then how to utilize this enormous processing power in a user friendly way. Partitioning needs to be made automatically. Modelica gives good possibility to automatically partition the model equation execution into separate threads since it is a declarative language based on equations.
This paper describes a method to automatically parallelize model equations implemented in Dymola. A speed-up of 3.4 times has been achieved using 4 cores/8 threads.
Aronsson, P., and P. Fritzson (2002). Multiprocessor Scheduling of Simulation Code from Modelica Models. In Proceedings of the 2nd International Modelica Conference, Oberpfaffenhofen, Germany, Mar. 18–19, 2002.
Aronsson P. (2006): Automatic Parallelization of Equation-Based Simulation Programs. Institutionen för datavetenskap, 2006.
Casella, F. (2013): A Strategy for Parallel Simulation of Declarative Object-Oriented Models of Generalized Physical Networks. 5th International Workshop of Equation-Based Object-Oriented Modeling Languages and Tools, April 2013, University of Nottingham, UK. Linköping University Electronic Press. http://www.ep.liu.se/ecp_home/index.en.aspx?issue=084.
Elmqvist H., Mattsson S.E., Olsson H. (2002): New Methods for Hardware-in-the-Loop Simulation of Stiff Models, 2nd International Modelica Conference, DLR, Oberpfaffenhofen, Germany, March 18-19.