Model "order" and model "fault"

未关闭
#497 2 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@pelesh 已经在做这个了。

开始于 2026年7月20日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
C++
星标
27
派生
11
平均合并
2 天 21 小时
30 天内合并 PR
15

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ORNL/GridKit 的其他 Issue

查看 ORNL/GridKit 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。