question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Matthew Gillespie answered

How to choose closest Equipment Resource?

In the attached model, I want the employee to always grab the next closest cart. I create a specific number of carts at the start of the run and the Acquire never chooses one of those created carts. It always chooses the cart that was there in the beginning. Why is that?

Choose closest cart.fsm

FlexSim 21.2.3
acquire resource
· 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.

Patrick Cloutier avatar image Patrick Cloutier commented ·
And I made sure that the newly created carts are also members of the group Equipment.
0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Your new equipment objects aren't on the Equipment global list, so nothing can find them when they acquire (which pulls from the Equipment list). You need to push your new dynamically created objects onto the list.

choose-closest-cart_fixed.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.