Add feature to switch lines on/off

Open
#606 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@lukelowry is already working on this.

Since Oct 5, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement new model
Summary

Add the feature allowing branches that are modeled in the case file to be disconnected.

Rationale

Contingency analysis or a transmission expansion study would require testing different transmission configurations for stability. Without the ability to connect/disconnect lines by parameter settings, one would need to generate a new case file for each configuration, what could be impractical for large studies.

Description

The solution proposed in #391 could be used as a starting point for switching lines off, especially since the necessary supporting infrastructure is now in place.

A possible caveat of this approach is that it might create a singular system model, for example in case of islanding.

Additional information

I would suggest splitting this work in 2 parts (separate pull requests):

  • Following implementation from #391.
  • Adding support for islanding.
Dominant language
C++
Stars
27
Forks
11
Avg merge
2d 21h
Merged PRs (30d)
15

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from ORNL/GridKit

All issues in ORNL/GridKit

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.