Sha256: 29cc2081474d6d2c94cfe2b8c60a2d3ab1b930b7af6d5501da7dc06bcf7299a3
Contents?: true
Size: 974 Bytes
Versions: 54
Compression:
Stored size: 974 Bytes
Contents
# open the class to add methods to return sizing values class OpenStudio::Model::CoilHeatingElectric # Sets all auto-sizeable fields to autosize def autosize OpenStudio::logFree(OpenStudio::Warn, "openstudio.sizing.CoilHeatingElectric", ".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 nominal_capacity = self.autosizedNominalCapacity if nominal_capacity.is_initialized self.setNominalCapacity(nominal_capacity.get) end end # returns the autosized rated capacity as an optional double def autosizedNominalCapacity return self.model.getAutosizedValue(self, 'Design Size Nominal Capacity', 'W') end end
Version data entries
54 entries across 54 versions & 1 rubygems