question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Andrew O commented

How to return product (token) in pallet (list)?

Hi Team,

I want to show a process using process flow as below logic:

1. 2 lots at a time

2. Each lot supply raw product and receive finished product in respective lot

3. Lot will be exchanged with fresh raw lot once it is full

4. Process repeats with Lot1 and Lot2 alternately

How to return product to same lot once process it completed and start exchange process once it is full. Also, how to exchange list content?

What is the best way to model it?

File Name: MG_Lot_Exchange_Process_V5

Thank you!

FlexSim 21.1.5
process flowexchange lot
· 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.

Kavika F avatar image Kavika F ♦ commented ·

Is your model not currently doing that?

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Kavika F ♦ commented ·
Nope!
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·
Hello @Ankur A3, I think what @Kavika F was trying to convey to you is that what you have written and what you model currently does looks like what you are looking for. Considering you are looking for help though it must not be doing what you want. We need more details of what you want and what the model is not doing.
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Jeanette F ♦♦ commented ·

@Kavika F @Jeanette F

I am not able to exchange the existing pallet with fresh pallet. How to achieve it?

Thank you!

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ Ankur A3 commented ·

I'm still struggling to understand what issue you're trying to solve here. Does this diagram accurately describe the problem? If not, please make a diagram or flow chart to help me know what system you're trying to create.

1661275709990.png

0 Likes 0 ·
1661275709990.png (34.9 KiB)
Show more comments
Andrew O avatar image Andrew O commented ·

Hi @Ankur A3, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered Kavika F commented

Thank you for the clarity. This makes it much easier to visualize.

Here is one solution I have for your Process Flow.

1661362432559.png

Have a Source start by pushing 5 items onto a list (for both lots). Then have a Source (the lower one) spawn 1 token to pull 1 item from the list at a time and process it. When it's done processing that material, have it pull another. Once it's done pulling 5 from one lot, it will pull 5 from the other naturally.

lot-process-flow.gif


1661362432559.png (55.4 KiB)
lot-process-flow.gif (366.5 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.

Ankur A3 avatar image Ankur A3 commented ·

Hi @Kavika F,

Thank you for your answer!

I would like to know when you are saying other lot will be consumed naturally. What is the backend code behind it so that making sure lot1 is consumed first?

Also, batches are created on basis of consumption only. How to ensure that item is returned to same container before exchanging it with fresh one?

1661407933917.png

Thank you!


0 Likes 0 ·
1661408171154.png (247.1 KiB)
Kavika F avatar image Kavika F ♦ Ankur A3 commented ·
I'll explain what my Process Flow is doing.


I have two identical Lots, each spawns 5 tokens at the start of the program. They immediately then push their values onto a list. This list fills up with Lot1 tokens first then Lot2 tokens.


I have another source underneath Lot1 that spawns 1 token at the start of the program. It tries to Pull from that List. The first thing it sees and grabs is a token from Lot1 (your raw material). When it pulls that value, it moves on to the Delay (Process Material) to turn your raw material into finished product. In the Lot that it pulled from (i.e., Lot1), it sends that token to a Batch activity. That activity is what stores the "finished product". Once the whole batch is complete with 5 finished products, it "flushes" them, and restores Lot1 with a new set of raw material and pushes them onto the end of the list.


Once all of Lot1 tokens have been removed from the list, all that remains in front are Lot2 raw material. Those material will repeat the same process as above: they get pulled from off the list; processed; batched until there's no more raw material and only finished product; and finally get flushed off and Lot2 is renewed with raw material.


Does this help?

0 Likes 0 ·

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.