Sha256: 48e002d88604c88b8175c9045875c3a60f0bb2e372a4f3bee5519974f12e18cc
Contents?: true
Size: 830 Bytes
Versions: 48
Compression:
Stored size: 830 Bytes
Contents
class ASHRAE9012007 < 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