lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb in openstudio-standards-0.1.6 vs lib/openstudio-standards/hvac_sizing/Siz.HeatingCoolingFuels.rb in openstudio-standards-0.1.7
- old
+ new
@@ -170,16 +170,26 @@
fuels << 'Electricity'
heating_coil = heating_coil.to_CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.get
if heating_coil.plantLoop.is_initialized
fuels += self.plant_loop_heating_fuels(heating_coil.plantLoop.get)
end
+ when 'OS_Coil_Heating_LowTemperatureRadiant_ConstantFlow'
+ heating_coil = heating_coil.to_CoilHeatingLowTempRadiantConstFlow.get
+ if heating_coil.plantLoop.is_initialized
+ fuels += self.plant_loop_heating_fuels(heating_coil.plantLoop.get)
+ end
+ when 'OS_Coil_Heating_LowTemperatureRadiant_VariableFlow'
+ heating_coil = heating_coil.to_CoilHeatingLowTempRadiantVarFlow.get
+ if heating_coil.plantLoop.is_initialized
+ fuels += self.plant_loop_heating_fuels(heating_coil.plantLoop.get)
+ end
when 'OS_Coil_WaterHeating_AirToWaterHeatPump'
fuels << 'Electricity'
when 'OS_Coil_WaterHeating_Desuperheater'
fuels << 'Electricity'
else
- #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
+ OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
end
return fuels.uniq.sort
end
@@ -217,27 +227,27 @@
when 'OS_Coil_Cooling_CooledBeam'
cooling_coil = cooling_coil.to_CoilCoolingCooledBeam.get
if cooling_coil.plantLoop.is_initialized
fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
end
- when 'OS_Coil_Cooling_LowTempRadiant_ConstFlow'
+ when 'OS_Coil_Cooling_LowTemperatureRadiant_ConstantFlow'
cooling_coil = cooling_coil.to_CoilCoolingLowTempRadiantConstFlow.get
if cooling_coil.plantLoop.is_initialized
fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
end
- when 'OS_Coil_Cooling_LowTempRadiant_VarFlow'
+ when 'OS_Coil_Cooling_LowTemperatureRadiant_VariableFlow'
cooling_coil = cooling_coil.to_CoilCoolingLowTempRadiantVarFlow.get
if cooling_coil.plantLoop.is_initialized
fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
end
when 'OS_Coil_Cooling_Water'
cooling_coil = cooling_coil.to_CoilCoolingWater.get
if cooling_coil.plantLoop.is_initialized
fuels += self.plant_loop_cooling_fuels(cooling_coil.plantLoop.get)
end
else
- #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
+ OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
end
return fuels.uniq.sort
end
@@ -278,14 +288,14 @@
equipment = equipment.to_ZoneHVACBaseboardRadiantConvectiveWater.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
when 'OS_ZoneHVAC_FourPipeFanCoil'
equipment = equipment.to_ZoneHVACFourPipeFanCoil.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
- when 'OS_ZoneHVAC_LowTempRadiant_ConstFlow'
+ when 'OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow'
equipment = equipment.to_ZoneHVACLowTempRadiantConstFlow.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
- when 'OS_ZoneHVAC_LowTempRadiant_VarFlow'
+ when 'OS_ZoneHVAC_LowTemperatureRadiant_VariableFlow'
equipment = equipment.to_ZoneHVACLowTempRadiantVarFlow.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
when 'OS_ZoneHVAC_UnitHeater'
equipment = equipment.to_ZoneHVACUnitHeater.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
@@ -315,11 +325,11 @@
when 'OS_ZoneHVAC_WaterToAirHeatPump'
# We also go check what fuel serves the loop on which the WSHP heating coil is
equipment = equipment.to_ZoneHVACWaterToAirHeatPump.get
fuels += self.coil_heating_fuels(equipment.heatingCoil)
else
- #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
+ OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No heating fuel types found for #{obj_type}")
end
end
return fuels.uniq.sort
@@ -342,10 +352,16 @@
fuels += self.coil_cooling_fuels(equipment.coolingCoil.get)
end
when 'OS_ZoneHVAC_FourPipeFanCoil'
equipment = equipment.to_ZoneHVACFourPipeFanCoil.get
fuels += self.coil_cooling_fuels(equipment.coolingCoil)
+ when 'OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow'
+ equipment = equipment.to_ZoneHVACLowTempRadiantConstFlow.get
+ fuels += self.coil_cooling_fuels(equipment.coolingCoil)
+ when 'OS_ZoneHVAC_LowTemperatureRadiant_VariableFlow'
+ equipment = equipment.to_ZoneHVACLowTempRadiantVarFlow.get
+ fuels += self.coil_cooling_fuels(equipment.coolingCoil)
when 'OS_Refrigeration_AirChiller'
fuels << 'Electricity'
when 'OS_ZoneHVAC_IdealLoadsAirSystem'
fuels << 'DistrictCooling'
when 'OS_ZoneHVAC_PackagedTerminalAirConditioner'
@@ -353,10 +369,10 @@
when 'OS_ZoneHVAC_PackagedTerminalHeatPump'
fuels << 'Electricity'
when 'OS_ZoneHVAC_TerminalUnit_VariableRefrigerantFlow'
fuels << 'Electricity'
else
- #OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
+ OpenStudio::logFree(OpenStudio::Debug, 'openstudio.sizing.Model', "No cooling fuel types found for #{obj_type}")
end
end
return fuels.uniq.sort