DoublePendulum

Simple double pendulum with two revolute joints and two bodies

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

model Examples.Elementary.DoublePendulum

Components (6)

world

Type: World

revolute1

Type: Revolute

damper

Type: Damper

boxBody1

Type: BodyBox

revolute2

Type: Revolute

boxBody2

Type: BodyBox