Distance $—$ Rod without inertia

This is a model of a rod without inertia and two rigidly connected flanges.

 Equations $0=\mathrm{flange_a.f}+\mathrm{flange_b.f}$ $f=\mathrm{switch}\mathrm{flange_a.f}$ ${s}_{\mathrm{rel}}=L$ ${s}_{\mathrm{rel}}=\mathrm{switch}\left(\mathrm{flange_b.s}-\mathrm{flange_a.s}\right)$

Variables

 Name Value Units Description Modelica ID ${s}_{\mathrm{rel}}$ $m$ s_rel $f$ $N$ f

Connections

 Name Description Modelica ID ${\mathrm{flange}}_{a}$ flange_a ${\mathrm{flange}}_{b}$ flange_b

Parameters

 Name Default Units Description Modelica ID $\mathrm{reverse}$ $\mathrm{false}$ Reverse the sign convention, see documentation for details reverse $L$ $1$ $m$ Length L