The models in the 2DSmallRotation library have two types of connection ports: 1D and 2D. The 1D ports can represent movement and force (x- or y-direction) or an angular displacement and torque.
![]()
The models of the standard translation and rotation libraries can be used connect to these 1D ports as is shown in the picture below.

The 2D connection port is a vector that represents three degrees of freedom. The vector notation that is used in 20-sim is:
d.o.f. |
identity |
forces |
velocities |
x |
position |
P.F[1] [N] |
P.v[1] [m/s] |
y |
position |
P.F[2] [N] |
P.v[2] [m/s] |
q |
angle |
P.F[3] [Nm] |
P.v[3] [rad/s] |
In 20-sim it is not possible to use vector ports with mixed units. This means that element number 3 will be always be displayed with the units [m/s] and [N] although it should be interpreted as [rad/s] and [Nm].
To connect 2D ports, only other models with 2D ports can be used. A double line indicates this vector connection.




