Sha256: 97f78c5b134b031dcea484e364ff2d8340ca4b60b6f8d96e9c3eae16b568410e
Contents?: true
Size: 1.01 KB
Versions: 11
Compression:
Stored size: 1.01 KB
Contents
# Reopen the OpenStudio class to add methods to apply standards to this object class OpenStudio::Model::HeatExchangerAirToAirSensibleAndLatent # Sets the minimum effectiveness of the heat exchanger per # the standard. def apply_efficiency(template) # Assumed to be sensible and latent at all flow min_effct = 0.5 setSensibleEffectivenessat100HeatingAirFlow(min_effct) setLatentEffectivenessat100HeatingAirFlow(min_effct) setSensibleEffectivenessat75HeatingAirFlow(min_effct) setLatentEffectivenessat75HeatingAirFlow(min_effct) setSensibleEffectivenessat100CoolingAirFlow(min_effct) setLatentEffectivenessat100CoolingAirFlow(min_effct) setSensibleEffectivenessat75CoolingAirFlow(min_effct) setLatentEffectivenessat75CoolingAirFlow(min_effct) OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.HeatExchangerAirToAirSensibleAndLatent', "For #{name}: Set sensible and latent effectiveness to #{(min_effct * 100).round}%.") return true end end
Version data entries
11 entries across 11 versions & 1 rubygems