question

poopatel avatar image
0 Likes"
poopatel asked poopatel commented

Stop pull condition if downstream content is full

1709061770868.png

In the model Processor 1, 5, 6 are pulling parts from a list. What I want to do is stop the pull condition if Queue 5, 6, 7 are full (max content) respectively. I tried using triggers but while its closing and opening the ports its not stopping the pull condition by processor. I don't want a part to be waiting on processor.

FlexSim 23.0.0
conditional decidepullpull from list based on condition
1709061770868.png (141.4 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @poopatel,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

If your model contains sensitive information, you could first toggle your post as private using the "make private" option under your question's "gear" menu. Private questions are visible only to site moderators. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
poopatel avatar image poopatel Jeanette F ♦♦ commented ·

Sorry i forgot to post the model


example_dummy.fsm

0 Likes 0 ·
example-dummy.fsm (31.4 KiB)

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered poopatel commented

Hello @poopatel

I added a condition on the pull from list that checks the queue content is below its max content.


1709065834924.png

When this condition fails the processor will not pull from the list. The processor will need to be prompted when to pull items again. To accomplish this, I added a trigger to the last processor to tell the processor to receive an item.

example-dummy_1.fsm


1709065834924.png (33.4 KiB)
example-dummy-1.fsm (32.2 KiB)
· 5
5 |100000

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

poopatel avatar image poopatel commented ·

Thank you, it works!!!

Just one more query that I have is what if I am also pushing items in Queue 6 and 7 to a list and processor 2 and 3 will pull from that list will the logic still work ?? or do I need to change the location of trigger to tell the processor 5 and 6 to receive an item.

1709067312769.pngexample-dummy-1.fsm

0 Likes 0 ·
1709067312769.png (74.4 KiB)
Jeanette F avatar image Jeanette F ♦♦ poopatel commented ·
Your model did not attach can you try adding it again? I have an idea how to accomplish this
0 Likes 0 ·
poopatel avatar image poopatel Jeanette F ♦♦ commented ·
0 Likes 0 ·
example-dummy-1.fsm (33.0 KiB)
Show more comments