Sha256: 0b2fff4c6fea1d9459b284478298116cc0fd7ee160513f4644a90ac19d374886
Contents?: true
Size: 903 Bytes
Versions: 5
Compression:
Stored size: 903 Bytes
Contents
# ******************************************************************************* # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC. # See also https://openstudio.net/license # ******************************************************************************* class OpenStudio::Model::FanOnOff def maxAirFlowRate if maximumFlowRate.is_initialized maximumFlowRate else autosizedMaximumFlowRate end end def maxAirFlowRateAutosized if maximumFlowRate.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end def performanceCharacteristics effs = [] effs << [fanEfficiency, 'Fan Efficiency'] effs << [pressureRise, 'Pressure Rise'] effs << [motorEfficiency, 'Motor Efficiency'] return effs end end
Version data entries
5 entries across 5 versions & 1 rubygems