question

Guilherme G9 avatar image
0 Likes"
Guilherme G9 asked Jeanette F answered

Is it possible to restrict empty on a specific item type in queue?

I'm looking to restrict the sequence of my processflow to check if a queue is empty for a specific item type or if the items inside are different then the specific type. I have tried event triggered source and conditional decide using comparisons but it seems like i can't localize the item type in the queue. When i tried the conditional decide it appears the error Label does not exist.

In my model, what im trying to do is only move item type 1 from buffer 4 to 6 if buffer 6 and Ready is empty for that item type 1 and similar to buffer 4 to 7 if buffer 7 and Ready is empty for that type 3.

PFC_final.fsm

FlexSim 22.1.2
processflowrestriction
pfc-final.fsm (87.5 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

·
Jeanette F avatar image
0 Likes"
Jeanette F answered

Hello @Guilherme G9,

I created a list that buffer 6 and 7 push the item onto when the item enters the queue. the Ready queue pulls the item from the list when the item exits the ready queue. The items are placed into partitions in the list, so the wait for events in your process flow check to see if these partitions are empty.

pfc-final_JF.fsm


pfc-final-jf.fsm (84.9 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.

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.