-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1558 from NREL/deer_ventilation_rates
Deer ventilation rates
- Loading branch information
Showing
11 changed files
with
187 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2003/deer_2003.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2003 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = min_area_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 | ||
|
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2007/deer_2007.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2007 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = min_area_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 | ||
|
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2011/deer_2011.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2011 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = 150 | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get | ||
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 | ||
|
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2014/deer_2014.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2014 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = 150 | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get | ||
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 | ||
|
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2015/deer_2015.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2015 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = 150 | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get | ||
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 | ||
|
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2017/deer_2017.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2017 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = 150 | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 19 additions & 18 deletions
37
lib/openstudio-standards/standards/deer/deer_2020/deer_2020.ThermalZone.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
class DEER2020 < DEER | ||
# @!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 = nil # No minimum area | ||
min_ft2_per_occ = 40 | ||
# Convert to SI | ||
min_m2_per_occ = OpenStudio.convert(min_ft2_per_occ, 'ft^2', 'm^2').get | ||
|
||
return [min_area_ft2, min_m2_per_occ] | ||
end | ||
# @!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 = 150 | ||
min_ft2_per_occ = 40 | ||
|
||
# Convert to SI | ||
min_area_m2 = OpenStudio.convert(min_area_ft2, 'ft^2', 'm^2').get | ||
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 | ||
|