Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

There is no limit, aside from what's practical... If you planned on using one rule for every hour of year, I'd strongly advise to not do that and use Schedule:FixedInterval or Schedule:VariableInterval (or Schedule:File once it gets implemented).

In OS, the ScheduleRule is the one that references the ScheduleRuleset, so there's no limitation possible anyways.

If you want to convince yourself, use the ruby bindings in a terminal, type the following code, and go make yourself a coffee while it finishes (it should take like 10 minutes I think... I just did it for 1000 times while writing this).

m = OpenStudio::Model::Model.new
s = OpenStudio::Model::ScheduleRuleset.new(m)
10000.times.each do |i|
    puts i
    s_rule = OpenStudio::Model::ScheduleRule.new(s)
end

There is no limit, aside from what's practical... If you planned on using one rule for every hour of year, I'd strongly advise to not do that and use Schedule:FixedInterval or Schedule:VariableInterval (or Schedule:File once it gets implemented).implemented). See Can you load Schedule:File in OpenStudio?

In OS, the ScheduleRule is the one that references the ScheduleRuleset, so there's no limitation possible anyways.

If you want to convince yourself, use the ruby bindings in a terminal, type the following code, and go make yourself a coffee while it finishes (it should take like 10 minutes I think... I just did it for 1000 times while writing this).

m = OpenStudio::Model::Model.new
s = OpenStudio::Model::ScheduleRuleset.new(m)
10000.times.each do |i|
    puts i
    s_rule = OpenStudio::Model::ScheduleRule.new(s)
end