protected override void OnInitialized(ModelElementBase modelElement) { WorkStation workStation = (WorkStation)modelElement; queueLength.Reset(); queueLengthStatistic.Reset(); queueLength.UpdateValue(workStation.Queue.Count); }
protected override void OnReplicationStart(ModelElementBase modelElement) { queueLength.Reset(); // Uncomment below if one want to save across replication statistics queueLengthStatistic.Reset(); Writer?.WriteLine("Simulation Time,Queue Length"); WorkCenter workCenter = (WorkCenter)modelElement; queueLength.UpdateValue(workCenter.InitialLots.Count()); Writer?.WriteLine($"{workCenter.GetTime},{queueLength.Value}"); }
protected override void OnReplicationStart(ModelElementBase modelElement) { queueLength.Reset(); queueLengthStatistic.Reset(); }
protected override void OnReplicationStart(ModelElementBase modelElement) { queueLength.Reset(); // Uncomment below if one want to save across replication statistics queueLengthStatistic.Reset(); }
protected override void OnReplicationStart(ModelElementBase modelElement) { nrOfJobs.Reset(); nrOfJobsStatistic.Reset(); }