Dymola release notes

Version: Dymola 5.2a, 2004-03-19

News in version 5.2a

News in version 5.2

Right click in Dymola's toolbar and select "View" to enable layer buttons. Then push the diagram layer button.



The context menu for a component contains the choice Show Variables, which opens the plot selector for the selected component instance.



When double-clicking on a component or selecting Parameters… in the context menu the parameter dialog is displayed.



News in version 5.1b

News in version 5.1a

News in version 5.1

Libraries

Parameter dialog

It is possible to annotate parameters or parameter types in order that it's possible to make a selection from a set of values from a pull down menu. For example, setting a parameter true or false can be made by selecting on or off as shown below.



The needed declarations for this appearance is:
    type OnOff = Boolean annotation (choices(choice=false "off", choice=true "on"));
    parameter OnOff animation=false "Enable/disable animation";
The following examples show similar choices from a set of predefined vectors representing different common directional axes or commonly used colors. In the example to the right, a selection has been among a set of strings.
               
The corresponding declarations are:
    type Axis = Real[3] annotation (choices(
      choice={1,0,0} "{1,0,0} - x axis",
      choice={0,1,0} "{0,1,0} - y axis",
      choice={0,0,1} "{0,0,1} - z axis",
      choice={0,0,0} "any axis"));
    parameter Axis n={1,0,0} "Axis of rotation";

    type Color = Real[3] annotation (choices(
      choice={1,0,0} "red",
      choice={0,1,0} "green",
      choice={0,0,1} "blue"));
    parameter Color color={1,0,0} "Object color";

    type Shape = String annotation (choices(
      choice="" "none",
      choice="box" "box",
      choice="cylinder" "cylinder"));
    parameter Shape shape="" "Animation shape";
It should be noted that, it's possible to enter any value without using the  pull downmenu. This enables the use of expressions, for example.

Search


model M
CompType *pattern*;
end M;
model M
  extends *pattern*;
*pattern* comp_name;
CompType c1(redeclare *pattern* c2);
end M;

Package browser

       

Component browser


HTML documentation

Graphical editor

Modelica Text, documentation layer and Message windows

Plot and animation windows

Modelica language support

Simulation


Commands and Scripting

Internationalization

Utilities

News in version 5.0

See separate Dymola 5.0 release notes.

News in version 4.x

See separate Dymola 4.x release notes.


Copyright 1998-2004 Dynasim AB. All rights reserved.