OpenStudio creates invalid epJSON

Aperta
#5,679 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
657
Fork
238
Merge medio
4g 15h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NatLabRockies/OpenStudio

Tutte le issue di NatLabRockies/OpenStudio

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.