diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 9a882629..62136258 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -305,6 +305,8 @@ Upcoming Release * Clarify that the rolling-horizon setting ``solving: rolling_horizon:`` only works for the rule :mod:`solve_operations_network` and not for networks with sector-coupling or investment variables. +* Fix non steel related coal demand during transition (using `sector_ratios_fraction_future`). + PyPSA-Eur 0.10.0 (19th February 2024) ===================================== diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index fee927a2..0368397e 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -3240,13 +3240,7 @@ def add_industry(n, costs): p_set=p_set, ) - primary_steel = get( - snakemake.config["industry"]["St_primary_fraction"], investment_year - ) - dri_steel = get(snakemake.config["industry"]["DRI_fraction"], investment_year) - bof_steel = primary_steel - dri_steel - - if bof_steel > 0: + if (industrial_demand["coke"].sum() + industrial_demand["coal"].sum()) != 0: add_carrier_buses(n, "coal") mwh_coal_per_mwh_coke = 1.366 # from eurostat energy balance