pypsa-eur/rules/collect.smk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

86 lines
2.1 KiB
Plaintext
Raw Normal View History

2024-02-19 15:21:48 +00:00
# SPDX-FileCopyrightText: : 2023-2024 The PyPSA-Eur Authors
#
# SPDX-License-Identifier: MIT
2023-03-08 16:46:14 +00:00
localrules:
all,
cluster_networks,
prepare_elec_networks,
2023-03-08 16:46:14 +00:00
prepare_sector_networks,
solve_elec_networks,
solve_sector_networks,
rule cluster_networks:
input:
2023-08-15 13:02:41 +00:00
expand(
resources("networks/base_s_{clusters}.nc"),
2023-08-15 13:02:41 +00:00
**config["scenario"],
run=config["run"]["name"],
),
rule prepare_elec_networks:
input:
expand(
resources("networks/base_s_{clusters}_elec_l{ll}_{opts}.nc"),
2023-08-15 13:02:41 +00:00
**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",
2023-08-15 13:02:41 +00:00
**config["scenario"],
run=config["run"]["name"],
),
rule solve_elec_networks:
input:
expand(
RESULTS + "networks/base_s_{clusters}_elec_l{ll}_{opts}.nc",
2023-08-15 13:02:41 +00:00
**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",
2023-08-15 13:02:41 +00:00
**config["scenario"],
run=config["run"]["name"],
),
2023-04-03 15:39:47 +00:00
rule solve_sector_networks_perfect:
input:
expand(
RESULTS
+ "maps/base_s_{clusters}_l{ll}_{opts}_{sector_opts}-costs-all_{planning_horizons}.pdf",
2023-08-15 13:02:41 +00:00
**config["scenario"],
run=config["run"]["name"],
2023-03-08 16:46:14 +00:00
),
rule validate_elec_networks:
input:
expand(
RESULTS + "figures/.statistics_plots_base_s_{clusters}_elec_l{ll}_{opts}",
2023-08-15 13:02:41 +00:00
**config["scenario"],
run=config["run"]["name"],
),
expand(
RESULTS
+ "figures/.validation_{kind}_plots_base_s_{clusters}_elec_l{ll}_{opts}",
**config["scenario"],
2023-08-15 13:02:41 +00:00
run=config["run"]["name"],
kind=["production", "prices", "cross_border"],
),