lib/openstudio-standards/standards/Standards.FluidCooler.rb in openstudio-standards-0.5.0 vs lib/openstudio-standards/standards/Standards.FluidCooler.rb in openstudio-standards-0.6.0.rc1

- old
+ new

@@ -67,11 +67,11 @@ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.FluidCooler', "For #{fluid_cooler.name}, cannot find heat rejection properties, cannot apply standard efficiencies or curves.") return false end # Get fluid cooler efficiency - min_gpm_per_hp = ct_props['minimum_performance'] + min_gpm_per_hp = ct_props['minimum_performance_gpm_per_hp'] OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.FluidCooler', "For #{fluid_cooler.name}, design water flow = #{design_water_flow_gpm.round} gpm, minimum performance = #{min_gpm_per_hp} gpm/hp (nameplate).") # Calculate the allowed fan brake horsepower # per method used in PNNL prototype buildings. # Assumes that the fan brake horsepower is 90% @@ -108,10 +108,10 @@ fan_motor_actual_power_w = fan_motor_actual_power_hp * 745.7 # 745.7 W/HP OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.FluidCooler', "For #{fluid_cooler.name}, allowed fan motor nameplate hp = #{fan_motor_nameplate_hp.round(1)} hp, fan brake horsepower = #{fan_bhp.round(1)}, and fan motor actual power = #{fan_motor_actual_power_hp.round(1)} hp (#{fan_motor_actual_power_w.round} W) at #{fan_motor_eff} motor efficiency.") # Append the efficiency to the name - fluid_cooler.setName("#{fluid_cooler.name} #{min_gpm_per_hp.round(1)} gpm/hp") + fluid_cooler.setName("#{fluid_cooler.name} #{min_gpm_per_hp.to_f.round(1)} gpm/hp") # Hard size the design fan power. # Leave the water flow and air flow autosized. if fluid_cooler.to_FluidCoolerSingleSpeed.is_initialized fluid_cooler.setDesignAirFlowRateFanPower(fan_motor_actual_power_w)