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

How to best clear and program Schedule Rules in OpenStudio measures

I am trying to write a measure that allows me to set the HVAC availability schedule for an air loop. Is there any easy way to clear all of the existing rules for a schedule and then assign new ones? From the documentation it doesn't appear that there is a method in the ScheduleRuleSet class to clear rules or to assign new schedule rules. Has anyone figured out a good way to accomplish these two tasks?

Any insights are very appreciated

How to best clear and program Schedule Rules in OpenStudio measures

I am trying to write a measure that allows me to set the HVAC availability schedule for an air loop. Is there any easy way to clear all of the existing rules for a schedule and then assign new ones? From the documentation it doesn't appear that there is a method in the ScheduleRuleSet class to clear rules or to assign new schedule rules. Has anyone figured out a good way to accomplish these two tasks?

Any insights are very appreciated