diff --git a/qsdsan/sanunits/_non_reactive.py b/qsdsan/sanunits/_non_reactive.py index db5d4cde..4b3aec98 100644 --- a/qsdsan/sanunits/_non_reactive.py +++ b/qsdsan/sanunits/_non_reactive.py @@ -5,6 +5,7 @@ QSDsan: Quantitative Sustainable Design for sanitation and resource recovery systems This module is developed by: + Yalin Li This module is under the University of Illinois/NCSA Open Source License. @@ -92,11 +93,12 @@ def __init__(self, ID='', ins=None, outs=(), thermo=None, init_with='WasteStream Copier.__init__(self, ID, ins, outs, thermo, init_with) self.F_BM = {cost_item_name: 1} self.CAPEX_dct = {cost_item_name: CAPEX} - self.power_utility(power) + self.power = power self._add_OPEX = add_OPEX for attr, val in kwargs.items(): setattr(self, attr, val) def _cost(self): - self.baseline_purchase_costs.update(self.CAPEX_dct) \ No newline at end of file + self.baseline_purchase_costs.update(self.CAPEX_dct) + self.power_utility.consumption = self.power \ No newline at end of file