SignForce
Constant force changing sign with speed
![]()
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

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_useSupport | useSupport | = true, if support flange enabled, otherwise implicitly grounded | Number | 0 |
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 | Modelica.Blocks.Types.Regularization.Exp | Number | 0 | |
mo_reg/choice2 | Modelica.Blocks.Types.Regularization.Sine | Number | 0 | |
mo_reg/choice3 | Modelica.Blocks.Types.Regularization.Linear | Number | 0 | |
mo_reg/choice4 | Modelica.Blocks.Types.Regularization.Cosine | Number | 0 | |
mo_v0 | v0 | Regularization below v0 | 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 | 's' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
flange | implicit | Flange of component | output | 1 |
Port 2 | implicit | Support/housing of component | input | mo_useSupport |