Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Aug 2, 2023
1 parent a160866 commit 398f5c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ public void run(UUID id) {
this.init();
}
err = 1.0e10;
double errOld;
int iter = 0;
double[] oldtemps = new double[numberOfTrays];
((SimpleTray) trays.get(feedTrayNumber)).run(id);
Expand Down Expand Up @@ -384,8 +385,7 @@ public void run(UUID id) {
logger.info("error iter " + err + " iteration " + iter);
// System.out.println("error iter " + err + " iteration " + iter);
// massBalanceCheck();
} while (err > 1e-4 && iter < maxNumberOfIterations); // &&

} while (err > 1e-4 && err < errOld && iter < maxNumberOfIterations); // &&
// !massBalanceCheck());
// massBalanceCheck();
// componentMassBalanceCheck("water");
Expand Down

0 comments on commit 398f5c6

Please sign in to comment.