First time here? Check out the Help page!
1 | initial version |
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.