pypsa-meets-earth / pypsa-earth-sec

GNU General Public License v3.0
19 stars 16 forks source link

Possible overestimation of `co2 emission` of oil loads #243

Closed energyLS closed 7 months ago

energyLS commented 7 months ago

Checklist

Describe the Bug

At low or zero emissions scenarios without carbon sequestration, the model produces oil via Fischer-Tropsch and does not use it. A possible explaination for this might be:

Possible solution

Check the co2 calculation of these oil consumers:

by searching (strg+f) for oil emission and checking wether the oil demand and emission is linked correctly by checking the emission factor costs.at["oil", "CO2 intensity"], temporal resolution (8760 division?), spatial resolution, ... It should always be like this: The annual oil demand in p_set of oil load * costs.at["oil", "CO2 intensity"] should equal the p_set of emission load.

One example is e.g. https://github.com/pypsa-meets-earth/pypsa-earth-sec/blob/0b5884828bb0426e97623d9383c618a5b602d630/scripts/prepare_sector_network.py#L744

energyLS commented 7 months ago
Aviation: 1437 MWh per hour / 373 t per h
Shipping: 219 MWh per hour / -> (`shipping_oil_share` should be removed)
Industry (Coal/oil): demand unclear / 0 t emissions 

land transport: 7 TWh per year / 210 t per hour services: 0.42 TWh per year / 12 t per hour agriculture: 973 MWh per hour / 253 t per hour residential oil: 15 TWh per year / 456 t per hour

Other emissions somewhere else?

energyLS commented 7 months ago

Checking the co2 balance of a net-zero solved network reveals: There are biomass emissions which should not be there. Biomass is implemented as "neutral" carrier, not deducting co2 from the atmosphere nor emitting into the atmosphere.

grafik

Code investigation reveals: These biomass emissions are added here, but this seems to be an error. https://github.com/pypsa-meets-earth/pypsa-earth-sec/blame/6b6f04f1984b6c1293f00acf64e0b42bd79636a0/scripts/prepare_sector_network.py#L2217-L2223

energyLS commented 7 months ago

All issues tackled here: #245