Skip to content

Commit

Permalink
make sure heating fuel type is called the same in all data csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
han16nah committed May 6, 2024
1 parent 5292c95 commit 9623fba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion co2calculator/data/conversion_factors_heating.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
0,oil,l,10.6
1,liquid gas,kg,14.1
2,coal,kg,6.0
3,wood pellet,kg,5.4
3,wood pellets,kg,5.4
4,wood chips,kg,5.2
5,gas,m^3,10.8
7 changes: 7 additions & 0 deletions tests/data/conversion_factors_heating.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
,fuel_type,unit,conversion_value
0,oil,l,10.6
1,liquid gas,kg,14.1
2,coal,kg,6.0
3,wood pellets,kg,5.4
4,wood chips,kg,5.2
5,gas,m^3,10.8
2 changes: 1 addition & 1 deletion tests/data/emission_factors_heating.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
,country_code,category,source,name,unit,fuel_type,co2e_unit,co2e
0,global,heating,"UK, Department for Business, Energy & Industrial Strategy",coal (domestic),kWh,coal,kg/kWh,0.35
1,global,heating,"UK, Department for Business, Energy & Industrial Strategy",natural gas,kWh,gas,kg/kWh,0.18
2,global,heating,"UK, Department for Business, Energy & Industrial Strategy",LPG,kWh,liquid_gas,kg/kWh,0.21
2,global,heating,"UK, Department for Business, Energy & Industrial Strategy",LPG,kWh,liquid gas,kg/kWh,0.21
3,global,heating,"UK, Department for Business, Energy & Industrial Strategy",fuel oil,kWh,oil,kg/kWh,0.27
4,global,heating,"UK, Department for Business, Energy & Industrial Strategy",wood pellets,kWh,wood pellets,kg/kWh,0.01074
5,global,heating,"UK, Department for Business, Energy & Industrial Strategy",wood chips,kWh,wood chips,kg/kWh,0.01074

0 comments on commit 9623fba

Please sign in to comment.