question

hermione12 avatar image
0 Likes"
hermione12 asked Andrew O commented

Combiner pull quantity

Hi,

In my model, A combiner has 3 input ports. First input port 1 from Source1 and 2nd input port from Queue1 and 3rd input port from Queue2.

Target Quantity from input ports 1,2,3

Input port1 = 1

Input port2 = 6 (if Item_type == "Light")

Input port3 = 6 (if Item_type == "Heavy")

From source2 items enter to Queue1 and Queue2 respectively based on Item_type label.. The quantity entered is based on the Order Quantity at source sequence.

But at Combiner1 , I want to pull only Consume_Qty (specific quantity from the specific partname) on to combiner at Input port2 and Input port3.

Basically I want the combiner to pull the items read through each partname and pull the quantities from the Consume_qty column in global table.

When I tried to pull items, it is only pulling items of 6 quantity from one single partname. But I want to pull from each specific partname and specific quantity.

How to do this?

specific_parts_specific_items_combine.fsm

FlexSim 22.2.3
combinerquantity
· 5
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

How are you intending to decide whether to take 6 heavy or 6 light? The entering item on port 1 has no label indicating which type Heavy or Light to assemble.

0 Likes 0 ·
hermione12 avatar image hermione12 Jason Lightfoot ♦♦ commented ·

Apologies @Jason Lightfoot

I am sorry I forgot to add the label on entering item from Source. Here in this model I have mentioned. Note : in the combiner I am using Join method.

specific_parts_specific_items_combine_1.fsm

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ commented ·

Hi @hermione12,


This link references a question that is attempting to do something similar to what you are describing. You will need to do some coding for this to work as you are describing. It may be easier to use a single queue instead of two if possible.

https://answers.flexsim.com/questions/132149/quantity-updation.html?childToView=132150#answer-132150

0 Likes 0 ·
hermione12 avatar image hermione12 Jacob W2 ♦ commented ·
Hi @Jacob W2 I can use the same, but in my case I want to extract the specific quantities from specific part name from the Queue. How to do this?
0 Likes 0 ·
Andrew O avatar image Andrew O commented ·

Hi @hermione12, was Jacob W2'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

Jacob W2 avatar image
0 Likes"
Jacob W2 answered Jacob W2 commented

Hi @hermione12,

The attached model shows one way to accomplish what you are trying to do. By using process flow to control what items are sent to the combiner I was able to limit what is pulled. The process flow works by having multiple tokens that represent the different item types and their respective consumption quantity. Whenever items enter Queue4 or Queue5, a token is created that is then pushed to a list. The item type tokens then pull the required number of items and moves them into the two queues that the combiner pulls from. This is how the correct items are moved along. The tokens will then wait for the combiner to finish the next order before moving more parts for the combiner to use.

I hope this helps.

specific-parts-specific-items-combine_JW.fsm


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

hermione12 avatar image hermione12 commented ·

Hi @Jacob W2 the model is great but in source1 instead of inter arrival time I want Arrival sequence where light and heavy part label are mentioned.

1672977052898.png When Light part come in Combiner1 I want to pull only light part from Queue1 and when Heavy comes only Queue2 part should be pulled. please help me with this.

-1 Like -1 ·
1672977052898.png (13.0 KiB)
Jeanette F avatar image Jeanette F ♦♦ hermione12 commented ·
Hello @hermione12, You have removed the Arrival Time column. Please recreate your source arrival table to include this. I believe Jacobs logic still works even with your change.
0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ Jeanette F ♦♦ commented ·

Hi @hermione12,

If the type of pallet only allows 6 items of its respective weight type, the following model does that. If the type of pallet doesn't matter and it always pulls 6 items from each queue, then the previous model will work. The new model merely controls what type of items, heavy or light, are moved into the queue for the combiner.

specific-parts-specific-items-combine-jw_1.fsm

0 Likes 0 ·