Modelica 2008 Tutorials
Modelica Conference 2008 at University of Applied Sciences, Bielefeld, Germany
Modelica 2008
6th International Modelica Conference, March 3rd-4th, 2008
University of
Applied Sciences, Bielefeld, Germany
Modelica 2008 | Program | Proceedings | Sessions | Index of Authors | Libraries | Tutorials | Exhibitors | Committees
Tutorials
Tutorial 1 | Tutorial 2 | Tutorial 3 | Tutorial 4 | Tutorial 5
Tutorial 1:
|
|
Tutors |
Adrian Pop,
Håkan Lundvall,
Peter Bunus,
Peter Fritzson |
Description |
The tutorial presents gives an introduction to object-oriented component-based computer supported mathematical modeling and simulation through the powerful Modelica language and its associated technology. Modelica can be viewed as an almost universal approach to high level computational modeling and simulation, by being able to represent a range of application areas and providing general notation as well as powerful abstractions and efficient implementations. The tutorial gives an introduction to the Modelica language to people who are familiar with basic programming concepts. It gives a basic introduction to the concepts of modeling and simulation, as well as the basics of object-oriented component-based modeling for the novice, and an overview of modeling and simulation in a number of application areas. The OpenModelica open-source environment will be used for textual modeling exercises and MathModelica for graphical hands-on exercises. |
Material | Tutorial 1 (zip, 6.1 MB) |
Tutorial 2:
|
|
Tutor |
Bernhard Bachmann |
Description |
The investigation of dynamical systems in mechanical, electrical or chemical engineering usually requires mathematical modeling of the system behavior. The object-oriented modeling language Modelica provides powerful features which make it possible to build up very complex even hybrid systems quite easily. But, what happens if a Modelica tool is not capable to compile and/or correctly simulate the system of interest? Reasons can be i.e. modeling errors, wrong parameter values and/or numerical instabilities. Automatic problem detection is usually not possible and only understanding of symbolical and numerical techniques behind the scene can help in resolving this issue. This tutorial provides a basic understanding on the mathematical aspects of object-oriented modeling and simulation. Different phenomena are explained in detail using simple examples which can be thoroughly analyzed during hand-out exercises. |
Material | Tutorial 2 (zip, 0.8 MB) |
Tutorial 3
|
|
Tutors |
Anton Haumer,
Johannes Gragger,
Harald Giuliani,
Hansjörg Kapeller,
Thomas Bäuml |
Description |
The tutorial starts with an introduction to electric machines. This includes DC machines, asynchronous machines and permanent magnet synchronous machines. Simple applications of starting and operating the machines will be presented using the Machines package of the Modelica Standard Library. The limits of operation of open loop and mains supplied machines will be discussed. For operating electric machines at variable speed (or torque) usually closed loop drives are used. The basic principle of a closed loop drive system will be explained. For the examples presented in this tutorial the SmartElectricDrives (SED) library will be used. An overview of the structure of the basic components (source, converter, machine, control unit, sensor and load) of the SED library will be given. The basics of controlling DC machines are outlined, followed by an introduction to space phasors (as the reference frames get explained the transformation blocks in the SED library get pointed out). The torque controlled drive models of a DC machine, an asynchronous induction machine and a permanent magnet synchronous machine are presented. For these drive types the differences between TransientDrives and QuasiStationaryDrives will be compared. Then the Sources models will be explained and their parameterization will be discussed. After this two examples using an asynchronous induction machine and a permanent magnet induction machine are shown. These examples will demonstrate the correct use of the bus connectors and the supplementary functions for estimating the control and machine parameters. |
Material | Tutorial 3 (zip, 1.2 MB) |
Tutorial 4
|
|
Tutors |
Hubertus Tummescheit,
Jonas Eborn |
Description |
The goal of the tutorial is to get an overview over Modelica libraries for thermodynamic system modeling and show how to make use of Modelica's unique features in thermodynamics modeling. Compared to traditional, specialized flow sheeting tools, Modelica offers increased flexibility. The new Media and Fluid libraries make this flexibility accessible without the drawback of laborious model implementation. We will explain the design ideas behind the libraries and, through a series of hands-on exercises, learn to use the libraries for simple examples. Using these examples, we will investigate typical modeling trade-offs in thermodynamics between models intended for component design use and models intended for system design use. The same examples will be used to demonstrate typical numerical pitfalls in thermo-fluid systems. |
Material | Tutorial 4 (zip, 0.4 MB) |
Tutorial 5 |
|
Tutor |
Andreas Heckmann |
Description |
Quite often the mechanical components are the core elements of a complex technical system. Therefore a modelling language such as Modelica relies on the capability to systematically treat the dynamic behaviour of interconnected bodies influenced by various physical quantities. In order to answer this purpose the Modelica Multibody Library and the Modelica FlexibleBodies Library provide a range of modelling elements to describe rigid or flexible bodies respectively which may undergo large 3-dimensional translational and rotational displacements.
As a common platform for exercises, software with both libraries and a test version of the simulation environment Dymola will be provided (MS Windows operating system). Please bring a laptop with CD-reader in order to participate in the exercises. |
Material | Tutorial 5 (zip, 2 MB) |
Modelica 2008 | Program | Proceedings | Sessions | Index of Authors | Libraries | Tutorials | Exhibitors | Committees