Sha256: b19fa80ea9338de364b8ff6d51c21f9f90c4f207889d0c78a23d46c4fb4582d7

Contents?: true

Size: 1.72 KB

Versions: 11

Compression:

Stored size: 1.72 KB

Contents

class OpenStudio::Model::AirTerminalSingleDuctVAVReheat
  # Set the minimum damper position based on OA
  # rate of the space and the template.
  # Zones with low OA per area get lower initial guesses.
  # Final position will be adjusted upward
  # as necessary by Standards.AirLoopHVAC.adjust_minimum_vav_damper_positions
  # @param template [String] the template
  # @param zone_min_oa [Double] the zone outdoor air flow rate, in m^3/s.
  # If supplied, this will be set as a minimum limit in addition to the minimum
  # damper position.  EnergyPlus will use the larger of the two values during sizing.
  # @param has_ddc [Bool] whether or not there is DDC control of the VAV terminal,
  # which impacts the minimum damper position requirement.
  # @return [Bool] returns true if successful, false if not
  # @todo remove exception where older vintages don't have minimum positions adjusted.
  def apply_minimum_damper_position(template, zone_min_oa = nil, has_ddc = true)
    # Minimum damper position
    min_damper_position = nil
    case template
    when 'DOE Ref Pre-1980', 'DOE Ref 1980-2004', '90.1-2004'
      min_damper_position = 0.3
    when '90.1-2007'
      min_damper_position = 0.3
    when '90.1-2010', '90.1-2013'
      min_damper_position = if has_ddc
                              0.2
                            else
                              0.3
                            end
    end
    setConstantMinimumAirFlowFraction(min_damper_position)

    # Minimum OA flow rate
    # If specified, will also add this limit
    # and the larger of the two will be used
    # for sizing.
    unless zone_min_oa.nil?
      setFixedMinimumAirFlowRate(zone_min_oa)
    end

    return true
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
openstudio-standards-0.1.15 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.14 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.13 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.12 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.11 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.10 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.9 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.8 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.7 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.6 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb
openstudio-standards-0.1.5 lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb