SlideShare a Scribd company logo
FMI TUTORIAL
John Batteh
Modelon Inc.
North America Modelica User’s Group
September 28-29, 2016
Troy, MI
2016-09-28 © Modelon
AGENDA
2016-10-11 © Modelon
• FMI Overview
• Tutorial Overview
• Hands-on Exercises
2
FUNCTIONAL MOCKUP INTERFACE (FMI)
• Tool independent standard to support both model exchange and co-
simulation of dynamic models
• Original development of standard part of EU-funded MODELISAR
project led and initiated by Daimler
• First version FMI 1.0 published in 2010
• FMI currently supported by more than 85 tools
(see www.fmi-standard.org for most up to date list)
• Active development as Modelica® Association project
• FMI 2.0 released July 2014 and brings additional functionality to FMI
standard
32016-10-11
Combined simulation for system integration
Solution
 As a universal solution to this problem the Functional Mockup
Interface (FMI) was developed by the EU-project MODELISAR, and is
now maintained by the Modelica® Association
USE CASE I:
?
supplier1 supplier2 supplier3 supplier4 supplier5
OEM
supplier1
tool 1
supplier2 supplier3 supplier4 supplier5
tool 2 tool 3 tool 4 tool 5
FMI OEM
2016-10-11 4
USE CASE II:
• Combine different modeling formats into
coherent co-simulation (cyber-physical systems)
 Physical models, 1D-3D
 Controls / Software
2016-10-11 5
FEA
CFD
Modelica /
1-D Systems Simulation
FMI-based System Simulation
Block Diagrams
Controls
USE CASE III: VIRTUALIZATION FOR CONTROLS
2016-10-11 6
 The Functional Mock-up Interface (FMI) is a tool independent
standard for
 Model Exchange (ME)
 Co-Simulation (CS)
 The FMI defines an interface to be implemented by an executable
called Functional Mock-up Unit (FMU)
FMI FLAVORS
Tool
Solver
FMU
Model
Tool
FMU
Model
Solver
WHAT IS AN FMU?
• Component which implements the FMI standard is called
Functional Mockup Unit (FMU)
• Zipped file (*.fmu) containing the XML description file and
the implementation in source or binary form
• Separation of description of interface data (XML file) from
functionality (C code or binary)
• Additional data and functionality can be included
• Information and interface specification: www.fmi-
standard.org
2016-10-11 8
ENSURING COMPATIBILITY
2016-10-11 9
https://www.fmi-standard.org/tools
FMI: A BUSINESS MODEL INNOVATION
• FMI-compliant tools often allow liberally licensed
export of models for distribution in the
organization
• Exported FMU’s most often don’t require a license
from the model authoring tool
• Deployment from few simulation specialists to
designers, domain specialists, control engineers
• One FMU used by many engineers (control design)
• One FMU run on many cores (robust design)
2016-10-11 10
FMI: A BUSINESS MODEL INNOVATION
1. Separate the model authoring tool
from the model execution tool!
2. Free the model unit (FMU) from
license restrictions
3. Make the standard widely accepted:
https://fmi-standard.org/tools
2016-10-11 11
IP PROTECTION
• FMUs contain compiled code
• FMU creator controls level of openness
 Internal variables
 Parameters
 Inputs and outputs only
• Suitable for sharing between OEMs and suppliers
2016-10-11 12
TYPICAL FMI-BASED WORKFLOWS
2016-10-11 13
Model Authoring Tool(s)
Low-cost Model Execution Platform
May combine FMUs from several tools
Export: exported
FMU freely licensed
• Additional work flow automation for
 pre-processing,
 model calibration,
 post-processing,
 analysis,
 automated reporting
 automated requirements verification
• True democratization
of simulation
• Greatly improved
utilization of models
DEVELOPMENT TO DEPLOYMENT
14
FMU Export
via Model
Export
PyFMI
Parameters
Results
Functional Mockup Interface (FMI)
FMU Simulator
Custom GUI
2016-10-11
15
ALL CONNECTED!
PART II
Tutorial Overview
TUTORIAL OVERVIEW
• Goal: demonstrate FMI-based workflows in several FMI
compliant tools with hands-on exercises
 Modelica models (vehicle thermal management, vehicle,
cooling loop)
 FMU creation (Dymola, MapleSim)
 FMU import, simulation, and post-processing
