WOLFRAM SYSTEM MODELER

Ball

Ball that rolls on the beam

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.Physics.BallAndBeam.Components.Ball"]
Out[1]:=

Information

 

Ball

 

Description

Model for the ball that rolls along the beam. Contains multibody visualizers that display the translational position of the ball as well as the rotation. Uses GravitationalPull to calculate the longitudal force and contains constraints that stops the ball at the edge of the beam.

 

Parameters (3)

L

Value: 0.275

Type: Length (m)

Description: Beam length

m

Value: 0.01

Type: Mass (kg)

Description: Ball mass

r

Value: 0.02

Type: Length (m)

Description: Ball radius

Connectors (4)

x

Type: RealOutput

theta

Type: RealInput

frame_a

Type: Frame_a

v

Type: RealOutput

Components (7)

constraints

Type: MassWithStopAndFriction

prismatic

Type: Prismatic

ballBody

Type: Body

positionSensor

Type: PositionSensor

rollingBall

Type: GravitationalPull

fixedTranslation

Type: FixedTranslation

speedSensor

Type: SpeedSensor

Used in Components (1)

BallAndBeamModel

EducationExamples.Physics.BallAndBeam.Components

Ball, beam and base assembly