question

gust-flex avatar image
0 Likes"
gust-flex asked Jeanette F commented

Warehouse management with conveyor

Hello, I am trying to simulate a warehouse where a forklift takes boxes from the conveyor to the racks in the first step and then takes the (smaller) boxes to the assembly line.

I want to achieve the following:

in the warehouse rack there should be only 2 boxes of each type. When there is less than 2, the source has to offer a new box to the conveyor and the forklift can put it in the rack.

So at the start of my simulation it already goes wrong, I would like to start offering each type 2 times and then only when one is needed in the rack. Can anyone help me?

test_Warehouse.fsm

FlexSim 23.2.1
sourcewarehouse
test-warehouse.fsm (94.6 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

There doesn’t exist a conditional source. A source is a primitive object. It creates items in an amount and time only. You want a behavior that creates items upon an event of a rack object. Then you can create objects by source code or process flow. It would look like, by change of content or exit of an item from a rack, you create exactly this kind of object in your model anew and move it into an object near your source preferable in a queue. Then this created item can participate in your flow.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @gust-flex, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

A simple option would be to create two tokens per type which each create a box and manage the transport into the rack, then wait until the box leaves the rack again and loop back to the start.

test-warehouse-fm.fsm

When unloading the items to Queue1 you either need to use the "Move Object" activity or run the "Unload" for each item individually in a sub flow.


5 |100000

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