question

juraj avatar image
0 Likes"
juraj asked Felix Möhlmann commented

3D model control by process flow

Hi, I am trying to build a model that represent production line controlled by process flow but i run into some errors and have no idea how to fix them.

My model should work like this: Create material in rack, transporter pick up multiple boxes from rack and unload it into Queue, from queue they are procesed through 4 processors then pick from conveyor by operators load into queue that represent containter and from there another transporter pick them up and transport them into warehouse.

when i built every process separately it worked when i tryied to put them together it crushed.

There is the model Production_line.fsmProduction_line.fsm

FlexSim 22.2.0
3d model and process flow
production-line.fsm (135.0 KiB)
production-line.fsm (135.0 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 Felix Möhlmann commented

I'd recommend you go through the upper Process Flow again and check the labels. There are many instances where you use default expressions in activities despite those labels not existing on the token. And in the Load and Unload activities you need to pass in single item references, not the entire array.

And the "Transport to Warehouse" flow doesn't seem to make much sense. The token waits until there are 40 items in the queue. Then pulls 40 more from the rack, moves them into the queue. The transporter then travels to the floor storage is instructed to unload the items that were pulled without having loaded them first.

I presume you want to load the items in the queue. For this you wouldn't need a list. You can get an array of all items in the queue with "Model.find("Queue15").subnodes.toArray()".

· 2
5 |100000

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

juraj avatar image juraj commented ·

I checked the labels and the trasporter picking items one by one instead oftheProduction_line.fsm number i set him. And transporters thats should pick parts from queue and transport them into warehouse now just doesnt moving and i cant figure why.

0 Likes 0 ·
production-line.fsm (133.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann juraj commented ·

The sub flow tokens all refer to the same item in the load and unload activities. You need to use the "creationRank" index to point to the correct item for each.

I still don't see why the transport process to the warehouse would involve pulling items from the rack. All you need to do here is collect 40 tokens/items, assign them to a slot and then transport them over the same way as the rack->queue transport.

production-line-fm.fsm

1 Like 1 ·