modelPointMass

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

Information

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.

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled (show sphere)
SI.MassmMass of mass point
Advanced
StateSelectstateSelectStateSelect.avoidPriority to use frame_a.r_0, v_0 (= der(frame_a.r_0)) as states

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_aCoordinate system fixed at center of mass point

Components

TypeNameDefaultDescription
SI.DiametersphereDiameterworld.defaultBodyDiameterDiameter of sphere
Types.ColorsphereColorModelica.Mechanics.MultiBody.Types.Defaults.BodyColorColor of sphere
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
SI.Position[3]r_0Position vector from origin of world frame to origin of frame_a, resolved in world frame
SI.Velocity[3]v_0Absolute velocity of frame_a, resolved in world frame (= der(r_0))
SI.Acceleration[3]a_0Absolute acceleration of frame_a resolved in world frame (= der(v_0))