Skip to content

REGCA Implementation#415

Open
lukelowry wants to merge 3 commits into
developfrom
lukel/regca-impl
Open

REGCA Implementation#415
lukelowry wants to merge 3 commits into
developfrom
lukel/regca-impl

Conversation

@lukelowry
Copy link
Copy Markdown
Collaborator

@lukelowry lukelowry commented May 26, 2026

Description

Adds the REGCA renewable generator/converter model to PhasorDynamics, including system-model JSON parsing, signal wiring for optional current-command inputs, monitor support, and Enzyme/dependency-tracking Jacobian coverage.

Proposed changes

  • Add Converter/REGCA model, data type, CMake
  • Wire Regca into ComponentLibrary, SystemModelData, SystemModel, and JSON parsing.
  • Add REGCA unit tests for construction, validation, initialization, residuals, bus injection, JSON/system assembly, and Jac consistency

Checklist

  • All tests pass.
  • Code compiles cleanly with flags -Wall -Wpedantic -Wconversion -Wextra.
  • The new code follows GridKit™ style guidelines.
  • There are unit tests for the new code.
  • The new code is documented.
  • The feature branch is rebased with respect to the target branch.
  • I have updated CHANGELOG.md to reflect the changes in this PR.

Further comments

Won't add this to any examples until I have REECA since they go together in all cases we have in PowerWorld

@pelesh pelesh self-requested a review May 27, 2026 13:29
Copy link
Copy Markdown
Collaborator

@pelesh pelesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking this PR until Jacobian implementation in PhasorDynamics is refactored to eliminate deprecated Matrix_COO object.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants