Class: OpenStudio::Model::ZoneHVACUnitVentilator
- Inherits:
-
Object
- Object
- OpenStudio::Model::ZoneHVACUnitVentilator
- Defined in:
- lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb
Overview
******************************************************************************* OpenStudio®, Copyright © Alliance for Sustainable Energy, LLC. See also openstudio.net/license *******************************************************************************
Instance Method Summary collapse
- #maxAirFlowRate ⇒ Object
- #maxAirFlowRateAutosized ⇒ Object
- #maxCoolingCapacity ⇒ Object
- #maxCoolingCapacityAutosized ⇒ Object
- #maxHeatingCapacity ⇒ Object
- #maxHeatingCapacityAutosized ⇒ Object
- #maxWaterFlowRate ⇒ Object
- #maxWaterFlowRateAutosized ⇒ Object
- #performanceCharacteristics ⇒ Object
Instance Method Details
#maxAirFlowRate ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 23 def maxAirFlowRate if maximumSupplyAirFlowRate.is_initialized maximumSupplyAirFlowRate else autosizedMaximumSupplyAirFlowRate end end |
#maxAirFlowRateAutosized ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 68 def maxAirFlowRateAutosized if maximumSupplyAirFlowRate.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxCoolingCapacity ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 15 def maxCoolingCapacity if coolingCoil.is_initialized coolingCoil.get.maxCoolingCapacity else OpenStudio::OptionalDouble.new end end |
#maxCoolingCapacityAutosized ⇒ Object
59 60 61 62 63 64 65 66 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 59 def maxCoolingCapacityAutosized if coolingCoil.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxHeatingCapacity ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 7 def maxHeatingCapacity if heatingCoil.is_initialized heatingCoil.get.maxHeatingCapacity else OpenStudio::OptionalDouble.new end end |
#maxHeatingCapacityAutosized ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 50 def maxHeatingCapacityAutosized if heatingCoil.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxWaterFlowRate ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 31 def maxWaterFlowRate vals = [] if coolingCoil.is_initialized if coolingCoil.get.maxWaterFlowRate.is_initialized vals << coolingCoil.get.maxWaterFlowRate.get end end if heatingCoil.is_initialized if heatingCoil.get.maxWaterFlowRate.is_initialized vals << heatingCoil.get.maxWaterFlowRate.get end end if vals.size.zero? OpenStudio::OptionalDouble.new else OpenStudio::OptionalDouble.new(vals.max) end end |
#maxWaterFlowRateAutosized ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 77 def maxWaterFlowRateAutosized if coolingCoil.is_initialized return OpenStudio::OptionalBool.new(false) elsif coolingCoil.get.maxWaterFlowRate.is_initialized return OpenStudio::OptionalBool.new(false) elsif heatingCoil.is_initialized return OpenStudio::OptionalBool.new(false) elsif heatingCoil.get.maxWaterFlowRate.is_initialized return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#performanceCharacteristics ⇒ Object
91 92 93 94 95 96 97 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACUnitVentilator.rb', line 91 def performanceCharacteristics effs = [] effs += supplyAirFan.performanceCharacteristics effs += heatingCoil.get.performanceCharacteristics if heatingCoil.is_initialized effs += coolingCoil.get.performanceCharacteristics if coolingCoil.is_initialized return effs end |