Sha256: d2fb041da1bbca2a935a7190272d64ecea3ff535e49d595ac5bd08aae9675ba4

Contents?: true

Size: 828 Bytes

Versions: 10

Compression:

Stored size: 828 Bytes

Contents

# Custom changes for the Warehouse prototype.
# These are changes that are inconsistent with other prototype
# building types.
module Warehouse
  def model_custom_hvac_tweaks(building_type, climate_zone, prototype_input, model)
    return true
  end

  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

  def model_custom_swh_tweaks(model, building_type, climate_zone, prototype_input)
    update_waterheater_loss_coefficient(model)
    return true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openstudio-standards-0.2.7 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.6 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.5 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.4 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.3 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.2 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.1 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.0 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.0.rc2 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb
openstudio-standards-0.2.0.rc1 lib/openstudio-standards/prototypes/common/buildings/Prototype.Warehouse.rb