question

r2llokyukyu5 avatar image
0 Likes"
r2llokyukyu5 asked r2llokyukyu5 commented

how to load the whole semi-trailer

Hello and welcome,

He designs a system for loading household items, such as a refrigerator, washing machine or dishwasher. I designed the process from the moment the truck enters the base to the process of transporting goods from the conveyor, storage racks to the truck with the semi-trailer. However, I would like to design the moment of loading household appliances in such a way that it can fill the entire semi-trailer. I noticed during the process that it fills only a small part of the trailer, and I would like the whole trailer to be filled and I don't know how to fill it? The model was based on the tips on the forum with the question "need help in simulating truck door assignment problem at warehouse" and from this place I would like to thank the creator of this question and the users answering the question from it, they helped me a lot in developing it, but I would like to ask how to fill the entire semi-trailer with cargo?

Best regards,

r2llo kyukyusystem-bde.pngProcess system BDE.fsm

FlexSim 22.2.3
how to load the whole semi-trailer
system-bde.png (98.0 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 ·

you need a stacking algorithm to probe and place as many as possible items in order and rotation into your space. BUT such an algorithm does not exist inside of FlexSim. You can add it on your own or adapt it from someone else. If you want to start on own, you are going to set properties of location and rotation. you find them in change visual activities picklist options or in FlexScript class api for objects in conjunction with Vec3.

0 Likes 0 ·
r2llokyukyu5 avatar image r2llokyukyu5 Joerg Vogel commented ·

Thanks for your answer and tip :) . However, I have a question, because I have just analyzed FlexScript Class and Vec3 from the website and I don't really know which objects or what commands from ProcessFlow I could use so that the forklift operator can load the entire semi-trailer? Or could you take a look at my model and assess where Vec3 could be used from scripts?

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered r2llokyukyu5 commented

The packing logic of the truck (and other objects) can be found in the FlowItem Bin in the toolbox.

1669017249550.png

1669017265029.png

The default logic you see above assumes that all items have the same size, since it only ever checks the last item when placing the next one. Differently sized items will result in gaps and/or overlaps which is why Jörg suggested to write your own logic if you want to stack the items efficiently.

You could then build a loop in the process flow. Pull one item at a time and check if it fits inside the truck by running similar code to the packing method (without actually setting the position of the item). If it fits, the process flow continues as normal, if not, the token would push the item back to the list and complete the current loop.

Edit:

Here is an example of how this could be done with the default packing logic.

process-system-bde_1.fsm


· 5
5 |100000

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

r2llokyukyu5 avatar image r2llokyukyu5 commented ·

Hello Felix @Felix Möhlmann thank you very much for the tips, help and pointing out the errors in the model :). Everything should work, but I still have a question, is it possible to change the dimensions of the truck, for example by extending the semi-trailer, because I tried to do it in flowit and using the X, Y and Z coordinate axes, but the model did not increase in any way, and I need it is to ensure that the load of household appliances does not protrude beyond the dimensions of the semi-trailer? Also in connection with this, I added 2 distribution points in such a way that the fridge, washing machine and dishwasher have a separate point and to show how to load them separately, i.e. fridge separately, washing machine separately, etc. I also removed the stage related to "An additional stage - transporting the cargo to the loading process" due to the fact that the racks are to be linked to distribution points, and in the previous model the distribution point operated separately and the racks separately, and if the limit is exhausted, then the goods go to the rack. And there was also a problem, because the drivers get to the loading docks, but the forklifts do not work and they do not go to points to pick up the cargo, they only stand and I do not really know what to add in ProcessFlow or what to change in it? If you could take a look, I'd be very grateful :). I am sending photos with problems and what I would like to ask.process-system-bde-2.fsmzrzut-ekranu-2642.pngzrzut-ekranu-2643.pngzrzut-ekranu-2640.png

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann r2llokyukyu5 commented ·

You can change the size in the FlowItem Bin, so the trucks will be created with the correct dimensions.

1669034130788.png

Though if you load different types of goods, the default packing logic might still place items on top of each when there isn't enough height left.

By loading separately, do you mean each truck only loads one type of good or that they are loaded in batches; first x fridges, then y dishwashers, etc...?

The items are not being pushed to the list. You can create a global item list, connect the Process Flow list to it and push the items to it in the queue's Send to Port option.

1669034354611.png

1669034383771.pngTo load only one type per truck, you could then use different partitions for each queue and pull from the one corresponding to the queue that a truck acquired.

process-system-bde-3.fsm

0 Likes 0 ·
r2llokyukyu5 avatar image r2llokyukyu5 Felix Möhlmann commented ·

Thanks again for answering my questions. Regarding the question with the load, what I mean is that if you have a rack called "Regal1 washing machine", how is it related to the Distribution point object, then when the truck is in the loading dock 3, the cart is supposed to load only washing machines into the truck. The same also applies to the "Regal2 refrigerator" with Distribution Point 1 and that the truck only loads refrigerators into the truck with loading dock number 2. I would like to show how to load, for example, only refrigerators in the trailer, only washing machines and only dishwashers, if possible of course.

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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