question

browna15 avatar image
0 Likes"
browna15 asked Julie Weller commented

Preventing Source from Generating Specific Flow Type Upon Trigger

In the scenario that I am trying to model, the source does not create a specific flow item once the queue for that flow item has reached capacity (8 units). Currently, the model will have the source continue to generate any of the possible flow items it can generate. In the figure below, the flow item that is blocking queue 8 should not have been generated to begin with.

1690909987847.png

Model:TestModelQueue.fsm


Thank you for the consideration!

FlexSim 17.1.6
sourcegenerationmax queue
1690909987847.png (730.8 KiB)
testmodelqueue.fsm (108.0 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.

1 Answer

Julie Weller avatar image
0 Likes"
Julie Weller answered Julie Weller commented

Hey @browna15! You could do something like this in process flow to implement that:

1690912449988.png

The inter-arrival source would be the same as your original sources. then the wait for event would have something like this:

1690912276530.png

The max wait timer and the label it sets are important because it allows you to maintain the inter-arrival time. The label that is set is what you will use in the decide to determine if it goes to the sink (if the label is on the token), otherwise it should create an item probably on the entry transfer that you want and probably set a type label on the item (you will probably need to mess with that a little). Let me know if you have any follow up questions!


1690912276530.png (55.4 KiB)
1690912449988.png (20.5 KiB)
· 11
5 |100000

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