Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure DC transmission projects appear in the correct year #187

Merged
merged 18 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run
run:
prefix: 202417mergetag013
prefix: 240918_nep_DC
name:
# - CurrentPolicies
- KN2045_Bal_v4
Expand Down Expand Up @@ -184,7 +184,7 @@ lines:

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#enable
enable:
retrieve: true # set to false once initial data is retrieved
retrieve: false # set to false once initial data is retrieved
retrieve_cutout: false # set to false once initial data is retrieved
clustering:
# simplify_network:
Expand Down Expand Up @@ -612,3 +612,10 @@ must_run_biogas:
enable: false
p_min_pu: 0.6
regions: ['DE']

transmission_projects:
new_link_capacity: keep #keep or zero

onshore_nep_force:
cutin_year: 2020
cutout_year: 2030
3 changes: 3 additions & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ resources = path_provider("resources/", RDIR, policy, exclude)

RESULTS = "results/" + RDIR


module pypsaeur:
snakefile:
"submodules/pypsa-eur/Snakefile"
Expand Down Expand Up @@ -232,6 +233,7 @@ rule modify_prenetwork:
land_transport_electric_share=config_provider(
"sector", "land_transport_electric_share"
),
onshore_nep_force=config_provider("onshore_nep_force"),
input:
network=RESULTS
+ "prenetworks-brownfield/elec_s{simpl}_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
Expand Down Expand Up @@ -458,6 +460,7 @@ rule export_ariadne_variables:
energy_totals_year=config_provider("energy", "energy_totals_year"),
co2_price_add_on_fossils=config_provider("co2_price_add_on_fossils"),
co2_sequestration_cost=config_provider("sector", "co2_sequestration_cost"),
post_discretization=config_provider("solving", "options", "post_discretization"),
input:
template=resources("template_ariadne_database.xlsx"),
industry_demands=expand(
Expand Down
Loading
Loading