Modeling Structural - Dynamics Systems in MODELICA/Dymola, - - PowerPoint PPT Presentation

modeling structural dynamics systems in modelica dymola
SMART_READER_LITE
LIVE PREVIEW

Modeling Structural - Dynamics Systems in MODELICA/Dymola, - - PowerPoint PPT Presentation

Modeling Structural - Dynamics Systems in MODELICA/Dymola, MODELICA/Mosilab and AnyLogic Felix Breitenecker, Gnther Zauner, Daniel Leitner Working task Given: The problem definition of the constrained pendulum like in ARGESIM Comparison


slide-1
SLIDE 1

Modeling Structural - Dynamics Systems in MODELICA/Dymola, MODELICA/Mosilab and AnyLogic

Felix Breitenecker, Günther Zauner, Daniel Leitner

slide-2
SLIDE 2

Working task

Given: The problem definition of the constrained pendulum like in ARGESIM Comparison 7. Wanted: Capable simulation environment with an easy to use, object oriented interface.

slide-3
SLIDE 3

Problem definition

  • What is standard in advanced modeling

and simulation?

  • Where are the problems?
  • How to deal with them?
  • Is there a standard test example?
slide-4
SLIDE 4

Constrained pendulum

slide-5
SLIDE 5

Basic formulars

slide-6
SLIDE 6

Simulator - Dymola

slide-7
SLIDE 7

Simulator - Mosilab

slide-8
SLIDE 8

Simulator - AnyLogic

slide-9
SLIDE 9

Solution methods

  • Algorithm section
  • Parameter state event
  • Model switching

– two instances of one model – two separate submodel definitions

slide-10
SLIDE 10

Algorithm section

Benefits:

  • Modelica standard notation (Dymola,

Mosilab, OpenModelica, …)

  • Fast modeling

Disadvantages:

  • No graphical interface
  • Limited applicability

algorithm if (phi<=phipin) then length:=ls; end if; if (phi>phipin) then length:=l1; end if;

slide-11
SLIDE 11

Parameter state event

Simulator includes the option statechart in the model desription interface;

  • Textual (in Mosilab directly, in AnyLogic
  • nly in Java)
  • Graphical (both simulators in UML)
slide-12
SLIDE 12

Model switching

Constrained Pendulum

Long Short shorten lengthen start

slide-13
SLIDE 13

Model switching

Constrained Pendulum

Pendel 1 Pendel 2 shorten lengthen start

slide-14
SLIDE 14

Results

slide-15
SLIDE 15

Results

No influence Step size 0.001 6.725 AnyLogic IDA Dassl

  • Min. step 1e-6
  • Max. step 0.08

6.7224 Mosilab/Modelica Parameter switching

  • Impl. Trapez
  • Min. step 1e-6
  • Max. step 1e-4

6.7199 Mosilab/Modelica Pure Modelica IDA Dassl

  • Min. step 1e-6
  • Max. step 0.08

6.7204 Mosilab/Modelica Switch models Dassl 500 intervals 6.72198 Dymola/Modelica

Method Time point Simulator

slide-16
SLIDE 16

Conclusion

  • What is standard in advanced modeling and simulation?
  • Modelica standard for model exchange
  • UML
  • combination of both
  • Problems in solution generation:
  • limited state event handling (Dymola)
  • restriction in the choose of simulation methods

(Mosilab)

  • no state event finding, fixed solution method (AnyLogic)
slide-17
SLIDE 17

THANK YOU FOR YOUR ATTENTION!