the impact of fmi on in-house tool development · modelica 2011: functional mockup interface slide...

14
For internal use only / © Siemens AG 2008. All rights reserved. The impact of FMI on In-house Tool Development Bright Prospects for OpenModelica?

Upload: others

Post on 01-Jun-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

For internal use only / Copyright noticeFor internal use only / ©

Siemens AG 2008. All rights reserved.

The impact of FMI on In-house Tool Development

Bright Prospects for OpenModelica?

Page 2: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 2

Agenda

1.

High demand on dynamic simulation tools due to market needs.2.

FMI

3.

Exemplary usage of FMI in DYNAPLANT4.

Major OpenModelica improvements needed

5.

Conclusion

Page 3: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 3

FMI: Motivation and Backround

FMI

Page 4: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 4

Modelisar:Support of AUTOSAR

(the coming standard for embedded system software in

vehicles) in simulation environments of the MODELISAR partners. Autosar

(AUTomotive

Open System ARchitecture):

is an open and standardized automotive software architecture, jointly developed by automobile manufacturers, suppliers and tool developers.

Background and Meaning of Mock up

Page 5: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Modelica 2011: Functional Mockup Interface Slide 5

Functional Mock-up Interface (FMI) -

Motivation (1)

Problems / NeedsComponent development by supplierIntegration by OEMMany different simulation tools ?

supplier1 supplier2 supplier3 supplier4 supplier5

OEM

supplier1

tool

1

supplier2 supplier3 supplier4 supplier5

tool

2 tool

3 tool

4 tool

5

FMI OEM

SolutionReuse of supplier models by OEM:

DLL (model import) and/orTool coupling (co-simulation)

Protection of model IP of supplier

!supplier1

supplier2

supplier3

OEMAdded Value

Early validation of designIncreased process

efficiency and quality

slide from Nick Suyam, Daimler (adapted)

Page 6: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Modelica 2011: Functional Mockup Interface Slide 6

FMI –

OverviewThe FMI development is part of the ITEA2 MODELISAR project

(2008 -

2011; 29 partners, Budget: 30 Mill. €)

FMI development initiated, organized and headed by Daimler

AGImproved Software/Model/Hardware-in-the-Loop Simulation, of physical

models from different vendors.

Open Standard14 Automotive Use-Cases to evaluate FMI.

Engine

with ECU

Gearbox

with ECU

Thermal

systems

Automated

cargo door

Chassis components,

roadway, ECU (e.g. ESP)

etc.

functional mockup interface for model exchange and tool couplingcourtesy Daimler

Page 7: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Modelica 2011: Functional Mockup Interface Slide 7

FMI -

Main Design Idea (1)

FMI for

Model Exchange:

Version 1.0 released in January 2010

FMI for Co-Simulation:Reuses as much as possible from FMI for Model Exchange standard

Version 1.0 released in October 2010

ToolSolver

FMUModel

ToolFMUModel

Solver

Page 8: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 8

FMI as a basis for tests

tool

1 tool

2 tool

3 tool

4 tool

5

FMI

tool

1 tool

2 tool

3 tool

4 tool

5

test FMUs

of different tools regarding:

Performance.

Modelica compliance.

Accuracy.

Run automated tests on compiled models.

Combine different FMUs

with different solvers and runtimes.

Use your own proven solver and runtime.

FMI test scenarios

Page 9: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 9

Potential industrial OpenModelica Use Cases

OpenModelica prospects

Page 10: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 10

FMI Workflow for in-house plant modeling

Semi automatic generation of FMUs

Transfer data from HFDs

Steady

state

HFD: KRAWAL

I&C System:SPPA-T3000

Dynamic

simulationIn-house

toolDYNAPLANT II

Page 11: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 11

Manual generation of FMUs

Generation of a FMU

Load FMU

Page 12: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 12

Ideal Workflow for in-house plant modeling

Generate FMUs

based on arbitrary Modelica code on the fly.

Page 13: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 14

Conclusion

The demand on specific modeling solutions will increase dramtically

not only

in the energy business.

FMI simplifies the integration of Modelica in in-house tools.

Open source Modelica environments are highly attractive for the utilization in in-house tools.

The potential for industrial funding (e.g. OSMC level 2 membership) is huge, but might be even larger if:

the development has a stronger application focus.

better communication of achievements and short comings.

Powerful interfaces and scripting are key features.

Page 14: The impact of FMI on In-house Tool Development · Modelica 2011: Functional Mockup Interface Slide 7. FMI - Main Design Idea (1) FMI for Model Exchange: Version 1.0 released in January

Energy F ES EN PTEC PEFor internal use only!

06.02.2012 Kilian LinkPage 15

Your Feedback

Thank you for your attention!