Hi,
Attached is an example model of the problem we see in a much larger model. There is a kinetic tracked variable that has a certain rate. At some point a token enters a wait for event activity. The token wait till a level is reached or if the value is updated. At the same time the token enters the wait for event (but after the entering the wait for event) the value of the tracked variable is updated.
This means that the token leaves the wait for event, which is correct. The problem is that we get a strange event on the event list:
If we stop the model when this event is the first event on the event list (like with the current stop time) and press run again the model starts from time 0, instead of continuing the simulation.
This looks like a bug to us.
Is there any advise for now to work around this?
In this example model we could first set the value of the tracked variable before the token enters the wait for event, but in the actual model that would be quite complicated.
Thank you for your time,
Patrick