fmi テクノロジーmbd活用事例 - クノロジーmbd... · pdf filecarmaker custom...

Download FMI テクノロジーMBD活用事例 - クノロジーMBD... · PDF fileCarMaker Custom User Applications are based on the same software components as commercial off-the-shelf products

If you can't read please download the document

Upload: hakhuong

Post on 06-Feb-2018

217 views

Category:

Documents


1 download

TRANSCRIPT

  • Rui Gao, Modelon K.K.

    2014722

    2014-07-23 Modelon 1

    FMI MBD

    FMIin

  • AGENDA

    Engineering Background to FMI

    Modelon FMI Solution Introduction

    FMI Add-in for Excel and its Application

    FMI Toolbox for MATLAB and its Application

    Towards Affordable Model Based System Engineering

    2014-07-23 Modelon 2

  • SYSTEMS R&D CHALLENGES

    3

    Complexity explosion in all technology industries!

    Innovation

    Shorter development cycles

    Manage requirements

    Performance

    Quality

    Early knowledge

    Identify design flaws

    Early integration

    Validation & Verification

    Experiences!

    Communication!

  • MBSE: RISK MITIGATION IN SYSTEM DEVELOPMENT

    Operational models

    System of System

    AcceptanceTest

    High level models

    Detailed technical models

    Specify model component I/F

    Integration

    Verification

    ComponentDevelopment

    SystemDesign

    System Test

    IntegrationTest

    UnitTest

    Sub-systemDesign

    ComponentDesign

    Generation of test caseUpdating models with actual data

    specifying component specificationUpdating specifications with models output data

    Source: NDIV Final Report, Feb. 2011

    From prediction to validation

    Sensitive analysis for uncertainty Implementation with confidence

  • 5

    WHAT MISSING? ALL CONNECTED?

  • Motivation

    FMI Functional Mockup Interface

    Problems / Needs

    Component development by supplier

    Integration by OEM

    Many different simulation tools Licenses ?

    supplier1 supplier2 supplier3 supplier4 supplier5

    OEM

    supplier1

    tool 1

    supplier2 supplier3 supplier4 supplier5

    tool 2 tool 3 tool 4 tool 5

    FMI OEM

    Solution

    Reuse of supplier models by OEM:

    DLL (model import) and/or

    Tool coupling (co-simulation)

    Protection of model IP of supplier

    !supplier1

    supplier2

    supplier3

    OEM

    Added Value

    Early validation of design

    Increased process

    efficiency and quality

    source: Blochwitz, Otter; 2011; FMI-standard.org

  • Current Status at Modelica conference 2014

  • BMW Daimler ZF

    Voice of Automotive Industries

  • AGENDA

    Engineering Background to FMI

    Modelon FMI Solution Introduction

    FMI Add-in for Excel and its Application

    FMI Toolbox for MATLAB and its Application

    Towards Affordable Model Based System Engineering

    2014-07-23 Modelon 9

  • 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

    ToolFMU

    Model

    Solver

  • MODELON FMI SOFTWARE STACK

    2013-09-02 Modelon

    FMI Library

    FMI Add-in for Excel

    FMI Toolbox for MATLAB

    PyFMIFMU Compliance

    CheckerFMI C++ Toolkit

    FMI .NET Toolkit

    Open source

    Commercial end-user product

    FMUFMU

    FMU

    Commercial software component

    Open source (Modelica Assoc.)

    FMI Toolbox for CarMaker

    Custom User Applications are based on the same software

    components as commercial off-the-shelf products

    Tool 1 Tool 2 Tool 3 Tool n

  • FMI technology in Excel Import FMUs into spreadsheets Batch simulation Steady-state analysis Design space exploration Parallel simulations

  • DEMO1: ROBOT MODEL BATCH SIMULATION WORK FLOW

    2014-07-23 Modelon

    FMU generation

    FMU compliance

    check

    FMU import to

    Excel

    Batch

    simulation

    Experiment

    setup

    Post analysis

    Dymola/ModelicaFullRobot model

  • EXAMPLE 1: SMALL MODULAR REACTOR

    Customer: ORNL-Oak Ridge National Laboratory

    Challenges: Dynamic System Modeling Tool for SMRs(small modular reactors) Allows rapid assessment of control system strategies

    2014-07-23 Modelon 14

    https://www.modelica.org/events/modelica2014/proceedings/html/abstracts/abstract_104.pdf

  • EXAMPLE 1: SMALL MODULAR REACTOR

    Solutions:

    Novel space-advanced nuclear reactor: Dymolaand Modelica

    Generation of FMU simulations: FMI Add-in for Excel

    cloud application from Xogeny: collaboration

    2014-07-23 Modelon

  • FMI technology in MATLAB Import FMUs (ME/CS) in Simulink Import FMUs (ME/CS) in MATLAB scripts Graphical interface for model configuration FMU-ME export from Simulink models FMU HILS on dSPACE

  • 2014-07-23 Modelon 17

  • DOE: SIMPLISTIC APPROACHES

    One-factor-at-a-time (OFAT)

    Full-factorial design (gridding)

    2014-07-23 Modelon 18

    x1

    x2

    x1

    x2

  • DOE DESIGNS

    2014-07-23 Modelon 19

    Common ad-hoc approach

    Space-filling algorithms

    Good coverage, also in higher

    dimensions100 test points, two factors

    Scales poorly with nbr of factors

    Corner cases poorly covered in

    higher dimensions

  • A DOE TOOL FOR DYNAMIC SYSTEMS: REQUIREMENTS

    User input

    FMU model

    DoE factors from model

    Ranges and distributions of factors

    Type of DoE design

    Response variables to analyze or visualize

    Tool tasks

    Construct test matrix

    Set FMU parameters

    Simulate at all points, find steady-state

    Find inputs to match specified outputs

    Catch and manage simulation errors

    Linearize system at test matrix points

    Provide support for visualizing results

    Construct meta-models for analysis

    2014-07-23 Modelon 20

  • DOE IN THE FMI TOOLBOX FOR MATLAB

    2014-07-23 Modelon 21

    FMUDoE

    variable spec

    Test matrix

    Run experiments

    Visualize result

    Excel /Matlab

    Modelingtool

    FMI Toolbox for Matlabfrom version 1.6

    FMUDoESetup class

    constructor input: FMU file name Excel file name [Excel sheet] [options]

    methods: qmc mc fullfact custom

    FMUDoEResult class

    properties: generation_date model_data doe constants experiment_status steady_state linsys options comp_timevisualization methods: main_effects bode step

  • DEMO2: MASS SPRING MODEL AND DOE WORK FLOW

  • DEMO2: TEST MATRIX SETUP

    2014-07-23 Modelon 23

    23

    c

    c

    cd

    k

    fxfxk

    fxkdt

    dxk

    dt

    xdm

  • DEMO2: DYNAMICS ANALYSIS

    Time domain analysis

    Step

    Frequency domain analysis

    bode

    2014-07-23 Modelon 24

  • EXAMPLE 2: ENGINE COOLING SYSTEM

    Demo model from ModelonsLiquid Cooling Library

    Design variables: Maximum pump speed Radiator efficiency Minimum air mass flow

    Requirements: Engine-out coolant temp < 100 degC Handle heat load of 100 kW Ambient temperature operating

    range [-20 degC, 45 degC]

    2014-07-23 Modelon 25

  • 2012-05-24 Modelon Modelon Confidential 26

    IN SHORT...

    >> exp_setup = read_experiment_setup_excel(parameters.xlsx);>> result = fmu_doe_qmc(CoolingLoop.fmu, exp_setup, 100);>> main_effects_plot(result, result.steady_state.y(:,3), T_liquid_ae);>> batch_bode(result, 1, 3, 100);

    Get from here... ... to here... ... and here...

    ...in 4 Matlab commands!with plenty of options to customize the analysis

  • DEMO3: VEHICLE MODEL FMU IN SIMULINK

    A linear single-track vehicle model into an FMU

    Simulate the vehicle model in an open-loop experiment

    2014-07-23 Modelon 27

  • DEMO3: VEHICLE MODEL FMU IN SIMULINK

    A linear single-track vehicle model into an FMU

    Simulate the vehicle model in an open-loop experiment

    User a simple driver model to drive the vehicle around the predefined path

    2014-07-23 Modelon 28

  • EXAMPLE 3: FMI BASED TOOL CHAIN

    Set up by Volvo with Modelon support.

    FMIT and FMIT-Coder completes tool chain.

    Entire suite of validation and verification development stages is covered by FMI technology.

    Consistent use of FMI enables improved work flow efficiency and model quality of the model based design (MBD) process.

    Same appearance of simulation and measurements made it possible to bring MBD to the test and calibration engineer.

    2012-05-24 Modelon Modelon Confidential 29

    https://modelica.org/events/modelica2014/proceedings/html/submissions/ECP140961277_DrenthTormanenJohanssonAnderssonAnderssonTorstenssonAkesson.pdf

    https://modelica.org/events/modelica2014/proceedings/html/submissions/ECP140961277_DrenthTormanenJohanssonAnderssonAnderssonTorstenssonAkesson.pdf

  • FMI: A BUSINESS MODEL INNOVATION

    FMI-compliant tools often allow liberally licensed export of models for distribution in the organization

    Exported FMUs most often dont 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)

    2014-07-23 30

  • MODEL DEPLOYMENT

    FMU deployed (native tool) to support multiple applications

    Mechanical

    Mechanical System FMU

    Control SystemsElectricalControl

    Thermal

    Control

  • FMI ADVANTAGE

    Same model different applications

    2013-09-02 Modelon

  • 2013-06-11 Modelon 33

    ALL CONNECTED!

  • FMI