• FMI is a standard but we need tools to work with it
• Several tools are provided to support tutorial, both open
source and commercial (evaluation licenses)
• Choose exercises based on interest and tools (note some
have tool pre-requisites, i.e. MATLAB/Simulink)
• FULL DISCLOSURE: tutorial based on tools in use at
Modelon (full list of FMI-compliant tools at www.fmi-
standard.org)
2011-09-30 © Modelon EFD
TUTORIAL USE CASE
2016-10-11 18
TUTORIAL USE CASE: VEHICLE
2016-10-11 19
TUTORIAL USE CASE: COOLING LOOP
2016-10-11 20
GETTING STARTED
• USB sticks passed around with all tutorial files
(instructions, software, licenses, sample files, FMUs)
• Open FMIWorkshop.pdf with full tutorial instructions
• Feel free to try your own FMI tools with workshop
• Ask questions if you need help or have problems
2016-10-11 21
LICENSING LOGISTICS
• Dymola
 Full Dymola license required for FMI import and export
• MapleSim
 Contact MapleSoft representatives
• MATLAB/Simulink
 FMI Toolbox (evaluation license provided) + MATLAB/Simulink
required for FMU import into Simulink
 FMU export from Simulink also requires Simulink Coder
• Excel
 FMI Add-in for Excel (evaluation license provided)
 Requires 32 bit Microsoft Office due to 32 bit FMUs
• Evaluation licenses expire on October 3, 2016 but all FMUs
included with tools execute with demo licenses per Users’ Guide
(contact Modelon for more information)
2016-10-11 22
FMI VIDEOS
2016-10-11 23
Modelon YouTube Channel
https://www.youtube.com/results?s
earch_query=modelon
FMI Tech Day Replay
http://www.modelon.com/campaigns/2013-fmi-detroit/
john.batteh@modelon.com, (734) 274-5933
THANK YOU FOR YOUR ATTENTION

More Related Content

PPTX
FMI Product Implementation at ANSYS - Sameer Kher
Ansys
 
PPTX
Aerohive Configuration guide.
armaan7139
 
PDF
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Modelon
 
PPTX
Ford Modelon Vehicle Thermal Management 2014
Modelon
 
PDF
How to leverage the Functional Mock-up Interface (FMI) for Model Based System...
Siemens PLM Software
 
PPTX
Using Modelica and FMI to evaluate requirements compliance early in system d...
Modelon
 
PDF
MuleSoft meetup__houston #13
Jim Andrews
 
PPTX
West Yorkshire Mulesoft Meetup #5
Francis Edwards
 
FMI Product Implementation at ANSYS - Sameer Kher
Ansys
 
Aerohive Configuration guide.
armaan7139
 
Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations o...
Modelon
 
Ford Modelon Vehicle Thermal Management 2014
Modelon
 
How to leverage the Functional Mock-up Interface (FMI) for Model Based System...
Siemens PLM Software
 
Using Modelica and FMI to evaluate requirements compliance early in system d...
Modelon
 
MuleSoft meetup__houston #13
Jim Andrews
 
West Yorkshire Mulesoft Meetup #5
Francis Edwards
 

Similar to Modelon FMI Tutorial NAMUG 2016 (20)

PDF
Test Automation in Business and Enterprise Digital Strategies
Worksoft
 
PPTX
Optimica Testing Toolkit
Modelon
 
PDF
IBM Notes 10.0.1 FP2 Client Upgrades - made easy!
panagenda
 
PDF
Softeam profile 2014
Andrey Sadovykh
 
PPT
Taking agile development to enterprise scale in a mixed tool environment with...
IBM Rational software
 
PDF
20151201 how to achieve impact with your project best practices
Giovanni Borzi
 
PPTX
Emerging standards and support organizations within engineering simulation
Modelon
 
ODP
OpenNTF - UKLUG 2009 Edinburgh
OpenNTF
 
PPTX
Automation mumbai 2013 fieldbus update
FieldComm Group
 
PDF
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
Safe Software
 
PDF
Lime broker
John Pereira
 
PPTX
FMI Composer Overview
Modelon
 
PDF
Bootstrap4XPages
Teamstudio
 
PDF
Profibus PA device configuration - Andy Smith
PROFIBUS and PROFINET InternationaI - PI UK
 
PDF
ETAP - udm - User-Defined Dynamic Models
Himmelstern
 
PDF
Modello, More Than Just a Pretty Picture
Ryo Jin
 
PDF
RT15 Berkeley | ePHASORsim: Real-time transient stability simulation tool - O...
OPAL-RT TECHNOLOGIES
 
PPTX
Mule soft meetup__adelaide_october_2020_final (2)
Nicholas Bowman
 
PDF
Model level debugging and profiling, Code Generation Conference 2014
Juha-Pekka Tolvanen
 
PDF
2022.06 Community Update.pdf
Rohit Radhakrishnan
 
Test Automation in Business and Enterprise Digital Strategies
Worksoft
 
Optimica Testing Toolkit
Modelon
 
IBM Notes 10.0.1 FP2 Client Upgrades - made easy!
panagenda
 
Softeam profile 2014
Andrey Sadovykh
 
