question

Thomas James M avatar image
0 Likes"
Thomas James M asked Jeanette F commented

Single conveyor with custom stopping points

Hello,

I have set up a model which sends flow-items to processor 1,2 and 3 by a conveyor depending on wether or not they are free. When the processor is finished, it returns the flow item to the same conveyor and it flows downstream. The challenge I face is trying to get the conveyor to behave such that a flow item (processed or unprocessed) needs to stop at specific locations on the conveyor and not accumulate in between these stopping points (i.e. only one unit can wait in between processors on the conveyor).

It seems like this should be an easy fix but I can't seem to make it work by changing the conveyor behaviour/accumilating settings..etc. Any help/guidance here would be great.

Screenshot 2024-05-12 at 13.16.58.pngMultiple stations in opperating in series.fsm

FlexSim 22.2.0
using conveyors
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Thomas James M, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Thomas James M, a simple solution would be to increase the amount of each colored box allowed in the conveyor system. For example, in your Stop Item code, you could change the conditional to allow up to 2 boxes:

variable1 == 2 && variable2 == 2 && variable3 == 2

And then check for that condition in the code snippet that colors the boxes:

if(variable1 < 2){
  variable1++;
  ...
}
else if...

However, with this solution, you will run into favoritism towards red boxes in the system considering they're the first box and may hold up other types of boxes waiting to get to their destinations.

boxeswithstop.gif


boxeswithstop.gif (5.5 MiB)
5 |100000

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