SpringDamper

Linear 1D translational spring and damper in parallel

    SpringDamper

Library

Modelica/Mechanics/Translational/Components

Description

A spring and damper element connected in parallel. The component can be connected either between two sliding masses to describe the elasticity and damping, or between a sliding mass and the housing (model Fixed), to describe a coupling of the sliding mass with the housing via a spring/damper.

Parameters

SpringDamper_0

NameLabelDescriptionData TypeValid Values

mo_c

c

Spring constant

Scalar

mo_d

d

Damping constant

Scalar

mo_s_rel0

s_rel0

Unstretched spring length

Scalar

mo_useHeatPort

useHeatPort

=true, if heatPort is enabled

Number

0
1

SpringDamper_1

NameLabelDescriptionData TypeValid Values

mo_stateSelect

stateSelect

Priority to use s_rel and v_rel as states

Structure

mo_stateSelect/choice1

StateSelect.never

Number

0
1

mo_stateSelect/choice2

StateSelect.avoid

Number

0
1

mo_stateSelect/choice3

StateSelect.default

Number

0
1

mo_stateSelect/choice4

StateSelect.prefer

Number

0
1

mo_stateSelect/choice5

StateSelect.always

Number

0
1

mo_s_nominal

s_nominal

Nominal value of s_rel (used for scaling)

Scalar

SpringDamper_2

NameLabelDescriptionData TypeValid Values

mo_s_rel

s_rel

s_rel

Structure

mo_s_rel/fixed

fixed

Cell of scalars

true
false

mo_s_rel/start

start

Cell of scalars

mo_v_rel

v_rel

v_rel

Structure

mo_v_rel/fixed

fixed

Cell of scalars

true
false

mo_v_rel/start

start

Cell of scalars

mo_f

f

f

Structure

mo_f/fixed

fixed

Cell of scalars

true
false

mo_f/start

start

Cell of scalars

mo_lossPower

lossPower

lossPower

Structure

mo_lossPower/fixed

fixed

Cell of scalars

true
false

mo_lossPower/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

flange_a

implicit

Left flange of compliant 1-dim. translational component

input

1

flange_b

implicit

Right flange of compliant 1-dim. translational component

output

1

Port 3

implicit

Optional port to which dissipated losses are transported in form of heat

input

mo_useHeatPort