modelDoublePendulum
Simple double pendulum with two revolute joints and two bodies
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates that by using joint and body elements animation is automatically available. Also the revolute joints are animated. Note, that animation of every component can be switched of by setting the first parameter animation to false or by setting enableAnimation in the world object to false to switch off animation of all components.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.World | world | ||
| Modelica.Mechanics.MultiBody.Joints.Revolute | revolute1 | ||
| Modelica.Mechanics.Rotational.Components.Damper | damper | ||
| Modelica.Mechanics.MultiBody.Parts.BodyBox | boxBody1 | ||
| Modelica.Mechanics.MultiBody.Joints.Revolute | revolute2 | ||
| Modelica.Mechanics.MultiBody.Parts.BodyBox | boxBody2 |