WeatherFileDays and WeatherFileConditionType are never translated and have no API
Los mantenedores suelen responder en 10 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 657
- Forks
- 238
- Merge medio
- 11 d 12 h
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NatLabRockies/OpenStudio
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NatLabRockies/OpenStudio#5675 ·
Los mantenedores suelen responder en 10 días
-
Triage
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
NatLabRockies/OpenStudio#5679 ·
Los mantenedores suelen responder en 10 días
-
Design conditions not parsed for TMYx EPWPosiblemente ocupada @joseph-robertson la tomó hace 3 días. Abiertoseverity - Normal Bug
Dificultad 3/5 1-2 días Aptitud para principiantes 54/100
NatLabRockies/OpenStudio#5677 · 1 asignado ·
Los mantenedores suelen responder en 10 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
NatLabRockies/OpenStudio#5673 ·
Los mantenedores suelen responder en 10 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
NatLabRockies/OpenStudio#5672 ·
Los mantenedores suelen responder en 10 días
Todos los issues de NatLabRockies/OpenStudio
Issues similares
-
Docs: CREATE GRAPH page says `USE my_graph`, but the working statement is `USE GRAPH my_graph`Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
godotengine/godot#125272 ·
Los mantenedores suelen responder en 1 día
-
bug impact: performance priority: med review: 2026-11 severity: med
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mgradwohl/ModernLife#67 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
games-on-whales/wolf#569 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/workerd#8290 ·
Los mantenedores suelen responder en 1 día