BasicTorque
Torque acting between two frames, defined by 3 input signals
Library
Modelica/Mechanics/MultiBody/Forces/Internal
Description
The 3 signals of the torque connector are interpreted as the x-, y- and z-coordinates of a torque acting at the frame connector to which frame_b of this component is attached. Via parameter resolveInFrame it is defined, in which frame these coordinates shall be resolved:
Types.ResolveInFrameAB. | Meaning |
---|---|
world | Resolve input torque in world frame |
frame_a | Resolve input torque in frame_a |
frame_b | Resolve input torque in frame_b (= default) |
frame_resolve | Resolve input torque in frame_resolve (frame_resolve must be connected) |
If resolveInFrame = ResolveInFrameAB.frame_resolve, the torque coordinates are with respect to the frame, that is connected to frame_resolve.
If resolveInFrame is not ResolveInFrameAB.frame_resolve, then the position vector and the orientation object of frame_resolve must be set to constant values from the outside in order that the model remains balanced (these constant values are ignored).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_resolveInFrame | resolveInFrame | Frame in which torque is resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve) | Structure | |
mo_resolveInFrame/choice1 | Resolve in world frame | Number | 0 | |
mo_resolveInFrame/choice2 | Resolve in frame_a | Number | 0 | |
mo_resolveInFrame/choice3 | Resolve in frame_b | Number | 0 | |
mo_resolveInFrame/choice4 | Resolve in frame_resolve (frame_resolve must be connected) | Number | 0 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_torque | torque | torque | Structure | |
mo_torque/fixed | fixed | Cell of vectors of size 3 | true | |
mo_torque/start | start | Cell of vectors of size 3 | ||
mo_r_0 | r_0 | r_0 | Structure | |
mo_r_0/fixed | fixed | Cell of vectors of size 3 | true | |
mo_r_0/start | start | Cell of vectors of size 3 | ||
mo_t_b_0 | t_b_0 | t_b_0 | Structure | |
mo_t_b_0/fixed | fixed | Cell of vectors of size 3 | true | |
mo_t_b_0/start | start | Cell of vectors of size 3 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_a | implicit | Coordinate system a fixed to the component with one cut-force and cut-torque | input | 1 |
frame_b | implicit | Coordinate system b fixed to the component with one cut-force and cut-torque | output | 1 |
frame_resolve | implicit | The input signals are optionally resolved in this frame | output | 2 |
torque | implicit | x-, y-, z-coordinates of torque resolved in frame defined by resolveInFrame | input | 2 |