lib/openstudio-standards/standards/cbes/cbes.Model.rb in openstudio-standards-0.2.12 vs lib/openstudio-standards/standards/cbes/cbes.Model.rb in openstudio-standards-0.2.13.rc3
- old
+ new
@@ -2,11 +2,11 @@
# @!group Model
# Determine which climate zone to use.
# Uses the most specific climate zone set.
def model_get_climate_zone_set_from_list(model, possible_climate_zone_sets)
- climate_zone_set = possible_climate_zone_sets.sort.last
+ climate_zone_set = possible_climate_zone_sets.max
return climate_zone_set
end
# Determines how ventilation for the standard is specified.
# When 'Sum', all min OA flow rates are added up. Commonly used by 90.1.
@@ -17,7 +17,5 @@
def model_ventilation_method(model)
ventilation_method = 'Maximum'
return ventilation_method
end
end
-
-