Dymola release notes

Version: Dymola 5.1 to 5.3e

News in version 5.3e

News in version 5.3d

News in version 5.3c

News in version 5.3a

News in version 5.3

  • Simplified the definition of the signal connectors in Modelica.Blocks.Interfaces. For example, an output signal "FirstOrder.outPort.signal[1]" is now named "FirstOrder.y". This simplifies the understanding and usage especially for beginners.
  • De-vectorized the Modelica.Blocks library. All blocks in the Modelica.Blocks library are now scalar blocks. As a result, the parameters of the Blocks are scalars and no vectors any more. For example, a parameter "amplitude" that might had a value of "{1}" previously, has now a value of "1". This simplifies the understanding and usage especially for beginners.
    If a vector of blocks is needed, this can be easily accomplished by adding a dimension to the instance.
  • 16 new components have been added to the Blocks library
  • All components of the ModelicaAdditions library are included in the Modelica Standard Library in an improved way:
    • ModelicaAdditions.Blocks is included in Modelica.Blocks. The logical blocks have a nicer icon layout now.
    • ModelicaAdditions.Tables is included in Modelica.Blocks.Sources and Modelica.Blocks.Tables.
    • ModelicaAdditions.MultiBody is obsolete and is replaced by the much more powerful library Modelica.Mechanics.MultiBody (this is version 1.0.1 of the MultiBody library where the signal connectors have been changed to the new signal connectors).
    • ModelicaAdditions.HeatFlow1D is obsolete since a long time. It was replaced by the improved library Modelica.Thermal.HeatTransfer.
    • ModelicaAdditions.PetriNets is obsolete and is replaced by the much more powerful library Modelica.StateGraph.
  • Added a new library Modelica.StateGraph to model discrete event and reactive systems in a convenient way. It is based on the JGraphChart method and takes advantage of Modelica features for the "action" language. JGraphChart is a further development of Grafcet to include elements of StateCharts that are not present in Grafcet/Sequential Function Charts. Therefore, the StateGraph library has a similar modeling power as StateCharts but avoids some deficiences of action languages usually used together with StateCharts.
 
ConnType a[3];
parameter Real n = 2;
ConnType b[n];


Component tooltip.
Connector tooltip.


Tooltip for a single signal.
Tooltip for multiple signals and a common independent variable.

News in version 5.2a

News in version 5.2

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

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


Copyright 1998-2005 Dynasim AB. All rights reserved.