Skip to content

Initial Implementation of Subsystem Model for Partition Simulation#492

Draft
abdourahmanbarry wants to merge 34 commits into
developfrom
abdou/partitioning_microgrid
Draft

Initial Implementation of Subsystem Model for Partition Simulation#492
abdourahmanbarry wants to merge 34 commits into
developfrom
abdou/partitioning_microgrid

Conversation

@abdourahmanbarry

@abdourahmanbarry abdourahmanbarry commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Description

In this PR, we introduce the initial implementation of the SubsystemModel for partitioned Power Electronics simulation. The implementation provides the infrastructure required to partition Power Electronic networks, and to evaluate subsystem residuals and Jacobians independently. This lays the foundation for implementing co-simulation methods in future pull requests.

Proposed changes

  • We added a SubsystemModel class to represent an individual partition and a BusPartitionInterface component to mark partition boundaries.
  • Implemented residual and Jacobian evaluation for subsystem models.
  • Added support for user-defined coupling functions required for solving subsystems with multi-stage co-simulation methods.

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. If this is a minor PR that is part of a larger fix already included in the file, state so.

@abdourahmanbarry
abdourahmanbarry force-pushed the abdou/partitioning_microgrid branch from 85a516d to 01a410b Compare July 19, 2026 08:27
@abdourahmanbarry abdourahmanbarry self-assigned this Jul 23, 2026
abdourahmanbarry and others added 28 commits July 24, 2026 02:31
…es. During partitioning:

- BusPartitionInterface connects to the bus partition
- ComponentPartitionInterface connects to the component partition
@abdourahmanbarry
abdourahmanbarry force-pushed the abdou/partitioning_microgrid branch from 66c58ad to b48a401 Compare July 24, 2026 02:46
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