Worker Priority

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
vavei5
Posts: 35
Joined: Tue Jun 23, 2015 1:24 pm

Worker Priority

Post by vavei5 » Mon Aug 29, 2016 3:19 pm

Hello

My worker is use for the transport of entities and he is use as a second ressource at my servers.

I want to worker to prefer the transport task vs the second ressource task.

I don't know what to do .

jkirby
Posts: 10
Joined: Tue Aug 23, 2016 2:41 pm

Re: Worker Priority

Post by jkirby » Thu Sep 01, 2016 2:09 pm

Hello vavei5,

You could use the Evaluating Seize Request Add-On Process for your worker. In the Decide step the expression Global.VisitRequestQueue.NumberWaiting>0 will evaluate if there are any entities in the Transporter Visit Request queues. Then use the Assign step to set the Token.ReturnValue to False. For an additional example using the Evaluating Seize Request Add-On Process, please look at the SimBit model called Moveable Operator or MoveableOperator.spfx.

Judy
Judy Kirby

App Engineer, Simio LLC

Post Reply