Sienna-Platform / Sienna-Platform/PowerFlowFileParser.jl
Refactor parsing for flexibility in handling bus type and availability
@m-bossart is already working on this.
Since Jun 29, 2026.
- Dominant language
- Julia
- Stars
- 1
- Forks
- 2
- Avg merge
- 22h 29m
- Merged PRs (30d)
- 10
Description
The current data model for AC buses has both an entry for the type of bus (PQ, PV, REF, ISOLATED, or SLACK) in addition to availability (true, false ).
The current parser implements the following fixed logic when parsing buses and components:
- If a bus is ISOLATED in the data, the bus availability is set to
falseand the bustype is set toISOLATED. The availability of all components attached to the bus is set tofalse. - If a bus is not ISOLATED in the data, but is found to be topologically isolated during the parsing (ie not connected to any other buses), the bus and connected component availability is unchanged, but the bustype is set to
ISOLATED
The challenge is that real world datasets might require different interpretation on a case-by-case basis (e.g. the meaning of an isolated bus varies). To account for this, the parsing needs to be made more flexible and some of these assumptions should be made configurable by the user.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.