How can I fill client trucks in my model based on a table?

Islas85
Not applicable
0 Views
2 Replies
Message 1 of 3

How can I fill client trucks in my model based on a table?

Islas85
Not applicable

[ FlexSim 23.2.1 ]

Nice day, I want to fill the customer trucks based on the global table "MercanciaCliente", once loaded, it can now leave to make way for the next customer truck assigned to the same door. How can I achieve the logic I mentioned in my model?Cross-Docking-Case1-Processflow v2.14.fsm

0 Likes
Accepted solutions (1)
1 View
2 Replies
Replies (2)
Message 2 of 3

Mauricio_Aranda_Delgado
Not applicable
Accepted solution

Hello, Josue.

I have reviewed your model and one way i figured you can solve this issue is by using Irem lists for the "mercancías".

First of all i see you already have a token that represents each row on your table called "token.Filas", To assign the labels Cliente and Cantidad from the Global Table MercanciaCliente, you can add an assign labels and write the following command.

1716578882581.png

Then, because you create the items "mercancias" in another process Flow, to join them, you can use lists as I mentioned before.0
In this case I required and requested as many items as my label token.CANTIDAD.

1716578867411.png

This will create an array with a length according to the Cantidad label, where each part of the array represents an item.

After that, you may aquire your operators and start the loading and unloading process.


Hope this helps!

0 Likes
Message 3 of 3

Islas85
Not applicable
Muchas gracias Mauricio!
0 Likes