Skip to content

Commit

Permalink
take out a metab simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
yalinli2 committed Oct 25, 2023
1 parent 9e1ca0f commit e7e6465
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_metab.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def test_metab():
#!!! Unsure why this may fail sometimes
FB_H = create_system(n_stages=2, reactor_type='FB', gas_extraction='H', tot_HRT=4)
try: FB_H.simulate(state_reset_hook='reset_cache', method='BDF', t_span=(0, 400))
except: FB_H.simulate(state_reset_hook='reset_cache', method='BDF', t_span=(0, 400))
except:
pass
FB_H.simulate(state_reset_hook='reset_cache', method='BDF', t_span=(0, 400))
fs = FB_H.flowsheet.stream
# assert np.isclose(1 - fs.eff_dg.COD / fs.inf.COD, 0.8254350623696006, rtol)
# # assert np.isclose(FB_H.TEA.annualized_NPV, -26069.226184087474, rtol)
Expand Down

0 comments on commit e7e6465

Please sign in to comment.