PyPSA / pypsa-eur

PyPSA-Eur: A Sector-Coupled Open Optimisation Model of the European Energy System
https://pypsa-eur.readthedocs.io/
342 stars 242 forks source link

Export `conda` environment into configs folder #589

Closed fneum closed 1 month ago

fneum commented 3 years ago

This can be useful for debugging:

conda env export -f result/your-run-name/configs/environment.yaml

Maybe: --no-builds

To be done in copy_config rule.

fneum commented 1 month ago

The config file is exported from solve_sector_network. https://github.com/pypsa/pypsa-eur/blob/60d6df54a531e5890109203ef16aecbf16b54c38/rules/solve_overnight.smk#L22