Next entity on link

General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
Post Reply
PKLusanga
Posts: 1
Joined: Mon Aug 26, 2013 12:17 pm

Next entity on link

Post by PKLusanga » Tue Jul 07, 2015 11:56 am

Has anyone used "NextEntityOnLink" ?
I want to model a chase, where an entity chases another, identifies it, stops it and changes it's direction, or destination.

dsturrock
Simio Team Member
Posts: 1455
Joined: Thu Mar 13, 2008 12:35 pm
Location: Sewickley, PA USA
Contact:

Re: Next entity on link

Post by dsturrock » Wed Jul 08, 2015 11:53 am

I have not modeled this situation before, but the technique you are suggesting is one good approach.

Another approach to consider is to have your entities travel in free space using the Travel step. Then you could use functions DirectDistanceTo.Location(x, y, z) and DirectDistanceTo.Object(object) to make decisions. You might need to Search a collection of entities or otherwise keep track of which entity you are interested in.
Dave Sturrock
VP Operations, Simio LLC

Post Reply