Sha256: 6029cce3c9b218573c99354f0d95864d8560f0369f6d5f997e0c8fac0d3da94f

Contents?: true

Size: 1.79 KB

Versions: 10

Compression:

Stored size: 1.79 KB

Contents

class Standard
  # @!group Sizing System

  # Prototype SizingSystem object
  #
  # @param air_loop_hvac [<OpenStudio::Model::AirLoopHVAC>] air loop to set sizing system properties
  # @param dsgn_temps [Hash] a hash of design temperature lookups from standard_design_sizing_temperatures
  def adjust_sizing_system(air_loop_hvac,
                           dsgn_temps,
                           type_of_load_sizing: 'Sensible',
                           min_sys_airflow_ratio: 0.3,
                           sizing_option: 'Coincident')

    # adjust sizing system defaults
    sizing_system = air_loop_hvac.sizingSystem
    sizing_system.setTypeofLoadtoSizeOn(type_of_load_sizing)
    sizing_system.autosizeDesignOutdoorAirFlowRate
    sizing_system.setPreheatDesignTemperature(dsgn_temps['prehtg_dsgn_sup_air_temp_c'])
    sizing_system.setPrecoolDesignTemperature(dsgn_temps['preclg_dsgn_sup_air_temp_c'])
    sizing_system.setCentralCoolingDesignSupplyAirTemperature(dsgn_temps['clg_dsgn_sup_air_temp_c'])
    sizing_system.setCentralHeatingDesignSupplyAirTemperature(dsgn_temps['htg_dsgn_sup_air_temp_c'])
    sizing_system.setPreheatDesignHumidityRatio(0.008)
    sizing_system.setPrecoolDesignHumidityRatio(0.008)
    sizing_system.setCentralCoolingDesignSupplyAirHumidityRatio(0.0085)
    sizing_system.setCentralHeatingDesignSupplyAirHumidityRatio(0.0080)
    sizing_system.setMinimumSystemAirFlowRatio(min_sys_airflow_ratio)
    sizing_system.setSizingOption(sizing_option)
    sizing_system.setAllOutdoorAirinCooling(false)
    sizing_system.setAllOutdoorAirinHeating(false)
    sizing_system.setSystemOutdoorAirMethod('ZoneSum')
    sizing_system.setCoolingDesignAirFlowMethod('DesignDay')
    sizing_system.setHeatingDesignAirFlowMethod('DesignDay')

    return sizing_system
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openstudio-standards-0.2.10 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.10.rc3 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.10.rc2 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.10.rc1 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.9 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.8 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.7 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.6 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.5 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb
openstudio-standards-0.2.4 lib/openstudio-standards/prototypes/common/objects/Prototype.SizingSystem.rb