Compare commits
2 Commits
0c17fa48b5
...
5d9aaa63ad
Author | SHA1 | Date | |
---|---|---|---|
|
5d9aaa63ad | ||
|
da8abcce33 |
|
@ -12,21 +12,38 @@ Mohammad Reza Seyedabadi mohammad.seyedabadi@mail.concordia.ca
|
|||
|
||||
|
||||
class EndOfLifeEmission:
|
||||
def __init__(self):
|
||||
pass
|
||||
def __init__(
|
||||
self, recycling_ratio, onsite_recycling_ratio,
|
||||
company_recycling_ratio, landfilling_ratio,
|
||||
demolition_machine_emission, onsite_machine_emission,
|
||||
companies_recycling_machine_emission, landfilling_machine_emission):
|
||||
self.recycling_ratio = recycling_ratio
|
||||
self.onsite_recycling_ratio = onsite_recycling_ratio
|
||||
self.company_recycling_ratio = company_recycling_ratio
|
||||
self.landfilling_ratio = landfilling_ratio
|
||||
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):
|
||||
pass
|
||||
def demolition(self, demolition_work_load):
|
||||
return self.demolition_machine_emission * demolition_work_load
|
||||
|
||||
def onsite_recycling(self, onsite_machine_emission, onsite_work_load):
|
||||
pass
|
||||
def onsite_recycling(self, onsite_work_load):
|
||||
return self.onsite_recycling_ratio * \
|
||||
self.onsite_machine_emission * \
|
||||
onsite_work_load
|
||||
|
||||
def companies_recycling(self, companies_recycling_machine_emission,
|
||||
companies_recycling_work_load):
|
||||
pass
|
||||
def companies_recycling(self, companies_recycling_work_load):
|
||||
return self.company_recycling_ratio * \
|
||||
self.companies_recycling_machine_emission * \
|
||||
companies_recycling_work_load
|
||||
|
||||
def landfilling(self, landfilling_machine_emission, landfilling_work_load):
|
||||
pass
|
||||
def landfilling(self, landfilling_work_load):
|
||||
return self.landfilling_ratio * \
|
||||
self.landfilling_machine_emission * \
|
||||
landfilling_work_load
|
||||
|
||||
def calculate_end_of_life_emission(self):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user