-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug on electricity not included in non-reactive units
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
QSDsan: Quantitative Sustainable Design for sanitation and resource recovery systems | ||
This module is developed by: | ||
Yalin Li <[email protected]> | ||
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) | ||
self.baseline_purchase_costs.update(self.CAPEX_dct) | ||
self.power_utility.consumption = self.power |