sjongerden Posted April 26, 2015 Share Posted April 26, 2015 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 More sharing options...
sjongerden Posted April 27, 2015 Author Share Posted April 27, 2015 Found the solution! In the process itself you can set when the entity is destroyed the token, associated to this entity is also destroyed. That did the trick for me Link to comment Share on other sites More sharing options...
Recommended Posts