question

Adrian M avatar image
0 Likes"
Adrian M asked Adrian M commented

Queue Stuck in the Releasing State

Hello,


It looks like Queue10a is stuck in the releasing state because at first the condition I have set in the Send to Port was false. Eventually the condition does become true, but Queue10a does not want to release the item to its designated output port. I'm guessing it's because Queue10a needs to recheck the condition for the particular item, but I'm not sure how to execute.


I have tried using ProcessFlow (EventTriggeredSource, Decide with the same condition, Move Object, Sink) and it works as intended, but the problem with this is the timing since I have other Objects with the same condition to send to port if the condition is met. When I have multiple objects checking the condition where they will send the item to designated port because for a second the condition is met. The Variable ends up with a value of -1 since two items were inputted into the system when there was only space for 1.

1718921033220.png

I guess what I'm wondering is how can I get the items in Queue10a to move by rechecking the condition for that particular item. I hope this makes sense.


Software Version = 23.0.2

Thank you,

FlexSim 23.0.15
stateslogicconditional port
1718921033220.png (152.7 KiB)
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

Paula LG avatar image
0 Likes"
Paula LG answered Adrian M commented

Hi Adrian,

Have you tried using a zone with max content one? The structure should be very similar: EventTriggeredSource, Enter Zone, Decide with the same condition, Move Object, Exit Zone, Sink. This way, you make sure that there's only one item at a time evaluating if it can enter the next object and the rest of them will enter the decide activity once this first one has already left, returning false and not exiting.

I hope it helps!

· 7
5 |100000

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