Sha256: 1a5b1ad4767e1b0388ce5316640d12a618d2728de83f32dd98c680c0a3bdcc97
Contents?: true
Size: 964 Bytes
Versions: 54
Compression:
Stored size: 964 Bytes
Contents
# open the class to add methods to return sizing values class OpenStudio::Model::FanConstantVolume # Sets all auto-sizeable fields to autosize def autosize OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.FanConstantVolume", ".autosize not yet implemented for #{self.iddObject.type.valueDescription}.") end # 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. def applySizingValues maximum_flow_rate = self.autosizedMaximumFlowRate if maximum_flow_rate.is_initialized self.setMaximumFlowRate(maximum_flow_rate.get) end end # returns the autosized maximum flow rate as an optional double def autosizedMaximumFlowRate return self.model.getAutosizedValue(self, 'Design Size Maximum Flow Rate', 'm3/s') end end
Version data entries
54 entries across 54 versions & 1 rubygems