pandapower
Progressive-disclosure workflow for pandapower power-system studies. Use whenever the user wants to load, build, or inspect a pandapower network, run AC power flow, check bus voltages or line and transformer loading, or screen N-1 contingencies — even when they just say 'run a load flow', 'check thi
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pandapower
- risk
- low
- source
- https://github.com/Power-Agent/PowerSkills
- license
- MIT
- version
- 1.0.0
- category
- electrical-engineering
- description
- Progressive-disclosure workflow for pandapower power-system studies. Use whenever the user wants to load, build, or inspect a pandapower network, run AC power flow, check bus voltages or line and transformer loading, or screen N-1 contingencies — even when they just say 'run a load flow', 'check thi
- imported_at
- 2026-09-20
- source_path
- powerskills-tool/skills/pandapower/SKILL.md
- source_repository
- Power-Agent/PowerSkills
- disable-model-invocation
- false
02 资源文件 7
- 参考文档case39.json81.5 KB
- 参考文档references/API_REFERENCE.md8.2 KB
- 参考文档references/EXAMPLES.md9.7 KB
- 参考文档requirements.txt278 B
- 脚本scripts/contingency_analysis.py10.4 KB
- 脚本scripts/network_analysis.py11.1 KB
- 脚本scripts/test_scripts.py906 B
03 SKILL.md 正文
pandapower workflow
Start with the network model and a clean base-case solve. Use contingency analysis only after the steady-state case is credible.
Default tool ladder
load_network(file_path)orcreate_empty_network()get_network_info()to inspect buses, lines, transformers, generators, loads, and switches.run_power_flow(...)to establish the base operating point.run_contingency_analysis(...)only after the base case solves and the monitoring limits are clear.
Example sequence
Using the case39.json network shipped with this skill:
load_network("case39.json") -> 39 buses, 34 lines, 12 transformers, 10 generators
get_network_info() -> confirms slack bus, switch states, and rating fields
run_power_flow() -> converged; report min/max res_bus.vm_pu and worst loading_percent
run_contingency_analysis() -> ranks N-1 outages by the violations each one causes
Read the base-case numbers before running contingencies, then use the escalation table below on whatever the solve actually reports.
Working rules
- Do not run contingencies before checking the base-case voltages and loading.
- Use pandapower for AC feasibility and fast screening, then escalate only when the question requires more.
Escalation triggers
Map what the solve reports to the mitigation skill that handles it, and quote the numbers that tripped it (bus + vm_pu, element + loading %) rather than saying "violations exist".
| Observation | Escalate to |
|---|---|
res_bus.vm_pu < 0.95 or > 1.05 |
voltage-violation-mitigation |
res_line / res_trafo loading_percent > 100 |
thermal-overload-mitigation |
run_contingency_analysis flags any N-1 violation or islanding |
contingency-mitigation |
run_power_flow fails to converge |
convergence-failure-mitigation |
| The study is DER (PV, storage) integration on a distribution network | der-hosting-capacity-mitigation |
Local assets in this skill
case39.json— a ready test network.scripts/network_analysis.py— structured base-case review.scripts/contingency_analysis.py— local N-1 screening.
Deliver
- The network loaded and whether the base case converged.
- The key voltage or loading findings.
- Whether contingency or mitigation work is now justified.
04 同仓库更多 Skills
dei-assessment
Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.
dei-action-plan
Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.
culture-fit-assessment
Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.
cowork-to-code-bridge
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
counter-offer-response
Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.
continuous-feedback-system
Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.