question

Rafael de Assis avatar image
0 Likes"
Rafael de Assis asked Rafael de Assis commented

How to create a advanced setup?

Hello Everyone!

I'm simulating a work station of painting. There are some peculiars things in this process:

- There are created 5 diferents flowitens;

- gray flowitems are soft, so these flowitems are moved with an operator and this flowitens are process in processor "Pintura" and processor "Secagem", only a time;

- White flowitems are heavy, so these flowitems are moved with a crane and this flowitens are process in processor "Pintura" and "Secagem", only a time;

- Blue flowitems are heavy like white flowitems, but this flowitems are process in processor "Pintura e "Secagem", 2 times;

- Orange flowitems are heavy like white flowitems, but this flowitems are process in processor "Pintura" and "Secagem", 3 times;

- Green Flowitens are heavy like white flowitems, but this flowitems are process in processor "Pintura" and "Secagem", 4 times.

- for to obey, the flowitems change a label in some queue every time that 1 round (Processor "Pintura" and "Secagem" are concluded.

I am trying use "If Item Label Value Changes (values are set)", for this, I changed the code. I don't know what, but I doing something wrong. when some flowitens (blue, orange or green) go to second round, the simulaton doesnt recognize the label in globaltable. Modelo Avançado V17.fsm

fugure-1.jpg

figure-2.jpg

FlexSim 21.1.5
setup timesetupadvanced setup
fugure-1.jpg (11.3 KiB)
figure-2.jpg (21.4 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
0 Likes"
Felix Möhlmann answered Rafael de Assis commented

The Setup Time option works correctly as far as I can tell. The issue in your model is that the Process Flow does not check if "Pintura" is empty before moving another item onto it. If a second item is starting to be processed, the Process Flow section below will lock the model, because the first token has acquired the "Pintor". It will never release him because the first token has stopped the processor causing a deadlock.

capture2.png

Before unloading to "Pintura", you can use a Wait for Event activity to make sure the processor is actually empty.

capture1.png


capture2.png (15.2 KiB)
capture1.png (10.9 KiB)
· 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.