Modelica Standard Library 3.2 released

The Modelica Standard Library 3.2 has been released on 25 October 2010. It is available from here together with the detailed release notes. This library forms the basis of most models of Dymola. It’s not yet compatible with Dymola 7.4, but it will be included in the next release which is currently being tested.


Here’s a short summary of the release notes.

Version 3.2 is backward compatible to version 3.1, so  models developed with versions 3.0, 3.0.1, or 3.1 will work without any changes. This version is said to be a major improvement:

  • 357 models and blocks and 295 functions are newly included.
  • 7 new libraries are included.
  • The icons of the library are newly designed to provide a modern, unified view.
  • All non-Modelica files, such as images, pdf-files, C-source files, scripts are moved to the new directory “ModelicaResources”. Furthermore, all file references are changed to URIs as introduced in Modelica 3.1 (e.g. a file with the file name “Modelica/Resources/Images/xxx” is referenced as “modelica://Modelica/Resources/Images/xxx”).
  • All physical models that dissipate heat (such as electrical elements, electrical machines, bearings, dampers, etc) now have an optional heat port to which the dissipated energy is flowing, if activated. This will significantly improve design studies about the thermal efficiency of technical systems.
  • All electrical machines in the Machines library now have a “Losses” tab in the parameter menu to optionally model machines losses such as frictional losses, stator core losses or stray load losses, respectively.
  • All electrical machines in the Machines library have now a “powerBalance” result record, summarising converted power and losses.

Version 3.2 is slightly based on the Modelica Specification 3.2. It uses the following new language elements (compared to Modelica Specification 3.1):

  • Operator records and overloaded operators.
  • Functions as input arguments to functions.
  • Improved expandable connectors (variables declared in expandable connectors are ignored if not referenced).

A large part of the new classes have been developed with partial financial support by BMBF (BMBF Förderkennzeichen: 01IS07022F) within the ITEA2 project EUROSYSLIB. We highly appreciate this funding.

The following new libraries have been added:

Complex This is a top-level record outside of the Modelica Standard Library. It is used for complex numbers and contains overloaded operators. From a users point of view, Complex is used in a similar way as the built-in type Real. Example:

   Real a = 2;    Complex j = Modelica.ComplexMath.j;    Complex b = 2 + 3*j;    Complex c = (2*b + a)/b;    Complex d = Modelica.ComplexMath.sin(c);    Complex v[3] = {b/2, c, 2*d};

(This library was developed by Marcus Baur, DLR).

Modelica.ComplexBlocks Library of basic input/output control blocks with Complex signals.
This library is especially useful in combination with the new Modelica.Electrical.QuasiStationary library in order to build up very fast simulations of electrical circuits with periodic currents and voltages.
(This library was developed by Anton Haumer).
Modelica.Electrical.QuasiStationary Library for quasi-stationary electrical singlephase and multiphase AC simulation.
This library allows very fast simulations of electrical circuits with sinusoidal currents and voltages by only taking into account the quasi-stationary, periodic part and neglecting non-periodic transients.
(This library was developed by Anton Haumer and Christian Kral, AIT).
Modelica.Electrical.Spice3 Library with components of the Berkeley SPICE3 simulator:
R, C, L, controlled and independent sources, semiconductor device models (MOSFET Level 1, Bipolar junction transistor, Diode, Semiconductor resistor). The components have been intensively tested with more than 1000 test models and compared with results from the SPICE3 simulator. All test models give identical results in Dymola 7.4 with respect to the Berkeley SPICE3 simulator up to the relative tolerance of the integrators.
This library allows detailed simulations of electronic circuits. Work on Level 2 SPICE3 models, i.e., even more detailed models, is under way. Furthermore, a pre-processor is under development to transform automatically a SPICE netlist into a Modelica model, in order that the many available SPICE3 models can be directly used in a Modelica model.
(This library was developed by Fraunhofer Gesellschaft, Dresden).
Modelica.Magnetic.FundamentalWave Library for magnetic fundamental wave effects in electric machines for the application in three pase electric machines. The library is an alternative approach to the Modelica.Electrical.Machines library. A great advantage of this library is the strict object orientation of the electrical and magnetic components that the electric machines models are composed of. This allows an easier incorporation of more detailed physical effects of electrical machines. From a didactic point of view this library is very beneficial for students in the field of electrical engineering.
(This library was developed by Christian Kral, AIT, and Anton Haumer, using ideas and source code of a library from Michael Beuschel from 2000).
Modelica.Fluid.Dissipation Library with functions to compute convective heat transfer and pressure loss characteristics.
(This library was developed by Thorben Vahlenkamp and Stefan Wischhusen from XRG Simulation GmbH).
Modelica.ComplexMath Library of complex mathematical functions (e.g., sin, cos) and of functions operating on complex vectors.
(This library was developed by Marcus Baur from DLR-RM, Anton Haumer, and HansJürg Wiesmann).


Got a question? Just fill in this form and send it to us and we'll get back to you shortly.


© Copyright 2010-2024 Claytex Services Ltd All Rights Reserved

Log in with your credentials

Forgot your details?