You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dmaddoxwhite@lymereJ@weilixu
I'm trying to use model_create_prm_stable_baseline_building in openstudio-standards v0.4.0 (packaged with OS 3.6.0) to generate the baseline for a propsed Outpatient building, and encountering a number of issues with either the model setup, or cases where the standards methods don't handle missing information gracefully. I'll try to document them as issues as I find them.
Models that use TMY files typically don't have 'dayofWeekforStartDay' set in YearDescription, and calling `model.getYearDescription.dayofWeekForStartDay' will return 'UseWeatherFile'. This causes an error here:
because day_of_week and start_day_num are nil (not found in start_day_map).
Suggest ensuring that models with TMY files attached have a valid start day, either by inserting model.getYearDescription.setDayofWeekforStartDay("Sunday") somewhere, or having a default set within get_weekday_values_from_8760.
The text was updated successfully, but these errors were encountered:
eringold
changed the title
Appendix G: explicitly set dayofWeekforStartDay
90.1 PRM: explicitly set dayofWeekforStartDay
Jun 2, 2023
@dmaddoxwhite @lymereJ @weilixu
I'm trying to use
model_create_prm_stable_baseline_building
in openstudio-standards v0.4.0 (packaged with OS 3.6.0) to generate the baseline for a propsed Outpatient building, and encountering a number of issues with either the model setup, or cases where the standards methods don't handle missing information gracefully. I'll try to document them as issues as I find them.Models that use TMY files typically don't have 'dayofWeekforStartDay' set in YearDescription, and calling `model.getYearDescription.dayofWeekForStartDay' will return 'UseWeatherFile'. This causes an error here:
openstudio-standards/lib/openstudio-standards/standards/Standards.ScheduleRuleset.rb
Line 674 in d332605
because
day_of_week
andstart_day_num
are nil (not found instart_day_map
).Suggest ensuring that models with TMY files attached have a valid start day, either by inserting
model.getYearDescription.setDayofWeekforStartDay("Sunday")
somewhere, or having a default set withinget_weekday_values_from_8760
.The text was updated successfully, but these errors were encountered: