Skip to content

Fix issue #1792 : updated colours in plot_balance_map#1793

Merged
fneum merged 1 commit intoPyPSA:masterfrom
blakeldridge:fix-balance-map-carrier-colors
Aug 11, 2025
Merged

Fix issue #1792 : updated colours in plot_balance_map#1793
fneum merged 1 commit intoPyPSA:masterfrom
blakeldridge:fix-balance-map-carrier-colors

Conversation

@blakeldridge
Copy link
Copy Markdown
Contributor

Closes #1792

Changes proposed in this Pull Request

  • Fixes a bug where carrier colors were not updated in the balance map plotting script after a config change post solving a network.

  • Ensures tech_colors are now read directly from the Snakemake config at runtime for the balance map.

  • This brings consistency with all the other plotting functions e.g. plot_balance_timeseries

  • Modified scripts/plot_balance_map.py to fetch tech_colors from current config.

Checklist

  • [✔️ ] I tested my contribution locally and it works as intended.
  • [✔️ ] Code and workflow changes are sufficiently documented.
  • [ ❌] Changed dependencies are added to envs/environment.yaml.
  • [❌ ] Changes in configuration options are added in config/config.default.yaml.
  • [❌ ] Changes in configuration options are documented in doc/configtables/*.csv.
  • [❌ ] Sources of newly added data are documented in doc/data_sources.rst.
  • [❌] A release note doc/release_notes.rst is added.

@fneum fneum enabled auto-merge (squash) August 11, 2025 07:57
@fneum fneum merged commit 91eb24f into PyPSA:master Aug 11, 2025
8 checks passed
measrainsey pushed a commit to open-energy-transition/pypsa-wal that referenced this pull request Sep 5, 2025
toniseibold pushed a commit that referenced this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Balance map carrier colors not updated after config change (post network solve)

2 participants