ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 12-29-2015
kunal kumar
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default Flexsim Model for packed items.

Hi,

Would like to enquire whether flexsim is adept to simulate for packing box and item?
Let me describe a little bit about the simulation.

Items or inventories are packed when these are shipped from Fulfillment center.Most of time these are packed in boxes.Suppose we have 20000 different products and and 40 different boxes size that are used to pack these 20000 items.
My goal is to determine the dimension(length,breadth and height) of these 40 boxes so that there would be minimum void in box when items are packed in boxes.
Yes 20000 items have different length,breadth and height.
  #2  
Old 12-30-2015
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

Hi Kunal,

If you are familiar with SQL and know how to use it within the flexsim the size of the packed box can be controlled based on the dimensions of the items.You need to store the data(Length ,breadth and width) of packed boxes mostly in bundles or tables and then writing the query multiplying different columns along with using GROUP by ,ORDER by and HAVING clause to get the volume of packed box that comes close with the dimensions of the item.Later with the obtained return values you can change the dimensions of the packed box using setsize() command.There might be an another approach but this is only an idea.Here is the similar thread that will help you.
https://www.flexsim.com/community/fo...ead.php?t=2837
The Following 2 Users Say Thank You to sagar bolisetti For This Useful Post:
vivek dubey (02-17-2016)
  #3  
Old 01-22-2016
Ben Wilson's Avatar
Ben Wilson Ben Wilson is offline
Flexsim Consultant, Super Moderator
 
Join Date: Jul 2007
Posts: 82
Downloads: 352
Uploads: 6
Thanks: 30
Thanked 159 Times in 43 Posts
Rep Power: 256
Ben Wilson is a glorious beacon of lightBen Wilson is a glorious beacon of lightBen Wilson is a glorious beacon of lightBen Wilson is a glorious beacon of lightBen Wilson is a glorious beacon of light
Default

This is a classic bin packing problem:

https://en.wikipedia.org/wiki/Bin_packing_problem

The wikipedia article outlines a few of the possible algorithms for solving the problem - best fit decreasing and first fit decreasing. Searching around the Internet yields a few other algorithms, including next fit and worst fit (not sure why you'd want that one ).

If you need to include optimal bin packing as part of your simulation, you could code your selected bin packing algorithm into a FlexSim User Command or some other trigger location.

Here is a link to a discussion regarding 3D bin packing algorithms: http://programmers.stackexchange.com...items-shipping. SourceForge has several open source projects tackling the issue: http://sourceforge.net/directory/os:...=bin%20packing

Also, attached is a paper on the subject. Just do an Internet search for "3D bin packing algorithms" to get more resources.

If you just need the solution alone, and don't need to have it as part of a larger simulation, there are some commercial solutions out there. In the few I looked at, none were appropriate for integrating with a simulation running much faster than real time - you'd be better off coding an algorithm into FlexSim directly.
Attached Files
File Type: pdf An Efficient Algorithm for 3D Rectangular Box Packing.pdf (212.0 KB, 390 views)

Last edited by Ben Wilson; 01-22-2016 at 03:08 PM.
The Following 6 Users Say Thank You to Ben Wilson For This Useful Post:
vivek dubey (02-17-2016)

Tags
simulation, warehouse


Thread Thread Starter Forum Replies Last Post
Gray Model View (3D) of loaded Model - Flexsim 7 Beta Jörg Vogel Tips and Tricks 2 09-22-2013 03:14 AM
How to dispatch two or more operators to unload box packed in Pallet? Ilivid zheng Q&A 2 01-12-2011 08:48 AM
Combiner Target Quantity, Release of packed pallets BenjaminBuecklein Q&A 1 09-04-2008 03:31 AM
Operator not unloading items before picking up priority items Howe Chiat Cheng Q&A 2 05-28-2008 02:05 AM
change 3D shape of a packed flow item KelvinHo Q&A 2 02-27-2008 09:41 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.