Sha256: c4a9c68a8cf600bc4778a1df3849bba432b52d4a9d26645b8b49c25bf7b89c88

Contents?: true

Size: 751 Bytes

Versions: 11

Compression:

Stored size: 751 Bytes

Contents

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

  # Sets the fan pressure rise based on the Prototype buildings inputs
  def apply_prototype_fan_pressure_rise
    # 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
    setPressureRise(pressure_rise_pa)

    OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.FanZoneExhaust', "For Prototype: #{name}: Pressure Rise = #{pressure_rise_in_h2o}in w.c.")

    return true
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
openstudio-standards-0.1.15 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.14 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.13 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.12 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.11 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.10 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.9 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.8 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.7 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.6 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb
openstudio-standards-0.1.5 lib/openstudio-standards/prototypes/Prototype.FanZoneExhaust.rb