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_phi

phi

phi

Structure

mo_phi/fixed

fixed

Cell of scalars

true
false

mo_phi/start

start

Cell of scalars

mo_w

w

w

Structure

mo_w/fixed

fixed

Cell of scalars

true
false

mo_w/start

start

Cell of scalars

mo_tau

tau

tau

Structure

mo_tau/fixed

fixed

Cell of scalars

true
false

mo_tau/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

flange

implicit

Flange of shaft

output

1

Port 2

implicit

Support/housing of component

input

mo_useSupport