Water Source Heat Pump Measures Not Working

asked 2021-06-30 15:25:57 -0600

Draza's avatar

updated 2021-07-09 17:46:30 -0600

I downloaded three OpenStudio WSHP measures from the BCL and they all seem to be broken.

The first one I tried was the "Replace HVAC with WSHP and DOAS" measure from Xcel Energy and this gives me an error stating undefined method `setDesignWaterOutletTemperature' for #. I tried to find this in the text file but it was missing.

The next measure I tried was "WSHP with DOAS (More Design Parameters)", also by Xcel energy, and got the same error message. Finally, I tried the "AedgOfficeHvacWshpDoas" measure by NREL and the measure runs successfully, but only the DOAS is created. The Plant Loops and zone equipment are not added to the model. Any idea on why this is happening?

I'm trying to become more familiar with measure writing and how measures work in general, so any tips will be appreciated. Thanks.

edit retag flag offensive close merge delete

Comments

Here is the NREL guide on measure writing: https://nrel.github.io/OpenStudio-use..., which may be useful. I would open up the measure.rb files and look at the contents of the "run" method to see what the measure is actually changing in the model.

sashadf1's avatar sashadf1  ( 2021-06-30 16:47:16 -0600 )edit

Thanks for the documentation. I think I've narrowed it down to a section of the "run" method

make_hot_water_plant = false unless schedulesHVAC['hot_water'].nil? hot_water_setpoint_schedule = schedulesHVAC['hot_water'] make_hot_water_plant = true end

It does this for each piece of plant equipment. I looked in the os_lib_schedules document there is no definition for hot_water. Is this something that should be created by the measure? or should it be already be included in the schedules file? or is it something that needs to be created?

Draza's avatar Draza  ( 2021-06-30 17:00:58 -0600 )edit

@Draza did you ever figure this out? I'm trying to use the GS Heat Pump Measure and its giving me the same error message.

helpneeder's avatar helpneeder  ( 2021-07-23 13:12:32 -0600 )edit
1

I did not, but there is another measure that did what I was trying to do. The NZEHVAC measure is able to replace the existing HVAC systems with a wide variety of other systems. I believe there is a GSHP option. Check it out.

Draza's avatar Draza  ( 2021-07-23 13:35:02 -0600 )edit