Spring
Linear 1D translational spring
Library
Modelica/Mechanics/Translational/Components
Description
A linear 1D translational spring. The component can be connected eitherbetween two sliding masses, or betweena sliding mass and the housing (model Fixed), to describea coupling of the sliding mass with the housing via a spring.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
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_c | c | Spring constant | Scalar | |
mo_s_rel0 | s_rel0 | Unstretched spring length | Scalar |
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 | 'f' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
flange_a | implicit | Left flange of compliant 1-dim. translational component | input | 1 |
flange_b | implicit | Right flange of compliant 1-dim. translational component | output | 1 |