SignTorque
Constant torque changing sign with speed
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_useSupport | useSupport | = true, if support flange enabled, otherwise implicitly grounded | Number | 0 |
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 | |
mo_reg/choice2 | Sinusoidal regularization (smooth 1st derivative) | Number | 0 | |
mo_reg/choice3 | Linear regularization | Number | 0 | |
mo_reg/choice4 | Cosine regularization | Number | 0 | |
mo_w0 | w0 | Regularization below w0 | Scalar |
Name | Label | Description | Data Type | Valid 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' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
flange | implicit | Flange of shaft | output | 1 |
Port 2 | implicit | Support/housing of component | input | mo_useSupport |