Correct emission factor
This commit is contained in:
parent
6ee71cbc14
commit
835407184f
|
@ -15,10 +15,9 @@ class Co2Emission:
|
||||||
|
|
||||||
def __init__(self, building: Building, emissions_factor=None):
|
def __init__(self, building: Building, emissions_factor=None):
|
||||||
if emissions_factor is None:
|
if emissions_factor is None:
|
||||||
emissions_factor = {cte.GAS: 1,
|
emissions_factor = {cte.GAS: 0.2025,
|
||||||
cte.ELECTRICITY: 1,
|
cte.ELECTRICITY: 0.00113,
|
||||||
cte.WOOD: 1,
|
cte.DIESEL: 0.2683,
|
||||||
cte.DIESEL: 1,
|
|
||||||
cte.RENEWABLE: 0}
|
cte.RENEWABLE: 0}
|
||||||
self._emissions_factor = emissions_factor
|
self._emissions_factor = emissions_factor
|
||||||
self._building = building
|
self._building = building
|
||||||
|
|
2
dist/.gitignore
vendored
Normal file
2
dist/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
BIN
dist/cerc-co2-emission-0.1.0.0.tar.gz
vendored
BIN
dist/cerc-co2-emission-0.1.0.0.tar.gz
vendored
Binary file not shown.
BIN
dist/cerc_co2_emission-0.1.0.0-py3-none-any.whl
vendored
BIN
dist/cerc_co2_emission-0.1.0.0-py3-none-any.whl
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user