Class: OpenStudio::Model::AirTerminalSingleDuctVAVReheat
- Inherits:
-
Object
- Object
- OpenStudio::Model::AirTerminalSingleDuctVAVReheat
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb,
lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVReheat.rb
Overview
open the class to add methods to return sizing values
Instance Method Summary collapse
-
#applySizingValues ⇒ Object
Takes the values calculated by the EnergyPlus sizing routines and puts them into this object model in place of the autosized fields.
-
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize.
-
#autosizedMaximumAirFlowRate ⇒ Object
returns the autosized maximum air flow rate as an optional double.
-
#autosizedMaximumFlowFractionDuringReheat ⇒ Object
returns the autosized maximum flow fraction during reheat as an optional double.
-
#autosizedMaximumFlowPerZoneFloorAreaDuringReheat ⇒ Object
returns the autosized maximum flow per zone floor area during reheat as an optional double.
-
#autosizedMaximumHotWaterOrSteamFlowRate ⇒ Object
returns the autosized rated power consumption as an optional double.
Instance Method Details
#applySizingValues ⇒ Object
Takes the values calculated by the EnergyPlus sizing routines and puts them into this object model in place of the autosized fields. Must have previously completed a run with sql output for this to work.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 13 def applySizingValues rated_flow_rate = self.autosizedMaximumAirFlowRate if rated_flow_rate.is_initialized self.setMaximumAirFlowRate(rated_flow_rate.get) end maximum_hot_water_or_steam_flow_rate = self.autosizedMaximumHotWaterOrSteamFlowRate if maximum_hot_water_or_steam_flow_rate.is_initialized self.setMaximumHotWaterOrSteamFlowRate(maximum_hot_water_or_steam_flow_rate.get) end maximum_flow_per_zone_floor_area_during_reheat = self.autosizedMaximumFlowPerZoneFloorAreaDuringReheat if maximum_flow_per_zone_floor_area_during_reheat.is_initialized self.setMaximumFlowPerZoneFloorAreaDuringReheat(maximum_flow_per_zone_floor_area_during_reheat.get) end maximum_flow_fraction_during_reheat = self.autosizedMaximumFlowFractionDuringReheat if maximum_flow_fraction_during_reheat.is_initialized self.setMaximumFlowFractionDuringReheat(maximum_flow_fraction_during_reheat.get) end end |
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize
6 7 8 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 6 def autosize OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.AirTerminalSingleDuctVAVReheat", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.") end |
#autosizedMaximumAirFlowRate ⇒ Object
returns the autosized maximum air flow rate as an optional double
38 39 40 41 42 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 38 def autosizedMaximumAirFlowRate return self.model.getAutosizedValue(self, 'Design Size Maximum Air Flow Rate', 'm3/s') end |
#autosizedMaximumFlowFractionDuringReheat ⇒ Object
returns the autosized maximum flow fraction during reheat as an optional double
59 60 61 62 63 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 59 def autosizedMaximumFlowFractionDuringReheat return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Fraction during Reheat', '') end |
#autosizedMaximumFlowPerZoneFloorAreaDuringReheat ⇒ Object
returns the autosized maximum flow per zone floor area during reheat as an optional double
52 53 54 55 56 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 52 def autosizedMaximumFlowPerZoneFloorAreaDuringReheat return self.model.getAutosizedValue(self, 'Design Size Maximum Flow per Zone Floor Area during Reheat', 'm3/s-m2') end |
#autosizedMaximumHotWaterOrSteamFlowRate ⇒ Object
returns the autosized rated power consumption as an optional double
45 46 47 48 49 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirTermSnglDuctVAVNoReheat.rb', line 45 def autosizedMaximumHotWaterOrSteamFlowRate return self.model.getAutosizedValue(self, 'Design Size Maximum Reheat Water Flow Rate', 'm3/s') end |