example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/airflow.rb in urbanopt-cli-0.5.2 vs example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/airflow.rb in urbanopt-cli-0.6.0
- old
+ new
@@ -1141,10 +1141,14 @@
def self.apply_infiltration_to_vented_attic(model, weather, site, vented_attic)
return if @spaces[HPXML::LocationAtticVented].nil?
if not vented_attic.vented_attic_sla.nil?
- vented_attic_sla = vented_attic.vented_attic_sla
+ if @apply_ashrae140_assumptions
+ vented_attic_const_ach = get_infiltration_ACH_from_SLA(vented_attic.vented_attic_sla, 8.202, weather)
+ else
+ vented_attic_sla = vented_attic.vented_attic_sla
+ end
elsif not vented_attic.vented_attic_ach.nil?
if @apply_ashrae140_assumptions
vented_attic_const_ach = vented_attic.vented_attic_ach
else
vented_attic_sla = get_infiltration_SLA_from_ACH(vented_attic.vented_attic_ach, 8.202, weather)