Damper
Linear (velocity dependent) damper
Library
PlanarMechanics/Parts
Description
This component is a linear damper, which acts as a line force betweenframe_a
and frame_b
(i.e. point-to-point). A force f isexerted on the origin of frame_b
and with opposite sign on the originof frame_a
along the line from the origin of frame_a
tothe origin of frame_b
according to the equation:
f = d*der(s);
where d
is the damping constant, s
is the distance betweenthe origin of frame_a
and origin of frame_b
, andder(s)
is the time derivative of s
.
In the following figure a typical animation is shown where a mass is hangingon a damper.

Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_animate | animate | Enable animation | Scalar | true |
mo_useHeatPort | useHeatPort | = true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar | |
mo_d | d | Damping constant | Scalar | |
mo_TheatPort | TheatPort | TheatPort | Structure | |
mo_TheatPort/fixed | fixed | Cell of scalars | true | |
mo_TheatPort/start | start | Cell of scalars | ||
mo_r0 | r0 | r0 | Structure | |
mo_r0/fixed | fixed | Cell of vectors of size 2 | true | |
mo_r0/start | start | Cell of vectors of size 2 | ||
mo_vx | vx | vx | Structure | |
mo_vx/fixed | fixed | Cell of scalars | true | |
mo_vx/start | start | Cell of scalars | ||
mo_vy | vy | vy | Structure | |
mo_vy/fixed | fixed | Cell of scalars | true | |
mo_vy/start | start | Cell of scalars |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_zPosition | zPosition | Position z of cylinder representing the fixed translation | Scalar | |
mo_specularCoefficient | specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) | Scalar | |
mo_animateConnectors | animateConnectors | =true, if connectors a and b should be animated as cylinders | Scalar | true |
mo_diameterConnector_a | diameterConnector_a | Diameter of connector at frame_a | Scalar | |
mo_diameterConnector_b | diameterConnector_b | Diameter of connector at frame_b | Scalar | |
mo_colorConnector_a | colorConnector_a | Color of connector at frame_a | Vector of size 3 | |
mo_colorConnector_b | colorConnector_b | Color of connector at frame_a | Vector of size 3 | |
mo_length_a | length_a | Length of cylinder at frame_a side | Scalar | |
mo_diameter_a | diameter_a | Diameter of cylinder at frame_a side | Scalar | |
mo_diameter_b | diameter_b | Diameter of cylinder at frame_b side | Scalar | |
mo_color_a | color_a | Color of cylinder at frame_a side | Vector of size 3 | |
mo_color_b | color_b | Color of cylinder at frame_b side | Vector of size 3 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_stateSelect | stateSelect | Priority to use phi and w as states | Structure | |
mo_stateSelect/choice1 | StateSelect.never | Number | 0 | |
mo_stateSelect/choice2 | StateSelect.avoid | Number | 0 | |
mo_stateSelect/choice3 | StateSelect.default | Number | 0 | |
mo_stateSelect/choice4 | StateSelect.prefer | Number | 0 | |
mo_stateSelect/choice5 | StateSelect.always | Number | 0 | |
mo_s_small | s_small | Prevent zero-division by regularization if distance between frame_a and frame_b is zero | Scalar | |
mo_enableAssert | enableAssert | Cause an assert when the distance between frame_a and frame_b < s_small | Scalar | true |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'lossPower' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_a | implicit | Coordinate system fixed to the component with one cut-force and cut-torque | input | 1 |
frame_b | implicit | Coordinate system fixed to the component with one cut-force and cut-torque | input | 2 |
Port 3 | implicit | Optional port to which dissipated losses are transported in form of heat | input | mo_useHeatPort |