question

joey avatar image
0 Likes"
joey asked joey commented

Edit the process flow

I have doubts in my model. I modified the model and this is the model to fix it, it works normally.0.fsm

I want the item from queueIn to be sent to the queue 1,2,3,4 and ended the work. I therefore modified the model. But the model that I modified is not working according to the logic I want. And this is the model that I modified.1.fsm

FlexSim 19.0.2
queue
0.fsm (55.3 KiB)
1.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

Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered joey commented

@joey From what I understand from your question, you want to load all 4 queues but not unload them afterwards. If that is the case, all you need to do to fix model 1 is add back in the "Create Tokens" activity in Process Flow in the full queue branch. Your model 1 was filling the first two queues but not acquiring the other two, so they were left empty. Attached is your model with my solution: 1answer.fsm

Let me know if I misunderstood your question or if you have any further questions on this.


1answer.fsm (55.2 KiB)
· 3
5 |100000

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

joey avatar image joey commented ·

Hi @Joseph Gillespie

From the model you attached it is the logic that I want.

But i have a question ,I wonder why I need to add (Create Tokens) to come from (Queues Full?).

Can you explain?

Thanks.

0 Likes 0 ·
11.png (3.9 KiB)
Joseph Gillespie avatar image Joseph Gillespie joey commented ·

The problem that you had before is that only two tokens were being created (one from each source), so only two of the queues were acquired. By adding back in the "Create Tokens" activities, more tokens will be created in the "Acquire Queues" activity, allowing the other two queues to be acquired. You could also solve the problem by having each of your sources "Source (Type 1)" and "Source (Type 2)" create two tokens each, causing each queue to be acquired by a token. Doing that would cause all four queues to fill at the same time, but I'm not sure if that is what you want the model to do.

0 Likes 0 ·
joey avatar image joey Joseph Gillespie commented ·

Thank you.

0 Likes 0 ·