question

Filippo A avatar image
0 Likes"
Filippo A asked José Antonio MD answered

How can i set item type based on global table?

Hi everybody,

I'm very new on FlexSim and I'm facing difficulties in assigning itemtypes from a global table. My problem is that I have 5 different Itemtypes in global table and i would like them to be of 5 different colours and to be processed in 5 different processors according to the itemtype from the table.

I'm attaching an example model below

did.fsm

Can someone be so kind to help me please?

Thanks in advance.

FlexSim 18.1.0
on creation
did.fsm (19.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

José Antonio MD avatar image
4 Likes"
José Antonio MD answered

Hello @Filippo A,

In general, your model is not bad. The problem is in the first source.

I attach the model with the solution.

The problem is that you use "ItemType" and not "Type", so you use a label: item.ItemType instead of item.Type (the correct way for the next activities).

The way to assign the color was not the correct either, the solution is in the model too.

I hope I have been helpful.

solution-did.fsm (19.5 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.