Sha256: 0cd39c7f37311f56af0a947795505b97c95da86f6fcf30762e99c43be83af0db

Contents?: true

Size: 727 Bytes

Versions: 4

Compression:

Stored size: 727 Bytes

Contents

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

class OpenStudio::Model::SolarCollectorFlatPlatePhotovoltaicThermal
  def maxWaterFlowRate
    if designFlowRate.is_initialized
      designFlowRate
    else
      autosizedDesignFlowRate
    end
  end

  def maxWaterFlowRateAutosized
    if designFlowRate.is_initialized
      # Not autosized if hard size field value present
      return OpenStudio::OptionalBool.new(false)
    else
      return OpenStudio::OptionalBool.new(true)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstudio-common-measures-0.11.0 lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb
openstudio-common-measures-0.10.0 lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb
openstudio-common-measures-0.9.0 lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb
openstudio-common-measures-0.8.0 lib/measures/openstudio_results/resources/Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb