Loadind pallets onto trucks

Loadind pallets onto trucks

Bamba_Ousmane
Not applicable
13 Views
2 Replies
Message 1 of 3

Loadind pallets onto trucks

Bamba_Ousmane
Not applicable

[ FlexSim 23.0.2 ]

Hello i create a model to load 3 pallets with box on in a truck by using run sub flow, but after my ressource load the first pallet in the truck , it does mouvements but doesnt take any pallets. attached my model for more details

essaie.fsm

0 Likes
Accepted solutions (1)
14 Views
2 Replies
Replies (2)
Message 2 of 3

Jacob_White
Community Manager
Community Manager
Accepted solution

Hi @Ousmane,

I have made a couple of changes to your processflow to get it working as you described. The first issue was how your decide activity was working. It was causing tokens to be sent to the sink instead of moving down to be loaded. To fix this I removed the decide and the sink, and instead created a batch of three items using a batch activity. This means that the truck will not move until all three pallets are ready. I also created an array that holds the information for each of the pallets so that your run subflows can work properly.

This leads to the second issue, your subflows weren't loading any other pallets after the first one because they had no references to other pallets. By doing the batching and creating an array as I mentioned earlier, you can now run the subflow and have a different pallet moved each time. This is done by having the quantity be the number of items in the array, and each created token being given a label that represents one of the items in the array.

Finally I added a release resource that allows the truck to return to the first queue once it has been unloaded.

loading pallets_JW.fsm



0 Likes
Message 3 of 3

Bamba_Ousmane
Not applicable
thank you, it works as i want
0 Likes