Sha256: 199e3307623e668b2ffedc4af3ce215423b8fc4ddf748dd369b82cec09d3dab9

Contents?: true

Size: 672 Bytes

Versions: 1

Compression:

Stored size: 672 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		

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openstudio-standards-0.1.0 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb