The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Design & creative · SKILL.md

analysis-visualization

analysis-visualization

Routes PyPSA result analysis, statistics, plotting, NetworkCollection comparisons, and temporal or spatial clustering tasks.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: analysis-visualization description: "Routes PyPSA result analysis, statistics, plotting, NetworkCollection comparisons, and temporal or spatial clustering tasks." disable-model-invocation: true metadata: disco-role: operating license: MIT

Analysis and Visualization

Use this route when you need to inspect PyPSA networks, summarize results, compare scenarios, or present outputs as static or interactive charts and maps.

Start here

Use this route for

  • n.stats / n.statistics metrics, filters, groupers, and custom grouper registration.
  • Static or interactive statistics plots.
  • Static network maps with n.plot.map and interactive maps with n.plot.iplot or n.plot.explore.
  • Temporal clustering via resample, downsample, or segment.
  • Spatial clustering via busmaps and clustered-network aggregation.
  • Scenario comparison with NetworkCollection.

Do not use this route for

  • Building or fixing the underlying network structure and component tables.
  • Importing or exporting network data.
  • Running optimization or power-flow setup.

Quick rules of thumb

  • If the network is unsolved, start with input-side metrics such as installed capacity; solve-dependent metrics can be empty until optimization or power-flow has run.
  • For headless static plots, use the bundled smoke script or set Matplotlib to an off-screen backend.
  • For missing optional dependencies, read the troubleshooting reference before trying to force-install extras.
  • For collection comparisons, keep scenario names explicit and align snapshots or periods whenever you need direct time-series comparison.

Typical questions this route answers

  • "Why are my statistics empty?"
  • "How do I group by carrier, bus carrier, country, or a custom grouper?"
  • "How do I draw a headless bar, area, or map plot?"
  • "How do I compare two scenario networks?"
  • "How do I resample, downsample, or segment snapshots?"
  • "How do I cluster buses with or without scikit-learn?"
Saved skills