Konferensartikel

Acceleration of FMU Co-Simulation On Multi-core Architectures

Salah Eddine Saidi
IFP Energies nouvelles, Rueil-Malmaison, France

Nicolas Pernet
IFP Energies nouvelles, Rueil-Malmaison, France

Yves Sorel
INRIA, Paris, France

Abir Ben Khaled
IFP Energies nouvelles, Rueil-Malmaison, France

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

Ingår i: The First Japanese Modelica Conferences, May 23-24, Tokyo, Japan

Linköping Electronic Conference Proceedings 124:14, s. 106-112

Visa mer +

Publicerad: 2016-05-18

ISBN: 978-91-7685-749-6

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

Abstract

The design of cyber-physical systems is a complex process and relies on the simulation of the system behavior before its deployment. Co-simulation allows system designers to simulate a whole system composed of a number of interconnected subsystems. Traditionally, these models are modeled by experts of different fields using different tools, and then integrated into one environment to perform simulation at the system-level. This results in complex and heavy co-simulations and requires adequate solutions and tools in order to reduce the execution time. Unfortunately, most modeling tools perform only mono-core simulations and do not take advantage of the omnipresent multi-core processors. This paper addresses the problem of efficient parallelization of co-simulations. It presents a multi-core scheduling heuristic for parallelizing FMI-compliant models on multi-core processors. The limitations of this heuristic are highlighted and two solutions for dealing with them are presented. The obtained speed-up using each of these solutions is illustrated and discussed for further improvements.

Nyckelord

FMI, co-simulation, multi-core, scheduling, heuristic

Referenser

A. Ben Khaled, M. Ben Gaïd, D. Simon, and G. Font. Multicore simulation of powertrains using weakly synchronized model partitioning. In IFAC Workshop on Engine and Powertrain Control Simulation and Modeling ECOSM, pages 448–455, Rueil-Malmaison, France, 2012. doi: 10.3182/20121023-3-FR-4025.00018.

A. Ben Khaled, M. Ben Gaid, N. Pernet, and D. Simon. Fast multi-core co-simulation of cyber-physical systems: Application to internal combustion engines. Simulation Modelling Practice and Theory, 47:79 – 91, 2014. ISSN 1569-190X. doi: http://dx.doi.org/10.1016/j.simpat.2014.05.002. URL http://www.sciencedirect.com/science/article/pii/S1569190X14000665.

Z. Benjelloun-Touimi, M. Ben Gaïd, J. Bohbot, A. Dutoya, H. Hadj-Amor, P. Moulin, H. Saafi, and N. Pernet. From physical modeling to real-time simulation: Feedback on the use of Modelica in the engine control development toolchain. In 8th Int. Modelica Conf., Dresden, Germany, Mar 2011. Linköping Univ. Electronic Press. doi: 10.3384/ecp11063763

T. Blochwitz, T. Neidhold, M. Otter, M. Arnold, C. Bausch, M. Monteiro, C. Clauß, S. Wolf, H. Elmqvist, H. Olsson, A. Junghanns, J. Mauss, D. Neumerkel, and J.-V. Peetz. TheFunctional Mockup Interface for tool independent exchange of simulation models. In 8th Int. Modelica Conf., Dresden, Germany, Mar 2011. Linköping Univ. Electronic Press. ISBN 978-91-7393-096-3. doi: 10.3384/ecp11063105.

H. Elmqvist, S.E. Mattsson, and H. Olsson. Parallel model execution on many cores. In 10th Int. Modelica Conf., Lund, Sweden, 2014.

H. Elmqvist, H. Olsson, A. Goteman, V. Roxling, D. Zimmer, and A. Pollok. Automatic gpu code generation of modelica functions. In 11th Int. Modelica Conf., Versailles, France, 2015.

FMI development group. Functional mock-up interface for model exchange and co-simulation, July 2014. URL https://www.fmi-standard.org/.

M. Gebremedhin, A. Hemmati Moghadam, F. Fritzson, and K. Stavaker. A data-parallel algorithmic modelica extension for efficient execution on multi-core platforms. In 9th Int. Modelica Conf., Munich, Germany, 2012.

T. Grandpierre, C. Lavarenne, and Y. Sorel. Optimized rapid prototyping for real-time embedded heterogeneous multiprocessors. In Proceedings of 7th International Workshop on Hardware/Software Co-Design, CODES’99, Rome, Italy, May 1999. URL http://www-rocq.inria.fr/syndex/publications/pubs/codes99/codes99.pdf.

M. Sjölund, R. Braun, P. Fritzson, and P. Krus. Towards efficient distributed simulation in modelica using transmission line modeling. In Linköping Univ. Electronic Press, editor, 3rd Int. Workshop on Equation- Based Object-Oriented Languages and Tools EOOLT, page 71–80, Oslo, Norway, 2010.

Y. Sorel. Real-time embedded image processing applications using the algorithm architecture adequation methodology. In Proceedings of IEEE International Conference on Image Processing, ICIP’96, Lausanne, Switzerland, September 1996. URL http://www-rocq.inria.fr/syndex/publications/pubs/icip96/icip96.pdf.

Y. Sorel. Syndex: System-level cad software for optimizing distributed real-time embedded systems. Journal ERCIM News, 59:68–69, October 2004.
URL http://www-rocq.inria.fr/syndex/publications/pubs/ercim04/ercim04.pdf.

Y. Sorel. From modeling/simulation with scilab/scicos to optimized distributed embedded real-time implementation with syndex. In Proceedings of the International Workshop On Scilab and Open Source Software Engineering, SOSSE’05, Wuhan, China, October 2005. URL http://www-rocq.inria.fr/syndex/publications/pubs/sosse05/sosse05.pdf.

Citeringar i Crossref