SignForce

Constant force changing sign with speed

    SignForce

Library

Modelica/Mechanics/Translational/Sources

Description

Model of constant force which changes sign with direction of movement.

Please note:
Positive force accelerates in both directions of movement.
Negative force brakes in both directions of movement.

Around zero speed regularization avoids numerical problems.

Parameters

SignForce_0

NameLabelDescriptionData TypeValid Values

mo_useSupport

useSupport

= true, if support flange enabled, otherwise implicitly grounded

Number

0
1

mo_f_nominal

f_nominal

Nominal force (if negative, force is acting as load)

Scalar

mo_reg

reg

Type of regularization

Structure

mo_reg/choice1

Exponential regularization (smooth)

Number

0
1

mo_reg/choice2

Sinusoidal regularization (smooth 1st derivative)

Number

0
1

mo_reg/choice3

Linear regularization

Number

0
1

mo_reg/choice4

Cosine regularization

Number

0
1

mo_v0

v0

Regularization below v0

Scalar

SignForce_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

's'
's_support'
'f'
'v'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

flange

implicit

Flange of component

output

1

Port 2

implicit

Support/housing of component

input

mo_useSupport

See Also