VariableSpring
1D rotational spring with variable stiffness
Library
ModelicaExtras/Mechanics/Rotational
Description
A linear 1D rotational spring. The component can be connected either between two inertias/gears to describe the shaft elasticity, or between a inertia/gear and the housing (component Fixed), to describe a coupling of the element with the housing via a spring.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_phi_rel | phi_rel | phi_rel | Structure | |
mo_phi_rel/fixed | fixed | Cell of scalars | true | |
mo_phi_rel/start | start | Cell of scalars | ||
mo_phi_rel0 | phi_rel0 | Unstretched spring angle | 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 | 'tau' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
c | implicit | Variable spring constant | input | 1 |
flange_a | implicit | Left flange of compliant 1-dim. rotational component | input | 2 |
flange_b | implicit | Right flange of compliant 1-dim. rotational component | output | 1 |