Sienna-Platform / Sienna-Platform/PowerNetworkMatrices.jl

Handle PhaseShiftingTransformers in Parallel

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

@m-bossart is already working on this.

Since Dec 30, 2025.

Dominant language
Julia
Stars
31
Forks
22
Avg merge
1d 11h
Merged PRs (30d)
18

Description

We currently skip parallel reduction of phase shifting transformers because depending on the parameters, we cannot necessarily derive an exact equivalent representation in the Ybus:
https://github.com/NREL-Sienna/PowerNetworkMatrices.jl/blob/bc5a33ce6de08b3ee3e84934630287e855348ee2/src/definitions.jl#L13

However, with the current design, if we have parallel phase shifting transformers, we cannot have two entries in the direct_branch_map with the same key, therefore we over-write entries in add_to_branch_maps!:
https://github.com/NREL-Sienna/PowerNetworkMatrices.jl/blob/bc5a33ce6de08b3ee3e84934630287e855348ee2/src/Ybus.jl#L199

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.