INTEROPERABILITY WITH FMI TOOLS AND SOFTWARE COMPONENTS. Johan Åkesson

Similar documents
Functional Mockup Interface for Tool and Model Interoperability

POTENTIAL AND BENEFITS OF FUNCTIONAL MOCK-UP INTERFACE - FMI FOR VIRTUAL VEHICLE INTEGRATION

Functional Mockup Interface (FMI) A General Standard for Model Exchange and Simulator Coupling

Functional Mockup Interface for Model Exchange and Co-Simulation

Multi-Physics RecurDyn Style Interoperability

Extending the IPG CarMaker by FMI Compliant Units

FMI Kit for Simulink version by Dassault Systèmes

Consistent Simulation Environment with FMI based Tool Chain

Experiences with the new FMI Standard Selected Applications at Dresden University

The Functional Mockup Interface for Tool independent Exchange of Simulation Models

SIMULATOR TO FMU: A PYTHON UTILITY TO SUPPORT BUILDING SIMULATION TOOL INTEROPERABILITY

Importing Models from Physical Modeling. Tools Using the FMI Standard

FMI WORKSHOP. INCOSE International Workshop, Los Angeles, CA, Contents. Introduction

The Functional Mockup Interface for Tool independent Exchange of Simulation Models

FMI to NI VeriStand & LabVIEW Add-on. User Guide

FMI for Industrial Programmable Logic Controllers Rüdiger Kampfmann

Simulation-based development of automotive control software with Modelica

How to Improve FMI Compliance

Ensuring quality for ADAS applications with a model-based approach

This is the published version of a paper presented at IEEE PES General Meeting 2013.

Development of Custom Workflows for Simulation and Analysis of Functional Mock-up Units

Simulation-based development of automotive control software with Modelica

JModelica.org User Guide. Version 2.2

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

FMI Toolbox User's Guide 2.3

CLOSING THE DESIGN CYCLE LOOP WITH EXECUTABLE REQUIREMENTS AND OSLC

MA-Project System Structure and Parameterization Current Status and Plans

Generation of Functional Mock-up Units from Causal Block Diagrams

JModelica.org User Guide. Version 1.13

FMI Toolbox User's Guide 2.6.4

Improving Interoperability of FMI-supporting Tools with Reference FMUs

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

Multi-core Simulation of Internal Combustion Engines using Modelica, FMI and xmod

EFFICIENT DEVELOPMENT OF COMPLEX SYSTEMS USING A UNIFIED MODULAR APPROACH

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

A Modelica Power System Library for Phasor Time-Domain Simulation

Vision of Building Simulation

Virtualizing the TCU of BMW's 8 speed transmission

Automatic Regression Testing of Simulation Models and Concept for Simulation of Connected FMUs in PySimulator

Dymola Dynamic Modeling Laboratory

Generic FMI-compliant Simulation Tool Coupling

Dymola Dynamic Modeling Laboratory

Why should we think about multiple tools? Requirements or how to choose the right tool?

A Modelica Power System Component Library for Model Validation and Parameter Identification

Model-Based Dynamic Optimization with OpenModelica and CasADi

SIMPACK - A Tool for Off-Line and Real- Time Simulation

Coupling of Simulation Tools - Building Controls Virtual Test Bed Michael Wetter. August, 2010

SIMPACK Code Export. Customer Application Examples. The Basis for Mechatronic Simulation

Conference Dynamic Simulation in Vehicle Engineering Realtime Simulation of Vehicles Containing Detailed Components

D6.1 INITIAL SIMULATION ENVIRONMENT

Applying Modelica and FMI Technologies for Power System Model Validation in the itesla Project

AUTOMATED TEST OF CVT CONTROL SOFTWARE, USING FMI AND MODELICA MODELS

Basic Concepts of the Energy Lab 2.0 Co-Simulation Platform


Parallel Execution of Functional Mock-up Units in Buildings Modeling

Real and Virtual Development with SystemDesk

Grid Services and the Globus Toolkit

What s new in ASAM AE HIL API V1.0.0?

Automated test of the AMG Speedshift DCT control software

From versatile analysis methods to interactive simulation with a motion platform based on SimulationX and FMI

Real-time transient stability simulation tool

Release Presentation ASAM AE XIL-MA Generic Simulator Interface for Simulation Model Access 2016 / 02 / 22

Cluster Simulation with Integrated Workflow and Test Management. Chandu Puliroju dspace Inc.

ANSYS Workbench as an Integration Platform for CAE Simulation

OHB System AG Anh Trung. Developing a SMP2 compliant Hardware-In-the-Loop simulation framework

