OpenStudio creates invalid epJSON

オープン
#5,679 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 10 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
backend, databases

調査の方向性

Start by reproducing the failure with the provided OpenStudio-HPXML branch and workflow, comparing the IDF run with the --export-epJSON run. Inspect the generated Fan:SystemModel object and trace where number_of_speeds and its speed fractions are serialized. Done when epJSON contains two speed fractions for two speeds and the simulation succeeds; the issue names no source files or tests.

索引モデルが issue の本文から書いたものです。

説明

Triage
Description

When using the OS CLI --export-epJSON argument, the simulation fails because the Fan:SystemModel object is invalid. Everything works correctly when using IDF.

Current Behavior

The simulation fails with epJSON. The Fan:SystemModel object ends up with "number_of_speeds" : 2 but only a single speed fraction.

Expected Behavior

The simulation should succeed with epJSON (like it does for IDF). The Fan:SystemModel object has Number of Speeds=2 and two speed fractions.

Steps to reproduce
  1. Check out this branch of OpenStudio-HPXML
  2. Run openstudio run -w workflow/template-run-hpxml.osw -- simulation succeeds!
  3. Run openstudio run -w workflow/template-run-hpxml.osw --export-epJSON -- simulation fails!
  4. Inspect the Fan:SystemModel object in the epJSON
Possible Solution

No response

Operating System affected

Ubuntu 24.04

Environment
  • Platform (Operating system, version, architecture): Ubuntu 24.04 x86_64
Version of OpenStudio

3.11.0+241b8abb4d

Context

No response

主要言語
C++
スター
657
フォーク
238
平均マージ
11日 12時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NatLabRockies/OpenStudio のほかの issue

NatLabRockies/OpenStudio の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。