modelSpringDamper
Linear 1D translational spring and damper in parallel
Extends from 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), Modelica.Thermal.HeatTransfer.Interfaces.PartialElementaryConditionalHeatPortWithoutT (Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models).
Information
A spring and damper element connected in parallel. The component can be connected either between two sliding masses to describe the elasticity and damping, or between a sliding mass and the housing (model Fixed), to describe a coupling of the sliding mass with the housing via a spring/damper.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.TranslationalSpringConstant | c | Spring constant | |
| SI.TranslationalDampingConstant | d | Damping constant | |
| SI.Position | s_rel0 | 0 | Unstretched spring length |
| Boolean | useHeatPort (from PartialElementaryConditionalHeatPortWithoutT) | false | = true, if heatPort is enabled |
| 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) | |
| HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialElementaryConditionalHeatPortWithoutT) | Optional port to which dissipated losses are transported in form of heat |
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) | |
| SI.Power | lossPower (from PartialElementaryConditionalHeatPortWithoutT) | Loss power leaving component via heatPort (> 0, if heat is flowing out of component) |