gb-dispatch-model: Great Britain dispatch model built on the PyPSA-Eur workflow

gb-dispatch-model: Great Britain dispatch model built on the PyPSA-Eur workflow#

About#

gb-dispatch-model is an extension of PyPSA-Eur., used to quantify dispatch decisions in Great Britain under the conditions set out by the UK Future Energy Scenarios.

Quick start#

First, follow our installation steps.

You can then run the full workflow by calling:

pixi run model

This will run all the data processing and dispatch (unconstrained) + redispatch (constrained) optimisation steps using the default GB configuration.

The optimisation steps are the most resource intensive parts of the process. To run only the data processing steps, call:

pixi run compose_networks

To run the optimisation steps but with a simplified network (namely, with a coarser time dimension to create a smaller optimisation problem), call:

pixi run model --configfile 'config/config.gb.time-segment.yaml'

You can further aggregate the time dimension by updating the content of config/config.gb.time-segment.yaml, considering the available PyPSA options.

Workflow#

The full workflow rulegraph is shown below. Open the image in a new tab/window to view it in more detail.

../_images/workflow.svg

Note

The graph above was generated using snakemake --rulegraph -F gb_all | sed -n "/digraph/,/}/p" | dot -Tsvg -o doc/gb-model/img/workflow.svg

Operating Systems#

The gb-dispatch-model workflow is continuously tested for Linux, macOS and Windows (WSL only).