pypsa-eur icon indicating copy to clipboard operation
pypsa-eur copied to clipboard

Fix fill missing in industry sector ratios intermediate

Open tgi-climact opened this issue 1 year ago • 0 comments

Changes proposed in this Pull Request

I found a strange behaviour of build_industry_sector_ratios_intermediate. When looking to intermediate steps between current and futur industry, missing values were wrongly filled with futur data.

I suggest to use futur data only when we miss the full description of the technology (carrier whise).

Here is an example of Ammonia in Belgium where we see a mix of current and futur data.

Ammonia / BE new new new old old old
MWh/tMaterial 2020 2030 2050 2020 2030 2050
elec 0.2473 0.17311 0 0.2473 0.17311 0
coal 0 0 0 0 0 0
coke 0 0 0 0 0 0
biomass 0 0 0 0 0 0
methane 0 0 0 0 0 0
hydrogen 5.93 4.151 0 5.93 4.151 0
heat 0 0 0 0 0 0
naphtha 0 0 0 0 0 0
ammonia 0 1.5498 5.166 5.166 5.166 5.166
process emission 0 0 0 0 0 0
process emission from feedstock 0 0 0 0 0 0

tgi-climact avatar Apr 04 '24 13:04 tgi-climact