Skip to content

Commit

Permalink
Update test_junctions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joyxyz1994 committed Aug 22, 2024
1 parent 5ceb724 commit c566f6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exposan/bsm2/test_junctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def test_adm1_junctions():
assert np.isclose(fs.biogas.imass['S_h2']*24 * h2.i_mass, 0.0035541, rtol=1e-2)
assert np.isclose(fs.biogas.imass['S_ch4']*24 * ch4.i_mass, 1065.3523, rtol=1e-2)
assert np.isclose(fs.biogas.imass['S_IC']*24 * co2.i_mass, 1535.4118, rtol=1e-2)

sys.flowsheet.clear()

#%%
def test_adm1p_junctions():
Expand Down Expand Up @@ -485,6 +487,8 @@ def test_adm1p_junctions():
ac(np.delete(s.eff_asm.conc, idx)[:-1], # exclude water
np.delete(s.alt_eff_asm.conc, idx)[:-1],
atol=1.0)

sys.flowsheet.clear()

#%%

Expand Down

0 comments on commit c566f6b

Please sign in to comment.