1 Although other ways of exporting like using the 2 s 1

Multidisciplinary Analysis and Optimization

Design of a control system model in SimulationX using calibration and optimization. Dynardo GmbH

ASAM AE XIL-MA v2.1 Release Presentation. Dr. Rainer Rasche, dspace GmbH

AADL committee, Valencia October 2 nd, Pierre Dissaux (Ellidiss) Maxime Perrotin (ESA)

Modelica-Association-Project System Structure and Parameterization Early Insights

On Extending JGrafchart with Support for FMI for Co-Simulation

Experience with Industrial In-House Application of FMI

Better Building Controls Through Simulation

Silver + TestWeaver Tools for Simulation-Based Design System Test and Validation

Injecting Model-Based Diagnosis Thinking into the Design Process. Johan de Kleer

TERRA support for architecture modeling. K.J. (Karim) Kok. MSc Report. C e Dr.ir. J.F. Broenink Z. Lu, MSc Prof.dr.ir. A. Rensink.

Effective Team Collaboration with Simulink

VeriStand. FMI to NI VeriStand Add-on. User Guide

Artop (AUTOSAR Tool Platform) Whitepaper

DYNARDO Dynardo GmbH Technology update. optislang v4.1. Robust Design Optimization. Johannes Will Dynardo GmbH

Parametrization of Modelica Models on PC and Real time platforms

Data Science Services Dirk Engfer Page 1 of 5

AUTOSAR Software Design with PREEvision

Design Approach for a Generic and Scalable Framework for Parallel FMU Simulations

Interoperability in Aerospace Public Use Case of CRYSTAL project

ODX Process from the Perspective of an Automotive Supplier. Dietmar Natterer, Thomas Ströbele, Dr.-Ing. Franz Krauss ZF Friedrichshafen AG

Automated test of the AMG Speedshift DCT control software

Integrated Simulation and Hardware-test Environment for Microcontroller Development

Applying Multi-Core Model Checking to Hardware-Software Partitioning in Embedded Systems

Module Test in System Context

Variable Structure Modeling for Vehicle Refrigeration Applications

Integration of OpenModelica in Ptolemy II

SYNECT

FMI for physical models on automotive embedded targets

Real-Time Simulation of Modelica-based Models

A Framework for the Simulation and Validation of Distributed Control Architectures for Technical Systems of Systems

Getting Started with the MapleSim FMI Connector

A new Implementation of the N-D Lookup Tables

Applying the ASAM ODS Data Format in the CoCo-80

Transcription:

INTEROPERABILITY WITH FMI TOOLS AND SOFTWARE COMPONENTS Johan Åkesson 1

OUTLINE FMI Technology FMI tools Industrial FMI integration example

THE FUNCTIONAL MOCK-UP INTERFACE Problems/needs Component development by supplier Integration by OEM Many different simulation tools supplier1 supplier2 supplier3 supplier4 supplier5 OEM? supplier1 supplier2 supplier3 supplier4 supplier5 Solution Reuse of supplier models by OEM: DLL (model import) and/or Tool coupling (co-simulation) tool 1 tool 2 tool 3 tool 4 tool 5 FMI OEM Added Value Early validation of design Increased process Efficiency and quality supplier1 supplier2! OEM supplier3 From the official FMI presentation (adapted)

FMI - MOTIVATION No standard available for Model interface based on C or binaries Co-simulation between simulation tools Lots of proprietary interfaces Simulink: S-function Modelica: external function, external object interface Qtronic Silver: Silver-Module API SimulationX: External Model Interface NI LabVIEW: External Model Interface, Simulation Interface Toolkit Simpack: uforce routines ADAMS: user routines. From the official FMI presentation (adapted)

FMI MAIN DESIGN IDEA FMI for Model Exchange: Tool Solver FMU Model Version 1.0 released in January 2010 FMI for Co-Simulation: Reuses as much as possible from FMI for Model Exchange standard Tool FMU Model Solver Version 1.0 released in October 2010 From the official FMI presentation (adapted)

SUPPORTING TOOLS

FMI 2.0 Significant improvements over FMI-ME 1.0 and FMI-CS- 1.0 Merging of ME and CS specifications - harmonization Strong support for discrete sampled and clocked systems Efficient interface to Jacobian matrices Changeable parameters for interactive simulation etc. Engine with ECU Gearbox with ECU Thermal systems Automated cargo door Chassis components, roadway, ECU (e.g. ESP) functional mockup interface for model exchange and tool coupling courtesy Daimler

