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
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
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.
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved