How can i set a stop running condition so that the RunTime in my .rep file doesn't end up being always 526600 min?
The model i have to simulate requires specifically to:
-Stop generating entities after a certain period of time has passed.
-Only after everyone has left the system the simulation has to stop. All the clients in the system must end their activities and then leave.
I've solved the first problem with an expression threshold at the EntityGenerator:
-If SimTime is bigger than a value, set Open to false.
The second problem was solved with a PauseCondition that evaluates an expression that says:
-when the number of entities processed by the EntityGenerator equals the number of entities processed by the EntitySink the simulation pauses.
It works fine under only one run, but here's the thing...When i set multiple runs it doesn't. The SimRunDuration is always 526000 min in the reports and this messes up some statistics...
I don't now how to attach a .cfg file.
Hope i would be clear, thanks in advance.
By the way, it a great software. Congratulations!
-When the number of entities processed by the EntityGenerator equals the number of entities processed by the EntitySink the simulation pauses
AND
-When the first condition is met too.
-Stop generating entities after a certain period of time has passed.
-Only after everyone has left the system the simulation has to stop. All the clients in the system must end their activities and then leave.I've solved the first problem with an expression threshold at the EntityGenerator:
-If SimTime is bigger than a value, set Open to false.
The second problem was solved with a PauseCondition that evaluates an expression that says:
-when the number of entities processed by the EntityGenerator equals the number of entities processed by the EntitySink the simulation pauses.It works fine under only one run, but here's the thing...When i set multiple runs it doesn't. The SimRunDuration is always 526000 min in the reports and this messes up some statistics...
I don't now how to attach a .cfg file.
Thanks!