From ea2b192e086686052c1ea719d3a35cff7ef4887b Mon Sep 17 00:00:00 2001 From: titusquah <46580668+titusquah@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:48:56 -0600 Subject: [PATCH] Update llepe.py --- llepe/llepe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llepe/llepe.py b/llepe/llepe.py index b75a1b4..7208fe6 100644 --- a/llepe/llepe.py +++ b/llepe/llepe.py @@ -780,6 +780,8 @@ class LLEPE: extracted_species_charge_sum = np.sum( extracted_species_charges * extracted_species_moles) anion_moles = extracted_species_charge_sum + h_plus_moles + # TODO: Replace feed_vol in line 785 and line 787 with + # oa_ratio*feed_vol (oa_ratio from restructured DataFrame) extractant_moles = feed_vol * row['z_i'] extractant_vol = extractant_moles * extractant_mw / extractant_rho diluant_vol = feed_vol - extractant_vol