Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.49 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.49 KB

PyPSA_BC

Host repository for BC PyPSA work for the PICS Decarbonization project.

The project leverages BC infrastructure from CODERS.

Chapter 2 research documentation

The authoritative research design, assumptions, evidence, reviewed audits, and publication planning for the CascadeConfig study are maintained in the PhD thesis research repository. This repository remains the source of truth for executable model code, configuration, workflow rules, tests, runtime inputs, and generated results.

Setup

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 + dependencies

See docs/SETUP.md for a full walkthrough, including running scripts (uv run ...) and managing dependencies.

Visual Report for Built Networks

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 vis

Outputs:

  • HTML report: vis/PyPSA_BC_network_s_2021_visual_report.html
  • Plot resources: vis/vis_resources/PyPSA_BC_network_s_2021_plots/