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

TypeNameDefaultDescription
SI.TranslationalSpringConstantcSpring constant
SI.TranslationalDampingConstantdDamping constant
SI.Positions_rel00Unstretched spring length
BooleanuseHeatPort (from PartialElementaryConditionalHeatPortWithoutT)false= true, if heatPort is enabled
Advanced
StateSelectstateSelect (from PartialCompliantWithRelativeStates)StateSelect.preferPriority to use s_rel and v_rel as states
SI.Distances_nominal (from PartialCompliantWithRelativeStates)1e-4Nominal value of s_rel (used for scaling)

Connectors

TypeNameDefaultDescription
Flange_aflange_a (from PartialTwoFlanges)(left) driving flange (flange axis directed into cut plane, e. g. from left to right)
Flange_bflange_b (from PartialTwoFlanges)(right) driven flange (flange axis directed out of cut plane)
HeatTransfer.Interfaces.HeatPort_aheatPort (from PartialElementaryConditionalHeatPortWithoutT)Optional port to which dissipated losses are transported in form of heat

Components

TypeNameDefaultDescription
SI.Positions_rel (from PartialCompliantWithRelativeStates)Relative distance (= flange_b.s - flange_a.s)
SI.Velocityv_rel (from PartialCompliantWithRelativeStates)Relative velocity (= der(s_rel))
SI.Forcef (from PartialCompliantWithRelativeStates)Forces between flanges (= flange_b.f)
SI.PowerlossPower (from PartialElementaryConditionalHeatPortWithoutT)Loss power leaving component via heatPort (> 0, if heat is flowing out of component)