Add machine emission to the constructor
This commit is contained in:
parent
0c17fa48b5
commit
da8abcce33
|
@ -12,21 +12,26 @@ Mohammad Reza Seyedabadi mohammad.seyedabadi@mail.concordia.ca
|
||||||
|
|
||||||
|
|
||||||
class EndOfLifeEmission:
|
class EndOfLifeEmission:
|
||||||
def __init__(self):
|
def __init__(
|
||||||
pass
|
self, demolition_machine_emission, onsite_machine_emission,
|
||||||
|
companies_recycling_machine_emission, landfilling_machine_emission):
|
||||||
|
self.demolition_machine_emission = demolition_machine_emission
|
||||||
|
self.onsite_machine_emission = onsite_machine_emission
|
||||||
|
self.companies_recycling_machine_emission = \
|
||||||
|
companies_recycling_machine_emission
|
||||||
|
self.landfilling_machine_emission = landfilling_machine_emission
|
||||||
|
|
||||||
def demolition(self, demolition_machine_emission, demolition_work_load):
|
def demolition(self, demolition_work_load):
|
||||||
pass
|
return self.demolition_machine_emission * demolition_work_load
|
||||||
|
|
||||||
def onsite_recycling(self, onsite_machine_emission, onsite_work_load):
|
def onsite_recycling(self, onsite_work_load):
|
||||||
pass
|
return self.onsite_machine_emission * onsite_work_load
|
||||||
|
|
||||||
def companies_recycling(self, companies_recycling_machine_emission,
|
def companies_recycling(self, companies_recycling_work_load):
|
||||||
companies_recycling_work_load):
|
return self.companies_recycling_machine_emission * companies_recycling_work_load
|
||||||
pass
|
|
||||||
|
|
||||||
def landfilling(self, landfilling_machine_emission, landfilling_work_load):
|
def landfilling(self, landfilling_work_load):
|
||||||
pass
|
return self.landfilling_machine_emission * landfilling_work_load
|
||||||
|
|
||||||
def calculate_end_of_life_emission(self):
|
def calculate_end_of_life_emission(self):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user