Sha256: 944b50b1eb4ee60bd08402eaf85a0e7cce4ce88b02388ad069cedd389738fcd9
Contents?: true
Size: 841 Bytes
Versions: 54
Compression:
Stored size: 841 Bytes
Contents
# open the class to add methods to return sizing values class OpenStudio::Model::CoilHeatingGas # Sets all auto-sizeable fields to autosize def autosize self.autosizeNominalCapacity 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