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 SDK questions

Hi everyone,

I am attempting to continue Chien Si Harriman's excellent work with the Honeybee Open Studio HVAC components. However I am having quite a number of issues understanding the Open Studio SDK and as a result I've hit a roadblock. If you could answer/explain the questions below, it would help me with my understanding of the SDK and be greatly appreciated.

A. Why does adding either a SystemType1 or a SystemType2 return void while adding any other SystemType return a Loop class object.

B. How is it possible to get the Airloop of a SystemType1 or SystemType2 HVAC system? I can get the get the Airloop of SystemTypes 3-6 using the following code.

handle = OpenStudio.OpenStudioModelHVAC.addSystemType3(model).handle()

airloop = model.getAirLoopHVAC(handle).get()

However clearly this doesn't work with SystemType1 or 2 because the add SystemType1 methods return void.

C. I cannot find the method .getAirLoopHVAC anywhere in the OS SDK as well as the property handle() and get(). Could you provide a hyper link to these properties and methods?

D. With SystemType2 I can get the package terminal heat pumps using the code.

model.getZoneHVACPackagedTerminalHeatPumps().

How can I get the HVAC systems in the same way for SystemTypes 3-6? getZoneHVAC yields no results in the OS SDK.

E. I need to set the cooling and heating Airflow rates for SystemTypes 3-6 is this possible? Since I can't get the HVAC systems at this stage (question 4.) I don't know how to change their properties.

Thank you for your help!

Open Studio SDK questions

Hi everyone,

I am attempting to continue Chien Si Harriman's excellent work with the Honeybee Open Studio HVAC components. However I am having quite a number of issues understanding the Open Studio SDK and as a result I've hit a roadblock. If you could answer/explain the questions below, it would help me with my understanding of the SDK and be greatly appreciated.

A. Why does adding either a SystemType1 or a SystemType2 return void while adding any other SystemType return a Loop class object.

B. How is it possible to get the Airloop of a SystemType1 or SystemType2 HVAC system? I can get the get the Airloop of SystemTypes 3-6 using the following code.

handle = OpenStudio.OpenStudioModelHVAC.addSystemType3(model).handle()

airloop = model.getAirLoopHVAC(handle).get()

However clearly this doesn't work with SystemType1 or 2 because the add SystemType1 methods return void.

C. I cannot find the method .getAirLoopHVAC anywhere in the OS SDK as well as the property handle() and get(). Could you provide a hyper link to these properties and methods?

D. With SystemType2 I can get the package terminal heat pumps using the code.

model.getZoneHVACPackagedTerminalHeatPumps().

How can I get the HVAC systems in the same way for SystemTypes 3-6? getZoneHVAC yields no results in the OS SDK.

E. I need to set the cooling and heating Airflow rates for SystemTypes 3-6 is this possible? Since I can't get the HVAC systems at this stage (question 4.) I don't know how to change their properties.

Thank you for your help!

Open Studio SDK questions

Hi everyone,

I am attempting to continue Chien Si Harriman's excellent work with the Honeybee Open Studio HVAC components. However I am having quite a number of issues understanding the Open Studio SDK and as a result I've hit a roadblock. If you could answer/explain the questions below, it would help me with my understanding of the SDK and be greatly appreciated.appreciated. I'm using C# bindings from version 1.9.0.

A. Why does adding either a SystemType1 or a SystemType2 return void while adding any other SystemType return a Loop class object.

B. How is it possible to get the Airloop of a SystemType1 or SystemType2 HVAC system? I can get the get the Airloop of SystemTypes 3-6 using the following code.

handle = OpenStudio.OpenStudioModelHVAC.addSystemType3(model).handle()

airloop = model.getAirLoopHVAC(handle).get()

However clearly this doesn't work with SystemType1 or 2 because the add SystemType1 methods return void.

C. I cannot find the method .getAirLoopHVAC anywhere in the OS SDK as well as the property handle() and get(). Could you provide a hyper link to these properties and methods?

D. With SystemType2 I can get the package terminal heat pumps using the code.

model.getZoneHVACPackagedTerminalHeatPumps().

How can I get the HVAC systems in the same way for SystemTypes 3-6? getZoneHVAC yields no results in the OS SDK.

E. I need to set the cooling and heating Airflow rates for SystemTypes 3-6 is this possible? Since I can't get the HVAC systems at this stage (question 4.) I don't know how to change their properties.

Thank you for your help!

Open Studio SDK questions

Hi everyone,

I am attempting to continue Chien Si Harriman's excellent work with the Honeybee Open Studio HVAC components. However I am having quite a number of issues understanding the Open Studio SDK and as a result I've hit a roadblock. If you could answer/explain the questions below, it would help me with my understanding of the SDK and be greatly appreciated. I'm using C# bindings from version 1.9.0.

A. Why does adding either a SystemType1 or a SystemType2 return void while adding any other SystemType return a Loop class object.

B. How is it possible to get the Airloop of a SystemType1 or SystemType2 HVAC system? I can get the get the Airloop of SystemTypes 3-6 using the following code.

handle = OpenStudio.OpenStudioModelHVAC.addSystemType3(model).handle()

airloop = model.getAirLoopHVAC(handle).get()

However clearly this doesn't work with SystemType1 or 2 because the add SystemType1 methods return void.

C. I cannot find the method .getAirLoopHVAC anywhere in the OS SDK as well as the property handle() and get(). Could you provide a hyper link to these properties and methods?

D. With SystemType2 I can get the package terminal heat pumps using the code.

model.getZoneHVACPackagedTerminalHeatPumps().

How can I get the HVAC systems in the same way for SystemTypes 3-6? getZoneHVAC yields no results in the OS SDK.

E. I need to set the cooling and heating Airflow rates for SystemTypes 3-6 is this possible? Since I can't get the HVAC systems at this stage (question 4.) I don't know how to change their properties.

Thank you for your help!

Open Studio OpenStudio SDK questions

I am attempting to continue Chien Si Harriman's excellent work with the Honeybee Open Studio HVAC components. However I am having quite a number of issues understanding the Open Studio SDK and as a result I've hit a roadblock. If you could answer/explain the questions below, it would help me with my understanding of the SDK and be greatly appreciated. I'm using C# bindings from version 1.9.0.

A. Why does adding either a SystemType1 or a SystemType2 return void while adding any other SystemType return a Loop class object.

B. How is it possible to get the Airloop of a SystemType1 or SystemType2 HVAC system? I can get the get the Airloop of SystemTypes 3-6 using the following code.

handle = OpenStudio.OpenStudioModelHVAC.addSystemType3(model).handle()

airloop = model.getAirLoopHVAC(handle).get()

However clearly this doesn't work with SystemType1 or 2 because the add SystemType1 methods return void.

C. I cannot find the method .getAirLoopHVAC anywhere in the OS SDK as well as the property handle() and get(). Could you provide a hyper link to these properties and methods?

D. With SystemType2 I can get the package terminal heat pumps using the code.

model.getZoneHVACPackagedTerminalHeatPumps().

How can I get the HVAC systems in the same way for SystemTypes 3-6? getZoneHVAC yields no results in the OS SDK.

E. I need to set the cooling and heating Airflow rates for SystemTypes 3-6 is this possible? Since I can't get the HVAC systems at this stage (question 4.) D.) I don't know how to change their properties.