Class: OpenStudio::Model::ZoneHVACPackagedTerminalHeatPump
- Inherits:
-
Object
- Object
- OpenStudio::Model::ZoneHVACPackagedTerminalHeatPump
- Defined in:
- lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.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
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 15 def maxAirFlowRate vals = [] if supplyAirFlowRateDuringCoolingOperation.is_initialized vals << supplyAirFlowRateDuringCoolingOperation.get elsif autosizedSupplyAirFlowRateDuringCoolingOperation.is_initialized vals << autosizedSupplyAirFlowRateDuringCoolingOperation.get end if supplyAirFlowRateDuringHeatingOperation.is_initialized vals << supplyAirFlowRateDuringHeatingOperation.get elsif autosizedSupplyAirFlowRateDuringHeatingOperation.is_initialized vals << autosizedSupplyAirFlowRateDuringHeatingOperation.get end if supplyAirFlowRateWhenNoCoolingorHeatingisNeeded.is_initialized vals << supplyAirFlowRateWhenNoCoolingorHeatingisNeeded.get elsif autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded.is_initialized vals << autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisNeeded.get end if vals.size.zero? OpenStudio::OptionalDouble.new else OpenStudio::OptionalDouble.new(vals.max) end end |
#maxAirFlowRateAutosized ⇒ Object
62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 62 def maxAirFlowRateAutosized if supplyAirFlowRateDuringCoolingOperation.is_initialized return OpenStudio::OptionalBool.new(false) elsif supplyAirFlowRateDuringHeatingOperation.is_initialized return OpenStudio::OptionalBool.new(false) elsif supplyAirFlowRateWhenNoCoolingorHeatingisNeeded.is_initialized return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxCoolingCapacity ⇒ Object
11 12 13 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 11 def maxCoolingCapacity coolingCoil.maxCoolingCapacity end |
#maxCoolingCapacityAutosized ⇒ Object
58 59 60 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 58 def maxCoolingCapacityAutosized coolingCoil.maxCoolingCapacityAutosized end |
#maxHeatingCapacity ⇒ Object
7 8 9 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 7 def maxHeatingCapacity heatingCoil.maxHeatingCapacity end |
#maxHeatingCapacityAutosized ⇒ Object
54 55 56 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 54 def maxHeatingCapacityAutosized heatingCoil.maxHeatingCapacityAutosized end |
#maxWaterFlowRate ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 39 def maxWaterFlowRate vals = [] if coolingCoil.maxWaterFlowRate.is_initialized vals << coolingCoil.maxWaterFlowRate.get end if heatingCoil.maxWaterFlowRate.is_initialized vals << heatingCoil.maxWaterFlowRate.get end if vals.size.zero? OpenStudio::OptionalDouble.new else OpenStudio::OptionalDouble.new(vals.max) end end |
#maxWaterFlowRateAutosized ⇒ Object
74 75 76 77 78 79 80 81 82 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 74 def maxWaterFlowRateAutosized if coolingCoil.maxWaterFlowRate.is_initialized return OpenStudio::OptionalBool.new(false) elsif heatingCoil.maxWaterFlowRate.is_initialized return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#performanceCharacteristics ⇒ Object
84 85 86 87 88 89 90 |
# File 'lib/measures/openstudio_results/resources/Siz.ZoneHVACPackagedTerminalHeatPump.rb', line 84 def performanceCharacteristics effs = [] effs += supplyAirFan.performanceCharacteristics effs += heatingCoil.performanceCharacteristics effs += coolingCoil.performanceCharacteristics return effs end |