modelTensionSpring1D
Linear 1D translational spring that only exerts force when in tension
Extends from Modelica.Mechanics.Translational.Interfaces.PartialCompliantWithRelativeStates (Base model for the compliant connection of two translational 1-dim. shaft flanges where the relative position and relative velocities are used as states).
Information
Attribution Notice
This model is an extension of the Spring block in the Mechanics.Translation.Components package
of the Modelica Standard Library
Copyright © 1998-2016, Modelica Association and DLR.
Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.TranslationalSpringConstant | c | Tension spring constant | |
| SI.Position | s_rel0 | 0 | Unstretched spring length |
| SI.TranslationalDampingConstant | d | 0 | Damping constant |
| Boolean | use_events | true | =true, if an event should be used to find changes in tension state |
| Advanced | |||
| StateSelect | stateSelect (from PartialCompliantWithRelativeStates) | StateSelect.prefer | Priority to use s_rel and v_rel as states |
| SI.Distance | s_nominal (from PartialCompliantWithRelativeStates) | 1e-4 | Nominal value of s_rel (used for scaling) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Flange_a | flange_a (from PartialTwoFlanges) | (left) driving flange (flange axis directed into cut plane, e. g. from left to right) | |
| Flange_b | flange_b (from PartialTwoFlanges) | (right) driven flange (flange axis directed out of cut plane) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position | s_rel (from PartialCompliantWithRelativeStates) | Relative distance (= flange_b.s - flange_a.s) | |
| SI.Velocity | v_rel (from PartialCompliantWithRelativeStates) | Relative velocity (= der(s_rel)) | |
| SI.Force | f (from PartialCompliantWithRelativeStates) | Forces between flanges (= flange_b.f) |