Model "order" and model "fault"
@pelesh is already working on this.
Since Jul 20, 2026.
- Dominant language
- C++
- Stars
- 27
- Forks
- 11
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 23
Description
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
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.