This is a collection of tools to couple remind and pypsa for different regions.
The tools are currently in development, with as test cases PyPSA-EUR for Germany and PyPSA-China-PIK for China.
- install from pypi
pip install remind-pypsa-coupling - import with
import rpycpl
https://pik-piam.github.io/Remind-PyPSA-coupling/
We recommend using uv.
- install uv
- make a venv
uv venvatproject/.venv - Activate the venv with
source .venv/bin/activate - option a) In the project folder run
uv pip install -e .Then use as a package - option b) In the project workspace update the venv with
uv syncto have all the package requirements. You can then use the src files as standalone.
Note
uv sometimes causes issues at steps 4. In this case
- run
uv pip install pipafter step 3 - run
pip install -e .in the project worspace
This package is intended for use in combination with REMIND and PyPSA, as part of a snakemake workflow
Examples: Coming at some point
Activate the venv with source .venv/bin/activate