界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

analysis-visualization

analysis-visualization

【设计与创意】Routes PyPSA result analysis, statistics, plotting, NetworkCollection comparisons, and temporal or spatial clustering tasks.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

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?"
我的收藏