VariableSpring

1D rotational spring with variable stiffness

    VariableSpring

Library

ModelicaExtras/Mechanics/Rotational

Description

A linear 1D rotational spring. The component can be connected either between two inertias/gears to describe the shaft elasticity, or between a inertia/gear and the housing (component Fixed), to describe a coupling of the element with the housing via a spring.

Parameters

VariableSpring_0

NameLabelDescriptionData TypeValid Values

mo_phi_rel

phi_rel

phi_rel

Structure

mo_phi_rel/fixed

fixed

Cell of scalars

true
false

mo_phi_rel/start

start

Cell of scalars

mo_phi_rel0

phi_rel0

Unstretched spring angle

Scalar

VariableSpring_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'tau'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

c

implicit

Variable spring constant

input

1

flange_a

implicit

Left flange of compliant 1-dim. rotational component

input

2

flange_b

implicit

Right flange of compliant 1-dim. rotational component

output

1

See Also