Skip to content

Commit

Permalink
fix(designday): Ensure that Tau2017 model is carried through
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Mar 9, 2024
1 parent 856181d commit a2783de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/to_openstudio/simulation/design_day.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2783de

Please # to comment.