Class: OpenStudio::Model::AirLoopHVAC
- Inherits:
-
Object
- Object
- OpenStudio::Model::AirLoopHVAC
- Defined in:
- lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb
Overview
Reopen the OpenStudio class to add methods to apply standards to this object
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.
-
#autosizedDesignSupplyAirFlowRate ⇒ Object
returns the autosized design supply air flow rate 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 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb', line 13 def applySizingValues design_supply_air_flow_rate = self.autosizedDesignSupplyAirFlowRate if design_supply_air_flow_rate.is_initialized self.setDesignSupplyAirFlowRate(design_supply_air_flow_rate.get) end end |
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize
6 7 8 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb', line 6 def autosize self.autosizeDesignSupplyAirFlowRate end |
#autosizedDesignSupplyAirFlowRate ⇒ Object
returns the autosized design supply air flow rate as an optional double
23 24 25 26 27 |
# File 'lib/openstudio-standards/hvac_sizing/Siz.AirLoopHVAC.rb', line 23 def autosizedDesignSupplyAirFlowRate return self.model.getAutosizedValue(self, 'Design Supply Air Flow Rate', 'm3/s') end |