question

Isabel P avatar image
0 Likes"
Isabel P asked Ben Wilson commented

Reverse logistics Simulation - Tables configuration

TA_Disolucion_207.fsmHello, I need help with my simulation.

I want the 3 operators to take 164 boxes, 1 in 1, from the rack "D_222" and take them to the group "Racks_207", delivering the boxes in different locations randomly (1 in 1) until relocating the 164 boxes .

I think I have misconfigured tables, because the operators do not move, but when running the simulation, it does not generate any error message either.

Please help, I leave the file below.

Thanks!

FlexSim 20.0.10
flexsim 20.0.10reverse logistics
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Isabel P, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
2 Likes"
Felix Möhlmann answered

The items are pushed onto the list in partition "3" in the trigger of the rack. Yet the tokens try to pull from partition "1". As such, nothing can be pulled and the operators don't move.

I also noticed some other problems in your model.

1. Your logic is set up to expext only two operators. This causes issues when the third operator writes their items to the AddressTable, because it will add another 164 rows to the table, yet overwrite the values of the first 164. As the table is only used to temporarily store the item locations, as far as I could tell, I simply set the table size to be equal to the number of pulled items to circumvent this. Moreover I put the custom code activities in a zone that only allowes one token at a time to enter to prevent timing issues.

2. You try to reference a group as the unload location. This is not valid, the reference has to point to an object in the model. To choose a random rack in the group you can use the syntax

Group("Racks_207")[duniform(1, Group("Racks_207").length)]

3. Some network node connections were incorrect/missing, leading to the operators becoming stuck. I fixed the cases I came accross.

4. The is no label "RackN" on the racks in group "Racks_207". It is expected though, when the items are pushed to the list again the entry trigger. (I didn't add the label yet, as I don't know in what order the racks should be numbered)

ta-disolucion-207_fm.fsm


5 |100000

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