modelPendulumWithSpringDamper
Simple spring/damper/mass system
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
A body is attached on a revolute and prismatic joint. A 3-dim. spring and a 3-dim. damper are connected between the body and a point fixed in the world frame:

Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | animation | true | = true, if animation shall be enabled |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.World | world | ||
| Modelica.Mechanics.MultiBody.Parts.Body | body1 | ||
| Modelica.Mechanics.MultiBody.Parts.FixedTranslation | bar1 | ||
| Modelica.Mechanics.MultiBody.Forces.Spring | spring1 | ||
| Modelica.Mechanics.MultiBody.Forces.Damper | damper1 | ||
| Modelica.Mechanics.MultiBody.Joints.Revolute | revolute | ||
| Modelica.Mechanics.MultiBody.Joints.Prismatic | prismatic |