question

Chiu avatar image
0 Likes"
Chiu asked Felix Möhlmann answered

Regarding the issue with using batches for job shop

Hello,

I am trying to create a job shop model using process flow, but I'm encountering some difficulties. In my model, there are four stations, and I want to move items in batches according to the number of subBatches. However, for some reason, it's not working successfully. As shown in the image, the purple item's subBatch is 10, but only 9 items are being moved to the next station.

1742050217851.png

If you could provide any assistance, it would be greatly appreciated.

Job shop.fsm

FlexSim 24.0.9
processs flowbatchjob shop
1742050217851.png (148.7 KiB)
job-shop.fsm (58.2 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

The Batch activities need to group the tokens by their batchIDs. Currently a token is released as soon as enough items with the same next station from any batch are present. This causes a batch to be moved before all items have finished processing, removing one from an active process. The Process Finish event stays scheduled though and moves this item back to the other output queue when it fires.

And I don't see any need for the lists. The batched tokens already have references to the items. YOu can move them directly after a batch is completed.

job-shop_1.fsm


job-shop-1.fsm (51.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.