From 1535886dd676a69506704bfecc2c8e45154d3db9 Mon Sep 17 00:00:00 2001 From: Even Solbraa <41290109+EvenSol@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:46:00 +0000 Subject: [PATCH] update --- .../neqsim/thermodynamicoperations/flashops/Flash.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java index 19a58ff78b..8994d69352 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java @@ -251,16 +251,16 @@ public void stabilityAnalysis() throws neqsim.util.exception.IsNaNException, deltalogWi[i] = logWi[i] - oldlogw[i]; clonedSystem.getPhase(j).getComponent(i).setx(Wi[j][i] / sumw[j]); } - //logger.info("fnorm " + f.norm1() + " err " + error[j] + " iterations " + iterations - // + " phase " + j); + // logger.info("fnorm " + f.norm1() + " err " + error[j] + " iterations " + iterations + // + " phase " + j); } while ((f.norm1() > 1e-6 && iterations < maxiterations && error[j] > 1e-6) - || (iterations % 70) == 0 || iterations < 3); + || (iterations % 7) == 0 || iterations < 3); // (error[j]= maxiterations) { - //logger.error("err staability check " + error[j]); + // logger.error("err staability check " + error[j]); throw new neqsim.util.exception.TooManyIterationsException("too many iterations", null, maxiterations); }