* 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>
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
# SPDX-FileCopyrightText: : 2023-2024 The PyPSA-Eur Authors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
rule solve_sector_network:
|
|
params:
|
|
solving=config_provider("solving"),
|
|
foresight=config_provider("foresight"),
|
|
planning_horizons=config_provider("scenario", "planning_horizons"),
|
|
co2_sequestration_potential=config_provider(
|
|
"sector", "co2_sequestration_potential", default=200
|
|
),
|
|
custom_extra_functionality=input_custom_extra_functionality,
|
|
input:
|
|
network=RESULTS
|
|
+ "prenetworks/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
|
|
output:
|
|
network=RESULTS
|
|
+ "postnetworks/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.nc",
|
|
config=RESULTS
|
|
+ "configs/config.base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}.yaml",
|
|
shadow:
|
|
"shallow"
|
|
log:
|
|
solver=RESULTS
|
|
+ "logs/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}_solver.log",
|
|
memory=RESULTS
|
|
+ "logs/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}_memory.log",
|
|
python=RESULTS
|
|
+ "logs/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}_python.log",
|
|
threads: solver_threads
|
|
resources:
|
|
mem_mb=config_provider("solving", "mem_mb"),
|
|
runtime=config_provider("solving", "runtime", default="6h"),
|
|
benchmark:
|
|
(
|
|
RESULTS
|
|
+ "benchmarks/solve_sector_network/base_s_{clusters}_l{ll}_{opts}_{sector_opts}_{planning_horizons}"
|
|
)
|
|
conda:
|
|
"../envs/environment.yaml"
|
|
script:
|
|
"../scripts/solve_network.py"
|