Sienna-Platform / Sienna-Platform/PowerFlowFileParser.jl

Refactor parsing for flexibility in handling bus type and availability

Open
#7 1 comment 0 reactions 1 assignee View on GitHub

@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 false and the bustype is set to ISOLATED. The availability of all components attached to the bus is set to false.
  • 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.