Getting Started#
Welcome to PyPSA-GB! This section will help you get up and running quickly.
Prerequisites#
Before you begin, ensure you have:
Python 3.10 or later
Conda package manager (via Anaconda or Miniconda)
Git for cloning the repository
~10GB disk space for data and results
Gurobi solver (free academic license) or HiGHS (open-source)
Workflow#
PyPSA-GB uses a Snakemake workflow to orchestrate the model:
Configure your scenario in YAML files
Run the Snakemake workflow
Analyse the results
For market studies, scenarios can also enable the optional two-stage market workflow: a copperplate wholesale solve followed by constrained balancing redispatch. See Market Dispatch once you are comfortable running a standard scenario.
If you encounter issues, check the Troubleshooting guide or open a GitHub Issue.