Skip to content

Commit

Permalink
Fix t vflashbug (#460)
Browse files Browse the repository at this point in the history
* fixed bug in TPflash. Added TVflash test

* update splitter/MPM

* updates to MPM calc

* Update TVflash.java

* update from master (#459)

* fixed bug in TPflash. Added TVflash test (#454)

* Fix Splitter/MPM error (#455)

* fixed bug in TPflash. Added TVflash test

* update splitter/MPM

* updates to MPM calc
  • Loading branch information
EvenSol committed Jul 7, 2022
1 parent 31d82b4 commit 4cfdbb9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ public double solveQ() {
}
system.setPressure(nyPres);
tpFlash.run();
// System.out.println(" dQdv " + calcdQdV() + " new pressure " + nyPres + "
// error " + Math.abs((nyPres-oldPres)/(nyPres)) + "
// numberofphases"+system.getNumberOfPhases());
// System.out.println(" dQdv " + calcdQdV() + " new pressure " + nyPres + " error " + Math.abs((nyPres-oldPres)/(nyPres)) + " numberofphases "+system.getNumberOfPhases());
} while (Math.abs((nyPres - oldPres) / (nyPres)) > 1e-9 && iterations < 1000
|| iterations < 3);
return nyPres;
Expand Down

0 comments on commit 4cfdbb9

Please sign in to comment.