Sha256: 9cd84557ef0355640bfd58abdb6a155e0a4d991602eeabf0ad2c8bec6412f818

Contents?: true

Size: 759 Bytes

Versions: 5

Compression:

Stored size: 759 Bytes

Contents

# Reopen the OpenStudio class to add methods to apply standards to this object
class OpenStudio::Model::FanZoneExhaust

  # Sets the fan pressure rise based on the Prototype buildings inputs
  def setPrototypeFanPressureRise
    
    # All exhaust fans are assumed to have a pressure rise of
    # 0.5 in w.c. in the prototype building models.
    pressure_rise_in_h2o = 0.5
    
    # Set the pressure rise
    pressure_rise_pa = OpenStudio.convert(pressure_rise_in_h2o, 'inH_{2}O','Pa').get
    self.setPressureRise(pressure_rise_pa)  
    
    OpenStudio::logFree(OpenStudio::Info, 'openstudio.model.FanZoneExhaust', "For Prototype: #{self.name}: Pressure Rise = #{pressure_rise_in_h2o}in w.c.")
    
    return true
    
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstudio-standards-0.1.4 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.3 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.2 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.1 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.0 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb