Skip to content

Commit

Permalink
debug ADM1p interface
Browse files Browse the repository at this point in the history
  • Loading branch information
joyxyz1994 committed Jun 14, 2024
1 parent 8c7ec7c commit 081bf14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions qsdsan/processes/_adm1_p_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ def create_adm1p_cmps(set_thermo=True):
cmp.i_C = 0.36612
cmp.i_N = 0.08615
cmp.i_P = 0.02154
cmp.i_K = cmp.i_Mg = 0.
cmp.i_mass = 0.90
cmp.f_Vmass_Totmass = 0.85
cmp.i_NOD = None
Expand Down
2 changes: 1 addition & 1 deletion qsdsan/sanunits/_junction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ def adm1p2masm2d(adm_vals):
if S_h2 > 0 or S_ch4 > 0: warn('Ignored dissolved H2 or CH4.')

S_NH4 = S_IN
S_PO4 = S_IP
S_PO4 = S_IP

# CONV 1: convert X_pr, X_li, X_ch to X_S
X_S = X_pr + X_li + X_ch
Expand Down

0 comments on commit 081bf14

Please sign in to comment.