Sha256: 3f931927d05b00e80ff192cdb9b9cc6e46b92128f34de5aab8e9b2063412d1b3
Contents?: true
Size: 1004 Bytes
Versions: 4
Compression:
Stored size: 1004 Bytes
Contents
# Reopen the OpenStudio class to add methods to apply standards to this object class OpenStudio::Model::ScheduleConstant # Returns the equivalent full load hours (EFLH) for this schedule. # For example, an always-on fractional schedule # (always 1.0, 24/7, 365) would return a value of 8760. # # @author Andrew Parker, NREL # return [Double] The total number of full load hours for this schedule def annual_equivalent_full_load_hrs() OpenStudio::logFree(OpenStudio::Debug, "openstudio.standards.ScheduleRuleset", "Calculating total annual EFLH for schedule: #{self.name}") return annual_flh = self.value * 8760 end # Returns the min and max value for this schedule. # It doesn't evaluate design days only run-period conditions # # @author David Goldwasser, NREL. # return [Hash] Hash has two keys, min and max. def annual_min_max_value() result = { 'min' => self.value, 'max' => self.value } return result end end
Version data entries
4 entries across 4 versions & 1 rubygems