From 01992a6a291e92a674448497e4b46efd2fbb9f37 Mon Sep 17 00:00:00 2001 From: Alexander Herzog Date: Thu, 21 Sep 2023 00:01:10 +0200 Subject: [PATCH] Extended combined FIFO/LIFO example model --- .../examples/examples_de/FIFO-LIFO-Switch.xml | 63 +++++++++++++------ .../examples/examples_en/FIFO-LIFO-Switch.xml | 63 +++++++++++++------ 2 files changed, 90 insertions(+), 36 deletions(-) diff --git a/Simulator/src/main/java/simulator/examples/examples_de/FIFO-LIFO-Switch.xml b/Simulator/src/main/java/simulator/examples/examples_de/FIFO-LIFO-Switch.xml index 12f01b05..6f431d8d 100644 --- a/Simulator/src/main/java/simulator/examples/examples_de/FIFO-LIFO-Switch.xml +++ b/Simulator/src/main/java/simulator/examples/examples_de/FIFO-LIFO-Switch.xml @@ -23,8 +23,8 @@ der Wartezeiten an. - - + + If(FIFOLimit-NQ();ExpDist(75+min(24;2*NQ()));ExpDist(75)) If(FIFOLimit-NQ();w;-w) @@ -32,16 +32,9 @@ der Wartezeiten an. 1 - - + + - - Ankünfte (Kunden) - - - - - Kombinierte FIFO-LIFO-Produktion @@ -61,7 +54,7 @@ der Wartezeiten an. Aktueller Modus - + 14 0,0,0 FIFO @@ -69,21 +62,21 @@ der Wartezeiten an. Umschaltpunkt zwischen FIFO und LIFO - + 14 0,0,0 FIFOLimit Mittlere Verweilzeit E[V] (in Sek.) - + 14 0,0,0 ResidenceTime_avg() Variationskoeffizient der Verweilzeiten CV[V] - + 14 0,0,0 ResidenceTime_cv() @@ -100,7 +93,7 @@ der Wartezeiten an. 0,0,0 - + 1 0,0,0 240,240,240 @@ -116,17 +109,51 @@ der Wartezeiten an. 0,0,255 - + FIFO 12 0,0,0 - + LIFO 12 0,0,0 + + Modus erfassen + + + + If(FIFOLimit-(NQ()+1);0;1) + + + Modus erfassen + + + + If(FIFOLimit-NQ();0;1) + + + Ankünfte (Kunden) + + + + + + + + + + + + + Zeitanteil LIFO + + 14 + 0,0,0 + Statistik_avg(17;1) + diff --git a/Simulator/src/main/java/simulator/examples/examples_en/FIFO-LIFO-Switch.xml b/Simulator/src/main/java/simulator/examples/examples_en/FIFO-LIFO-Switch.xml index d3c80a58..3ecaa705 100644 --- a/Simulator/src/main/java/simulator/examples/examples_en/FIFO-LIFO-Switch.xml +++ b/Simulator/src/main/java/simulator/examples/examples_en/FIFO-LIFO-Switch.xml @@ -22,8 +22,8 @@ not increase, but the coefficient of variation of the waiting times increases. - - + + If(FIFOLimit-NQ();ExpDist(75+min(24;2*NQ()));ExpDist(75)) If(FIFOLimit-NQ();w;-w) @@ -32,16 +32,9 @@ not increase, but the coefficient of variation of the waiting times increases.1 - - + + - - Arrivals (Clients) - - - - - Combined FIFO LIFO production @@ -60,7 +53,7 @@ not increase, but the coefficient of variation of the waiting times increases. Current mode - + 14 0,0,0 FIFO @@ -68,21 +61,21 @@ not increase, but the coefficient of variation of the waiting times increases. Switching point between FIFO and LIFO - + 14 0,0,0 FIFOLimit Average residence time E[V] (in sec.) - + 14 0,0,0 ResidenceTime_avg() Coefficient of variation of the residence times CV[V] - + 14 0,0,0 ResidenceTime_cv() @@ -99,7 +92,7 @@ not increase, but the coefficient of variation of the waiting times increases.0,0,0 - + 1 0,0,0 240,240,240 @@ -115,17 +108,51 @@ not increase, but the coefficient of variation of the waiting times increases.0,0,255 - + FIFO 12 0,0,0 - + LIFO 12 0,0,0 + + Record mode + + + + If(FIFOLimit-(NQ()+1);0;1) + + + Record mode + + + + If(FIFOLimit-NQ();0;1) + + + Arrivals (Clients) + + + + + + + + + + + + + Time share LIFO + + 14 + 0,0,0 + Statistik_avg(17;1) +