Class: OpenStudio::Model::ScheduleConstant
- Inherits:
-
Object
- Object
- OpenStudio::Model::ScheduleConstant
- Defined in:
- lib/openstudio-standards/standards/Standards.ScheduleConstant.rb
Overview
Reopen the OpenStudio class to add methods to apply standards to this object
Instance Method Summary collapse
-
#annual_equivalent_full_load_hrs ⇒ Object
Returns the equivalent full load hours (EFLH) for this schedule.
Instance Method Details
#annual_equivalent_full_load_hrs ⇒ Object
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.
return [Double] The total number of full load hours for this schedule
11 12 13 14 15 16 17 |
# File 'lib/openstudio-standards/standards/Standards.ScheduleConstant.rb', line 11 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 |