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

remove_stubs can drop countries #970

Open
2 tasks done
davide-f opened this issue Feb 8, 2024 · 0 comments
Open
2 tasks done

remove_stubs can drop countries #970

davide-f opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@davide-f
Copy link
Member

davide-f commented Feb 8, 2024

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

Running remove_stubs may drop entire countries if few buses of the country are identified by remove_stubs.
This behavior can be solved by setting the following option to false by default.

remove_stubs_across_borders: true

This is not a priority task and I keep it open, it is a nice first good issue.
To fix we need to just change the option to false in the config.tutorial.yaml and config.default.yaml files.

@davide-f davide-f added bug Something isn't working good first issue Good for newcomers labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant