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

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