diff --git a/qsdsan/sanunits/_anaerobic_reactor.py b/qsdsan/sanunits/_anaerobic_reactor.py index 5054feeb..13601d17 100644 --- a/qsdsan/sanunits/_anaerobic_reactor.py +++ b/qsdsan/sanunits/_anaerobic_reactor.py @@ -587,6 +587,7 @@ def update_h2_dstate(dstate): pass def dy_dt(t, QC_ins, QC, dQC_ins): QC[QC < 2.2e-16] = 0. + _state[_state < 2.2e-16] = 0. Q_ins = QC_ins[:, -1] S_ins = QC_ins[:, :-1] * 1e-3 # mg/L to kg/m3 Q = sum(Q_ins)