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_phi | phi | phi | Structure | |
mo_phi/fixed | fixed | Cell of scalars | true | |
mo_phi/start | start | Cell of scalars | ||
mo_w | w | w | Structure | |
mo_w/fixed | fixed | Cell of scalars | true | |
mo_w/start | start | Cell of scalars | ||
mo_tau | tau | tau | Structure | |
mo_tau/fixed | fixed | Cell of scalars | true | |
mo_tau/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
flange | implicit | Flange of shaft | output | 1 |
Port 2 | implicit | Support/housing of component | input | mo_useSupport |