Skip to content

Commit

Permalink
fix minor bug in Reactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yalinli2 committed Oct 23, 2024
1 parent 8914bfc commit bce6a2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qsdsan/sanunits/_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def vessel_material(self, i):
exist_material = getattr(self, '_vessel_material', None)
PressureVessel.vessel_material.fset(self, i)
if i and exist_material == i: return # type doesn't change, no need to reload construction items
self._init_lca()
if self.include_construction: self._init_lca()

@property
def kW_per_m3(self):
Expand All @@ -230,7 +230,6 @@ def kW_per_m3(self):
mixture.mix_from(self.ins)
kW_per_m3 = mixture.mu*(G**2)/1e3
return kW_per_m3

@kW_per_m3.setter
def kW_per_m3(self, i):
if self.mixing_intensity and i is not None:
Expand Down

0 comments on commit bce6a2b

Please sign in to comment.