Dymola Dynamic Modeling Laboratory
Total Page:16
File Type:pdf, Size:1020Kb
Dymola Dynamic Modeling Laboratory User’s Manual Dymola 6 Additions Version 6.0 © Copyright 1992-2006 by Dynasim AB. All rights reserved. Dymola™ is a trademark of Dynasim AB. Dymola® is a registered trademark of Dynasim AB in Sweden. Modelica® is a registered trademark of the Modelica Association. Dynasim AB Research Park Ideon SE-223 70 Lund Sweden E-mail: [email protected] URL: http://www.Dynasim.com Phone: +46 46 2862500 Fax: +46 46 2862501 Contents Recent features in Dymola.............................................................................................................9 Graphical editor..........................................................................................................................................................9 Parameter dialog.....................................................................................................................................................9 Package browser...................................................................................................................................................15 Component browser..............................................................................................................................................16 Replaceable components ......................................................................................................................................17 Connections..........................................................................................................................................................18 Graphical editing ..................................................................................................................................................19 HTML documentation ..........................................................................................................................................22 Settings and options..............................................................................................................................................24 Modelica text editor..................................................................................................................................................26 Variable declarations............................................................................................................................................26 Editor context menu .............................................................................................................................................28 Other operations in text editor..............................................................................................................................30 Used classes..........................................................................................................................................................30 Modelica language ...................................................................................................................................................31 Arrays...................................................................................................................................................................31 Conditional declarations.......................................................................................................................................32 Checking for structural singularities.....................................................................................................................32 Improvements in diagnostics................................................................................................................................34 Evaluation of parameters......................................................................................................................................34 Dynamics state selection ......................................................................................................................................34 Storing of protected variables...............................................................................................................................35 Other.....................................................................................................................................................................35 Simulation ................................................................................................................................................................36 3 Commands menu..................................................................................................................................................36 Simulation windows .............................................................................................................................................36 Improvements in interactive functions .................................................................................................................37 Minor improvements ............................................................................................................................................38 Diagram layer in simulation mode .......................................................................................................................40 Improved experiment setup ..................................................................................................................................41 Output of manipulated equations in Modelica format ..........................................................................................42 Discriminating start values ...................................................................................................................................51 Bounds checking for variables .............................................................................................................................53 Traceback message for errors in functions ...........................................................................................................53 Direct link in error log to variables in model window..........................................................................................55 Extended online diagnostics for non-linear systems.............................................................................................56 Extended diagnostics for stuck simulation ...........................................................................................................58 Ensuring that ‘Stop’ stops the simulation.............................................................................................................59 New integration algorithms ..................................................................................................................................60 Analytic Jacobians................................................................................................................................................62 Commands and Scripting......................................................................................................................................63 Plotting and animation..............................................................................................................................................65 Variable browser context menu............................................................................................................................65 Display units.........................................................................................................................................................66 Other plotting .......................................................................................................................................................67 Animation.............................................................................................................................................................67 Matlab and Simulink ................................................................................................................................................68 Libraries ...................................................................................................................................................................68 Modelica Standard Library version 2.2 ................................................................................................................68 Comparison to Modelica Standard Library 1.6 ....................................................................................................70 Other libraries.......................................................................................................................................................71 Library handling improvements ...........................................................................................................................72 Installation and setup of Dymola..............................................................................................................................72 Modelica Data Structures and GUI............................................................................................77 Records and dialogs..................................................................................................................................................77 Tabs and Groups...................................................................................................................................................80