Skip to content

test: validate PSS/E MCP against native API - #92

Open
BurhanAbdullah wants to merge 2 commits into
Power-Agent:mainfrom
BurhanAbdullah:psse-native-mcp-validation
Open

BurhanAbdullah wants to merge 2 commits into
Power-Agent:mainfrom
BurhanAbdullah:psse-native-mcp-validation

Conversation

@BurhanAbdullah

@BurhanAbdullah BurhanAbdullah commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a focused validation test comparing PowerMCP PSS/E tool results against the native PSS/E Python API.

Validation

The test compares:

  • bus voltage (abusreal)
  • generator P/Q (amachreal)
  • branch P/Q/MVA (aflowreal)

The comparison uses an absolute tolerance of 1e-5.

The test is skipped automatically when PSS/E or the validation case is unavailable, so standard open-source CI does not require a commercial PSS/E installation.

The validation was executed locally against PSS/E Xplore 36.7 and passed with:

  • 23 bus values
  • 12 generator values
  • 204 branch values
  • Maximum bus difference: 0.0
  • Maximum generator difference: 0.0
  • Maximum branch difference: 0.0

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant