120 likes | 267 Views
Functional Mockup Interface 2.0. John Colley 26 th November 2012 D üsseldorf. Introduction. Motivation Structure Initial Investigation Discussion. FMI 2.0. “The Standard for Tool independent Exchange of Simulation Models”. https:// www.fmi-standard.org. Motivation.
E N D
Functional Mockup Interface 2.0 John Colley 26th November 2012 Düsseldorf
Introduction • Motivation • Structure • Initial Investigation • Discussion
FMI 2.0 “The Standard for Tool independent Exchange of Simulation Models” https://www.fmi-standard.org
Motivation • An Industry Standard that implements our Multi-Simulation Specification • Recommended by ADVANCE reviewer, JakobGärtner (Esterel Technologies) • Active, developing standard under the Modelica Association umbrella • Industry-driven
Industrial and Scientific Use • Mercedes Benz • All new gearbox projects • Software-in-the-loop simulation • Daimler AG • Mechatronic gearshift simulations • IFP Energies Nouvelles • Engine modelling • International Energy Agency • Community energy systems • Vienna Institute of Technology • Smart Grid
FMI 2.0 Structure • C-Interface • For portability • FMI for Model Exchange • Model (Functional Mockup Unit (FMU))is an input/output block • Component with ports • Described by differential, algebraic, discrete equations • Time-, state-, and step-events • FMI for Co-Simulation • Two or more FMUs with their solvers
FMU structure • XML-file • Definition of variables exposed to its environment • No run-time overhead • A set of C-functions as a shared object (.so, dll) or source • fmiSetXXX( . . . ) • fmiGetXXX( . . . ) • fmiSetTime • Encapsulated in a zip file • With model icon, documentation
FMI Co-simulation • Each FMU is a slave • Simulation Master • Developed for each application • Manages the co-simulation • Instantiation of components • Initialisation • Data transfer • FMU synchronisation and time management • Discrete, Continuous or Hybrid Simulation
The FMI Master/Slave Architecture Slave 1 Slave 2 Slave n . . . . Simulation Master
Multi-simulation Scenario Modelica ProB Generated Model . . . . Simulation Master ProBTestbench
FMI Discussion • There is a strong case for using FMI in the ADVANCE project • We should demonstrate FMI Co-simulation at next Periodic Review • ProB • Modelica • Generated C models