modelSphericalDoublePendulum

Double pendulum with two spherical 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.

model Examples.Elementary.DoublePendulum

Components

TypeNameDefaultDescription
MultiBody.Worldworld
MultiBody.Parts.BodyBoxboxBody1
MultiBody.Parts.BodyBoxboxBody2
MultiBody.Joints.SphericalSpherical1
MultiBody.Joints.SphericalSpherical2
MultiBody.Parts.BodyBoxboxBody3
MultiBody.Parts.BodyBoxboxBody4
MultiBody.Joints.SphericalSpherical3
MultiBody.Joints.SphericalSpherical4
MultiBody.Parts.BodyBoxboxBody5
MultiBody.Parts.BodyBoxboxBody6
MultiBody.Joints.SphericalSpherical5
MultiBody.Joints.SphericalSpherical6