question

MOSTAFA K avatar image
0 Likes"
MOSTAFA K asked MOSTAFA K answered

How can I reduce the object's threshold in AStar Navigation system using code?

I am using AStar navigator to navigate the operators and the operators stand a little bit far from the works stations. As my works stations are relatively small, the occupied station is not clear enough. Does anyone know how can I overcome this problem?

FlexSim 20.0.3
flexscriptnavigation
5 |100000

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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

If you're using Process Flow to send the operator to the station you could replace the travel activity with a subflow that sets the persons location after they arrive at the location. Here's an example:

traveltofront.fsm


traveltofront.fsm (35.9 KiB)
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
1 Like"
tannerp answered Joerg Vogel commented

Hi @MOSTAFA K,
Could you upload the model you're working with so we can give the best solution? I experimented using "Preferred Paths" in the attached model and it seemed to push the operator closer to the Processor.

Let us know if you're looking for something different.

preferred-path-astar.fsm


· 3
5 |100000

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

MOSTAFA K avatar image
0 Likes"
MOSTAFA K answered

@Matthew Gillespie @Jörg Vogel

Thanks a lot for your fast and detailed response. I have improved the visual result with your ideas and the result seems perfect for me. Hope that my supervisor will also be ok with it :)

5 |100000

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