Sha256: bc9e2a0fc119101feeac2bfece5a9aade075186b8c451c4ed6ee0533e9afb2f4

Contents?: true

Size: 674 Bytes

Versions: 11

Compression:

Stored size: 674 Bytes

Contents

# Reopen the OpenStudio class to add methods to apply standards to this object
class OpenStudio::Model::ControllerWaterCoil
  # Sets the convergence tolerance to 0.0001 deltaC
  # for all hot water coils.
  #
  # @return [Bool] returns true if successful, false if not
  # @todo Figure out what the reason for this is,
  # because it seems like a workaround for an E+ bug
  # that was probably addressed long ago.
  def set_convergence_limits
    controller_action = action
    if controller_action.is_initialized
      if controller_action.get == 'Normal'
        setControllerConvergenceTolerance(0.0001)
      end
    end

    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.ControllerWaterCoil.rb
openstudio-standards-0.1.14 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.13 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.12 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.11 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.10 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.9 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.8 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.7 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.6 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.1.5 lib/openstudio-standards/prototypes/Prototype.ControllerWaterCoil.rb