fmi_adapter
Ralph.Lange@de.bosch.com

http://fmi-standard.org/2

CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

20-sim 4C · @Source · Adams · AGX Dynamics · AMESim · ANSYS DesignXplorer · ANSYS SCADE Display
SCADE Suite · ANSYS Simplorer · AUTOSAR Builder · AVL CRUISE · AVL CRUISE M · AVL Model.CONNE· B&R Automation Studio · BEAST · Building Controls Virtual Test Bed · Cameo Simulation Toolkit (MagicDraCANoe · CarMaker · CarSim · CATIA · ControlBuild · Coral · CosiMate · CPPFMU · Cybernetica CENIT · Cybt · DACCOSIM · DAE Tools · DAFUL · DS - FMU Export from Simulink · DS - FMU Import into Simulink · DSH
E SCALEXIO · dSPACE SYNECT · dSPACE TargetLink · dSPACE VEOS · Dymola · DYNA4 · Easy5 · Ecosim
RV · EnergyPlus · ETAS - ASCMO · ETAS - FMI-based Integration and Simulation Platform · ETAS - FMU Gen
ET · ETAS - FMU Generator for Simulink® · ETAS - INCA-FLOW (MiL/SiL Connector) · ETAS - ISOLAR-EVEECU) · ETAS - LABCAR-OPERATOR · Flowmaster · FMI Add-in for Excel · FMI add-on for NI VeriStand · FMI
ckset for Simulink · FMI Composer · FMI Library · FMI Target for Simulink Coder · FMI Toolbox for MATLAB/S
pp · FMI4j · FMPy · FMU-proxy · FMUSDK · General Energy Systems (GES) · GT-SUITE · Hopsan · IBM Ratio
dy · ICOS Independent Co-Simulation · IGNITE · INTO-CPS Co-simulation Orchestration Engine (COE) · Java
Modelica.org · LMS Virtual.Lab Motion · MapleSim · MESSINA · MoBA Lab · Morphee · MpCCI CouplingEnvir
ks · NI LabVIEW · OpenModelica · OPTIMICA Compiler Toolkit · optiSLang · Overture · PROOSIS · Ptolemy IIulator · RecurDyn · Scilab/Xcos FMU wrapper · Silver · SIMPACK · Simulation Workbench (SimWB) · Simulati
nking Activate · Squish GUI Tester · SystemModeler · TLK FMI Suite · TLK TISC Suite · TRNSYS FMU Exporo-Simulation Framework · TWT FMU Trust Centre · VALDYN · Virtual Engine · WAVE-RT · XFlow · xMOD
3CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Shared library- Equations- SolvermodelDescription.xml(C sources)
4

CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Publishers

Output vars

Input vars

Subscriptions

fmi_adapter nodeParameters
Parameter server$ rosrun fmi_adapter node fmu_path_:=MyModel.fmu
5

CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

FMI_Adapter Package
FMIAdapter adapter("MyModel.fmu");
vector<string> names =adapter.getParameterNames();
adapter.setInputValue("phi", 4.5);
adapter.doStepsUntil(ros::Time::now());
double y = adapter.getOutputValue("y");class fmi_adater::FMIAdapter
6

CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

FMI_Adapter Package

wiki.ros.org/fmi_adapter

github.com/boschresearch/fmi_adapter

7

CR/AEE1-Lange | 2018-09-29© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.