v2.2.0
PyPSA-GB v2.2.0
PyPSA-GB v2.2.0 adds a major two-stage market dispatch workflow, stronger historical market validation, improved ETYS network upgrade handling, and new tools for renewable aggregation and marginal-cost calibration.
Highlights
-
Added two-stage market dispatch:
- Stage 1 copperplate wholesale market solve.
- Stage 2 constrained balancing mechanism redispatch.
- Rolling day-ahead wholesale mode and rolling/per-timestep balancing mode.
- Optional wholesale-only workflow.
- Market dashboards, summaries, and generated analysis notebooks.
-
Added ELEXON and NESO market validation tooling:
- ELEXON BMRS bid/offer data retrieval and shared cache handling.
- BMU-to-generator mapping.
- ELEXON-derived bid/offer price support.
- BM calibration scorecards.
- NESO constraint validation and boundary analysis outputs.
-
Improved marginal-cost and subsidy modelling:
- Daily, thermal, and renewable marginal-cost calibration scripts.
- CfD and ROC subsidy tracking.
- Post-solve revenue accounting.
- Support for empirical renewable marginal costs from ELEXON bid data.
-
Improved ETYS network modelling:
- More robust ETYS upgrade application for circuits, transformers, and HVDC links.
- ETYS file registry for version-aware file and sheet handling.
- Better handling of HVDC aliases, coordinates, and network validation.
- New ETYS network figures for 2023 and 2035.
-
Added renewable aggregation:
- Optional aggregation of renewable generators by bus and carrier.
- Capacity-preserving aggregation with capacity-weighted
p_max_puprofiles. - Unit tests covering aggregation behaviour.
-
Expanded configuration and scenarios:
- New market scenario examples.
- Rolling market validation scenarios.
- Renewable performance factors.
- Embedded generation correction options.
- BM line-rating overrides and voltage-level relaxation settings.
-
Documentation updates:
- New market dispatch user guide.
- Updated API documentation for market, ETYS, and integration modules.
- Updated workflow, configuration, scenario, network, and troubleshooting docs.
- Added market dispatch tutorial.
Testing
This release adds unit coverage for renewable aggregation, BMU mapping, market utilities, connectivity repair, and updates workflow scenario validation tests.