1 realsim realsim is real time simulation for design of multi-physics systems realsim goal: bring...

29
1 RealSim RealSim is Real Time Sim ulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industry Objectives: Develop high-performance Modelica simulators Develop better tools for modeling , simulation and visualization for use by industry Demonstrate practical industrial applications for Modelica IST Programme Contract No. IST- 1999-11979

Post on 19-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

1

RealSim

RealSim is Real Time Simulation forDesign of Multi-Physics Systems

RealSim goal: bring Modelica to industryObjectives:

Develop high-performance Modelica simulators

Develop better tools for modeling, simulation and visualization for use by industry

Demonstrate practical industrial applications for Modelica

IST Programme

Contract No. IST-1999-11979

Page 2: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

2

Finding more information

More information can be found in RealSim Public Reports.

If you see text like this D3 D3 please visit the page for public reports and find the report there.

For other materials please contact relevant partners

Page 3: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

3

Modelica An object-oriented, general simulation language Designed by Modelica Association Libraries of reusable components Equation-based Components created using a natural mathematical

language Supports differential algebraic equations Supports discrete events Permits multi-domain simulation

Page 4: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

4

Modelica libraries of ready components

Page 5: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

5

planetary1=110/50

C4=0.12 C5=0.12

planetary2=110/50

C6=

0.12

bearing2

C8=0.12

demultiplex

shaftS=2e-3

S

planetary3=120/44

C11=0.12

shaftS1=2e-3

S

C12

=0.1

2

bearing1bearing4

Cou

rtes

y T

oyot

a T

ecno

-Ser

vice

C0ClutchC1ClutchC2Clutch B0ClutchB1Clutch B2Clutch

VC1Accum

VC2Accum

VB0Accum

VB1Accum

Shi

ft12S

hift

23

Shi

ft34

Shi

ft23

Tim

ing

Rev

erse

Con

trol

Low

Inhi

bito

r

ManualValve

Orif

isC

ontr

ol

LCM

odul

ator

C0e

xhau

st

pLinePump

Th

pAccumPump

Th

VVolumeE

V

Volum

eE1

V

Volum

eE2

VVolumeE3

Chk

Val

veA

C0C

hkV

alve

C1C

hkV

alve

B0C

hkV

alve

Chk

Val

veA

1

orificeorifice1

orifice2

orifice3orifi

ce4

orifi

ce5

orifice6

orif ice7

orifice8orifi

ce9

orif ice10

orifice11orifi

ce12

orifice13

solenoid

solenoid1

SOL11 1

SOL20 1

ST0 0

X Y

C

user

throttle

10w

0

T

Mod

ulat

or

solenoid2T1

userX Y

C

StopMass

M

Cha

mbe

r

Cham

ber1

Spr

VVolumeE1

VVolumeE2

VVolumeE3

PosValve

PosValve1

PosValve2

PosValve3

PosValve4

PosValve5

FPL

FPL

1

FPL

2

FPL

3

FPL4 FPR

FPR

1

FPR

2

FPR

3

orif ice

FMs

F

stop1

stop2

T

A = if not deltax>0 then 0 else Amax*(1-exp(-Ainc/Amax*deltax));

Example - Car Power Train Typical multi-physics system

Page 6: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

6

Dym

olaModelica

Libraries

RobotComponents

Multibody

Power SystemComponentsN

ew

Modelic

a

Libra

ries

Parallelizer

OpenGLVisualization

Cult3DVisualization

Interactive Visualization

MathematicaVisio

Dym2DSP

DspaceHardware

SPOT

ExternalHardware

Optimizer(in Matlab,C)

AutoCAD

SolidWorks

CADTranslation

RobotProductModel

and DataManagement

MS SQL ServerUse

r In

terf

ace

Tra

nsl

ati

on

Execu

tion

Vis

ualiz

ati

on/

Analy

sis

Multiple CompiledExecutables

NewModelica Code

MathModelica

MathModelica

Sim

ula

tion

Execu

table

Project map

Page 7: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

7

Partners

Dynasim(S), DLR(D), MathCore(S), PELAB(S), Kuka(D) ABB(CH)See project

presentation (D4)

Page 8: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

8

Modeling and Simulation Environments

Modelica-based scripting language Modelica objects for user interaction (P3) Interface of Modelica to LAPACK Multi-criteria optimization environment MathModelica simulation environment

