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

Revision history [back]

Schedule:File is not currently supported by OpenStudio. OpenStudio 2.0 will have better support for external files; Schedule:File could be considered for integration after OpenStudio 2.0 is released. In the meantime, you can use the ScheduleInterval object in OpenStudio, this object pulls the information from the schedule into the OSM. You can create a ScheduleInterval from a TimeSeries object using ScheduleInterval.fromTimeSeries. You can create a TimeSeries using the Ruby API, this is probably the constructor you want. The constructor takes an OpenStudio::Vector object which is a little awkward to work with, here are some examples.