question

Sebastien avatar image
0 Likes"
Sebastien asked Joshua S edited

Setup different in processor and combiner ?

Hi !

I have a setup matrix for a processor and a combiner as in the test model attached. They both should have a 15mn setup when a new type of product arrives. Yet only the combiner has the 15mn, the processor has only 1mn, which is the time before the next product comes in the processor. Does this mean that the new product cancels the setup in the processor ? Am I modelling something wrong ? If no how to avoid this behavior ?

EDIT:

The setup time in the chart for the processor is actually equal to the whole part of the time between two products. If one product arrives every 2mns the displayed setup time will be 2mns.

Yet the actual setup time for the product of the next type is in fact 15minutes, but only for the first product of the new type. the products that follows the first one with a different type are actually finished before the first one finishes setup.

So during the setup the processor continues to produce the previous parts (and the next one execpt the first new product) and is hence in state "processing". Would it be possible, when a new type arrives, to wait for the machine to finish producing the previous types and then starts with the setup, and once the setup is finished continue with the normal production, and all that for a processor ?

Best regards,

Sebastien

test-setup.fsm

FlexSim 18.2.2
combinerprocessorsetup
test-setup.fsm (80.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

·
Joshua S avatar image
0 Likes"
Joshua S answered Joshua S edited

Even the combiner has no setup time, it looks like it is because the object looks like it doesn't move, but if you look at the input of the sink it is going up every minute. You need to actually use the label "type" if you want to use the Lookup Table for setup time. It has built in functionality so you can't use a custom label called AB.

· 9
5 |100000

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

Sebastien avatar image Sebastien commented ·

It does work after 100 minutes as planned for the combiner.

I changed the following line in "Using From/To Lookup Table ( "Setup" )":

double currentitemtype = item.Type

in

double currentitemtype = item.AB

And this works as I have a label AB in my flowitem. But not for the proessor that has only one minute setup. So it knows it should go in setup but does not stay long enough.

Item'sType being mandatory would be annoying for me as I have various types for various setups and machines. With labels I could just do one AB type which differentiate A and B, and another CD type which differentiate C and D for another machine. Then I do not have to enters all the combination posssible as an item Type AC AD BC BD. (I have in reality more than just 2 types and 2 possibilities per type)

0 Likes 0 ·
Joshua S avatar image Joshua S ♦ Sebastien commented ·

@Sebastian

That makes more sense, I didn't know there was a change in the code. See if this model is what you are looking for. I set it so if the current item label and the last item label are not the same, the close the input of the processor, then when that item finishes its setup, open the input of the processor. I used triggers on the processor.16254-test-setup-1.fsm

0 Likes 0 ·
Sebastien avatar image Sebastien Joshua S ♦ commented ·

Thank you for your help @Joshua S. In the model you sent the setup is still lasting only 1mn instead of 15. but I noticed that the first product with a different AB type that comes stays in the middle of the processor during this 1mn setup, then stays at the end of the processor for the remaining 14mn and then is processed. But the setup time is only 1mn. I wondered what was triggering this behavior.

So I unchecked the "repeat Source" and only put 1 as a quantity for the next item. I then changed the inter-arrival time of my adaptator (Processor 2 in the model), and noted the setup times. The results are as follows:

When the processor processes only one item at a time (inter-arrival >=10mn) the results are as expected. Below 10mn, which is my case, the behavior is weird and not linear with the inter-arrival time. I do not get what is happening here. Do you have an idea ?

Inter-arrival
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Setup 1 2 1 2 5 4 3 2 1 15 15 15 15 15 15
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.