question

Alexander avatar image
0 Likes"
Alexander asked Sebastián Cañas answered

Creation of 4 types of parts in a certain sequence

I have a production line. For proper functioning, Source1 must generate 4 details that will have item.type = 1,2...,4. These parts must be generated in the sequence 1,2,3,4 and then first. How do I implement this?Please help very urgently.

1677405239358.png

FlexSim 22.2.1
different item typescreate a sequencegeneration of details
1677405239358.png (414.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

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered

Hi @Alexander ,

If you're using Inter-Arrival Time as a property, you can create a counter as a label within the Source object. Increase that value every time it creates a flowitem. Then, set the value of the flowitem based on the value of the counter and finally reset it when it reaches 4. All of this can be done using operations within the Trigger On Creation, in the exact same order I mentioned.

Another option is to use the property Arrival Sequence. You create a table of 4 rows, with a quantity of one and a unique label value for each row. This way it will create the sequence with the label you need.However, you should set a maximum content in the buffer zone or control de ports of the objects based on content. Otherwise the Source won't stop creating flowitems.

1677425826524.png

Hope it helps!

sequence_labels.fsm


1677425826524.png (14.3 KiB)
sequence-labels.fsm (34.3 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.