Class: OpenStudio::Model::WaterHeaterStratified
- Inherits:
-
Object
- Object
- OpenStudio::Model::WaterHeaterStratified
- Defined in:
- lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb
Overview
******************************************************************************* OpenStudio®, Copyright © Alliance for Sustainable Energy, LLC. See also openstudio.net/license *******************************************************************************
Instance Method Summary collapse
- #maxHeatingCapacity ⇒ Object
- #maxHeatingCapacityAutosized ⇒ Object
- #maxWaterFlowRate ⇒ Object
- #maxWaterFlowRateAutosized ⇒ Object
- #performanceCharacteristics ⇒ Object
Instance Method Details
#maxHeatingCapacity ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb', line 7 def maxHeatingCapacity if heater1Capacity.is_initialized heater1Capacity else autosizedHeater1Capacity end end |
#maxHeatingCapacityAutosized ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb', line 23 def maxHeatingCapacityAutosized if heater1Capacity.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
15 16 17 18 19 20 21 |
# File 'lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb', line 15 def maxWaterFlowRate if useSideDesignFlowRate.is_initialized useSideDesignFlowRate else autosizedUseSideDesignFlowRate end end |
#maxWaterFlowRateAutosized ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb', line 32 def maxWaterFlowRateAutosized if useSideDesignFlowRate.is_initialized # Not autosized if hard size field value present return OpenStudio::OptionalBool.new(false) else return OpenStudio::OptionalBool.new(true) end end |
#performanceCharacteristics ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/measures/openstudio_results/resources/Siz.WaterHeaterStratified.rb', line 41 def performanceCharacteristics effs = [] effs << [heaterThermalEfficiency, 'Heater Thermal Efficiency'] effs << [useSideEffectiveness, 'Use Side Effectiveness'] effs << [sourceSideEffectiveness, 'Source Side Effectiveness'] return effs end |