SlideShare a Scribd company logo
1 of 24
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

What's hot

Hotspot & hotswap, who and who are best freinds
Hotspot & hotswap, who and who are best freindsHotspot & hotswap, who and who are best freinds
Hotspot & hotswap, who and who are best freinds
亚军 汪
 

What's hot (20)

Hotspot & hotswap, who and who are best freinds
Hotspot & hotswap, who and who are best freindsHotspot & hotswap, who and who are best freinds
Hotspot & hotswap, who and who are best freinds
 
Rhapsody reverseengineering
Rhapsody reverseengineeringRhapsody reverseengineering
Rhapsody reverseengineering
 
Upgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 PlanningUpgrade to IBM z/OS V2.5 Planning
Upgrade to IBM z/OS V2.5 Planning
 
蓝鲸平台培训_V1.0.pptx
蓝鲸平台培训_V1.0.pptx蓝鲸平台培训_V1.0.pptx
蓝鲸平台培训_V1.0.pptx
 
Coolgen Shkehar
Coolgen ShkeharCoolgen Shkehar
Coolgen Shkehar
 
IBM OMEGAMON Performance Management Suite - Long Presentation
IBM OMEGAMON Performance Management Suite - Long PresentationIBM OMEGAMON Performance Management Suite - Long Presentation
IBM OMEGAMON Performance Management Suite - Long Presentation
 
z/OS V2R2 Enhancements
z/OS V2R2 Enhancementsz/OS V2R2 Enhancements
z/OS V2R2 Enhancements
 
SAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation IntegrationSAP LVM Post Copy Automation Integration
SAP LVM Post Copy Automation Integration
 
Results of model-based testing in automotive
Results of model-based testing in automotiveResults of model-based testing in automotive
Results of model-based testing in automotive
 
An ABNF Primer
An ABNF PrimerAn ABNF Primer
An ABNF Primer
 
Upgrade to IBM z/OS V2.4 technical actions
Upgrade to IBM z/OS V2.4 technical actionsUpgrade to IBM z/OS V2.4 technical actions
Upgrade to IBM z/OS V2.4 technical actions
 
IBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt IntegrationIBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt Integration
 
MBSE and Model-Based Testing with Capella
MBSE and Model-Based Testing with CapellaMBSE and Model-Based Testing with Capella
MBSE and Model-Based Testing with Capella
 
Multi domain product architecture: start integrated, stay integrated
Multi domain product architecture: start integrated, stay integratedMulti domain product architecture: start integrated, stay integrated
Multi domain product architecture: start integrated, stay integrated
 
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys MeetupsVPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
 
Upgrade to IBM z/OS V2.5 technical actions
Upgrade to IBM z/OS V2.5 technical actionsUpgrade to IBM z/OS V2.5 technical actions
Upgrade to IBM z/OS V2.5 technical actions
 
Driver Configuration Webinar
Driver Configuration WebinarDriver Configuration Webinar
Driver Configuration Webinar
 
Mulesoft: Creating users in Salesforce with Anypoint Studio.
Mulesoft: Creating users in Salesforce with Anypoint Studio.Mulesoft: Creating users in Salesforce with Anypoint Studio.
Mulesoft: Creating users in Salesforce with Anypoint Studio.
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
 
Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...
Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...
Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...
 

Similar to Modelon FMI Tutorial NAMUG 2016

OpenNTF - UKLUG 2009 Edinburgh
OpenNTF - UKLUG 2009 EdinburghOpenNTF - UKLUG 2009 Edinburgh
OpenNTF - UKLUG 2009 Edinburgh
OpenNTF
 

Similar to Modelon FMI Tutorial NAMUG 2016 (20)

Ford Modelon Vehicle Thermal Management 2014
Ford Modelon Vehicle Thermal Management 2014Ford Modelon Vehicle Thermal Management 2014
Ford Modelon Vehicle Thermal Management 2014
 
How to leverage the Functional Mock-up Interface (FMI) for Model Based System...
How to leverage the Functional Mock-up Interface (FMI) for Model Based System...How to leverage the Functional Mock-up Interface (FMI) for Model Based System...
How to leverage the Functional Mock-up Interface (FMI) for Model Based System...
 
Using Modelica and FMI to evaluate requirements compliance early in system d...
Using Modelica and FMI to evaluate requirements compliance early in system d...Using Modelica and FMI to evaluate requirements compliance early in system d...
Using Modelica and FMI to evaluate requirements compliance early in system d...
 
MuleSoft meetup__houston #13
MuleSoft meetup__houston #13MuleSoft meetup__houston #13
MuleSoft meetup__houston #13
 
West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5
 
Test Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital StrategiesTest Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital Strategies
 
Optimica Testing Toolkit
Optimica Testing ToolkitOptimica Testing Toolkit
Optimica Testing Toolkit
 
IBM Notes 10.0.1 FP2 Client Upgrades - made easy!
IBM Notes 10.0.1 FP2 Client Upgrades - made easy!IBM Notes 10.0.1 FP2 Client Upgrades - made easy!
IBM Notes 10.0.1 FP2 Client Upgrades - made easy!
 
