question

Daniele S avatar image
0 Likes"
Daniele S asked Matthew Gillespie answered

Problem in color assignment procedure

Hello,

How can I set the color of an part?

I have a processor and I would change the color of the part (on exit of the processor) according to a percentage.

If I use the ''Set an object's color'' but it works only if I have one single processor. In this way I have changed only the color, and no kind of label had been assigned to the object.

For example: Suppose that now I have two processors; one for the polishing and a second one for the washing operation. Each process has a fixed percentage of wastes (which is known). Each waste exits from the processor with a different color with respect a ''good'' component. Red is the color I choose for wastes from the first machine (Cerclage) and Acqua for the second one (Lessiviel).

Whenever a component enters inside the second machine, its color is changed. So, at the end, on the final batch, I will never find a red component. This happens because, if it was red, its color is changed in yellow or Acqua.

How can I solve this problem?

simulation-model-with-batches-4-12m03.fsm

FlexSim 17.0.12
labelscolor change
· 4
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

What do you want it to do? If a red part is damaged in the second processor you don't want it to turn aqua? Should it turn a new color or stay red?

0 Likes 0 ·
Daniele S avatar image Daniele S Matthew Gillespie ♦♦ commented ·

If a part is damaged on both processors, its color should be the color of the last one (so aqua)

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Daniele S commented ·

Oh so do you just want to know how to stop the red circles from changing back to a yellow circle?

0 Likes 0 ·
Show more comments

1 Answer

·
Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered

In the Set Color by Case pickoption don't set the item's color to yellow if it passes, instead set its color to be its current color.

batchesitemcolor.fsm


setcolor.png (7.4 KiB)
batchesitemcolor.fsm (323.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.

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.