Closed toniseibold closed 6 months ago
Hi @toniseibold, good so far, a few changes:
update_transmission_costs
with from add_electricity import update_transmission_costs
n.lines.capital_cost
Thanks for the review!
Cost reduction following the DEA reductions
Everything else should also be addressed. Couldn't find the source for the heat pump investment costs for 2020 but added Ariadne database
as source.
Strange infeasability for offshore wind coming up for 2030 when optimizing myopic from 2020 on:
IIS computed: 7 constraints and 0 bounds
IIS runtime: 0.00 seconds (0.00 work units)
Generator-ext-p_nom-upper[DE1 3 offwind-ac-2030]: +1 Generator-p_nom[DE1 3 offwind-ac-2030] ≤ 1.33756202558e-07
Generator-ext-p_nom-upper[DE1 3 offwind-dc-2030]: +1 Generator-p_nom[DE1 3 offwind-dc-2030] ≤ 3.84843588108e-07
Generator-ext-p_nom-upper[DE1 6 offwind-ac-2030]: +1 Generator-p_nom[DE1 6 offwind-ac-2030] ≤ 2492.76843401
Generator-ext-p_nom-upper[DE1 6 offwind-dc-2030]: +1 Generator-p_nom[DE1 6 offwind-dc-2030] ≤ 1.37606548378e-09
Generator-ext-p_nom-upper[DE1 7 offwind-ac-2030]: +1 Generator-p_nom[DE1 7 offwind-ac-2030] ≤ 7.66360699345e-08
Generator-ext-p_nom-upper[DE1 7 offwind-dc-2030]: +1 Generator-p_nom[DE1 7 offwind-dc-2030] ≤ 3.35546133101e-08
GlobalConstraint-capacity_minimum-DE-Generator-offwind: +1 Generator-p_nom[DE1 3 offwind-ac-2030] + 1 Generator-p_nom[DE1 3 offwind-dc-2030] + 1 Generator-p_nom[DE1 6 offwind-ac-2030] + 1 Generator-p_nom[DE1 6 offwind-dc-2030] + 1 Generator-p_nom[DE1 7 offwind-ac-2030] + 1 Generator-p_nom[DE1 7 offwind-dc-2030] ≥ 2658.61335008
ERROR:root:Uncaught exception
@toniseibold is this perfect foresight? If yes, please update to the latest pypsa version
It is myopic foresight. With new config settings
renewable:
offwind-ac:
capacity_per_sqkm: 10
offwind-dc:
capacity_per_sqkm: 10
it works however those are rather high...
Source for heat pump data is https://ariadneprojekt.de/media/2024/01/Ariadne-Analyse_HeizkostenEmissionenGebaeude_Januar2024.pdf, Anhang at end.
did not reuse function update_transmission_costs
with from add_electricity import update_transmission_costs
since I had to slightly change the function to not set prices for the extension of reversed lines/links.
Since the function is rather short I copied and renamed it to transmission_costs_from_modified_cost_data
. This is the minimal invasive way that doesn't need changes in pypsa-Eur or the pypsa-Eur ariadne branch.
Because of the Covid pandemic, the prices for gas, coal and oil were low because of the decreased demand. Since we are using 2019 demand data from eurostat, the workflow now takes also the prices from 2019 into account.
There are also added heat pump values manually for 2019/2020:
The Network expansion costs are changed for all
planning_horizons
:AC/DC underground
data. Since thesubmarine
data is missing in NEP 21, the underground values are taken as substitute.Compared to before the capital_cost of DC links are now ~ 3 times higher then before.