question

Vaibhav R3 avatar image
0 Likes"
Vaibhav R3 asked Vaibhav R3 commented

Round-robin not working....

Please refer to the attached model. The robot stops handling of items from one of the processors after approx. 5 min (simulation time) . Can you please help? Thanks. Note: I am unable to upload model file for some reason. Since it is a simple model, I have attached a snapshot. Please bear with me. Thanks for understanding . forFlexsom.jpg

FlexSim 22.2.1
robot roundrobin
forflexsom.jpg (981.3 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Vaibhav R3 avatar image Vaibhav R3 commented ·
For the above question, please make 10 as the size of the queue and 20 as the cycle time for the separator..other values are at default....forgot to mention this earlier...sorry about that...
0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Vaibhav R3 commented

With a cycle time or 20s the separator is the clear bottleneck in your model. What is likely happening is that each time the separator finishes, another item is ready at both of the processors. Since the input ports are evaluated in order of their rank, the item waiting on the processor that connects to the first separator input will always be chosen.

If you want to enforce that the input should alternate, use the "Pull" option in the separator and choose "Round Robin" or "Round Robin if Available" as the pull strategy.

1661320857387.png


1661320857387.png (12.7 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Vaibhav R3 avatar image Vaibhav R3 commented ·
Thanks a lot for the above answer. A quick qustion (just for my consumption): Do the Pull rules (of the pulling object) override the Push rules (of the pushing object)? Thanks.
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Vaibhav R3 commented ·

No, an object can only pull items that were send to its respective port by the upstream-object's "Send to Port" option.

As an example, if two processors are set to pull anything but the queue in front only sends items to the first, the second processor will not the able to pull anything.

1661343459505.png

1661343490804.png

0 Likes 0 ·
1661343459505.png (47.9 KiB)
1661343490804.png (3.3 KiB)
Vaibhav R3 avatar image Vaibhav R3 commented ·

Thanks a lot Felix ...

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.