question

David Seo avatar image
0 Likes"
David Seo asked Matthew Gillespie answered

About the invalid Barriers feature of the AStar module...

@Jeff Nordgren

I am making a demo model using Barrier feature in AStar module.

flexsim-projectsgpproject-filesasetecwellstory-20.fsm

The green color transporter move across the barriers in AStar module.

I set the Barriers under the storage Queues and I want the transporters to move around the Queues to unload the items without across the barriers. But the operators move across the barriers to go back the home position of the conveyor end.

It looks like to be same with flexsim 2018 and 2017.0.12.

How can I make what I want to display?

Thanks.

FlexSim 17.0.12
transporter moving through the barriers in astar module
5 |100000

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

1 Answer

Matthew Gillespie avatar image
3 Likes"
Matthew Gillespie answered

The Travel to Location pickoption is using a TravelToLoc task :

A TASKTYPE_TRAVELTOLOC uses offset travel. Quoting from the user manual:

This task causes the task executer to travel to a specified location using offset travel.

If you look at the properties of your Operators you'll see they are currently set to not use the navigator when offset traveling:

As I see it you have 2 options.

  1. Set the operators to Use navigator for offset travel (the red box above). This forces the operator to use the AStar navigator all the time.
  2. Change the code in OnResourceAvailable to not use offset travel. If you were to use a TASKTYPE_TRAVEL instead it would use the navigator to travel.

traveltoloc.png (14.6 KiB)
usenavigator.png (15.3 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.