From a2783de5d1aead9061a87dc874cced1d7758866c Mon Sep 17 00:00:00 2001 From: Chris Mackey Date: Fri, 8 Mar 2024 17:10:42 -0800 Subject: [PATCH] fix(designday): Ensure that Tau2017 model is carried through --- lib/to_openstudio/simulation/design_day.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/to_openstudio/simulation/design_day.rb b/lib/to_openstudio/simulation/design_day.rb index 83ebcf83..926f2e8e 100644 --- a/lib/to_openstudio/simulation/design_day.rb +++ b/lib/to_openstudio/simulation/design_day.rb @@ -86,8 +86,11 @@ def to_openstudio(openstudio_model) # ASHRAETau SkyCondition if @hash[:sky_condition][:type] == "ASHRAETau" - os_des_day.setAshraeTaub(@hash[:sky_condition][:tau_b]) - os_des_day.setAshraeTaud(@hash[:sky_condition][:tau_d]) + os_des_day.setAshraeClearSkyOpticalDepthForBeamIrradiance(@hash[:sky_condition][:tau_b]) + os_des_day.setAshraeClearSkyOpticalDepthForDiffuseIrradiance(@hash[:sky_condition][:tau_d]) + if @hash[:sky_condition][:use_2017] == true + os_des_day.setSolarModelIndicator("ASHRAETau2017") + end end os_des_day