Is it possible to load the flowitems from the rack with a forklift directly onto the truck (TE) ?
Is it possible to load the flowitems from the rack with a forklift directly onto the truck (TE) ?
Hello @Ireneusz Kaczmar,
Thank you for askign this question. I am very new to FlexSim. I am trying to develop a model for something very similar- where in pallets are loaded into a truck at a warehouse using a forklift --> truck travels to next warehouse --> forklift unloads the truck at second warehouse. I was able to find an answer for the loading part through @Axel Kohonen's answer, but I am failing to develop the logic for the unload portion. Would be very grateful if either of you can either explain or share a sample model (3D with process flow) for the unload portion. Thanks in advance!
You can do something like in this model where I have used process flow. You just need to add logic for when the truck is done. Here I drive the truck into the queue, but you can of course just drive it to some coordinate and then give the reference to the truck to the transporter somehow.
Hope this helps
Axel
Please mark this as the answer if it worked for you.
Thx Axel for you answer. If we load a full truck for example 20 pallets, in next step the truck can transport these pallets to another queue and unload ?
Yes, see the attached model where I have added another queue. In the first queue I have changed the flow so that it does not release the truck until I tell it. Then in process flow I check for the amount of pallets (now releasing after 3 pallets, but change it from the decide activity). If there is 3 or more pallets the decide goes to the "Yes" branch which releases the truck from the first queue and it drives to the second.
I will let you figure out for yourself how to do the unloading, but it will be similar to the loading.
loadintotruck-170-version2.fsm
Axel
Your model is good. I have to think how to do it more realistic simulation. I mean about one truck that will drive between two warehouses. Thank you again. I will work with this model further.
You can transfer the items from a queue directly to another object (e.g. a trailer), that fitts under the queue. Then you store the projected location of every item in the queue in relation to the trailer in an array. After that you move the items to the trailer and update their locations in the trailer from the stored location array.
load-trailer-like-truck-v170.fsm
/**Custom Code - PF activity*/ Object current = param(1); treenode activity = param(2); Token token = param(3); treenode processFlow = ownerobject(activity); Object queue = model().find("Queue1"); Object trailer = token.trailer; Array item = queue.subnodes.toArray(); Array itemloc = Array(item.length); int idx = 1; for (idx = 1; idx <= item.length; idx++) { Vec3 transform = item[idx].as(Object).location.project(queue,trailer); itemloc[idx] = transform;} for (idx = 1; idx <= item.length; idx++) { moveobject(item[idx],trailer,1); item[idx].location = itemloc[idx];}
following the code for 17.0.12
/**Custom Code - V170*/ Object current = param(1); treenode activity = param(2); Token token = param(3); treenode processFlow = ownerobject(activity); Object queue = model().find("Queue1"); Object trailer = token.trailer; int loadItemNo = queue.subnodes.length; Array item = Array(loadItemNo); Array itemloc = Array(loadItemNo); int idx = 1; for (idx = 1; idx <= loadItemNo; idx++) { item[idx] = queue.subnodes[idx].as(treenode); Vec3 transform = item[idx].as(Object).location.project(queue,trailer); itemloc[idx] = transform;} for (idx = 1; idx <= loadItemNo; idx++) { moveobject(item[idx],trailer,1); item[idx].location = itemloc[idx];}
Thank you Jorg for sending your model. I will try to adapt it to my needs. I need to load the flowitems with a forklift truck on to a truck, then carry it to another queue and unload it from the truck with a forklift.
5 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