question

Navid M avatar image
0 Likes"
Navid M asked Jason Lightfoot commented

Conditional Sorting

I have a source, Loop Conveyor and a robot that picks boxes from the conveyor and places them in the queue.

The source uses a table to load packages on the conveyor. a table like below:


Unix TimeStamp Order Number Total_Packages_In_Order
1662054400 100 3
1662054404
101 4
1662054420
100 3
1662054430
102 2
1662054450
100 3


Each line is basically one package to source into the loop conveyor. The total Pack per order is known. for Example in the above table, the total packs in order#100 are 3. I want the robot to pick up all items belonging to an order that is complete and place them in the Queue. Eventually, I want to have multiple queues but since I am new, struggling with how to manage the first step. I appreciate your help in this sorting problem.

FlexSim 21.0.10
conditional deciderobot pickingconditional sort
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Have you done some of the tutorials? When you've done enough, try to implement this:

1662070558545.png

(I built the model and added the combiner before I saw you were a student, so try it and let us know if you get stuck having tried to find the answer in the help or by looking up other posts here on the forum. The screenshot might give you enough hints on how to build it)


1662070558545.png (395.2 KiB)
· 14
5 |100000

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

Navid M avatar image Navid M commented ·

Thanks, for the answer. let me clarify. I am not a student and finished my master's in Electrical & Computer Engineering a few years ago, I am working for more than 7 years in Canada and have over 17 years of experience in the industry and am happy to share my details so you can share the model if it is made.

We are going to work with a consultancy to build an actual robot simulation for this project but to understand the best size for conveyor and robot speed, I wanted to use Flexsim.

I have done some tutorials but since I am not an industrial engineer and it is my first time working with discrete simulation it is hard for me. I like to learn it and use it for other projects but I think with samples it is much easier to learn

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Navid M commented ·

Hello @Navid M,

Here is the model that Jason built. sortwhenordercompletefsm.pdf

Change the file type back to .fsm

0 Likes 0 ·
Navid M avatar image Navid M Jeanette F ♦♦ commented ·
Thanks a lot!
0 Likes 0 ·
Show more comments
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Navid M commented ·

Sorry for the confusion - we should look at changing your profile.

Here's a second model to show that the same logic works with multiple cells without any changes other than copying the cell and making a connection or two.

1662157206462.png


SortWhenOrderComplete2.fsm.pdf

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Jason Lightfoot ♦♦ commented ·
@Jason Lightfoot,

I already notified Ben to change it

1 Like 1 ·
Show more comments