blockWorkspace2d

2d Workspace

Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block), Servomechanisms.Utilities.IconXY.

Information

General

With this component the workspace of planar 2 DOF mechanism can be obtain.

Implementation

This block generates a sweep between min1 and max1 values according to the step (paso1) for the output y[1]. For each step in y[1] a sweep fordwards and then backwards is generated for y[2] between min2 and max2 with paso2. In this way all the combinations for two variables are included.

Notes

Example

An example can be found in Servomechanisms.Examples.RRServomechanisms.RRWorkspace.

The outputs using default parameters are:

workspace2d.png

Parameters

TypeNameDefaultDescription
Integernout (from MO)1Number of outputs
Realmin10min of variable 1
Realmax1pi/2max of variable 1
Realmin2-pi/4min of variable 2
Realmax2pi/4max of variable 2
Realpaso1(max1 - min1)/50increment of variable 1
Realpaso2(max2 - min2)/50increment of variable 2
Realtiempo((2*(max2 - min2)/paso2 + 1)*(1 + (max1 - min1)/paso1))^(-1)for a duration of 1 sec leave the default value

Connectors

TypeNameDefaultDescription
RealOutput[nout]y (from MO)Connector of Real output signals

Components

TypeNameDefaultDescription
Booleandown