Sha256: 6d76e6e7e557a595562ab69598370284a1d22ca44e32299ae514321479c565a7

Contents?: true

Size: 778 Bytes

Versions: 4

Compression:

Stored size: 778 Bytes

Contents

class Standard
  # @!group ControllerWaterCoil

  # Sets the convergence tolerance to 0.0001 deltaC for all hot water coils.
  #
  # @param controller_water_coil [OpenStudio::Model::ControllerWaterCoil] controller water coil object
  # @return [Boolean] 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 controller_water_coil_set_convergence_limits(controller_water_coil)
    controller_action = controller_water_coil.action
    if controller_action.is_initialized
      if controller_action.get == 'Normal'
        controller_water_coil.setControllerConvergenceTolerance(0.0001)
      end
    end

    return true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstudio-standards-0.6.0.rc2 lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.6.0.rc1 lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.5.0 lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb
openstudio-standards-0.5.0.rc1 lib/openstudio-standards/prototypes/common/objects/Prototype.ControllerWaterCoil.rb