modelSpringDamper
Extends from Modelica.Mechanics.Rotational.Interfaces.PartialCompliantWithRelativeStates (Partial model for the compliant connection of two rotational 1-dim. shaft flanges where the relative angle and speed are used as preferred 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 inertias/gears to describe the shaft elasticity and damping, or between an inertia/gear and the housing (component Fixed), to describe a coupling of the element with the housing via a spring/damper.
See also the discussion State Selection in the User's Guide of the Rotational library.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.RotationalSpringConstant | c | Spring constant | |
| SI.RotationalDampingConstant | d | Damping constant | |
| SI.Angle | phi_rel0 | 0 | Unstretched spring angle |
| Boolean | useHeatPort (from PartialElementaryConditionalHeatPortWithoutT) | false | = true, if heatPort is enabled |
| Advanced | |||
| SI.Angle | phi_nominal (from PartialCompliantWithRelativeStates) | 1e-4 | Nominal value of phi_rel (used for scaling) |
| StateSelect | stateSelect (from PartialCompliantWithRelativeStates) | StateSelect.prefer | Priority to use phi_rel and w_rel as states |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Flange_a | flange_a (from PartialCompliantWithRelativeStates) | Left flange of compliant 1-dim. rotational component | |
| Flange_b | flange_b (from PartialCompliantWithRelativeStates) | Right flange of compliant 1-dim. rotational component | |
| 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.Angle | phi_rel (from PartialCompliantWithRelativeStates) | Relative rotation angle (= flange_b.phi - flange_a.phi) | |
| SI.AngularVelocity | w_rel (from PartialCompliantWithRelativeStates) | Relative angular velocity (= der(phi_rel)) | |
| SI.AngularAcceleration | a_rel (from PartialCompliantWithRelativeStates) | Relative angular acceleration (= der(w_rel)) | |
| SI.Torque | tau (from PartialCompliantWithRelativeStates) | Torque between flanges (= flange_b.tau) | |
| SI.Power | lossPower (from PartialElementaryConditionalHeatPortWithoutT) | Loss power leaving component via heatPort (> 0, if heat is flowing out of component) |