question

ShabDz avatar image
0 Likes"
ShabDz asked Jeff Nordgren answered

Issue with pull strategy at separator

Hi, in the attached model, the Queue7 should send batch of boxes (batch size=2) to the separators in a round robin fashion (first separator&2, then separator 3&4, etc.). However, the separators can accept boxes only when their following queue is empty.

I tried to implement this logic as a Pull Strategy in the separators by the following code:

However, after one round of operation the separators stop accepting boxes. I would appreciate any help.Thanks

issue-with-pull-strategy-at-separator.fsm

FlexSim 17.0.13
separatorpull strategyobject status
· 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.

David Seo avatar image David Seo commented ·

@Amir About

You should set the input port number to the return value. Your return value is 1 and the input port 1 is Queue7. But in the case of return value 2 is what? The input port 2 is nothing.

0 Likes 0 ·

1 Answer

·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered

@Amir About

Attached is your model with the changes that I've made to it.

Basically, here is how it works. If the two queues after the pair of separators BOTH have less than or 6 flowitems in them, then I open the input ports of the matching Separators. And the input port of the Separators are closed when the last flowitem (from the batch) exits the Separator. By doing this, both Separators of the same pair, request flowitems at the same time so the transporter will deliver its batch of 2 to those Separators.

Look at the model and see if this is what you had in mind. If not, please explain what needs to be changed.

Thanks.

issue-with-pull-strategy-at-separator-jn1.fsm


5 |100000

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

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.