WOLFRAM SYSTEMMODELER

PointMass

Rigid body where body rotation and inertia tensor is neglected (6 potential states)

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Mechanics.MultiBody.Parts.PointMass"]
Out[1]:=

Information

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

Rigid body where the inertia tensor is neglected. This body is solely defined by its mass. By default, this component is visualized by a sphere that has its center at frame_a. Note, that the animation may be switched off via parameter animation = false.

Every PointMass has potential states. If possible a tool will select the states of joints and not the states of PointMass because this is usually the most efficient choice. In this case the position and velocity of frame_a of the body will be computed by the component that is connected to frame_a. However, if a PointMass is moving freely in space, variables of the PointMass have to be used as states. The potential states are: The position vector frame_a.r_0 from the origin of the world frame to the origin of frame_a of the body, resolved in the world frame and the absolute velocity v_0 of the origin of frame_a, resolved in the world frame (= der(frame_a.r_0)).

Whether or not variables of the body are used as states is usually automatically selected by the Modelica translator. If parameter enforceStates is set to true in the "Advanced" menu, then PointMass variables frame_a.r_0 and der(frame_a.r_0) are forced to be used as states.

Connectors (1)

frame_a

Type: Frame_a

Description: Coordinate system fixed at center of mass point

Parameters (3)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled (show sphere)

m

Value:

Type: Mass (kg)

Description: Mass of mass point

stateSelect

Value: StateSelect.avoid

Type: StateSelect

Description: Priority to use frame_a.r_0, v_0 (= der(frame_a.r_0)) as states

Components (2)

world

Type: World

Description:

sphere

Type: Shape

Description:

Used in Examples (1)

PointGravityWithPointMasses

Two point masses in a point gravity field (rotation of bodies is neglected)