From b192069d97d70a88a2f6a45b6d963e948b7ac21d Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:36:10 +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 4e427cecf..f72e31be8 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;