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

CyclicGraphException in Myopic Run #1363

Open
2 tasks done
GbotemiB opened this issue Mar 3, 2025 · 0 comments · May be fixed by #1369
Open
2 tasks done

CyclicGraphException in Myopic Run #1363

GbotemiB opened this issue Mar 3, 2025 · 0 comments · May be fixed by #1369
Labels
bug Something isn't working

Comments

@GbotemiB
Copy link
Collaborator

GbotemiB commented Mar 3, 2025

Checklist

  • I am using the current main branch or the latest release. Please indicate.
  • I am running on an up-to-date pypsa-earth environment. Update via conda env update -f envs/environment.yaml.

Describe the Bug

Please provide a description of what the bug is and add a minimal example/command for reproducing the bug.

Looks like there is a cyclic dependency in the workflow for myopic run.

The error can be reproduced by running the following command

snakemake solve_all_networks_myopic -j8 --configfile test/config.test_myopic.yaml -n

Error Message

If applicable, paste any terminal output to help illustrating your problem.
In some cases it may also be useful to share your list of installed packages: conda list.

Config file config.default.yaml is extended by additional config specified via the command line.
Config file configs/bundle_config.yaml is extended by additional config specified via the command line.
Config file configs/powerplantmatching_config.yaml is extended by additional config specified via the command line.
Config file config.yaml is extended by additional config specified via the command line.
Demand data folder: data/ssp2-2.6/2030/era5_2013, load path is ['data/ssp2-2.6/2030/era5_2013/Africa.nc'].
Expected files: Africa.nc
Building DAG of jobs...
WorkflowError:
MissingInputException: Missing input files for rule add_existing_baseyear:
    output: results/test/prenetworks-brownfield/elec_s_4_lc1_Co2L_24H_2030_0.071_DF_120export.nc
    wildcards: simpl=, clusters=4, ll=c1, opts=Co2L, sopts=24H, planning_horizons=2030, discountrate=0.071, demand=DF, h2export=120
    affected files:
        costs_2030.csv
CyclicGraphException: Cyclic dependency on rule solve_network_myopic.
@GbotemiB GbotemiB added the bug Something isn't working label Mar 3, 2025
@GbotemiB GbotemiB linked a pull request Mar 6, 2025 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant