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!



TransferNode's Selection Condition

Recommended Posts


I would like to do something similar to the AddAndRemoveServerCapacity SimBit and an earlier post entitled "opening servers in a specific order and outputting stats" where servers become available if there are a number of entities waiting in a queue and close when they are no longer needed.

The difference is that instead of just a server, I have subclasses (ScreeningLineRsplit and ScreeningLineL). I would like to send my entities to either ScreeningLineRsplit or ScreeningLineL if they are open using the TransferNode, select from list. I set them to be open by creating a state variable called LineOpen_state (true or false) and change the LineOpen_state through an Event in my Process tab. The problem is that my entities are not moving beyond the TransferNode, they just queue up. I believe my issue lies with the Selection Condition that I have entered as:

Math.If(Candidate.Node.AssociatedObject.Is.ScreeningLineL, Candidate.Node.AssociatedObject.ScreeningLineL.LineOpen_state == True, Candidate.Node.AssociatedObject.ScreeningLineRsplit.LineOpen_state == True)

Thanks in advance for any hints.

Share this post

Link to post
Share on other sites

  • Create New...