Model "order" and model "fault"

Open
#497 2 comments 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@pelesh is already working on this.

Since Jul 20, 2026.

Assessment

This issue has not been assessed yet.

Description

new model question
Summary

Consider setting "order" parameter that would instantiate different order models from the same source code. Applicable to control devices.

Similarly we could consider adding "faultable" feature to the model. In that case the fault would change the configuration of the system (e.g. introduce short-to-ground at a bus or disconnect branch). The fault would be configured upon event and system would be reinitialized. Fault clearing would be implemented in a similar fashion.

Rationale

Changing order of the model or injecting fault changes topology of the system. Changes like that are requiring different simulation with initialization and computing consistent initial values.

Description

This is mainly point for a discussion. The solution I propose is to have a discrete parameter that would model use to assemble different sets of differential and algebraic equations. Since selecting different order of model and injecting fault are mathematically similar operations, the same infrastructure could be used for both.

Additional information

No response

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.