question

joey avatar image
0 Likes"
joey asked Braydn T commented

How do I set up item retrieval?

HI, How do I pull an item out of all 4 queues?

I want to pull the list from the queue 1,2,3,4 to QueueOut.

Pulling conditions.

-Frequency of pulling items from all 4 queues.

Item 1 is an exponential statistical distribution and Item 2 is a bernoulli statistical distribution.

-Volume of pulling items from all 4 queues of 2 items

Is it possible for me to determine the amount of pulling each time in a statistical distribution format? If possible, I want both items to be exponential statistical distributions. But if it is impossible, I want to determine the amount of pulling each time, ie item 1, pulling 10 times and item 2, pulling 5 times.

all-transporter.fsm

Thanks.

FlexSim 19.0.2
queuepullstatistical distribution
all-transporter.fsm (55.1 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

Braydn T avatar image
0 Likes"
Braydn T answered Braydn T commented

One of your issues is your tokens in your filling subflows never reach "Push to List" so there is nothing to pull from when they go to pull from the list. Look at your Transporter In subflows and double check that the tokens are reaching the "Finish" so that the tokens can be pushed to a List. However, that isn't causing the exception. When there is an exception in process flow it tells you what the task type was. In your case it is the Travel task on the Transporter out. You are telling it to go to "token.Q1" or "token.Q2" which is a label you have never assigned to a token. You need to make the destination the location of the item you pulled from the list. You can add ".up" to the end of a token and it will choose the current location of that token.

· 6
5 |100000

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