Jump to content

On Destroying process stops executing


cstein

Recommended Posts

Hi all


I have a model that involves entities arriving at a destination node on a transporter, accompanied by another vehicle which has been seized by the transported entity. At the node, the entity is destroyed but I have a wait step for the seized vehicle which waits for an event fired by the entity as it is destroyed (fired in the on destroying process in the entity).


This all works well 99% of the time, when I was running an experiment for a specific time (7 days). I tried a longer run (14 days) in order to assess output of the model and in some replications (3 our of 15) there were some really extreme data. To cut a long story short, I eventually found out that the on destroying process (and the event that I attached to it) stopped executing about 2/3 of the way through these replications. This only happened in some (3) replications - the others were fine. The result was more and more vehicles stuck in infinite waits, hence the strange data.


Does anyone have an idea why this would happen? I can find no cause in terms of process logic that I have implemented.


-Chris

Link to comment
Share on other sites

To clarify the above, the problem is that the entities are not destroyed (not just that the on destroying process doesn't execute). Number is system output clearly shows a steep increase after a certain point which coincides with the start of vehicles getting stuck in waits.


-Chris

Link to comment
Share on other sites

×
×
  • Create New...