Skip to content

Release 0.5.0 - #152

Merged
qian-harvard merged 3 commits into
mainfrom
release/v0.5.0
Nov 11, 2026
Merged

qian-harvard merged 3 commits into
mainfrom
release/v0.5.0

Conversation

@qian-harvard

Copy link
Copy Markdown
Contributor

Bumps the version to 0.5.0 in the three places test_package_versions_match checks: pyproject.toml, powermcp/__init__.py and tests/test_registry.py. Nothing else changes. The branch is current main plus that one commit.

0.5.0, not 0.4.2: main adds 15 MCP tools since 0.4.1 and removes or renames none, and the 0.4.1 notes said main's work would ship in the next minor release. #122's tool consolidation only touched tools added after 0.4.1 (#108), so no released client has anything to migrate.

Tests: full CI suite locally on Python 3.12 with powerio 0.11.11: 766 passed, 23 skipped, 0 failed.

After merge: tag v0.5.0 on the merge commit and publish a GitHub release with the notes below. publish.yml then uploads to PyPI. Wait for #150 first, because PyPI shows the README from the tagged commit.


Draft release notes

The first feature release since 0.4.0, with about 150 commits. It adds 15 MCP tools and fixes several bugs. No MCP tool shipped in 0.4.x has been removed or renamed, and existing calls keep working.

0.4.1 was a security-only release. Its HOPE Julia-injection fix (#130) is included here too.

PowerFactory

Contingency analysis covers the full workflow now (#83, #84, #88, #89, #95).

  • get_contingency_configuration reads the active ComSimoutage settings.
  • run_contingency_analysis takes an optional calculation_method: ac, dc, ac_linearised or linearised_screening. The default, configured, keeps the old behaviour.
  • create_contingency creates idempotent switch-event fault cases.
  • add_contingency_result_variables and remove_contingency_result_variables control which results are recorded.
  • configure_contingency_screening sets the study case's screening method and loading criteria, and keeps them.
  • get_contingency_summary summarises existing results against voltage and loading limits, without running a calculation.
  • Empty fault cases are now listed, and element scans are bounded.

EvEMTBench equipment and grid building (#108, #109, #113, #122, #138).

  • Versioned component catalogs come from the EvEMTBench fault-and-event dataset. They cover transformers, overhead lines, underground cables, external grids, loads and synchronous machines.
  • Two tools expose them: list_evemtbench_components and create_evemtbench_component. Catalog listing works offline, with no PowerFactory licence.
  • Creation is a two-step preview and confirm. The confirmation token is tied to the resolved plan, so a change to any input invalidates it.
  • create_grid_with_buses builds a new grid from scratch.
  • export_active_grid_pdf exports the active single-line diagram and then restores the diagram that was active before.
  • Opt-in ZIP loads (load_model="zip") and an opt-in YNd11 zero-sequence transformer equivalent (Add opt-in EvEMTBench ZIP loads and YNd11 zero-sequence mapping and address PR #122 follow-ups #138). Constant-power loads remain the default.

The equipment tools went through a separate tool per family while on main (#108). Before this release they were merged into the two tools above (#122). Only clients that ran an unreleased main between those PRs need to refresh their tool list.

pandapower

Egret

PSS/E

PSCAD

OpenDSS

HOPE

  • Synced from HOPE.jl, with an agent-safe holistic GTEP-to-PCM workflow (Sync HOPE agent-safe holistic workflow #135). Runs are isolated and idempotent, and the new hope_holistic_status survives client reconnects. Optional solvers are checked before a run starts, and output paths stay inside the case.

GenX

Installing

  • powermcp install shows the extras in its pip hints again (Keep pip extras and long hints intact in installer output #149). Rich read [andes,ltspice] as a markup tag and dropped it, so a copied hint such as pip install powermcp installed none of the selected tools. The install the wizard runs itself was never affected.
  • Install with an AI agent (Add an AI-agent install guide and refresh the README #150). The new llms-install.md walks a coding agent such as Claude Code or Codex through creating a venv, choosing extras, storing vendor paths, writing the client config and checking with powermcp doctor. The README links a prompt to paste and adds a table of supported tools.

Tooling

Full changelog: v0.4.1...v0.5.0

🤖 Generated with Claude Code

qian-harvard and others added 3 commits November 11, 2026 11:13
Feature release covering main since 0.4.1: PowerFactory contingency
and EvEMTBench tools, pandapower audit and operating-point validation,
PSS/E dynamic output, PSCAD run-to-completion, and bug fixes for
pandapower, Egret, OpenDSS and GenX.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qian-harvard
qian-harvard merged commit 0289d39 into main Nov 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant