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

Adding Heating Source to Desuperheater

asked 2019-05-14 07:33:28 -0500

Saif's avatar

updated 2019-05-14 07:40:19 -0500

I am writing a measure to add a 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 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 two stage cooling coil 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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2019-05-14 08:23:43 -0500

What version of OpenStudio are you using? I believe this was fixed in v2.8.0, see https://unmethours.com/question/23669...

edit flag offensive delete link more

Comments

I am using v2.6.0. I will update to v.8.0

Thank you,

Saif's avatar Saif  ( 2019-05-14 11:12:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2019-05-14 07:33:28 -0500

Seen: 187 times

Last updated: May 14 '19