Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
cortespea committed Dec 18, 2023
1 parent d9062e2 commit 1cd336b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biosteam/units/phase_equilibrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,10 +931,10 @@ def get_vle_phase_ratios(self):
last_stage = stage
return phase_ratios

def _get_top_flow_rates(self, inner_vle_loop):
def _get_top_flow_rates(self, solve_vapor_fraction):
stages = self.stages
partitions = [i.partition for i in stages]
if inner_vle_loop:
if solve_vapor_fraction:
phase_ratios = self.get_vle_phase_ratios()
for i, j in enumerate(phase_ratios):
stages[i].partition.phi = 1 if j == inf else j / (1 + j)
Expand Down

0 comments on commit 1cd336b

Please sign in to comment.