In reply to dave_59:
In reply to kuki2002:
Simulation normally ends when the current time slot event queue is empty, and there is nothing scheduled in any other future time slot. Exception are an explicit call to $finish or the implicit call to $finish caused by the program block.
Dave :
" Simulation normally ends when the current time slot event queue is empty, and there is nothing scheduled in any other future time slot. "
Would you also explain how “always” thread works in current time slot event queue and being scheduled/terminated?
Thanks