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

Incorrect computation of population layouts if alternative clustering is enabled #1248

Open
2 tasks done
ekatef opened this issue Dec 20, 2024 · 1 comment
Open
2 tasks done
Labels
alternative_clustering The issue relates to improvements of alternative clustering bug Something isn't working

Comments

@ekatef
Copy link
Member

ekatef commented Dec 20, 2024

It appears that output of build_clustered_population_layouts.py may be not correct if alternative clustering is enabled. Both the overall population and distribution are incorrect.

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

Ways to reproduce

Testing for Kazakhstan

Issues found:

  • after clustering, population is ~44 mlns (instead of ~20 mlns in reality)
  • population of the former Karaganda region (Ulytau and Karaganda regions according to the actual administrative division) is ~16 mlns after clustering instead of 1.3 mlns
image

Testing for USA

Issues found:

  • after clustering, the overall population is ~3 times higher than the real value
  • population distribution is not realistic
@ekatef ekatef added the bug Something isn't working label Dec 20, 2024
@ekatef
Copy link
Member Author

ekatef commented Dec 20, 2024

@hazemakhalek may you have any ideas on why it could happen?

@ekatef ekatef added the alternative_clustering The issue relates to improvements of alternative clustering label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alternative_clustering The issue relates to improvements of alternative clustering bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant