modelSpringDamperNoRelativeStates
Extends from Modelica.Mechanics.Translational.Interfaces.PartialCompliant (Compliant connection of two translational 1D flanges), 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 masses to describe the joint elasticity and damping, or between a mass and the housing (component Fixed), to describe a coupling of the element with the housing via a spring/damper.
This is the same element as Translational.Components.SpringDamper but with the only difference, that the relative quantities are not used as states. If the relative states are potentially used as states, "a_rel = der(v_rel)" is present, and then exporting this model as FMU requires to also have the accelerations in the flanges as inputs, which is usually not desired for a force element.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.TranslationalSpringConstant | c | Spring constant | |
| SI.TranslationalDampingConstant | d | Damping constant | |
| SI.Length | s_rel0 | 0 | Unstretched spring length |
| Boolean | useHeatPort (from PartialElementaryConditionalHeatPortWithoutT) | false | = true, if heatPort is enabled |
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.Velocity | v_rel | Relative velocity (= der(s_rel)) | |
| SI.Position | s_rel (from PartialCompliant) | Relative distance (= flange_b.s - flange_a.s) | |
| SI.Force | f (from PartialCompliant) | Force between flanges (positive in direction of flange axis R) | |
| SI.Power | lossPower (from PartialElementaryConditionalHeatPortWithoutT) | Loss power leaving component via heatPort (> 0, if heat is flowing out of component) |