question

Remi A2 avatar image
0 Likes"
Remi A2 asked Remi A2 commented

How to handle the incoming and outgoing number of product ?

My model produces 2 different items, A and B. While passing by the processors I want 2 products of A to be processed and come out at the same time . For product B, I want 3 items to come in at the same time and only 1 to come out.

Items that come out should also have an additional label based on the label they had previously.

Thank you in advance once again for your help

Test.xlsx

Test.fsm






FlexSim 21.2.2
labelsprocessors
test.xlsx (9.5 KiB)
test.fsm (32.7 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

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Remi A2 commented

I'd suggest to build a process flow that controls the movement of items to achieve this. In the example model I use an instanced process flow. This means each object that is assigned to the flow (in this case the two machines), runs it's own "copy" of the process flow. That way you only have to configure it once. It also means you can reference the instance object (machine) with "current" anywhere in the process flow.

First the type and quantity of the next items are determines based on the "cnt" label. Then the tokens pull the respective number of items from the list. These are then moved into the machine. After the second (final) process is finished the second and third item are deleted in case B.

I'm not sure what you mean with "have an additional label based on the label they had previously". Maybe the "Values by Case" option in the "Assign" activity is what you are looking for?

test_1.fsm


test-1.fsm (42.3 KiB)
· 7
5 |100000

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

Remi A2 avatar image Remi A2 commented ·

Thank you, I will try it on my model to see if it's working. I will get back to you in case having any other problem.

And for your question yes that's what I was looking for, thank you very much !

0 Likes 0 ·
Remi A2 avatar image Remi A2 commented ·

Hello,

I apologize for having to ask you again, I've just simplified my model and I have a problem with the huge number of items which will be treated by 2 and will come out as two, and others that will be treated by 3 and they will come out as one. I think that doing this to each item will take too much time so I wonder if there any other simplified method ?

Enclosed you will find the model in which items having a label from 1 to 5 must be treated by 2 and come out as 2 and items having a label from 6 to 10 must be processed by 3 and come out as 1.

Thanks for helping !

Test.xlsx

test-1 .fsm

0 Likes 0 ·
test-1.fsm (42.8 KiB)
test.xlsx (9.7 KiB)
Felix Möhlmann avatar image Felix Möhlmann Remi A2 commented ·

I made the process more modular by allowing to set the In/Out quantity, as well as the label value that should be set after processing in the "process table".

test-2.fsm

1 Like 1 ·
test-2.fsm (42.9 KiB)
Remi A2 avatar image Remi A2 Felix Möhlmann commented ·

I really appreciate your help thank you so much, its perfect !

0 Likes 0 ·
Show more comments

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.