Jump to content

Token interrupt within delay processes


sjongerden
 Share

Recommended Posts

Hi everyone,


Working on a model that should interrupt a delay function in a different process.

The interrupt in that manner prevent the execution of a process.


Tokens for this process are generated when an entity is being created, and destroyed (by means of the interrupt) when the entity arrives at its destination. The entities are being transported by means of a vehicle, so sometimes not all the tokes are destroyed since some of the tokens are still in the delay (waiting for transportation of the vehicle).


The problem that I am facing is that the tokens are not destroyed in order, this pattern seems rather random. It even occurs that tokens with a very low ID number are still in the delay when this should not even be possible (they should have been destroyed long ago).


So the question is, does Simio interrupt tokens within a delay in the correct order or randomly and how to ensure that this occurs correctly?


Thanks !

Link to comment
Share on other sites

×
×
  • Create New...