lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb in openstudio-standards-0.4.0 vs lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb in openstudio-standards-0.5.0.rc1

- old
+ new

@@ -7,13 +7,13 @@ # # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object # @param zone_min_oa [Double] the zone outdoor air flow rate, in m^3/s. # If supplied, this will be set as a minimum limit in addition to the minimum # damper position. EnergyPlus will use the larger of the two values during sizing. - # @param has_ddc [Bool] whether or not there is DDC control of the VAV terminal, + # @param has_ddc [Boolean] whether or not there is DDC control of the VAV terminal, # which impacts the minimum damper position requirement. - # @return [Bool] returns true if successful, false if not + # @return [Boolean] returns true if successful, false if not # @todo remove exception where older vintages don't have minimum positions adjusted. def air_terminal_single_duct_vav_reheat_apply_minimum_damper_position(air_terminal_single_duct_vav_reheat, zone_min_oa = nil, has_ddc = true) # Minimum damper position min_damper_position = air_terminal_single_duct_vav_reheat_minimum_damper_position(air_terminal_single_duct_vav_reheat, has_ddc) air_terminal_single_duct_vav_reheat.setConstantMinimumAirFlowFraction(min_damper_position) @@ -32,20 +32,20 @@ # Specifies the minimum damper position for VAV dampers. # Defaults to 30% # # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object - # @param has_ddc [Bool] whether or not there is DDC control of the VAV terminal in question + # @param has_ddc [Boolean] whether or not there is DDC control of the VAV terminal in question # @return [Double] minimum damper position def air_terminal_single_duct_vav_reheat_minimum_damper_position(air_terminal_single_duct_vav_reheat, has_ddc = false) min_damper_position = 0.3 return min_damper_position end # Sets the capacity of the reheat coil based on the minimum flow fraction, and the maximum flow rate. # # @param air_terminal_single_duct_vav_reheat [OpenStudio::Model::AirTerminalSingleDuctVAVReheat] the air terminal object - # @return [Bool] returns true if successful, false if not + # @return [Boolean] returns true if successful, false if not def air_terminal_single_duct_vav_reheat_set_heating_cap(air_terminal_single_duct_vav_reheat) flow_rate_fraction = 0.0 if air_terminal_single_duct_vav_reheat.constantMinimumAirFlowFraction.is_initialized flow_rate_fraction = air_terminal_single_duct_vav_reheat.constantMinimumAirFlowFraction.get end