Sha256: 9cc135dbcf2a0f577fdf4f07de7858da006d561faf6e81744d9fbd427e70b727

Contents?: true

Size: 886 Bytes

Versions: 2

Compression:

Stored size: 886 Bytes

Contents

# *******************************************************************************
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://openstudio.net/license
# *******************************************************************************

class OpenStudio::Model::CoilCoolingDXMultiSpeed
  def maxCoolingCapacity
    stages.last.maxCoolingCapacity
  end

  def maxAirFlowRate
    stages.last.maxAirFlowRate
  end

  def maxCoolingCapacityAutosized
    stages.last.maxCoolingCapacityAutosized
  end

  def maxAirFlowRateAutosized
    stages.last.maxAirFlowRateAutosized
  end

  def performanceCharacteristics
    effs = []
    stages.each_with_index do |stage_data, i|
      stage_effs = stage_data.performanceCharacteristics
      stage_effs.each{|pc| pc[1] = "Stage #{i+1} #{pc[1]}"}
      effs.concat stage_effs
    end
    return effs
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openstudio-common-measures-0.11.1 lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb
openstudio-common-measures-0.11.0 lib/measures/openstudio_results/resources/Siz.CoilCoolingDXMultiSpeed.rb