Mass

Sliding mass with inertia

 Description The Mass component models a fixed mass with two rigidly connected translational flanges. The mass is centered between the flanges.
 Equations $ma={f}_{a}+{f}_{b}$ $a=\stackrel{.}{v}$ $v=\stackrel{.}{s}$ ${s}_{a}=s-\frac{1}{2}L$ ${s}_{b}=s+\frac{1}{2}L$

Variables

 Name Units Description Modelica ID $s$ $m$ Absolute position of center of component s ${s}_{x}$ $m$ Absolute position of flange $x,x\in \left\{a,b\right\}$ flange_x.s $v$ $\frac{m}{s}$ Absolute velocity of component v $a$ $\frac{m}{{s}^{2}}$ Absolute acceleration of component a

Connections

 Name Description Modelica ID ${\mathrm{flange}}_{a}$ Left flange of translational component flange_a ${\mathrm{flange}}_{b}$ Right flange of translational component flange_b

Parameters

General Parameters

 Name Default Units Description Modelica ID $m$ $1$ $\mathrm{kg}$ Mass of the sliding mass m $L$ $0$ $m$ Length of component from left flange to right flange L

 Name Default Units Description Modelica ID $\mathrm{default}$ Prioritize $s$ and $v$ as states stateSelect