Skip to content

Commit

Permalink
update Rachford rice method
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Dec 8, 2024
1 parent 656d9d6 commit 6b271dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public void sucsSubs() {

RachfordRice rachfordRice = new RachfordRice();
try {
system.setBeta(rachfordRice.calcBetaS(system));
// system.setBeta(rachfordRice.calcBeta(system.getKvector(), system.getzvector()));
// system.setBeta(rachfordRice.calcBetaS(system));
system.setBeta(rachfordRice.calcBeta(system.getKvector(), system.getzvector()));
} catch (IsNaNException ex) {
logger.warn("Not able to calculate beta. Value is NaN");
system.setBeta(oldBeta);
Expand Down

0 comments on commit 6b271dd

Please sign in to comment.