OpenStudio SDK model.runPeriod within interactive ruby console
Dear all,
I am quite confused how to use the OpenStudio SDK within the irb console. I have successfully run the code written by mdahlhausen in his answer here
In the command line when I call the model's run period, I am now getting:
However whenever I try one of the methods listed under RunPeriod class seen here
such as
Ruby tells me that the method is undefined. What I am I missing here?
Furthermore how can I display all the methods in the runPeriod class within the irb console? .methods called on the runPeriod class return what seems to be very generic methods see:
While all the methods listed within the OpenStudio SDK are returned on the model class
Any insights would be most appreciated!