Functional Mockup Interface 2 0 John Colley 26

  • Slides: 11
Download presentation
Functional Mockup Interface 2. 0 John Colley 26 th November 2012 Düsseldorf

Functional Mockup Interface 2. 0 John Colley 26 th November 2012 Düsseldorf

Introduction • • Motivation Structure Initial Investigation Discussion 2

Introduction • • Motivation Structure Initial Investigation Discussion 2

FMI 2. 0 “The Standard for Tool independent Exchange of Simulation Models” https: //www.

FMI 2. 0 “The Standard for Tool independent Exchange of Simulation Models” https: //www. fmi-standard. org 3

Motivation • An Industry Standard that implements our Multi-Simulation Specification • Recommended by ADVANCE

Motivation • An Industry Standard that implements our Multi-Simulation Specification • Recommended by ADVANCE reviewer, Jakob Gärtner (Esterel Technologies) • Active, developing standard under the Modelica Association umbrella • Industry-driven 4

Industrial and Scientific Use • Mercedes Benz – All new gearbox projects – Software-in-the-loop

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 5

FMI 2. 0 Structure • C-Interface – For portability • FMI for Model Exchange

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 6

FMU structure • XML-file – Definition of variables exposed to its environment – No

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 – fmi. Set. XXX(. . . ) – fmi. Get. XXX(. . . ) – fmi. Set. Time • Encapsulated in a zip file – With model icon, documentation 7

FMI Co-simulation • Each FMU is a slave • Simulation Master – Developed for

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 8

The FMI Master/Slave Architecture Slave 1 Slave 2 . . Slave n Simulation Master

The FMI Master/Slave Architecture Slave 1 Slave 2 . . Slave n Simulation Master 9

Multi-simulation Scenario Modelica Pro. B . . Generated Model Simulation Master Pro. B Testbench

Multi-simulation Scenario Modelica Pro. B . . Generated Model Simulation Master Pro. B Testbench 10

FMI Discussion • There is a strong case for using FMI in the ADVANCE

FMI Discussion • There is a strong case for using FMI in the ADVANCE project • We should demonstrate FMI Co-simulation at next Periodic Review – Pro. B – Modelica – Generated C models 11