Module: Warehouse
- Defined in:
- lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
Overview
Custom changes for the Warehouse prototype. These are changes that are inconsistent with other prototype building types.
Instance Method Summary collapse
- #model_custom_hvac_tweaks(building_type, climate_zone, prototype_input, model) ⇒ Object
- #model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input) ⇒ Object
- #update_waterheater_loss_coefficient(model) ⇒ Object
Instance Method Details
#model_custom_hvac_tweaks(building_type, climate_zone, prototype_input, model) ⇒ Object
6 7 8 |
# File 'lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb', line 6 def model_custom_hvac_tweaks(building_type, climate_zone, prototype_input, model) return true end |
#model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input) ⇒ Object
20 21 22 23 |
# File 'lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb', line 20 def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input) update_waterheater_loss_coefficient(model) return true end |
#update_waterheater_loss_coefficient(model) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb', line 10 def update_waterheater_loss_coefficient(model) case template when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', 'NECB2011' model.getWaterHeaterMixeds.sort.each do |water_heater| water_heater.setOffCycleLossCoefficienttoAmbientTemperature(0.798542707) water_heater.setOnCycleLossCoefficienttoAmbientTemperature(0.798542707) end end end |