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

Open Studio Ruby code - getting the existing HVAC air loop template

Hello, I tried using AI as a starting point to code an ASHP measure on Ruby to be used on Open Studio. Two lines of code are:

thermal_zone = thermal_zone.get
existing_template = thermal_zone.airLoopHVACTemplate

The second line is throwing an error, as the method "airLoopHVACTemplate" is undefined. I've been unsuccessful in finding documentation explaining this method - does anyone know what alternatives could be used to achieve what I am hoping to accomplish (get the existing HVAC air loop for the thermal zone)?

Thank you!

Open Studio Ruby code - getting the existing HVAC air loop template

Hello, I tried using AI as a starting point to code an ASHP measure on Ruby to be used on Open Studio. Two lines of code are:

thermal_zone = thermal_zone.get
existing_template = thermal_zone.airLoopHVACTemplate

The second line is throwing an error, as the method "airLoopHVACTemplate" is undefined. I've been unsuccessful in finding documentation explaining this method - does anyone know what alternatives could be used to achieve what I am hoping to accomplish (get the existing HVAC air loop for the thermal zone)?

Thank you!