Download Getting started with Dymola

Transcript
Contents
1 Getting started with Dymola .................................................................................................. 5 1.1 Introduction ...................................................................................................................................................... 5 1.2 Simulating a model — industrial robot ............................................................................................................ 6 1.2.1 Simulation............................................................................................................................................. 15 1.2.2 Other demo examples ........................................................................................................................... 19 1.3 Solving a non-linear differential equation ...................................................................................................... 20 1.3.1 Simulation............................................................................................................................................. 23 1.3.2 Improving the model ............................................................................................................................ 27 1.4 Using the Modelica Standard Library ............................................................................................................ 33 1.4.1 The Modelica Standard Library ............................................................................................................ 34 1.4.2 Creating a library for components ........................................................................................................ 42 1.4.3 Creating a model for an electric DC motor........................................................................................... 44 1.4.4 Documenting the model........................................................................................................................ 51 1.4.5 Testing the model ................................................................................................................................. 54 1.4.6 Handling the warnings .......................................................................................................................... 57 1.4.7 Creating a model for the motor drive.................................................................................................... 61 1.4.8 Parameter expressions .......................................................................................................................... 64 1.4.9 Documenting the simulation ................................................................................................................. 69 1.4.10 Scripting ............................................................................................................................................... 71 1.5 Building a mechanical model ......................................................................................................................... 72 1.6 Other libraries ................................................................................................................................................ 78 1.6.1 Libraries available in the File menu by default .................................................................................... 78 1.6.2 Libraries that can be added ................................................................................................................... 79 1.7 Help and information ..................................................................................................................................... 79 1.7.1 Reaching compressed information........................................................................................................ 79 3