• Integration with Mathematica,Graphic GUI based on Microsoft Visio

• Integration with CAD tools and 3D visualization

Page 9: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

9

Modeling Examples Modeling of a Racing Car with

Modelica’s Multi-Body Library• Paper presented at

Modelica 2000 Workshopin October 2000

• Real-time, human-in-the-loop simulation of3d car model, incl.wheel-suspension &tire models

Page 10: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

10

Modeling and Simulation Environment

MathModelica Model Editor…

Page 11: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

11

Modeling and Simulation Environment

… MathModelica Notebooks

Page 12: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

12

Efficient Simulation: Recent Achievements

Modelica simulations should be made more efficient

Mixed-mode Integration: Real-time (interactive) performance for complex multi-physics systems• Mixed-mode integration

method for simulating“stiff” models.

• Automatic partitioningof “fast” and “slow”dynamics of the model.

Page 13: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

13

Efficient Simulation: Recent Achievements

Efficient handling of large models (D27)• 100,000+ equations• 4+ physical domains

Handling DAE of varying structure (D22)

Parallel scheduling of model equations• Automatic fine-grained parallel scheduling

of model equations on a PC cluster (D24) See Enhanced Dymola (D7A, D7B,E3)

Page 14: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

14

Visualization and CAD integration

Study of integration forms and formats D1

AutoCAD to Modelica Translator D15• Exports Modelica code + STL for

additional geometry information (for use by visualization components)

OpenGL-based interactive visualization of Modelica models

Live simulation controlled via Internet

Page 15: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

15

Robot designed in AutoCAD…

…translated to Modelica…

Page 16: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

16

… Robot visualized …

Page 17: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

17

…Interactive visualization…

Page 18: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

18

Internet-based visualization

CLIENT

Cult3D graphicsin WWW browser

Control(Java widgets)

INTERNET Server

Modelica - based

simulation

(see D39)

Page 19: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

19

Internet-(1)…

Page 20: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

20

…Internet-(2)

Page 21: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

21

Robot optimization Optimizing weight, speed, costs,

accuracy for KUKA. Modelica library components

• Multibody library (freely available, see D8)

• Proprietary robot components Product model and data

management application Fast optimization for non-

smooth problems using distributed simulation (see D19 )

Page 22: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

22

Optimization Software Architecture

Database

Matlab GUI

Internal data structure

Robot component library

File: robot115.exe

static calculation

Dymola Modelica translatorFile:

robot115.mo

Page 23: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

23

Define which components are assembledDefine how they are assembled

“Assembly” of components into a robot

Robot Configuration Systems

Page 24: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

24

Steering a robot Recent display by KUKA & DLR at the

Hannover Fair

Experience for robot applications, see D42

Page 25: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

25

Power system simulation

Dynamic, object oriented Simulator of Power System Transients (SPOT) at ABB• On-line and off-line simulation of

power systems• Scalable, cost efficient – basic

version runs on a PC Experience with RealSim

described in D45

Page 26: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

26

Modeling software for Power Systems

Dym2DSP, software for automatic exporting of compiled simulations from Dymola to DSpace hardware

Complete power system component Modelica library• Basic Elements and Transformations,

Turbines, Generators, Transformers, Transmission Lines, Impedance, Admittance and Loads, Motors and Drives, Converters, Inverters, Rectifiers, Breakers, Faults, Meters and Sensors, Non-linear Elements (Semiconductors, Varistors)

Page 27: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

27

Hardware-In-The-Loop Simulation of electric locomotive:

friction, inertia, electrical drive, switching, powerconversion, etc.• Offline• Realtime• RT Hardware-in-the-loop

Modular Power Converter

Page 28: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

28

Complete System for Realtime Simulation

Page 29: 1 RealSim RealSim is Real Time Simulation for Design of Multi-Physics Systems RealSim goal: bring Modelica to industryModelica Objectives: Develop high-performance

29

Making people aware The Dissemination and use plan in D9 Modelica www site www.modelica.org Modelica 2000 Workshop in Lund, Sweden

(as D46) International Modelica 2002 Conference in

Germany (as D46) University Course on Modelica D47 SAE Congress in Detroit, USA 2001 Hannover Fair, Germany 2001 10+ Papers, Journal articles, Conferences