Sha256: 3aa3f30e0ee5c9353dfd31f53468db5afea57e0eda5582c90dd8deea75a6941b
Contents?: true
Size: 830 Bytes
Versions: 48
Compression:
Stored size: 830 Bytes
Contents
class ASHRAE9012010 < ASHRAE901 # @!group ThermalZone # Determine the area and occupancy level limits for # demand control ventilation. # # @param thermal_zone [OpenStudio::Model::ThermalZone] the thermal zone # @return [Array<Double>] the minimum area, in m^2 # and the minimum occupancy density in m^2/person. Returns nil # if there is no requirement. def thermal_zone_demand_control_ventilation_limits(thermal_zone) min_area_ft2 = 500 min_occ_per_1000_ft2 = 40 # Convert to SI min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get min_occ_per_ft2 = min_occ_per_1000_ft2 / 1000.0 min_ft2_per_occ = 1.0 / min_occ_per_ft2 min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get return [min_area_m2, min_m2_per_occ] end end
Version data entries
48 entries across 48 versions & 1 rubygems