diff --git a/lib/to_openstudio/simulation/design_day.rb b/lib/to_openstudio/simulation/design_day.rb index 83ebcf8..926f2e8 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