Skip to content
Back to skills

Analysis Visualization

ASecurity

"Routes PyPSA result analysis, statistics, plotting,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
databackend

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill analysis-visualization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analysis Visualization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analysis Visualization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-analysis-visualization-b0a74465/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-analysis-visualization-b0a74465)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- [references/statistics-reference.md](references/statistics-reference.md) — metrics, filters, custom groupers, solved-versus-unsolved behavior, and NetworkCollection statistics.
- [references/plotting-reference.md](references/plotting-reference.md) — static and interactive charts, `n.plot.map`, `n.plot.iplot`, and `n.plot.explore`.
- [references/clustering-collections.md](references/clustering-collections.md) — temporal resampling/downsampling/segmentation, spatial busmaps, and NetworkCollection comparison limits.
- [references/troubleshooting.md](references/troubleshooting.md) — empty statistics, plot backend issues, optional dependency skips, and collection alignment problems.
- [scripts/pypsa_analysis_smoke.py](scripts/pypsa_analysis_smoke.py) — tiny headless smoke for statistics, plots, and NetworkCollection comparison.
- [scripts/pypsa_clustering_smoke.py](scripts/pypsa_clustering_smoke.py) — tiny smoke for temporal clustering plus optional spatial clustering.

## 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?"

Files in this skill

  • SKILL.md2.9 KB
  • references/clustering-collections.md8.2 KB
  • references/plotting-reference.md6.7 KB
  • references/statistics-reference.md7.9 KB
  • references/troubleshooting.md7.9 KB
  • scripts/pypsa_analysis_smoke.py7 KB
  • scripts/pypsa_clustering_smoke.py5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.