composer - diva portal617011/attachment01.pdf · composer a prototype multilingual model...

20
Background Solution Example Conclusions Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude Lacoursi` ere February 6, 2013 E. Billing and M. Servin, February 6, 2013 (1 : 21)

Upload: others

Post on 27-Jun-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer

A prototype multilingual model composition tool

Erik Billing and Martin Servin

And contributions by Stefan Hedman and Claude Lacoursiere

February 6, 2013

E. Billing and M. Servin, February 6, 2013 (1 : 21)

Page 2: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer

A tool for composingsimulation of dynamicalsystems

I multilingual

I database centric

I web based

An experiment and a prototypefor project Simovate

http://imuit.cs.umu.se/composer

www.org.umu.se/umit/english/project-activities/simovate

Axolotl Selective Bio-Harvester, Nick Ross, Umea Institute of Design

E. Billing and M. Servin, February 6, 2013 (2 : 21)

Page 3: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Innovation with simulation based development

I efficient and flexible management of data and models

I concept→system engineering→marketing & training

I interoperability of different simulation software

I different level-of-detail and complexity

www.org.umu.se/umit/english/project-activities/simovate

E. Billing and M. Servin, February 6, 2013 (3 : 21)

Page 4: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Database centric approach

one system - multiple views

I database: model and data

I views: design, simulation,analysis, visualization

requires

I file & data formats

I communication protocols

I generic block-diagramrepresentation

I weak and strong coupledsimulation

E. Billing and M. Servin, February 6, 2013 (4 : 21)

Page 5: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - a web based simulation editor

server-client

I server: models, data,compile, simulate (hpc)

I client: editor in browser

web & html5

I SVG

I Javascript

I JSON

I python

generic block-diagram XML

I SVGFMI

= SVG + FMI metadata(Model Description)

E. Billing and M. Servin, February 6, 2013 (5 : 21)

Page 6: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

SVG - Scalable Vector Graphics

I XML-based vector image format for interactive 2Dgraphics

I open standard supported by web browsers

I Functionality: paths, shapes, text, colour, filters, ... ,interactivity, linking, scripting, metadata

E. Billing and M. Servin, February 6, 2013 (6 : 21)

Page 7: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

FMI - Functional Mockup Interface

I tool independent standard to support both modelexchange and co-simulation of dynamic models

I standard specification, XML schema files, C-header

I an FMU a FMI implementation of a simulation model

E. Billing and M. Servin, February 6, 2013 (7 : 21)

Page 8: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

1. get SVGFMI lib

E. Billing and M. Servin, February 6, 2013 (8 : 21)

Page 9: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

1. get SVGFMI lib

2. add model A, B, C,...

3. create connections

4. edit model properties

E. Billing and M. Servin, February 6, 2013 (9 : 21)

Page 10: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

1. get SVGFMI lib

2. add model A, B, C,...

3. create connections

4. edit model properties

5. launch simulation type X

E. Billing and M. Servin, February 6, 2013 (10 : 21)

Page 11: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

5. launch simulation type X

I send SVGFMI to server

I code generation from lib X

I compile

I execute

I create output (←SVGFMI)

E. Billing and M. Servin, February 6, 2013 (11 : 21)

Page 12: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

1. get SVGFMI lib

2. add model A, B, C,...

3. create connections

4. edit model properties

5. launch simulation type X

6. receive output

E. Billing and M. Servin, February 6, 2013 (12 : 21)

Page 13: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer - work flow

1. get SVGFMI lib

2. add model A, B, C,...

3. create connections

4. edit model properties

5. launch simulation type X

6. receive output

7. modify or done

E. Billing and M. Servin, February 6, 2013 (13 : 21)

Page 14: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Example: fiber production line

Scheduling strategy to reduce electricity cost in a paper plant

I dynamical simulation with modelica

I → discrete event simulation with Python

I → mixed integer optimization problem

E. Billing and M. Servin, February 6, 2013 (14 : 21)

Page 15: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer prototype: fiber production line

E. Billing and M. Servin, February 6, 2013 (15 : 21)

Page 16: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer prototype: fiber production line

E. Billing and M. Servin, February 6, 2013 (16 : 21)

Page 17: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Composer prototype: fiber production line

E. Billing and M. Servin, February 6, 2013 (17 : 21)

Page 18: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Example: fiber production line

E. Billing and M. Servin, February 6, 2013 (18 : 21)

Page 19: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Conclusions

SVGFMI can be used for

I generic box-diagram representation of dynamical systems

I web based simulation editor

I managing separation between a models and its multipleimplementations

but building SVGFMI entities for many models and toolsrequires large effort.

E. Billing and M. Servin, February 6, 2013 (19 : 21)

Page 20: Composer - DiVA portal617011/ATTACHMENT01.pdf · Composer A prototype multilingual model composition tool Erik Billing and Martin Servin And contributions by Stefan Hedman and Claude

Background

Solution

Example

Conclusions

Future work

Continuation in project Simovate

I coupled simulation of mechatronic multibody systems

I 3D models and CAD software

I exploit SVGFMI on the viewer side

http://imuit.cs.umu.se/composer

www.org.umu.se/umit/english/project-activities/simovate

E. Billing and M. Servin, February 6, 2013 (20 : 21)