Jump to content
Simio Forum
Sign in to follow this  
vavei5

Worker Priority

Recommended Posts

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 .

Share this post


Link to post
Share on other sites

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

Share this post


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

×