PyPSA / pypsa-ariadne

High resolution, sector-coupled model of the German Energy System
https://ariadneprojekt.de/en/model-documentation-pypsa/
MIT License
6 stars 4 forks source link

Improve environment.yaml #3

Closed lindnemi closed 5 months ago

lindnemi commented 5 months ago

When using several conda environments with the same Python version a strange behaviour may occur: The packages installed via pip are only visible from the environment in which they were first installed. All other environments use these pip-installed packages, but do not list them (via conda list). As a consequence its hard to figure out which packages are actually used and in what version. Since all packages used by this repo are available via conda-forge, it would be cleaner not to use pip.

Additionally, restricting linopy <= 0.2.6 fixed a strange bug in solve_network. Apparently @fneum suggested this.

lindnemi commented 5 months ago

it's been a bit of back and forth, so probably should be squashed before merging