modelDamper
Extends from BaseClasses.TwoConnectorShapes (Partial base class containing two frames and cylinder shapes at these frames), Modelica.Thermal.HeatTransfer.Interfaces.PartialElementaryConditionalHeatPort (Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models).
Information
This component is a linear damper, which acts as a line force between
frame_a and frame_b (i.e. point-to-point). A force f is
exerted on the origin of frame_b and with opposite sign on the origin
of frame_a along the line from the origin of frame_a to
the origin of frame_b according to the equation:
f = d*der(s);
where d is the damping constant, s is the distance between
the origin of frame_a and origin of frame_b, and
der(s) is the time derivative of s.
In the following figure a typical animation is shown where a mass is hanging on a damper.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from PartialElementaryConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from PartialElementaryConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| SI.TranslationalDampingConstant | d | 1 | Damping constant |
| Animation | |||
| Boolean | animate (from TwoConnectorShapes) | true | Enable animation |
| Animation › if animation = true | |||
| SI.Length | zPosition (from TwoConnectorShapes) | planarWorld.defaultZPosition | Position z of cylinder representing the fixed translation |
| Animation › Connectors (if animation = true) | |||
| Boolean | animateConnectors (from TwoConnectorShapes) | true | =true, if connectors a and b should be animated as cylinders |
| SI.Diameter | diameterConnector_a (from TwoConnectorShapes) | planarWorld.defaultJointWidth | Diameter of connector at frame_a |
| SI.Diameter | diameterConnector_b (from TwoConnectorShapes) | planarWorld.defaultJointWidth | Diameter of connector at frame_b |
| Advanced | |||
| StateSelect | stateSelect | StateSelect.default | Priority to use phi and w as states |
| SI.Position | s_small | 1.E-10 | Prevent zero-division by regularization if distance between frame_a and frame_b is zero |
| Boolean | enableAssert | false | Cause an assert when the distance between frame_a and frame_b < s_small |
| Animation › Damper cylinders (if animation = true) | |||
| SI.Length | length_a | planarWorld.defaultForceLength | Length of cylinder at frame_a side |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Frame_a | frame_a (from PartialTwoFrames) | Coordinate system fixed to the component with one cut-force and cut-torque | |
| Frame_b | frame_b (from PartialTwoFrames) | Coordinate system fixed to the component with one cut-force and cut-torque | |
| HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialElementaryConditionalHeatPort) | Optional port to which dissipated losses are transported in form of heat |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MB.Types.SpecularCoefficient | specularCoefficient (from TwoConnectorShapes) | planarWorld.defaultSpecularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
| MB.Types.Color | colorConnector_a (from TwoConnectorShapes) | Types.Defaults.RodColor | Color of connector at frame_a |
| MB.Types.Color | colorConnector_b (from TwoConnectorShapes) | Types.Defaults.RodColor | Color of connector at frame_a |
| SI.Power | lossPower (from PartialElementaryConditionalHeatPort) | Loss power leaving component via heatPort (> 0, if heat is flowing out of component) | |
| SI.Temperature | TheatPort (from PartialElementaryConditionalHeatPort) | Temperature of heatPort | |
| SI.Length | r0 | ||
| Real | d0 | ||
| SI.Velocity | vx | ||
| SI.Velocity | vy | ||
| SI.Velocity | v | ||
| SI.Force | f | ||
| SI.Diameter | diameter_a | planarWorld.defaultForceWidth | Diameter of cylinder at frame_a side |
| SI.Diameter | diameter_b | 0.6*diameter_a | Diameter of cylinder at frame_b side |
| MB.Types.Color | color_a | {0, 127, 255} | Color of cylinder at frame_a side |
| MB.Types.Color | color_b | {0, 64, 200} | Color of cylinder at frame_b side |
| SI.Distance | length | Distance between the origin of frame_a and the origin of frame_b |
Revisions
Developed 2010 at the DLR Institute of System Dynamics and Control