Softeam profile 2014
Softeam profile 2014Softeam profile 2014
Softeam profile 2014
 
Taking agile development to enterprise scale in a mixed tool environment with...
Taking agile development to enterprise scale in a mixed tool environment with...Taking agile development to enterprise scale in a mixed tool environment with...
Taking agile development to enterprise scale in a mixed tool environment with...
 
20151201 how to achieve impact with your project best practices
20151201 how to achieve impact with your project   best practices20151201 how to achieve impact with your project   best practices
20151201 how to achieve impact with your project best practices
 
Emerging standards and support organizations within engineering simulation
Emerging standards and support organizations within engineering simulation Emerging standards and support organizations within engineering simulation
Emerging standards and support organizations within engineering simulation
 
OpenNTF - UKLUG 2009 Edinburgh
OpenNTF - UKLUG 2009 EdinburghOpenNTF - UKLUG 2009 Edinburgh
OpenNTF - UKLUG 2009 Edinburgh
 
Automation mumbai 2013 fieldbus update
Automation mumbai 2013 fieldbus updateAutomation mumbai 2013 fieldbus update
Automation mumbai 2013 fieldbus update
 
Lime broker
Lime brokerLime broker
Lime broker
 
FMI Composer Overview
FMI Composer OverviewFMI Composer Overview
FMI Composer Overview
 
Bootstrap4XPages
Bootstrap4XPagesBootstrap4XPages
Bootstrap4XPages
 
Profibus PA device configuration - Andy Smith
Profibus PA device configuration - Andy SmithProfibus PA device configuration - Andy Smith
Profibus PA device configuration - Andy Smith
 
ETAP - udm - User-Defined Dynamic Models
ETAP -  udm - User-Defined Dynamic ModelsETAP -  udm - User-Defined Dynamic Models
ETAP - udm - User-Defined Dynamic Models
 
Modello, More Than Just a Pretty Picture
Modello, More Than Just a Pretty PictureModello, More Than Just a Pretty Picture
Modello, More Than Just a Pretty Picture
 

More from Modelon

More from Modelon (20)

Vehicle Dynamics Library - Overview
Vehicle Dynamics Library - OverviewVehicle Dynamics Library - Overview
Vehicle Dynamics Library - Overview
 
Vapor Cycle Library - Overview
Vapor Cycle Library - OverviewVapor Cycle Library - Overview
Vapor Cycle Library - Overview
 
Thermal Power Library - Overview
Thermal Power Library - OverviewThermal Power Library - Overview
Thermal Power Library - Overview
 
Pneumatics Library - Overview
Pneumatics Library - OverviewPneumatics Library - Overview
Pneumatics Library - Overview
 
Liquid Cooling Library - Overview
Liquid Cooling Library - OverviewLiquid Cooling Library - Overview
Liquid Cooling Library - Overview
 
Jet Propulsion Library - Overview
Jet Propulsion Library - OverviewJet Propulsion Library - Overview
Jet Propulsion Library - Overview
 
Heat Exchanger Library - Overview
Heat Exchanger Library - OverviewHeat Exchanger Library - Overview
Heat Exchanger Library - Overview
 
Hydro Power Library - Overview
Hydro Power Library - OverviewHydro Power Library - Overview
Hydro Power Library - Overview
 
Hydraulics Library - Overview
Hydraulics Library - OverviewHydraulics Library - Overview
Hydraulics Library - Overview
 
Fuel System Library Overview
Fuel System Library OverviewFuel System Library Overview
Fuel System Library Overview
 
Fuel Cell Library - Overview
Fuel Cell Library - OverviewFuel Cell Library - Overview
Fuel Cell Library - Overview
 
Electric Power Library - Overview
Electric Power Library - OverviewElectric Power Library - Overview
Electric Power Library - Overview
 
Electrification Library - Overview
Electrification Library - OverviewElectrification Library - Overview
Electrification Library - Overview
 
Engine Dynamics Library - Overview
Engine Dynamics Library - OverviewEngine Dynamics Library - Overview
Engine Dynamics Library - Overview
 
Environmental Control Library - Overview
Environmental Control Library - OverviewEnvironmental Control Library - Overview
Environmental Control Library - Overview
 
Aircraft Dynamics Library - Overview
Aircraft Dynamics Library - OverviewAircraft Dynamics Library - Overview
Aircraft Dynamics Library - Overview
 
Air Conditioning Library - Overview
Air Conditioning Library - OverviewAir Conditioning Library - Overview
Air Conditioning Library - Overview
 
Fuel System Library - Overview
Fuel System Library - OverviewFuel System Library - Overview
Fuel System Library - Overview
 
Model Testing Toolkit - Overview
Model Testing Toolkit - OverviewModel Testing Toolkit - Overview
Model Testing Toolkit - Overview
 
Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017Procter & Gamble Modelon INCOSE 2017
Procter & Gamble Modelon INCOSE 2017
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

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/