WOLFRAM SYSTEM MODELER

Pendulum

Demonstrating the use of BodyShape

Diagram

Wolfram Language

In[1]:=
SystemModel["DocumentationExamples.Tutorial.MultiBody.Pendulum"]
Out[1]:=

Information

This example is used in the tutorial Multibody Modeling.

The model may contain stylistic improvements compared to the model obtained by following the steps in the tutorial. Examples of stylistic improvements include the use of description strings, model plots, icons, and documentation.

Components (4)

world

Type: World

Description: World coordinate system + gravity field + default animation definition

revolute

Type: Revolute

Description: Revolute joint (1 rotational degree-of-freedom, 2 potential states, optional axis flange)

bodyCylinder

Type: BodyCylinder

Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states)

bodyShape

Type: BodyShape

Description: Rigid body with mass, inertia tensor, different shapes for animation, and two frame connectors (12 potential states)