Class: OpenStudio::Model::CoolingTowerTwoSpeed

Inherits:
Object
  • Object
show all
Defined in:
lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb

Overview

open the class to add methods to return sizing values

Instance Method Summary collapse

Instance Method Details

#applySizingValuesObject

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
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 13

def applySizingValues

  OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoolingTowerTwoSpeed", ".applySizingValues not yet implemented for #{self.iddObject.type.valueDescription}.")
  
end

#autosizeObject

Sets all auto-sizeable fields to autosize



6
7
8
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 6

def autosize
  OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoolingTowerTwoSpeed", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.")
end

#autosizedDesignWaterFlowRateObject

returns the autosized design water flow rate as an optional double



20
21
22
23
24
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 20

def autosizedDesignWaterFlowRate

  return self.model.getAutosizedValue(self, 'Design Water Flow Rate', 'm3/s')

end

#autosizedFreeConvectionRegimeAirFlowRateObject

returns the autosized air flow rate in free convection regime as an optional double



69
70
71
72
73
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 69

def autosizedFreeConvectionRegimeAirFlowRate

  return self.model.getAutosizedValue(self, 'Free Convection Regime Air Flow Rate', 'm3/s')

end

#autosizedFreeConvectionRegimeUFactorTimesAreaValueObject

returns the autosized u-factor times area value in free convection as an optional double



76
77
78
79
80
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 76

def autosizedFreeConvectionRegimeUFactorTimesAreaValue

  return self.model.getAutosizedValue(self, 'Free Convection U-Factor Times Area Value', 'W/K')
  
end

#autosizedHighFanSpeedAirFlowRateObject

returns the autosized reference design air flow rate as an optional double



34
35
36
37
38
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 34

def autosizedHighFanSpeedAirFlowRate

  return self.model.getAutosizedValue(self, 'Air Flow Rate at High Fan Speed', 'm3/s')
  
end

#autosizedHighFanSpeedFanPowerObject

returns the autosized fan power at high speed as an optional double



27
28
29
30
31
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 27

def autosizedHighFanSpeedFanPower

  return self.model.getAutosizedValue(self, 'Fan Power at High Fan Speed', 'W')
  
end

#autosizedHighFanSpeedUFactorTimesAreaValueObject

returns the autosized u-factor times area value at high speed as an optional double



41
42
43
44
45
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 41

def autosizedHighFanSpeedUFactorTimesAreaValue

  return self.model.getAutosizedValue(self, 'U-Factor Times Area Value at High Fan Speed', 'W/C')

end

#autosizedLowFanSpeedAirFlowRateObject

returns the autosized reference low speed air flow rate as an optional double



48
49
50
51
52
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 48

def autosizedLowFanSpeedAirFlowRate

  return self.model.getAutosizedValue(self, 'Low Fan Speed Air Flow Rate', 'm3/s')
  
end

#autosizedLowFanSpeedFanPowerObject

returns the autosized fan power at low speed as an optional double



55
56
57
58
59
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 55

def autosizedLowFanSpeedFanPower

  return self.model.getAutosizedValue(self, 'Fan Power at Low Fan Speed', 'W')
  
end

#autosizedLowFanSpeedUFactorTimesAreaValueObject

returns the autosized u-factor times area value at design air flow rate as an optional double



62
63
64
65
66
# File 'lib/openstudio-standards/hvac_sizing/Siz.CoolingTowerTwoSpeed.rb', line 62

def autosizedLowFanSpeedUFactorTimesAreaValue

  return self.model.getAutosizedValue(self, 'U-Factor Times Area Value at Low Fan Speed', 'W/K')

end