Class: OpenStudio::Model::ControllerOutdoorAir
- Inherits:
-
Object
- Object
- OpenStudio::Model::ControllerOutdoorAir
- Defined in:
- lib/openstudio-standards/hvac_sizing/HVACSizing.ControllerOutdoorAir.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.
-
#autosizedMaximumOutdoorAirFlowRate ⇒ Object
returns the autosized maximum outdoor air flow rate as an optional double.
-
#autosizedMinimumOutdoorAirFlowRate ⇒ Object
returns the autosized minimum outdoor 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.
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/openstudio-standards/hvac_sizing/HVACSizing.ControllerOutdoorAir.rb', line 14 def applySizingValues maximum_outdoor_air_flow_rate = self.autosizedMaximumOutdoorAirFlowRate if maximum_outdoor_air_flow_rate.is_initialized self.setMaximumOutdoorAirFlowRate(maximum_outdoor_air_flow_rate.get) end minimum_outdoor_air_flow_rate = self.autosizedMinimumOutdoorAirFlowRate if minimum_outdoor_air_flow_rate.is_initialized self.setMinimumOutdoorAirFlowRate(minimum_outdoor_air_flow_rate.get) end end |
#autosize ⇒ Object
Sets all auto-sizeable fields to autosize
6 7 8 9 |
# File 'lib/openstudio-standards/hvac_sizing/HVACSizing.ControllerOutdoorAir.rb', line 6 def autosize self.autosizeMaximumOutdoorAirFlowRate self.autosizeMinimumOutdoorAirFlowRate end |
#autosizedMaximumOutdoorAirFlowRate ⇒ Object
returns the autosized maximum outdoor air flow rate as an optional double
29 30 31 32 33 |
# File 'lib/openstudio-standards/hvac_sizing/HVACSizing.ControllerOutdoorAir.rb', line 29 def autosizedMaximumOutdoorAirFlowRate return self.model.getAutosizedValue(self, 'Maximum Outdoor Air Flow Rate', 'm3/s') end |
#autosizedMinimumOutdoorAirFlowRate ⇒ Object
returns the autosized minimum outdoor air flow rate as an optional double
36 37 38 39 40 |
# File 'lib/openstudio-standards/hvac_sizing/HVACSizing.ControllerOutdoorAir.rb', line 36 def autosizedMinimumOutdoorAirFlowRate return self.model.getAutosizedValue(self, 'Minimum Outdoor Air Flow Rate', 'm3/s') end |