Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Adding Heating Source to Desuperheater

I am writing a measure to add a for DOAS that cools, dehumidify then reheat the air using a two stage dx cooling coil and a desuperheater. The measure runs successfully, but when I run the simulation this sever error shows up

* Severe * <root>[Coil:Heating:Desuperheater][Coil Heating Desuperheater 1][heating_source_object_type] - "CoilSystem:Cooling:DX" - Failed to match against any enum values.

The reason for that is OS plugging “CoilSystem:Cooling:DX” as the heat source instead of two stage cooling coil. I used the tow stage cooling coil name directly and the “to_CoilCoolingDXTwoStageWithHumidityControlMode.get” in the “setHeatingSource” method but the results were the same. Is another way to access the two stage cooling coil?

# make a two stage cooling coil. 
doas_dx_cooling_coil = OpenStudio::Model::CoilCoolingDXTwoStageWithHumidityControlMode.new(model)
doas_dx_cooling_coil.setNumberofCapacityStages(2)
doas_dx_cooling_coil.setNumberofEnhancedDehumidificationModes(1)
doas_dx_cooling_coil.setNormalModeStage1CoilPerformance(doas_Standard_Perf_1)
doas_dx_cooling_coil.setNormalModeStage1Plus2CoilPerformance(doas_Standard_Perf_st_sec)
doas_dx_cooling_coil.setDehumidificationMode1Stage1CoilPerformance(doas_Dehumid_Perf_1)
doas_dx_cooling_coil.setDehumidificationMode1Stage1Plus2CoilPerformance(doas_Dehumid_Perf_st_sec)
air_loop_comps << doas_dx_cooling_coil


# make a desuperheater 
doas_desuperheater = OpenStudio::Model::CoilHeatingDesuperheater.new(model)
doas_desuperheater.setHeatReclaimRecoveryEfficiency(hot_gas_eff)
doas_desuperheater.setHeatingSource(doas_dx_cooling_coil.to_CoilCoolingDXTwoStageWithHumidityControlMode.get)
air_loop_comps << doas_desuperheater

image description

Adding Heating Source to Desuperheater

I am writing a measure to add a for DOAS that cools, dehumidify then reheat the air using a two stage dx cooling coil and a desuperheater. The measure runs successfully, but when I run the simulation this sever error shows up

* Severe * <root>[Coil:Heating:Desuperheater][Coil Heating Desuperheater 1][heating_source_object_type] - "CoilSystem:Cooling:DX" - Failed to match against any enum values.

The reason for that is OS plugging “CoilSystem:Cooling:DX” as the heat source instead of two stage cooling coil. I used the tow stage cooling coil name directly and the “to_CoilCoolingDXTwoStageWithHumidityControlMode.get” in the “setHeatingSource” method but the results were the same. Is there another way to access the two stage cooling coil?

# make a two stage cooling coil. 
doas_dx_cooling_coil = OpenStudio::Model::CoilCoolingDXTwoStageWithHumidityControlMode.new(model)
doas_dx_cooling_coil.setNumberofCapacityStages(2)
doas_dx_cooling_coil.setNumberofEnhancedDehumidificationModes(1)
doas_dx_cooling_coil.setNormalModeStage1CoilPerformance(doas_Standard_Perf_1)
doas_dx_cooling_coil.setNormalModeStage1Plus2CoilPerformance(doas_Standard_Perf_st_sec)
doas_dx_cooling_coil.setDehumidificationMode1Stage1CoilPerformance(doas_Dehumid_Perf_1)
doas_dx_cooling_coil.setDehumidificationMode1Stage1Plus2CoilPerformance(doas_Dehumid_Perf_st_sec)
air_loop_comps << doas_dx_cooling_coil


# make a desuperheater 
doas_desuperheater = OpenStudio::Model::CoilHeatingDesuperheater.new(model)
doas_desuperheater.setHeatReclaimRecoveryEfficiency(hot_gas_eff)
doas_desuperheater.setHeatingSource(doas_dx_cooling_coil.to_CoilCoolingDXTwoStageWithHumidityControlMode.get)
air_loop_comps << doas_desuperheater

image description

Adding Heating Source to Desuperheater

I am writing a measure to add a for DOAS that cools, dehumidify then reheat the air using a two stage dx cooling coil and a desuperheater. The measure runs successfully, but when I run the simulation this sever severe error shows up

* Severe * <root>[Coil:Heating:Desuperheater][Coil Heating Desuperheater 1][heating_source_object_type] - "CoilSystem:Cooling:DX" - Failed to match against any enum values.

The reason for that is OS plugging “CoilSystem:Cooling:DX” as the heat source instead of two stage cooling coil. I used the tow two stage cooling coil name variable directly and the “to_CoilCoolingDXTwoStageWithHumidityControlMode.get” in the “setHeatingSource” method but the results were the same. Is there another way to access the two stage cooling coil?

# make a two stage cooling coil. 
doas_dx_cooling_coil = OpenStudio::Model::CoilCoolingDXTwoStageWithHumidityControlMode.new(model)
doas_dx_cooling_coil.setNumberofCapacityStages(2)
doas_dx_cooling_coil.setNumberofEnhancedDehumidificationModes(1)
doas_dx_cooling_coil.setNormalModeStage1CoilPerformance(doas_Standard_Perf_1)
doas_dx_cooling_coil.setNormalModeStage1Plus2CoilPerformance(doas_Standard_Perf_st_sec)
doas_dx_cooling_coil.setDehumidificationMode1Stage1CoilPerformance(doas_Dehumid_Perf_1)
doas_dx_cooling_coil.setDehumidificationMode1Stage1Plus2CoilPerformance(doas_Dehumid_Perf_st_sec)
air_loop_comps << doas_dx_cooling_coil


# make a desuperheater 
doas_desuperheater = OpenStudio::Model::CoilHeatingDesuperheater.new(model)
doas_desuperheater.setHeatReclaimRecoveryEfficiency(hot_gas_eff)
doas_desuperheater.setHeatingSource(doas_dx_cooling_coil.to_CoilCoolingDXTwoStageWithHumidityControlMode.get)
air_loop_comps << doas_desuperheater

image description