Feature: Create partitioning of a system
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、既存の GridKit の協調シミュレーション分割の概念実証と、issue に記載されているシステムベクトルの配布経路を確認します。提案された分割設計が受け入れられているか確認してください。コンポーネントのクローン作成、強制コンポーネントとノード、ベクトルマッピングを含む実装方針について合意できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
For co-simulation methods, it's necessary to partition a system and evaluate the residuals and Jacobians of the partitions separately.
For the proof-of-concept version of the co-simulation methods, this is how we did the partitioning:
- A full system is constructed normally.
- A "partitioning" routine takes the full system, as well as a list of component IDs and node IDs that we want to be in each partition. This routine creates duplicates of all of the components/nodes and creates new systems for each partition. Each system contains the components and nodes that are assigned to it through the lists of component IDs and node IDs.
- The routine identifies components/nodes which are connected to components/nodes in other partitions and creates additional copies of these components to be inserted into those systems without increasing the system size of those systems. It does this through a system similar, but distinct from, the reference/ground nodes (setting the system mapping to -1). We'll call these "forcing components/nodes" as they are responsible for introducing the coupling forcing into each system.
- A separate partitioning manager keeps track of the forcing components/nodes, as well as the mapping to/from the overall system vector between all of the partitions.
When an integrator asks for the residual or Jacobian evaluation for a particular partition, it updates the internal variables for all of the forcing components and voltages for each forcing node, then evaluates the residual or Jacobian for the system belonging to that partition.
If we wanted to implement partitioning this way, these were the changes we made to GridKit to support it:
- a
clone_component()virtual function which allows creation of a duplicate component (used for forcing components) - a way to keep track of forcing components/nodes that works similarly to reference nodes (in that you can set their values and they do not contribute to overall system vector) but can perhaps be distinct from reference nodes
- currently, reference nodes are zero-d out every time
distributeVectors()is called. This should not be the case for forcing components/nodes.
Let me know if we want to go with this design or if we want to go a different way @pelesh @nkoukpaizan
- 主要言語
- C++
- スター
- 27
- フォーク
- 11
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ORNL/GridKit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ORNL/GridKit#587 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Companion OPF models for PD initialization constraints対応中かも @lukelowry が 3 日前に担当しました。 オープンIVP question
メンテナーはふだん 1 日以内に返信
-
Extract CommonMath functions対応中かも @amandeep25100-a11y が 6 日前に担当しました。 オープンcleanup
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
-
enhancement question
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
ORNL/GridKit#624 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Add support for hierarchical modeling to the JSON format case file specifications対応中かも @abirchfield が 33 日前に担当しました。 オープンdocumentation enhancement new case question
ORNL/GridKit#619 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
useless statementオープン
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
grizzlypeak3d/DJV#962 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信