Design for PowerFlow and PhasorDynamics Interoperability - #514
Draft
lukelowry wants to merge 4 commits into
Draft
Conversation
lukelowry
marked this pull request as ready for review
July 31, 2026 11:44
Collaborator
Author
|
Using this approach its very easy to exchange states between PowerFlow, PhasorDynamics, and OPF (experimental), see this downstream branch. I can reliably start in steady state after changing the generator dispatch using OPF! And the only shared knowledge between the |
lukelowry
force-pushed
the
lukel/state-init-dev
branch
from
August 4, 2026 19:59
809f6f5 to
b31d6c9
Compare
7 tasks
lukelowry
marked this pull request as draft
August 5, 2026 06:17
Collaborator
Author
|
Drafting since not likely to be done before release but is very important for the development of |
lukelowry
force-pushed
the
lukel/state-init-dev
branch
from
August 6, 2026 14:41
b31d6c9 to
7d804b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Partially addresses #466, #405, and allow us to close related PR #391
Introduce
.state.jsonas a shared initialization/state artifact for PowerFlow and PhasorDynamics (and compatible with EMT), separating operating state and dispatch from the static.case.jsonmodel definition. This provides a file-based interoperability boundary without coupling the model implementations.The proposed format is documented in STATE.md. Further justification for the design is provided in that document
Proposed changes
buses.devices.If approved, I would like to include a
*.state.jsonfor each case as an initial artifact. I only committed an example for the Hawaii case.