First time here? Check out the Help page!
1 | initial version |
You can call measures from ruby. That's how we run measures for measure unit tests as described here. If you don't want to run a measure you can directly use the API as described below.
First add in the code from the other post that describes the object.
request = OpenStudio::IdfObject.load("Output:Table:SummaryReports,AllSummaryAndSizingPeriod;").get
Then add the line below to that code to add the object. These lines would be added after forward translation to IDF but before you run EnergyPlus.
object = workspace.addObject(request).get