question

Student-WIzard avatar image
0 Likes"
Student-WIzard asked Felix Möhlmann commented

Can you delay a source until the previous item is already in a sink?

I have a model which has a operator bringing boxes from different queues to 1 processor. I have all my queues with a max limit of 1 but i don't want them filled until the item that was there is fully processed and brought to the correct sink. Is there a way to set a trigger on the source that accomplishes this?

FlexSim 25.1.1
delay sources
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

You can close the input of the queue after an item enters. In the On Entry trigger of the sink the input of the queue is then opened again. To know which queue's input to open it makes sense to write a reference to the queue to a label on the item.

input-management.fsm


· 2
5 |100000

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

Thank you Felix, I checked out your suggestion and i was able to follow the logic well, However i want to upscale this process to have 3 sources sending to 12 queues at random, when i tried to replicate your process 2 of my sources would stop being able to send packages where as the first one stayed working. Also even though there were open queues, my sources refused to send boxes there. Would a different approach need to be made for multiple sources?
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Student-WIzard commented ·

I don't see an issue when I try the same system with more sources and queues. I would need to see your model to check what's going wrong.

input-management-2.fsm

0 Likes 0 ·