Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

Sign in to follow this  
Mamdouh Mubarak

Entity selection from queue

Recommended Posts

Hi,

What is the best way to access entities in a queue and select entities of a certain type to be processed first? I want to do this dynamically as the model is running. 

Thanks! 

Share this post


Link to post
Share on other sites

The easiest way to do this dynamically is to use the Dynamic Selection Rule property on the Server (or other object, such as Combiner, Worker, etc.). You can use the 'Standard Dispatching Rule' option for that property to then include a Dispatching Rule, such as FirstInQueue, LeastSetupTime, EarliestDueDate, LargestPriorityValue, etc. This allows you to specify a TieBreak Rule as well. Using the dynamic selection will not determine which entity will be selected from the queue until the resource (object) has released an entity and is available.

 

 

Share this post


Link to post
Share on other sites

Search the entity whom needs to be reassigned a priority, and use an assign block to give entity.priority a new value.

Hope this helps.

Share this post


Link to post
Share on other sites

Sometimes it helps to have entities inserted into more queues for quicker selection. Something like a card indexes in the libraty. 

That way you can shorten the search steps time. 

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...