Sha256: fd0ff08f3b6d7602e28d5ba3b2d56280fe4f4d141778a793fbd06988b3227deb

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 KB

Contents

class Standard
  # @!group 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 schedule_constant_annual_equivalent_full_load_hrs(schedule_constant)
    OpenStudio.logFree(OpenStudio::Debug, 'openstudio.standards.ScheduleRuleset', "Calculating total annual EFLH for schedule: #{schedule_constant.name}")

    return annual_flh = schedule_constant.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 schedule_constant_annual_min_max_value(schedule_constant)
    result = { 'min' => schedule_constant.value, 'max' => schedule_constant.value }

    return result
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
openstudio-standards-0.2.10 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.10.rc3 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.10.rc2 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.10.rc1 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.9 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.8 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.7 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.6 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.5 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.4 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.3 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.2 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.1 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.0 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.0.rc2 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
openstudio-standards-0.2.0.rc1 lib/openstudio-standards/standards/Standards.ScheduleConstant.rb