Taking agile development to enterprise scale in a mixed tool environment with...
IBM Rational software
 
20151201 how to achieve impact with your project best practices
Giovanni Borzi
 
Emerging standards and support organizations within engineering simulation
Modelon
 
OpenNTF - UKLUG 2009 Edinburgh
OpenNTF
 
Automation mumbai 2013 fieldbus update
FieldComm Group
 
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
Safe Software
 
Lime broker
John Pereira
 
FMI Composer Overview
Modelon
 
Bootstrap4XPages
Teamstudio
 
Profibus PA device configuration - Andy Smith
PROFIBUS and PROFINET InternationaI - PI UK
 
ETAP - udm - User-Defined Dynamic Models
Himmelstern
 
Modello, More Than Just a Pretty Picture
Ryo Jin
 
RT15 Berkeley | ePHASORsim: Real-time transient stability simulation tool - O...
OPAL-RT TECHNOLOGIES
 
Mule soft meetup__adelaide_october_2020_final (2)
Nicholas Bowman
 
Model level debugging and profiling, Code Generation Conference 2014
Juha-Pekka Tolvanen
 
2022.06 Community Update.pdf
Rohit Radhakrishnan
 
Ad

More from Modelon (20)

PPTX
Vehicle Dynamics Library - Overview
Modelon
 
PPTX
Vapor Cycle Library - Overview
Modelon
 
PPTX
Thermal Power Library - Overview
Modelon
 
PPTX
Pneumatics Library - Overview
Modelon
 
PPTX
Liquid Cooling Library - Overview
Modelon
 
PPTX
Jet Propulsion Library - Overview
Modelon
 
PPTX
Heat Exchanger Library - Overview
Modelon
 
PPTX
Hydro Power Library - Overview
Modelon
 
PPTX
Hydraulics Library - Overview
Modelon
 
PPTX
Fuel System Library Overview
Modelon
 
PPTX
Fuel Cell Library - Overview
Modelon
 
PPTX
Electric Power Library - Overview
Modelon
 
PPTX
Electrification Library - Overview
Modelon
 
PPTX
Engine Dynamics Library - Overview
Modelon
 
PPTX
Environmental Control Library - Overview
Modelon
 
PPTX
Aircraft Dynamics Library - Overview
Modelon
 
PPTX
Air Conditioning Library - Overview
Modelon
 
PDF
Fuel System Library - Overview
Modelon
 
PPTX
Model Testing Toolkit - Overview
Modelon
 
PPTX
Procter & Gamble Modelon INCOSE 2017
Modelon
 
Vehicle Dynamics Library - Overview
Modelon
 
Vapor Cycle Library - Overview
Modelon
 
Thermal Power Library - Overview
Modelon
 
Pneumatics Library - Overview
Modelon
 
Liquid Cooling Library - Overview
Modelon
 
Jet Propulsion Library - Overview
Modelon
 
Heat Exchanger Library - Overview
Modelon
 
Hydro Power Library - Overview
Modelon
 
Hydraulics Library - Overview
Modelon
 
Fuel System Library Overview
Modelon
 
Fuel Cell Library - Overview
Modelon
 
Electric Power Library - Overview
Modelon
 
Electrification Library - Overview
Modelon
 
Engine Dynamics Library - Overview
Modelon
 
Environmental Control Library - Overview
Modelon
 
Aircraft Dynamics Library - Overview
Modelon
 
Air Conditioning Library - Overview
Modelon
 
Fuel System Library - Overview
Modelon
 
Model Testing Toolkit - Overview
Modelon
 
Procter & Gamble Modelon INCOSE 2017
Modelon
 
Ad

Recently uploaded (20)

PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
The Future of Artificial Intelligence (AI)
Mukul
 

