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

Measure to change the Design Flow Rate Calculation Method in OpenStudio

I am trying to write an OS measure to change the Air Changes/Hour for all spaces within a space type to a set value. The measure works as long as the Design Flow Rate Calculation Method is set to "AirChanges/Hour"; however, it does not work if the calculation method is set to a different value. I want the measure to first set the Design Flow Rate Calculation Method to "AirChanges/Hour" for the space type before attempting to set the value, but I can't figure out how to do this using the measure writing guide and SDK Documentation. There appears to be methods to return the Design Flow Rate Calculation Method, but not to set it. I have found an EnergyPlus measure that changes the calculation method, but I want to execute the measure in OS. What code can I use in a measure to set the Design Flow Rate Calculation Method for a space type in OS?

Measure to change the Design Flow Rate Calculation Method in OpenStudio

I am trying to write an OS measure to change the Air Changes/Hour for all spaces within a space type to a set value. The measure works as long as the Design Flow Rate Calculation Method is set to "AirChanges/Hour"; however, it does not work if the calculation method is set to a different value. I want the measure to first set the Design Flow Rate Calculation Method to "AirChanges/Hour" for the space type before attempting to set the value, but I can't figure out how to do this using the measure writing guide and SDK Documentation. There appears to be methods to return the Design Flow Rate Calculation Method, but not to set it. I have found an EnergyPlus measure that changes the calculation method, but I want to execute the measure in OS. What code can I use in a measure to set the Design Flow Rate Calculation Method for a space type in OS?

Measure to change the Design Flow Rate Calculation Method in OpenStudio

I am trying to write an OS measure to change the Air Changes/Hour for all spaces within a space type to a set value. The measure works as long as the Design Flow Rate Calculation Method is set to "AirChanges/Hour"; however, it does not work if the calculation method is set to a different value. I want the measure to first set the Design Flow Rate Calculation Method to "AirChanges/Hour" for the space type before attempting to set the value, but I can't figure out how to do this using the measure writing guide and SDK Documentation. There appears to be methods to return the Design Flow Rate Calculation Method, but not to set it. I have found an EnergyPlus measure that changes the calculation method, but I want to execute the measure in OS. What code can I use in a measure to set the Design Flow Rate Calculation Method for a space type in OS?