trackStats: calculate w0 only as wip for flow time of waiting
2 files changed, 2 insertions(+), 2 deletions(-)

M src/Main.elm
M src/Stats.elm
M src/Main.elm +1 -1
@@ 525,7 525,7 @@ viewDoneStat ds =
     column [ width fill, height fill ]
         [ r [ text "", c "throughput" "[jobs/cycle]", c "cap. utilisation" "[-]", c "avg. flow time" "[cycles/job]" ]
         , r [ text "inflow", text <| r2 ds.inflowedAvg, text "", text "" ]
-        , r [ text "waiting", text <| ("+" ++ r2 ds.wipIncr), text "", text <| r2 ds.flowtimeWaiting ]
+        , r [ text "todo", text <| ("+" ++ r2 ds.wipIncr), text "", text <| r2 ds.flowtimeWaiting ]
         , r [ text "processing", text <| r2 ds.doneAvg, text <| r2 ds.capUtilisation, text <| r2 ds.flowtimeProcessingAvg ]
         , r [ text "total", text "", text "", text <| r2 <| ds.flowtimeWaiting + ds.flowtimeProcessingAvg ]
         ]

          
M src/Stats.elm +1 -1
@@ 127,7 127,7 @@ completeRound kf nkf m =
 
 createDoneStat : Round -> Field -> DoneStat
 createDoneStat r f =
-    trackJustDones r (countInflow r f) (countDones r f) (List.length <| getUndone f)
+    trackJustDones r (countInflow r f) (countDones r f) (List.length <| .w0 f)
 
 
 detFlowtimesSingles : Field -> List ScatterPoint