question

Aaupadhye avatar image
0 Likes"
Aaupadhye asked Aaupadhye commented

Issues with Process Flow

In my model, I want specific boxes to be created based on the quantity of arrival. On the first arrival, because 10 items are created, the items stack in packing station A and the Small box is created and then sent to Boxing Station A. Once the arrival of 12 items comes through, it should stack on Packing Station B based on my logic and a medium sized box should be created and sent to Boxing Station B.


However, on this second arrival for some reason it ends up stacking on Queue 1 instead which is not what I want. Also, on the very last arrival since the quantity is less than 5 it should be sent to the auto bagger based on my logic.


There is definitely some type of flaw in my Process Flow, but I cannot find what it is specifically as I even labeled everything specifically to find out where the error is. It seems like the tokens on every arrival after the first one is staying in the list and not flowing through the process despite having a pull from list in the flow. Any help is appreciated in finding my error in the process flow.


createboxbasedonlabel-1.fsm

FlexSim 23.0.8
processflowprocessflowerror
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

·
Natalie White avatar image
1 Like"
Natalie White answered Aaupadhye commented

Hi @Aaupadhye,

One issue is that in your process flow (the main flow, not your subflow), you only have 1 token. The single token can only do 1 thing at a time. When your second arrival comes, the single token is still in the subflow for creating a box for your first arrival. When your token makes it back to the "Wait for Event" activity, the Push to List has already occurred.

You could try an event-triggered source for the content change of the list (with a change rule set to increase) instead of a scheduled source and wait for event.

· 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.

Aaupadhye avatar image Aaupadhye commented ·

createboxbasedonlabel-1.fsm


I tried making it an event triggered source with the event being on push. The tokens are still moving erratically though and it moves the last arrival to the autobagger before it even touches the second or third arrival.

0 Likes 0 ·
Natalie White avatar image Natalie White Aaupadhye commented ·

I looked at your model again, and event-triggered source is creating a token for every single item that is pushed onto the list, but you only want one token per arrival group. So another option is creating a schedule source activity which has the same schedule as the source in your 3D model.

1687980328554.png

Another issue: The object attached to your "Wait for Event" activity should be Pack Station B, and the event is still Send to Port.

Finally, you should uncheck the box for "Pull" under Input in your properties for Pack Station A and Pack Station B. The logic that moves boxes to these pack stations is handled in your process flow. It is redundant to have the logic twice.

2 Likes 2 ·
1687980328554.png (39.2 KiB)
Aaupadhye avatar image Aaupadhye Natalie White commented ·
Hi Natalie, thanks so much for this. My model works as intended now.


Best regards,

Amit

2 Likes 2 ·

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.