Modelon FMI Tutorial NAMUG 2016

  • 1. FMI TUTORIAL John Batteh Modelon Inc. North America Modelica User’s Group September 28-29, 2016 Troy, MI 2016-09-28 © Modelon
  • 2. AGENDA 2016-10-11 © Modelon • FMI Overview • Tutorial Overview • Hands-on Exercises 2
  • 3. FUNCTIONAL MOCKUP INTERFACE (FMI) • Tool independent standard to support both model exchange and co- simulation of dynamic models • Original development of standard part of EU-funded MODELISAR project led and initiated by Daimler • First version FMI 1.0 published in 2010 • FMI currently supported by more than 85 tools (see www.fmi-standard.org for most up to date list) • Active development as Modelica® Association project • FMI 2.0 released July 2014 and brings additional functionality to FMI standard 32016-10-11
  • 4. Combined simulation for system integration Solution  As a universal solution to this problem the Functional Mockup Interface (FMI) was developed by the EU-project MODELISAR, and is now maintained by the Modelica® Association USE CASE I: ? supplier1 supplier2 supplier3 supplier4 supplier5 OEM supplier1 tool 1 supplier2 supplier3 supplier4 supplier5 tool 2 tool 3 tool 4 tool 5 FMI OEM 2016-10-11 4
  • 5. USE CASE II: • Combine different modeling formats into coherent co-simulation (cyber-physical systems)  Physical models, 1D-3D  Controls / Software 2016-10-11 5 FEA CFD Modelica / 1-D Systems Simulation FMI-based System Simulation Block Diagrams Controls
  • 6. USE CASE III: VIRTUALIZATION FOR CONTROLS 2016-10-11 6
  • 7.  The Functional Mock-up Interface (FMI) is a tool independent standard for  Model Exchange (ME)  Co-Simulation (CS)  The FMI defines an interface to be implemented by an executable called Functional Mock-up Unit (FMU) FMI FLAVORS Tool Solver FMU Model Tool FMU Model Solver
  • 8. WHAT IS AN FMU? • Component which implements the FMI standard is called Functional Mockup Unit (FMU) • Zipped file (*.fmu) containing the XML description file and the implementation in source or binary form • Separation of description of interface data (XML file) from functionality (C code or binary) • Additional data and functionality can be included • Information and interface specification: www.fmi- standard.org 2016-10-11 8
  • 10. FMI: A BUSINESS MODEL INNOVATION • FMI-compliant tools often allow liberally licensed export of models for distribution in the organization • Exported FMU’s most often don’t require a license from the model authoring tool • Deployment from few simulation specialists to designers, domain specialists, control engineers • One FMU used by many engineers (control design) • One FMU run on many cores (robust design) 2016-10-11 10
  • 11. FMI: A BUSINESS MODEL INNOVATION 1. Separate the model authoring tool from the model execution tool! 2. Free the model unit (FMU) from license restrictions 3. Make the standard widely accepted: https://fmi-standard.org/tools 2016-10-11 11
  • 12. IP PROTECTION • FMUs contain compiled code • FMU creator controls level of openness  Internal variables  Parameters  Inputs and outputs only • Suitable for sharing between OEMs and suppliers 2016-10-11 12
  • 13. TYPICAL FMI-BASED WORKFLOWS 2016-10-11 13 Model Authoring Tool(s) Low-cost Model Execution Platform May combine FMUs from several tools Export: exported FMU freely licensed • Additional work flow automation for  pre-processing,  model calibration,  post-processing,  analysis,  automated reporting  automated requirements verification • True democratization of simulation • Greatly improved utilization of models
  • 14. DEVELOPMENT TO DEPLOYMENT 14 FMU Export via Model Export PyFMI Parameters Results Functional Mockup Interface (FMI) FMU Simulator Custom GUI 2016-10-11
  • 17. TUTORIAL OVERVIEW • Goal: demonstrate FMI-based workflows in several FMI compliant tools with hands-on exercises  Modelica models (vehicle thermal management, vehicle, cooling loop)  FMU creation (Dymola, MapleSim)  FMU import, simulation, and post-processing • FMI is a standard but we need tools to work with it • Several tools are provided to support tutorial, both open source and commercial (evaluation licenses) • Choose exercises based on interest and tools (note some have tool pre-requisites, i.e. MATLAB/Simulink) • FULL DISCLOSURE: tutorial based on tools in use at Modelon (full list of FMI-compliant tools at www.fmi- standard.org) 2011-09-30 © Modelon EFD
  • 19. TUTORIAL USE CASE: VEHICLE 2016-10-11 19
  • 20. TUTORIAL USE CASE: COOLING LOOP 2016-10-11 20
  • 21. GETTING STARTED • USB sticks passed around with all tutorial files (instructions, software, licenses, sample files, FMUs) • Open FMIWorkshop.pdf with full tutorial instructions • Feel free to try your own FMI tools with workshop • Ask questions if you need help or have problems 2016-10-11 21
  • 22. LICENSING LOGISTICS • Dymola  Full Dymola license required for FMI import and export • MapleSim  Contact MapleSoft representatives • MATLAB/Simulink  FMI Toolbox (evaluation license provided) + MATLAB/Simulink required for FMU import into Simulink  FMU export from Simulink also requires Simulink Coder • Excel  FMI Add-in for Excel (evaluation license provided)  Requires 32 bit Microsoft Office due to 32 bit FMUs • Evaluation licenses expire on October 3, 2016 but all FMUs included with tools execute with demo licenses per Users’ Guide (contact Modelon for more information) 2016-10-11 22
  • 23. FMI VIDEOS 2016-10-11 23 Modelon YouTube Channel https://www.youtube.com/results?s earch_query=modelon FMI Tech Day Replay http://www.modelon.com/campaigns/2013-fmi-detroit/