From ddc7245b24f0db4cd339604868fbde7a2f6f6af8 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:08:06 +0000 Subject: [PATCH] update --- .../java/neqsim/thermodynamicoperations/flashops/Flash.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java index 9e281175e..d987fc8be 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java @@ -271,7 +271,7 @@ public void stabilityAnalysis() throws neqsim.util.exception.IsNaNException, x[j][i] = clonedSystem.getPhase(j).getComponent(i).getx(); } // System.out.println("tm " + tm[j]); - if (tm[j] < -1e-4 && error[j] < 1e-4) { + if (tm[j] < -1e-4 && error[j] < 1e-6) { break; } else { tm[j] = 1.0;