Class: OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Inherits:
-
Object
- Object
- OpenStudio::Model::AirLoopHVACUnitaryHeatPumpAirToAir
- Defined in:
- lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.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
- #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.AirLoopHVACUnitaryHeatPumpAirToAir.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
47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 47 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.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 11 def maxCoolingCapacity coolingCoil.maxCoolingCapacity end |
#maxCoolingCapacityAutosized ⇒ Object
43 44 45 |
# File 'lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 43 def maxCoolingCapacityAutosized coolingCoil.maxCoolingCapacityAutosized end |
#maxHeatingCapacity ⇒ Object
7 8 9 |
# File 'lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 7 def maxHeatingCapacity heatingCoil.maxHeatingCapacity end |
#maxHeatingCapacityAutosized ⇒ Object
39 40 41 |
# File 'lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 39 def maxHeatingCapacityAutosized heatingCoil.maxHeatingCapacityAutosized end |
#performanceCharacteristics ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/measures/openstudio_results/resources/Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb', line 59 def performanceCharacteristics effs = [] effs += supplyAirFan.performanceCharacteristics effs += heatingCoil.performanceCharacteristics effs += coolingCoil.performanceCharacteristics return effs end |