 So the simulation designer must decide when the simulation will end.Typical choices are "at time t" or "after processing n number of events" or, more generally, "when statistical measure X reaches the value x".Pidd (1998) has proposed the three-phased approach to discrete event simulation.