pypsa-eur/rules/collect.smk
Fabian Neumann 013b705ee4
Clustering: build renewable profiles and add all assets after clustering (#1201)
* Cluster first: build renewable profiles and add all assets after clustering

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* correction: pass landfall_lengths through functions

* assign landfall_lenghts correctly

* remove parameter add_land_use_constraint

* fix network_dict

* calculate distance to shoreline, remove underwater_fraction

* adjust simplification parameter to exclude Crete from offshore wind connections

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused geth2015 hydro capacities

* removing remaining traces of {simpl} wildcard

* add release notes and update workflow graphics

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lisazeyen <lisa.zeyen@web.de>
2024-09-13 15:37:01 +02:00

86 lines
2.1 KiB
Plaintext

# SPDX-FileCopyrightText: : 2023-2024 The PyPSA-Eur Authors
#
# SPDX-License-Identifier: MIT
localrules:
all,
cluster_networks,
prepare_elec_networks,
prepare_sector_networks,
solve_elec_networks,
solve_sector_networks,
rule cluster_networks:
input:
expand(
resources("networks/base_s_{clusters}.nc"),
**config["scenario"],
run=config["run"]["name"],
),
rule prepare_elec_networks:
input:
expand(
resources("networks/base_s_{clusters}_elec_l{ll}_{opts}.nc"),
**config["scenario"],
run=config["run"]["name"],
),
rule prepare_sector_networks:
input:
expand(
RESULTS
+ "prenetworks/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
**config["scenario"],
run=config["run"]["name"],
),
rule solve_elec_networks:
input:
expand(
RESULTS + "networks/base_s_{clusters}_elec_l{ll}_{opts}.nc",
**config["scenario"],
run=config["run"]["name"],
),
rule solve_sector_networks:
input:
expand(
RESULTS
+ "postnetworks/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
**config["scenario"],
run=config["run"]["name"],
),
rule solve_sector_networks_perfect:
input:
expand(
RESULTS
+ "maps/base_s_{clusters}_l{ll}_{opts}_{sector_opts}-costs-all_{planning_horizons}.pdf",
**config["scenario"],
run=config["run"]["name"],
),
rule validate_elec_networks:
input:
expand(
RESULTS + "figures/.statistics_plots_base_s_{clusters}_elec_l{ll}_{opts}",
**config["scenario"],
run=config["run"]["name"],
),
expand(
RESULTS
+ "figures/.validation_{kind}_plots_base_s_{clusters}_elec_l{ll}_{opts}",
**config["scenario"],
run=config["run"]["name"],
kind=["production", "prices", "cross_border"],
),