Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions biosteam/units/design_tools/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ def f(tau_loading):
N_reactors = ceil(F_vol * (tau_reaction + tau_cleaning + tau_loading) / (V_max * V_wf))
V_T = F_vol * (tau_reaction + tau_cleaning + tau_loading)
V_i = V_T / N_reactors
# Total volume of all reactors, assuming no downtime
V_T = F_vol * (tau_reaction + tau_cleaning) / (1 - 1 / N_reactors)
# Volume of an individual reactor
V_i = V_T / N_reactors
# Time required to load a reactor
tau_loading = V_i / F_vol

# Total volume of all reactors, assuming no downtime
V_T = F_vol * (tau_reaction + tau_cleaning) / (1 - 1 / N_reactors)

# Volume of an individual reactor
V_i = V_T / N_reactors

# Time required to load a reactor
tau_loading = V_i / F_vol
else:
tau_loading = loading_time

Expand Down
Loading