modelPLink

Prismatic Link

Extends from Modelica.Mechanics.MultiBody.Interfaces.PartialTwoFrames (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected), Servomechanisms.Utilities.IconName.

Information

General

This is the model of a prismatic link.

Implementation

Using the component Link and Prismatic Joint . The revolute joint uses:

useAxisFlange = true
to enable the mechanical translational interface (for example a force source).

Notes

  • The user can modify parameters of the link.
  • A fixed frame is added to visualize the frame_b of the link (although it can be placed in other location in the parameters).
  • For some reason, in the diagraman view the connections with frame_a and frame_b are not visible.
  • To use this element it is necessary to include a World component.

Example

PP

Parameters

TypeNameDefaultDescription
Stringshape"box"shape of visualizer:"shape", "box", "cylinder"
Modelica.Mechanics.MultiBody.Types.Axisn{0, 0, 1}Axis of rotation resolved in frame_a (= same as in frame_b)
if shape
SI.Position[3]rVector from frame_a to frame_b resolved in frame_a
SI.Position[3]r_CMVector from frame_a to center of mass, resolved in frame_a
SI.MassmMass of rigid body
SI.LengthshapeLength1
SI.DistanceshapeWidthboxLength/20
SI.DistanceshapeHeightboxWidth
StringshapeType"modelica://Servomechanisms//Resources//b2.dxf"Type of shape
Realextra1Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape)
if shape › Inertia tensor (resolved in center of mass, parallel to frame_a)
SI.InertiaI_110.001(1,1) element of inertia tensor
SI.InertiaI_220.001(2,2) element of inertia tensor
SI.InertiaI_330.001(3,3) element of inertia tensor
SI.InertiaI_210(2,1) element of inertia tensor
SI.InertiaI_310(3,1) element of inertia tensor
SI.InertiaI_320(3,2) element of inertia tensor
if box
SI.LengthboxLength1
SI.DistanceboxWidthboxLength/20
SI.DistanceboxHeightboxWidth
if cylinder
SI.LengthcylinderLength1
SI.DistancecylinderDiametercylinderLength/20
Parameters only for cylinder and box
SI.Densitydensity7700Density of link (e.g., steel: 7700 .. 7900, wood : 400 .. 800)
Frames
RealframeFactor0.1ratio of frame respect world origin frame
SI.Position[3]rFrame{0, 0, 0}

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialTwoFrames)Coordinate system a fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialTwoFrames)Coordinate system b fixed to the component with one cut-force and cut-torque
Modelica.Mechanics.Translational.Interfaces.Flange_aflange_a

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Joints.Prismaticprismatic1
Modelica.Mechanics.MultiBody.Visualizers.FixedFrameorigin
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedrotation1
Modelica.Mechanics.MultiBody.Visualizers.FixedFramefixedframe1
Modelica.Mechanics.MultiBody.Parts.FixedTranslationfixedtranslation1