SpringDamper

Input/output block of a spring/damper model

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

A linear 1D translational spring and damper in parallel with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange.

Parameters (3)

c

Value: 1e4

Type: TranslationalSpringConstant (N/m)

Description: Spring constant

d

Value: 1

Type: TranslationalDampingConstant (N·s/m)

Description: Damping constant

s_rel0

Value: 0

Type: Length (m)

Description: Unstretched spring length

Connectors (6)

s1

Type: RealInput

Description: Position of left flange of force element

v1

Type: RealInput

Description: Speed to left flange of force element

f1

Type: RealOutput

Description: Force generated by the force element

s2

Type: RealInput

Description: Position of right flange of force element

v2

Type: RealInput

Description: Speed to right flange of force element

f2

Type: RealOutput

Description: Force generated by the force element

Components (3)

positionToForce1

Type: GeneralPositionToForceAdaptor

springDamper

Type: SpringDamperNoRelativeStates

positionToForce2

Type: GeneralPositionToForceAdaptor

Used in Examples (1)

GenerationOfFMUs

Modelica.Mechanics.Translational.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)