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

Revision history [back]

OpenStudio automatically creates the performance object when you create the solar collector.

So:

new_collector = OpenStudio::Model::SolarCollectorFlatPlateWater.new(model)
new_collector_perf = new_collector.solarCollectorPerformance

You can find an example like this with more code here.

And of course the OpenStudio SDK documentation can be found here.