Class: OpenStudio::Model::CoilCoolingDXTwoStageWithHumidityControlMode
- Inherits:
-
Object
- Object
- OpenStudio::Model::CoilCoolingDXTwoStageWithHumidityControlMode
- Defined in:
- lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.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
Instance Method Details
#maxAirFlowRate ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb', line 32 def maxAirFlowRate vals = [] if normalModeStage1CoilPerformance.is_initialized cap = normalModeStage1CoilPerformance.get.maxAirFlowRate vals << cap.get if cap.is_initialized end if normalModeStage1Plus2CoilPerformance.is_initialized cap = normalModeStage1Plus2CoilPerformance.get.maxAirFlowRate vals << cap.get if cap.is_initialized end if dehumidificationMode1Stage1CoilPerformance.is_initialized cap = dehumidificationMode1Stage1CoilPerformance.get.maxAirFlowRate vals << cap.get if cap.is_initialized end if dehumidificationMode1Stage1Plus2CoilPerformance.is_initialized cap = dehumidificationMode1Stage1Plus2CoilPerformance.get.maxAirFlowRate vals << cap.get if cap.is_initialized end if vals.size.zero? OpenStudio::OptionalDouble.new else OpenStudio::OptionalDouble.new(vals.max) end end |
#maxAirFlowRateAutosized ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb', line 79 def maxAirFlowRateAutosized if normalModeStage1CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif normalModeStage1Plus2CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif dehumidelsificationMode1Stage1CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif dehumidelsificationMode1Stage1Plus2CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#maxCoolingCapacity ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb', line 7 def maxCoolingCapacity vals = [] if normalModeStage1CoilPerformance.is_initialized cap = normalModeStage1CoilPerformance.get.maxCoolingCapacity vals << cap.get if cap.is_initialized end if normalModeStage1Plus2CoilPerformance.is_initialized cap = normalModeStage1Plus2CoilPerformance.get.maxCoolingCapacity vals << cap.get if cap.is_initialized end if dehumidificationMode1Stage1CoilPerformance.is_initialized cap = dehumidificationMode1Stage1CoilPerformance.get.maxCoolingCapacity vals << cap.get if cap.is_initialized end if dehumidificationMode1Stage1Plus2CoilPerformance.is_initialized cap = dehumidificationMode1Stage1Plus2CoilPerformance.get.maxCoolingCapacity vals << cap.get if cap.is_initialized end if vals.size.zero? OpenStudio::OptionalDouble.new else OpenStudio::OptionalDouble.new(vals.max) end end |
#maxCoolingCapacityAutosized ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/measures/openstudio_results/resources/Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb', line 57 def maxCoolingCapacityAutosized if normalModeStage1CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif normalModeStage1Plus2CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif dehumidelsificationMode1Stage1CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) elsif dehumidelsificationMode1Stage1Plus2CoilPerformance.is_initialized return OpenStudio::OptionalBool.new(false) vals << cap.get elsif cap.is_initialized return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |