Firstly I am building a OpenStudio model from the ground up using the SDK and I need to add schedules I noticed that the OpenStudio standards json contains references to schedules e.g Hospital Critical Occ however it does not contain the schedules themselves.
Where can I find/how can I import these schedules into my OpenStudio model using the SDK?
Secondly I noticed that without writing any code when I create an OpenStudio model there are a bunch of RuleSet Schedules added by default (see the picture below)
How can I get this schedule and apply them to a spacetype/zone, the line of code
model.getScheduleRulesets()
and
model.getSchedules()
both return nothing and their sizes are 0, so how can I get these schedules?