From powerskills-tool
Guides PyPSA power system studies: load/create networks, inspect components, run power flow, solve operational OPF, and perform capacity-expansion optimization with progressive disclosure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/powerskills-tool:pypsaThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Start by creating or loading a named network handle. Use network inspection before optimization, and use operational optimization before investment optimization.
Start by creating or loading a named network handle. Use network inspection before optimization, and use operational optimization before investment optimization.
load_network(file_path) or create_network(...) to create the active network handle.get_network_info(network_name) and get_component_details(...) to understand topology, assets, and time series.run_power_flow(network_name, linear=False) for feasibility checks.optimize_network(network_name, ...) for dispatch or operational studies.optimize_investment(network_name, ...) for expansion questions.import_from_csv_folder(...) or export_to_csv_folder(...) once the network state is worth moving.Quote the numbers that tripped each row (bus + v_mag_pu, element + loading, infeasibility cause) rather than saying "it failed".
| Observation | Escalate to |
|---|---|
Bus v_mag_pu < 0.95 or > 1.05 on an AC power flow | voltage-violation-mitigation |
Line or transformer loaded > 100% of s_nom | thermal-overload-mitigation |
run_contingency_analysis N-1 overload or post-outage islanding | contingency-mitigation |
optimize_network / optimize_investment infeasible, reserve-short, or heavily curtailed | operations-planning-mitigation |
run_power_flow fails to converge | convergence-failure-mitigation |
case39.nc — a ready test network.scripts/network_analysis.py — inspection.scripts/optimization_analysis.py — OPF result review.scripts/expansion_analysis.py — capacity-expansion studies.scripts/contingency_analysis.py — local N-1 screening outside PowerMCP.npx claudepluginhub power-agent/powerskills --plugin powerskills-toolProgressive-disclosure workflow for pandapower power-system studies: load networks, run AC power flow, check voltages/loading, and screen N-1 contingencies with escalation to mitigation skills.
Analyzes electric power networks with pandapower v3.4.0: builds models (buses, lines, transformers, loads, generators), runs AC/DC power flow, OPF, short circuit (IEC 60909), state estimation, time series, topology, plotting.
Debugs infeasible or expensive power-system optimization runs (Egret/PyPSA) with corrective actions: data quality fixes, screening solves, flexibility additions, congestion relief.