예제 #1
0
        protected override void OnInitialized(ModelElementBase modelElement)
        {
            WorkStation workStation = (WorkStation)modelElement;

            queueLength.Reset();
            queueLengthStatistic.Reset();
            queueLength.UpdateValue(workStation.Queue.Count);
        }
예제 #2
0
        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}");
        }
예제 #3
0
 protected override void OnReplicationStart(ModelElementBase modelElement)
 {
     queueLength.Reset();
     queueLengthStatistic.Reset();
 }
예제 #4
0
 protected override void OnReplicationStart(ModelElementBase modelElement)
 {
     queueLength.Reset();
     // Uncomment below if one want to save across replication statistics
     queueLengthStatistic.Reset();
 }
예제 #5
0
 protected override void OnReplicationStart(ModelElementBase modelElement)
 {
     nrOfJobs.Reset();
     nrOfJobsStatistic.Reset();
 }