SignTorque

Constant torque changing sign with speed

    SignTorque

Library

Modelica/Mechanics/Rotational/Sources

Description

Model of constant torque which changes sign with direction of rotation.

Please note:
Positive torque accelerates in both directions of rotation.
Negative torque brakes in both directions of rotation.

Around zero speed regularization avoids numerical problems.

Parameters

SignTorque_0

NameLabelDescriptionData TypeValid Values

mo_useSupport

useSupport

= true, if support flange enabled, otherwise implicitly grounded

Number

0
1

mo_tau_constant

tau_constant

Constant torque (if negative, torque 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_w0

w0

Regularization below w0

Scalar

SignTorque_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

'phi_support'
'phi'
'w'
'tau'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

flange

implicit

Flange of shaft

output

1

Port 2

implicit

Support/housing of component

input

mo_useSupport