Host repository for BC PyPSA work for the PICS Decarbonization project.
The project leverages BC infrastructure from CODERS.
This project is packaged as pypsa-bc and managed with uv. Quick start:
curl -LsSf https://astral.sh/uv/install.sh | sh # install uv
git clone https://github.com/DeltaE/PyPSA_BC.git
cd PyPSA_BC
uv sync # creates .venv and installs pypsa-bc + dependenciesSee docs/SETUP.md for a full walkthrough, including running scripts (uv run ...) and managing dependencies.
Generate a comprehensive static + interactive visualization report from a built PyPSA network:
uv run python workflow/scripts/build_visual_report.py \
--network results/pypsa/PyPSA_BC_network_s_2021.nc \
--vis-dir visOutputs:
- HTML report:
vis/PyPSA_BC_network_s_2021_visual_report.html - Plot resources:
vis/vis_resources/PyPSA_BC_network_s_2021_plots/