WeatherFileDays and WeatherFileConditionType are never translated and have no API
I maintainer di solito rispondono entro 10 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start by tracing the WeatherFileDays and WeatherFileConditionType model classes, the ForwardTranslator’s sizing period handling, and the matching ReverseTranslator paths; inspect how SimulationControl counts sizing periods. Compare both model objects with their EnergyPlus fields, including the two missing fields and version translation. Done means both types round-trip through IDF translation with their fields represented and sizing controls behave correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
General Summary
OS:SizingPeriod:WeatherFileDays and OS:SizingPeriod:WeatherFileConditionType exist in the model, but the classes WeatherFileDays and WeatherFileConditionType have no getters or setters, and the ForwardTranslator drops both with "is not currently translated" (since 772e66de65, 2015). DesignDay is the only sizing period that reaches EnergyPlus.
Detailed Description
EnergyPlus can size on periods of the weather file (SizingPeriod:WeatherFileDays, SizingPeriod:WeatherFileConditionType) instead of synthetic design days. In OpenStudio today:
- A
WeatherFileDaysadded to a model disappears from the IDF, with only a Warn log line. SimulationControlcounts it as aSizingPeriod:doZoneSizingCalculationanddoSystemSizingCalculationdefault to on when any SizingPeriod exists. A model whose only sizing periods are WeatherFileDays therefore translates to an IDF that requests zone and system sizing without any sizing period.OS:SizingPeriod:WeatherFileDayslacks the last two EnergyPlus fields, Use Weather File Daylight Saving Period and Use Weather File Rain and Snow Indicators (OS:SizingPeriod:WeatherFileConditionTypehas them).
Today these sizing periods can only be added with an EnergyPlusMeasure after translation.
Possible Implementation
- Getters and setters for all fields of both classes.
- Add Use Weather File Daylight Saving Period and Use Weather File Rain and Snow Indicators to
OS:SizingPeriod:WeatherFileDays, with version translation. translateWeatherFileDays/translateWeatherFileConditionTypein the ForwardTranslator (1:1), plus ReverseTranslator. A warning when the model has no WeatherFile would help, since EnergyPlus needs one for these periods.
- Lingua principale
- C++
- Stelle
- 657
- Fork
- 238
- Merge medio
- 4g 15h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NatLabRockies/OpenStudio
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NatLabRockies/OpenStudio#5675 ·
I maintainer di solito rispondono entro 10 giorni
-
Triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
NatLabRockies/OpenStudio#5679 ·
I maintainer di solito rispondono entro 10 giorni
-
Design conditions not parsed for TMYx EPWForse già presa @joseph-robertson l’ha presa 2 giorni fa. Apertaseverity - Normal Bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
NatLabRockies/OpenStudio#5677 · 1 assegnatario ·
I maintainer di solito rispondono entro 10 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 49/100
NatLabRockies/OpenStudio#5673 ·
I maintainer di solito rispondono entro 10 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
NatLabRockies/OpenStudio#5672 ·
I maintainer di solito rispondono entro 10 giorni
Tutte le issue di NatLabRockies/OpenStudio
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Niko1221/Strata#5560 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
NVIDIA windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
[yugabyted] xcluster set_up and add_to_replication fail for database names containing - . or (Apertakind/bug priority/medium qa_automation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yugabyte/yugabyte-db#37324 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
CharlotteCross1998/awesome-game-decompilations#61 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
godotengine/godot#125240 ·
I maintainer di solito rispondono entro 1 giorno