lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb in openstudio-standards-0.6.0.rc2 vs lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb in openstudio-standards-0.6.3

- old
+ new

@@ -114,10 +114,10 @@ # Check to make sure properties were found if coil_props.nil? # search again without capacity matching_objects = model_find_objects(standards_data['water_source_heat_pumps'], search_criteria, nil, Date.today) - if matching_objects.size.zero? + if matching_objects.empty? # This proves that the search_criteria has issue finding the correct coil prop OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingWaterToAirHeatPumpEquationFit', "For #{coil_cooling_water_to_air_heat_pump.name}, cannot find efficiency info using #{search_criteria}, cannot apply efficiency standard.") else # Issue warning indicate the coil size is may be too large OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingWaterToAirHeatPumpEquationFit', "The capacity of the coil: #{coil_cooling_water_to_air_heat_pump.name} maybe too large to be found in the efficiency standard. The coil capacity is #{capacity_btu_per_hr} Btu/hr.")