Skip to content

Commit

Permalink
Update _anaerobic_reactor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joyxyz1994 committed Apr 18, 2024
1 parent 5d68c2a commit 1484964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qsdsan/sanunits/_anaerobic_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def _update_state(self):
gas.state[:n_cmps] = gas.state[:n_cmps] * chem_MW / i_mass * 1e3 # i.e., M biogas to mg (measured_unit) / L

def _update_dstate(self):
self._tempstate = self.model.rate_function._params['root'].data.copy()
# self._tempstate = self.model.rate_function._params['root'].data.copy()
dy = self._dstate
f_rtn = self._f_retain
n_cmps = len(self.components)
Expand Down

0 comments on commit 1484964

Please sign in to comment.