First time here? Check out the Help page!
1 | initial version |
I agree with David's suggestion to use ScheduleRuleset. However, I think your immediate problem is that you need to call the .new method to create a new instance of a Ruby class:
myschedule=OpenStudio::Model::ScheduleCompact.new(model)