VariableSpring
1D translational spring with variable stiffness
Library
ModelicaExtras/Mechanics/Translational
Description
A linear 1D translational spring. The component can be connected either between two sliding masses, or between a sliding mass and the housing (model Fixed), to describe a coupling of the sliding mass with the housing via a spring.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_s_rel0 | s_rel0 | Unstretched spring length | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_c | c | c | Structure | |
mo_c/fixed | fixed | Cell of scalars | true | |
mo_c/start | start | Cell of scalars | ||
mo_s_rel | s_rel | s_rel | Structure | |
mo_s_rel/fixed | fixed | Cell of scalars | true | |
mo_s_rel/start | start | Cell of scalars | ||
mo_f | f | f | Structure | |
mo_f/fixed | fixed | Cell of scalars | true | |
mo_f/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
c | implicit | Variable spring constant | input | 1 |
flange_a | implicit | Left flange of compliant 1-dim. translational component | input | 2 |
flange_b | implicit | Right flange of compliant 1-dim. translational component | output | 1 |