question

Zdenek K avatar image
0 Likes"
Zdenek K asked tannerp commented

Transporter/Forklifts Control.

Hey, I am kinda new to Flexsim, but sadly, I think I am doing something wrong.

First, In model i need forklifts to follow the paths i set-up for them, but they totally refuse to. I totally don't get the logic why?

The other problem is, that i need them to come to generated objects in “Zona1-5“(that is ok), and transport them based on their label“Cil“ to “Zona11-16“ through the Forklifts. But they just moves to first set of zones and than stops and doesn't do anything else.

Can someone please give me atleast some direction how to program those operators to work in some desirable way?

Thank you all very much for help!!

Here is my program: FlexSim.fsm

FlexSim 20.0.1
operatorstransportoperators assignmentforklift simulationflexsim 20.0.1
flexsim.fsm (58.2 KiB)
· 1
5 |100000

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

tannerp avatar image tannerp commented ·

Hi @Zdenek K, was my answer helpful? If so, please click the red "Accept" button on the answer. If not, feel free to comment back with additional information. Thanks!

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered tannerp commented

Hi @Zdenek K and welcome to the FlexSim community!

I took a look at your model and it looks like everything was set up well with the network nodes, but the forklifts were not connected to the network. You can connect them by creating an "A" connect between the forklift and any of the network nodes. I also added connections as shown below so that the forklifts didn't have to travel all the way across the middle section just to go to a neighboring queue.

For your second question, I'm not sure I completely understand what needs to happen, but I made an attempt to get it to run. I changed a couple things. The first was that the Run Sub Flow activity copies token labels to the child tokens so that the "item" and "Cil" label can be accessed in the Unload activity.

The second was that I added the transporters to a group and then acquired them. This works better than a dispatcher for Process Flow.

I hope I understood correctly, but let me know what questions you have.

flexsim_1.fsm


· 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.

Zdenek K avatar image Zdenek K commented ·

Hello Tanner!

First i would really like to thank you for this solution to my problem, it was totally blast for me. Also sorry for late reply, but sadly been busy somewhere else and didnt realized.

Secondly, I would like to know, if there is a way to count down quantity of objects at the end of simulation run. (For instance, amount of objects transported from Zona1 to Zona15, or atleast number of objects on Zona 15 at the end of simulation run).

Also, if i will apply label “Weight“ for each object with random number on it, is it possible to do the same with it at the end of the simulation run? (To make a Sum of “Weights“ leaving Zona1, Sum of “Weights“ ending at the Zona11, and Sum of “weight“ transported between them)?

Thank you once more for your reply!

Zdeněk K.

0 Likes 0 ·
tannerp avatar image tannerp Zdenek K commented ·

@zdenek.k,

Thanks for the feedback. I'll do my best to address these questions. The answer to both is that you can use either labels or Statistics Collectors.

1) LABELS EXAMPLE: To count the quantity of objects delivered from Zona1 to Zona15, you can add a label on the items leaving Zona1 (Zona1 - Zona6, really). Then, when items arrive in Zona15 (Zona11 - Zona16), you can conditionally increment a count label on the queue if the item has a label that matches Zona1.

I did this with pointer labels, but you could just as easily accomplish this with numeric labels.

2) STATS COLLECTOR EXAMPLE: You can track the "weights" as labels using a Statistics Collector. I set this up in your model to track weights of items leaving Zona1, entering Zona11, and then used a Calculated Table to sum up the weights of items transported between them.

The issue with this is that some objects are transported from Zona1 to Zona11, which means they'll be counted twice in the Calculated Table. I'm not sure how you'd like to deal with this and what other statistics you'll need, but hopefully this can be a good starting point.

flexsim-1_2.fsm

0 Likes 0 ·