Download Dymola - Dynamic Modeling Laboratory

Transcript
Contents
1
Getting started with Dymola .................................................................................................. 5
1.1 Introduction ...................................................................................................................................................... 5
1.2 Simulating a model — industrial robot ............................................................................................................ 6
1.2.1
Investigating the robot in modeling mode .............................................................................................. 6
1.2.2
Simulation............................................................................................................................................. 15
1.2.3
Other demo examples ........................................................................................................................... 19
1.3 Solving a non-linear differential equation ...................................................................................................... 20
1.3.1
Simulation............................................................................................................................................. 24
1.3.2
Improving the model ............................................................................................................................ 29
1.4 Using the Modelica Standard Library ............................................................................................................ 37
1.4.1
The Modelica Standard Library ............................................................................................................ 37
1.4.2
Creating a library for components ........................................................................................................ 45
1.4.3
Creating a model for an electric DC motor ........................................................................................... 47
1.4.4
Documenting the model........................................................................................................................ 53
1.4.5
Testing the model ................................................................................................................................. 56
1.4.6
Handling the warnings .......................................................................................................................... 60
1.4.7
Creating a model for the motor drive.................................................................................................... 64
1.4.8
Parameter expressions .......................................................................................................................... 68
1.4.9
Documenting the simulation ................................................................................................................. 73
1.4.10
Scripting ............................................................................................................................................... 75
1.5 Building a mechanical model ......................................................................................................................... 77
1.6 Other libraries ................................................................................................................................................ 82
1.6.1
Libraries available in the File menu by default .................................................................................... 82
1.6.2
Libraries that can be added ................................................................................................................... 84
1.7 Help and information ..................................................................................................................................... 84
3