Browse Source

enhance kepler throughput

sangwq 1 year ago
parent
commit
54ed40c8b1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Venus/Venus_RT/Modules/SystemDispatcher.cs

+ 1 - 2
Venus/Venus_RT/Modules/SystemDispatcher.cs

@@ -2315,9 +2315,8 @@ namespace Venus_RT.Modules
                 // don need pass by aligner
                 else
                 {
-                    // throughput is bad while loadlock need delay
                     var outModule = _dictModuleTask[outLL] as LoadlockTask;
-                    if ((_lstWaferTasks.Count(wt => wt.currentMod == outLL || (wt.currentMod == ModuleName.TMRobot && ModuleHelper.IsLoadPort(wt.destMod))) == 0 || atmWaferCount < validHands - outModule.ReayOutWafersInTime(20)) && _lstWaferTasks.Count(wt => wt.currentMod == inLL || wt.currentMod == ModuleName.EfemRobot) < validHands)
+                    if ((atmWaferCount < validHands - outModule.ReayOutWafersInTime(20) || _dictModuleTask[inLL].TimeToReady < 5) && _lstWaferTasks.Count(wt => wt.currentMod == inLL || wt.currentMod == ModuleName.EfemRobot) < validHands)
                     {
                         if (ForwardATMWafers(inLL))
                             return;