pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
218 stars 173 forks source link

General landlock country fix #394

Closed pz-max closed 1 year ago

pz-max commented 2 years ago

Describe the feature you'd like to see

We worked in PR https://github.com/pypsa-meets-africa/pypsa-africa/pull/341 already to make parts of the scripts run with landlock countries, however, it does not apply to all yet. Since PyPSA-Eur had the exact same problem, we worked on a solution for Europe in two PR's with PR https://github.com/PyPSA/pypsa-eur/pull/383 as final solution.

I would like to see the landlock country fix from https://github.com/PyPSA/pypsa-eur/pull/383 implemented in PyPSA-Africa. Since the solution is there, it should be a relatively easy task and a good exercise for beginners.

The changes should be manually tested for:

We could also think about adding a CI Linux test for these two cases.

pz-max commented 1 year ago

Fixed by https://github.com/pypsa-meets-earth/pypsa-earth/pull/481