WHY DO WE CHOOSE FMI? Tool interoperability is central in our customer projects Heterogenity in tool chains for systems engineering FMI is supported by a large number of modeling and simulation tools Large industrial impact The standard is an excellent complement to Modelica, targeting exchange of compiled models Alternative for distributing Modelica library models in compiled format

MODELON FMI IMPORT STACK End user product Software component FMI Add in for Excel Open source software comp. Open source (Modelica Assoc.) FMI.NET Toolkit FMI C++ Toolkit FMI Toolbox for MATLAB PyFMI FMU Compliance Checker FMI Library FMU FMU FMU

FMI LIBRARY Infrastructure for custom integration of FMI technology in applications Basis for all Modelon s FMI products and in third party products Basis for official FMU compliance checker Supports FMI-ME 1.0 and FMI-CS 1.0 Supports FMI-2.0beta4 Encapsulate FMU interaction ZIP management XML parsing DLL loading Open Source (BSD) Free for anyone to use Part of www.jmodelica.org Road map FMI 2.0 support

FMU COMPLIANCE CHECKER Official FMU Compliance Checker Funded by the Modelica Association Modelon assigned the task in open RFQ process Assure adherence to standard Cross-checking between tools Diagnose FMU compliance issues XML schema compatibility DLL function correctness Simulation forward Euler Windows, Linux, Mac Based on FMI Library >./fmucheck.darwin64 ~/svn_projects/fmilibrary/build/testfolder/bouncingball_me.fmu [INFO][FMUCHK] Will process FMU /Users/jakesson/svn_projects/FMILibrary/build/testfolder/BouncingBall_me.fmu [INFO][FMILIB] XML specifies FMI standard version 1.0 [INFO][FMUCHK] Model name: BouncingBall [INFO][FMUCHK] Model identifier: BouncingBall [INFO][FMUCHK] Model GUID: 123 [INFO][FMUCHK] Model version: [INFO][FMUCHK] FMU kind: ModelExchange [INFO][FMUCHK] The FMU contains: 0 constants 0 parameters 0 discrete variables 7 continuous variables 0 inputs 0 outputs 7 internal variables 0 variables with causality 'none' 4 real variables 1 integer variables 0 enumeration variables 1 boolean variables 1 string variables [INFO][FMUCHK] Printing output file header time;hight;hight_speed;gravity;bounce_cof;logger_test; LOGGER_TEST_INTEGER;LOGGER_TEST_BOOLEAN; [INFO][FMUCHK] Version returned from FMU: 1.0 [ERROR][FMUCHK] Platform type returned from FMU ANY_PLATFORM does not match the checker standard32 Road map FMI 2.0 support (alpha version available) [INFO][Test ME model instance] [INFO][FMU status:ok] ### Initializing component ### [INFO][Test ME model instance] [INFO][FMU status:ok] Init HIGHT=1 [INFO][Test ME model instance] [INFO][FMU status:ok] Init HIGHT_SPEED=4 [INFO][Test ME model instance] [INFO][FMU status:ok] Init GRAVITY= 9.81 [INFO][Test ME model instance] [INFO][FMU status:ok] Init BOUNCE_COF=0.5 [WARNING][LOGGER] Expected value reference in log message here: '[ERROR][FMU status:ok] Bad reference: ' [INFO][Test ME model instance] [ERROR][FMU status:ok] Bad reference: #r 1# [WARNING][LOGGER] Expected terminating '#' in log message here: '[ERROR][FMU status:ok] Bad reference: 1'

FMI FOR PYTHON: PYFMI AND ASSIMULO PyFMI and Assimulo Python packages OSS (LGPL) Part of JModelica.org Easy to use FMU interaction in Python Full access to FMI API, DLL and XML Supports FMI ME and FMI CS 1.0 Several integrators available Derivative free optimization Engine Dynamics Library model of a Volvo truck engine Measurement data from a drive cycle FMU exported from Dymola used as a basis for model calibration Scripting and optimization in Python

TOOLS OpenModelica Functional Mock Up Unit FMI FMI Toolbox for MATLAB Import FMUs in MATLAB/Simulink Export FMUs (2013 Q1) HILS support (2013 Q2) Graphical interface FMI Toolbox for CarMaker Integration of FMUs in CM Graphical User interface FMI Add in for Excel Import FMUs into Excel Batch simulation Parallel simulations

SOLUTIONS AND SOFTWARE COMPONENTS Services Model integration FMI Integration Custom simulators

SUMMARY AND OUTLOOK FMI has made significant industrial impact in short time many supporting tools FMI is central to Modelon s tool integration strategy Modelon offers FMI OSS tools and commercial FMI products