Add support for hierarchical modeling to the JSON format case file specifications

Đang mở
#619 8 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@abirchfield đang làm issue này rồi.

Từ ngày 13/10/2026.

  • #653 của @nkoukpaizan — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

documentation enhancement new case question
Summary

Expand the specs for JSON case file to include subsystems specifications and support hierarchical modeling. The spect should define subsystems as objects assembled from component models or other subsystems. Subsystems should connect to other subsystems through bus and signal ports.

@lukelowry @tsybinae @nkoukpaizan

Rationale

Hierarchical modeling is needed to support:

  • Partitioned numerical integration schemes
  • Coarse-grained paralelism
  • Graphical user interface for analysis of large systems (> 100,000 buses) that cannot be visualized as whole to a necessary detail
Description

Approach 1: Suggested approach is to keep the current JSON format for case files and append subsystem information after all component models are specified. In such implementation, the subsystem declaration would specify component models belonging to each subsystem and identify connection ports that are external to subsystems. Assuming that component models are level-0, the subsystems described in this way would be level-1 subsystems. This approach can be extended by specifying level-2 subsystems, which are assembled from level-1 subsystems.

Approach 2: Instead of separate stanzas for component models, level-1 subsystems, level-2 subsystems, etc., one could first create a subsystem and then add specs to all components of that subsystem to the JSON value corresponding to the subsystem key. The JSON file would have the same hierarchical structure as the system model.

Approach 1 is easier to manipulate, especially when system repartitioning to different subsystems is needed. Approach 2 may have advantage in instances where the case specifications need to be split in separate files.

Additional information

No response

Ngôn ngữ chính
C++
Star
27
Fork
11
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ORNL/GridKit

Tất cả issue của ORNL/GridKit

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.