power-agent/powerskills/convergence-failure-mitigation
Claude Code and agent skill by power-agent/powerskills
- community
Checking that the SKILL.md file is still in the repository.
Senior power-engineer playbook for power-flow convergence failures. Use whenever a base case or post-change case diverges, oscillates, or fails to solve in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, or OpenDSS. Triggers on "power flow diverged", "case won't solve", "did not converge", "blown-up voltages", or "max iterations reached". Every tool skill stops on a non-convergent base case — this playbook is what to do next, separating data errors from numerical fragility from genuine physical infeasibility.
Install
npx vskill@latest install power-agent/powerskills/convergence-failure-mitigationSKILL.md
The same SKILL.md was published earlier as power-agent/powerskills/convergence-failure-mitigation.
Convergence failure mitigation
Start from the failed solve and its mismatch report. The goal is to learn why it failed, not just to force a solution.
Preferred action order
- Rule out data problems first: isolated or de-energized buses, zero or absurd branch impedances, missing or misplaced swing bus, transformer tap and phase-angle data, load/generation totals that cannot balance.
- Check islanding and slack coverage: every energized island needs a slack with feasible MW. Use the tool's island or topology report before touching solver settings.
- Simplify the solve, then restore: try flat start vs warm start, lock taps, switched shunts, and phase shifters, relax generator Q-limits — then re-enable controls stepwise once a solution exists.
- Seed from an easier point: a DC solve, a previously solved neighbor case, or a reduced-stress version of the case, then scale load or transfer toward the target in steps.
- If failure persists only near the target stress level, treat it as a feasibility boundary, not a numerical bug: reduce transfer or load, add reactive support, and flag possible voltage-collapse proximity.
Working rules
- The largest mismatch bus tells you where to look — start there, not with global solver settings.
- Change one solver setting at a time and record what finally solved.
- A case solved with controls locked or Q-limits relaxed is not finished; restore realism before reporting results from it.
- Distinguish "the math failed" from "the operating point does not exist" — the corrective actions are completely different.
Deliver
- The failure category: data error, control interaction, numerical fragility, or physical infeasibility.
- The specific change that made the case solve.
- Any realism caveats that remain (locked controls, relaxed limits) and what to re-check.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpowerskills-engineering/skills/convergence-failure-mitigation/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 11
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/power-agent/powerskills/convergence-failure-mitigation)